Absolute Value - GE PACSystems RX7i Cpu Programmer's Reference Manual

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

4.10.2

Absolute Value

When the function receives power flow, it places the absolute value of
input IN into output Q.
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
IN (must be same type as Q)
Q (must be same type as IN)
Example
The absolute value of –2,976, which is 2,976, is placed in %R00010:
GFK-2950C
Description
The value to process.
The absolute value of IN.
February 2018
Chapter 4. Ladder Diagram (LD) Programming
Allowed Operands
All except S, SA, SB, SC
All except S, SA, SB, SC and constant No
Mnemonics:
ABS_DINT
ABS_INT
ABS_REAL
ABS_LREAL
Optional
No
191

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents