Abs

Command

Not Applicable

Description

The Abs Operator block returns the absolute value of its numeric parameter as a double precision floating point value. If the variable receiving the value is an ordinal type such as a longint or integer then it is necessary to use the Round or Trunc operator to make the result compatible.

Escapes

The Abs Operator block does not produce any escapes.

Examples

This block list indicates when the following error of a servo motor has gone beyond a limit:

This block list records the magnitude of the remaining distance in a move:

Related Topics

Round
Trunc