Omron RX2 Series User Manual page 133

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

Advertisement

Block number
2
Jumps to the block 1: loop_ unconditionally.
var = Xw
Command
Assigns the status of the input terminal variable
to <variable> in units of words.
Note The input terminal variable is a variable that detects the status of the inverter's input terminal.
Set the Input Terminal 1 to 9, A and B Selection (CA-01 to CA-11) to 86 to 96 (MI1 to MI11: Gen-
eral-purpose input).
When the data is assigned in units of words, zero is read out for the upper byte data and unset input terminal variables.
<Assignment example>
X(00) = MI1 (function No. 86) to Xw = 1 (bit 0)
X(01) = MI2 (function No. 87) to Xw = 2 (bit 1)
X(02) = MI3 (function No. 88) to Xw = 4 (bit 2)
X(03) = MI4 (function No. 89) to Xw = 8 (bit 3)
X(04) = MI5 (function No. 90) to Xw = 16 (bit 4)
X(05) = MI6 (function No. 91) to Xw = 32 (bit 5)
X(06) = MI7 (function No. 92) to Xw = 64 (bit 6)
X(07) = MI8 (function No. 93) to Xw = 128 (bit 7)
X(08) = MI9 (function No. 94) to Xw = 256 (bit 8)
X(09) = MI10 (function No. 95) to Xw = 518 (bit 9)
X(10) = MI11 (function No. 96) to Xw = 1036 (bit 10)
For details, refer to 5-2 Input/Output Terminal Variables on page 5-5.
 Example
In the above example, the status of the input terminals X(02) to X(05) is captured and output to the output terminals Y(00) to Y(03).
Block number
1
Assigns the value of Xw (value of input terminal) to U(00).
DriveProgramming User's Manual (I622-E1)
Description
Flowchart method
=
<variable> :
Xw
The following settings are required. The numerical order of input terminal variables follows the
numerical order of the set general-input numbers.
Flowchart
6 DriveProgramming Commands
Operation
Variable: any variable
Format
Text language method
<variable> : = Xw
Operation
Argument
Text
6 - 37
6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g3rx2 series

Table of Contents