Omron RX2 Series User Manual page 125

Driveprogramming, cx-drive
Hide thumbs Also See for RX2 Series:
Table of Contents

Advertisement

Abs (Absolute value)
Command
Finds the absolute value of <value>.
Note 1. If an overflow or underflow occurs, the DriveProgramming detects it as an error. Take necessary mea-
sures in the application so that they do not occur.
2. If the variable or the constant is the maximum negative value, −2,147,483,648, it is not possible to
convert it to an absolute value. The value −2,147,483,648 is recognized as a negative number as it is.
 Example
Block number
Assigns −200 to UL(00).
1
2
Assigns the absolute value of UL(00) to UL(01).
DriveProgramming User's Manual (I622-E1)
Description
Flowchart method
=
<result> :
abs <value>
Flowchart
6 DriveProgramming Commands
Result: any variable
Value: any variable or constant
(Range −2,147,483,647 to 2,147,483,647)
Format
Text language method
<result> : = abs <value>
Operation
Argument
Text
6 - 29
6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g3rx2 series

Table of Contents