Operator: ABS
The IEC operator yields the absolute value of a number.
Permitted data types for input and output variables and numeric constants: any numeric basic data type
Example 136. Examples
Result in i
: 2
ST
i := ABS(-2);
FBD

The IEC operator yields the absolute value of a number.
Permitted data types for input and output variables and numeric constants: any numeric basic data type
Result in i
: 2
ST
i := ABS(-2);
FBD