ABS
Function - Returns the absolute value of the input.
Inputs
Input |
Data type |
Description |
IN |
ANY |
Value. |
Outputs
Output |
Data type |
Description |
Q |
ANY |
Result: absolute value of IN. |
Remarks
In LD language, the operation is executed only if the input rung (EN) is TRUE. The output rung (ENO) keeps the same value as the input rung.
ST Language
Q := ABS (IN);
FBD Language
LD Language
The function is executed only if EN is TRUE.
ENO keeps the same value as EN.
Created with the Personal Edition of HelpNDoc: Effortlessly Create Professional Documentation with HelpNDoc's Clean UI