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