Chapter 5 Arithmetic instructions
62 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
ABS yields the absolute (positive) value of a Real value.
Arguments
Parameter
Parameter
Type
Data Type Description
EN Input BOOL Function enable.
When EN = TRUE, execute current absolute computation.
When EN = FALSE, there is no computation.
IN Input REAL Any signed Real value.
ENO Output BOOL Enable out.
ABS Output REAL Absolute value (always positive).
ABS function language examples
Function block diagram
Ladder diagram