This 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
Examples
Result in āiā
: ā2ā
ST:
i := ABS(-2);
FBD:

This 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
Examples
Result in āiā
: ā2ā
ST:
i := ABS(-2);
FBD: