Rockwell Automation 1775-KA PLC-3 Communication Adapter Module User Manual User Manual

Page 74

Advertising
background image

Addressing Rules and Examples

Chapter 4

4Ć18

If the accumulated value of counter 1 is greater than or equal to the
accumulated value of counter 2, then the number 1 is stored in word 23 of
input file 12. If the accumulated value of counter is less than the
accumulated value of counter 2, a value of 0 (zero) is stored in word 23 of
input file 12.

Resulting Values

The result of an expression is a 32–bit value. If the high–order bits are
not significant (that is, if they can be truncated without changing the value
of the expression), then the result can be stored in a data field that is less
than 32 bits long. Attempting to put a value into a field that is too small
for it results in an error code of 215 (Appendix B).

Advertising