Micromod MOD: 30MLTraining Manual User Manual

Page 272

Advertising
background image

Training Manual

APPENDIX A - ASSIGNMENT STATEMENT REFERENCE

Table A-3. Assignment statements of type 'display_resource = constant' - ex. #LINE1 = 37.94

Resource

Constant Type

Displayed Result

#LINE1 Discrete:

0, 1

#LINE2 Short_state:

0 - 15

#LINE6 Long_state:

0 - 255

Count:

0 - 65535

Msec_time:

hh:mm:ss

Floating_point

rounded to nearest storeable value (23 bit precision) and truncated to fit 8
characters.

Date:

mm/dd/yy or dd/mm/yy

Asc:

truncated to 8 characters.

Hex:

leftmost characters discarded if more than 8.

#LINE3 Discrete:

0, 1

#LINE4 Short_state:

0 - 15

#LINE5 Long_state:

0 - 255

Count:

0 - 999 (0 - 999), First 3 digits (1000 - 65535)

Msec_time:

:ss

Floating_point

rounded to nearest storeable value (23 bit precision) and truncated to fit 3
characters.

Date:

/yy (pretty useless)

Asc:

truncated to 3 characters

Hex:

leftmost characters discarded if more than 3.

#LBAR Discrete:

off, segment 1 on

#MBAR Short_state:

0 - 15 segments on

#RBAR Long_state:

0 - 50 segments on (0 - 50), 50 segments on (51 - 255)

Count:

0 - 50 segments on (0 - 50), 50 segments on (51 - 65535)

Msec_time:

0 - 50 segments on (00:00:00.000 - 00:00:00.050), 50 segments on
(00:00:00.051 and up)

Floating_point

0 - 50 segments on (0.0 - 50.x), 50 segments on (51.0 and up)

#LISEGn Discrete:

off, segment 1 on

#MISEGn Short_state:

off (0), one of segments 1 - 15 on (1 - 15)

#RISEGn Long_state:

off (0), one of segments 1 - 50 on (1 - 50), segment 50 on (51 - 255)

Count:

off (0), one of segments 1 - 50 on (1 - 50), segment 50 on (51 - 65535)

Msec_time:

off (0), one of segments 1 - 50 on (00:00:00.001 - 00:00:00.050), segment 50
on (00:00:00.051 and up)

Floating_point

off (0.x), one of segments 1 - 50 on (1.0 - 50.x), segment 50 on (51.0 and up)

#LED Discrete:

off, on

#BEEPER Short_state:

off (0), on (1), system use (2 - 15)

Long_state:

off (0), on (1), system use (2 - 255)

Count:

off (0), on (1), system use (2 - 65535)

Msec_time:

off (00:00:00.000), on (00:00:00.001), system use (00:00:00.002 and up)

Floating_point

off (0.x), on (1.x), system use (2.0 and up)

#UPDN Discrete:

off, up arrow on

Short_state:

dn arrow, slash and up arrow show binary value (0 - 7), system use (8 - 15)

Long_state:

dn arrow, slash and up arrow show binary value (0 - 7), system use (8 - 255)

Count:

dn arrow, slash and up arrow show binary value (0 - 7), system use (8 - 65535)

Msec_time:

dn arrow, slash and up arrow show binary value (0 - 00:00:00.007), system use
(00:00:00.008 and up)

Floating_point

dn arrow, slash and up arrow show binary value of integer part (0.x - 7.x),
system use (8.0 and up)

A-6

Advertising
This manual is related to the following products: