EasyManua.ls Logo

Allen-Bradley 1756-L61 ControlLogix 5561 - Page 55

Allen-Bradley 1756-L61 ControlLogix 5561
90 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rockwell Automation Publication 1756-PM004D-EN-P - September 2012 53
Organizing Tags Chapter 2
You can use these operators to specify the subscript of an array.
Format your expressions as follows.
Operator Description
+Add
- Subtract/negate
*Multiply
/Divide
ABS Absolute value
AND AND
FRD BCD to integer
MOD Modulo
NOT Complement
OR OR
SQR Square root
TOD Integer to BCD
TRN Truncate
XOR Exclusive OR
Operator Description
Table 7 - Format Expressions
If the operator requires Use this format Example
One value (tag or expression) operator(value) ABS(tag_a)
Two values (tags, constants, or expressions) value_a operator value_b ·tag_b + 5
·tag_c AND tag_d
·(tag_e ** 2) MOD (tag_f / tag_g)

Table of Contents

Related product manuals