User`s manual

12-12 Motion Mate DSM314 for Series 90-30 PLCs User's Manual
January 2001 GFK-1742A
12
Function ABS
The ABS function returns the unsigned magnitude of the variable or constant parameter.
Syntax
destination := ABS(parameter);
The ABS operator syntax has these parts:
Part Description
Destination Any writeable local logic variable except Dxx registers.
Parameter Any readable local logic variable/constant except Dxx registers.
Overflow
Set if the operand has a value of 2,147,483,648. The Module_Status_Code
is set to a value of 16#0096, which is a status-only error.