
Publication 1757-RM810A-EN-P - May 2002
3-4
Functional Blocks
Table3.A Expression Operators and Functions Reference
Operators
Description
Unary
+ –
Binary Arithmetic
+ – / MOD (x MOD y) ^ (x^y)
Logical
AND OR NOT
Relational
= <> <= >= < >
Conditional
? : (For example, X ? Y : Z; similar to IF, THEN, ELSE)
Assignment :=
Parenthesis
()
Array Syntax
[ ]
Unary Functions
ABS
Absolute value
LOG
Natural Logarithm of a number
ATN
arc tangent
RND
Round value
COS
Cosine
SGN
sign of value (returns -1,0 or +1)
EXP
e to the power of x
SIN
Sine
INT
convert to integer
SQR
Square of a number
ISFIN
is finite
SQRT
Square root
ISNAN
is Not a Number
TAN
Tangent
LN
Log to the base of e
Multiple Argument Functions
MIN
Minimum of n arguments (ignore
bad values)
MID
Medium value of n arguments
(average of middle values for even
n)
MAX
Maximum of n arguments
(ignore bad values)
MUL
Product of n arguments
AVG
Average of n arguments
SUM
sum of n arguments
Summary of Contents for ProcessLogix 1756-IA16
Page 1: ...ProcessLogix Function Blocks 1757 Series Reference Manual Spare Allen Bradley Parts...
Page 2: ......
Page 40: ...Publication 1757 RM810A EN P May 2002 2 20 Physical Equipment Blocks...
Page 116: ...Publication 1757 RM810A EN P May 2002 3 76 Functional Blocks...
Page 119: ...Spare Allen Bradley Parts...