Micromod MOD: 30MLTraining Manual User Manual
Page 270

Training Manual
APPENDIX A - ASSIGNMENT STATEMENT REFERENCE
Table A-2. Assignment statements of type 'display_resource = source_name' (ex. #LINE1 = I1)
Resource Format
Displayed
Result
#LINE1 Discrete: Integer1
0, 1
#LINE2
State
Note 1
#LINE3 Short_State:
Integer1
0 - 15
State
Note 1
Long_State:
Integer1
0 - 255
State
Note 1
Count:
Integer2
0 - 65535
State
Note 1
Msec_time:
Integer4
0 - 99999999 (0 - 99999999), first 8 digits (100000000 and up)
Time1
hh:mm:ss (00:00:00.000 to 99:59:59.999), hhhh:mm (100:00:00.000
and up)
Time2
m:ss.sss (0:00.000 to 9:59.999), mm:ss.ss (10:00.000 to
99:59.999),
hh:mm:ss (00:00:00.000 to 99:59:59.999), hhhh:mm (100:00:00.000
and up)
Time3
hhhh:mm
Time4
mm:ss.ss (10:00.000 to 99:59.999), hh:mm:ss (00:00:00.000 to
99:59:59.999),
hhhh:mm (100:00:00.000 and up)
Floating_point
Floatn
0.0 - 99999999 (0.0 - 99999999.0), first 8 digits (100000000.0 and
up)
Date:
Date
mm/dd/yy or dd/mm/yy
Asc:
Ascii
truncated to 8 characters.
Hex:
Hex
leftmost characters discarded if more than 8.
#LINE3 Discrete: Integer1
0, 1
#LINE4
State
Note 1
#LINE5 Short_state:
Integer1
0 - 15
State
Note 1
Long_state:
Integer1
0 - 255
State
Note 1
Count:
Integer2
0 - 999 (0 - 999), First 3 digits (1000 - 65535)
State
Note 1
Msec_time:
Integer4
0 - 999 (0 - 999), first 3 digits alternate (1000 and up)
Time1
:ss (even if > 0:00:99.999)
Time2
sss (even if > 0:00:00.999)
Time3
:mm (even if > 0:99:59.999)
Time4
.ss (even if > 0:00:00.999)
Floating_point
0.0 - 999 (0.0 - 999.0), first 3 digits (1000.0 and up)
Date:
/yy (right justified)
Asc:
truncated to 3 characters
Hex:
leftmost characters discarded if more than 3.
Note 1 If the source value is found in the state table, the associated mnemonic is displayed. Otherwise the
default mnemonic is displayed. All mnemonics in a state table have the same configured width. If not
entered full width, they are padded with trailing spaces during compile. If the mnemonic field is wider
than the display it is truncated to fit. Otherwise it (the entire field) is right justified.
A-4