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
i
2
ST
i := ABS(-2);
FBD
Imprint
Privacy policy
Terms of use
Safety Instructions