Chapter 4. Ladder Diagram (LD) Programming
GFK-2950C
February 2018
191
4.10.2
Absolute Value
When the function receives power flow, it places the absolute value of
input IN into output Q.
Mnemonics:
ABS_DINT
ABS_INT
ABS_REAL
ABS_LREAL
The function outputs power flow, unless one of the following conditions occurs:
■
For INT type, IN is
–
32,768.
■
For DINT type, IN is
–
2,147,483,648.
■
For REAL or LREAL type, IN is NaN (Not a Number).
Operands
Parameter
Description
Allowed Operands
Optional
IN (must be same type as Q) The value to process.
All except S, SA, SB, SC
No
Q (must be same type as IN) The absolute value of IN.
All except S, SA, SB, SC and constant No
Example
The absolute value of
–
2,976, which is 2,976, is placed in %R00010:
Summary of Contents for PACSystems RSTi-EP
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451 ...