6 Drive Programming Commands
6-6
I/O Control Commands
Use these I/O control commands to control inputs and outputs. Although you can control I/Os with the
(Assignment) command, the I/O control commands can efficiently use the program capacity because
their arguments require smaller data size.
var X(i)
Command
Assigns one bit of the status of the input termi-
nal variable to <variable>.
Note The input terminal variable is a variable that detects the status of the inverter's input terminal.
MX2:
Set the Multi-function Input S1 to S7 Selection (C001 to C007) to 56 to 62 (MI1 to MI7: General-purpose input).
Set the Pulse Train Input RP Selection (P003) to 02 (MI8: General-purpose input 8 for Drive Programming).
RX:
Set the Multi-function Input S1 to S8 Selection (C001 to C008) to 56 to 63 (MI1 to MI8: Gen-
eral-purpose input).
<Assignment example>
X(00) MI1 (function No. 56)
X(01) MI2 (function No. 57)
X(02) MI3 (function No. 58)
X(03) MI4 (function No. 59)
X(04) MI5 (function No. 60)
X(05) MI6 (function No. 61)
X(06) MI7 (function No. 62)
X(07) MI8 (MX2: P003 02/RX: function No. 63)
Note For details, refer to 5-2 Input/Output Terminal Variables on page 5-5.
Example
In the above example, the status of the input terminal X(01) is monitored with the parameter UMon(0) (d025).
Block number
1
Assigns X(01) to UMon(0).
2
Jumps to the block 1: loop_ unconditionally.
6 - 36
Description
Flowchart method
<variable> :
X(i)
The following settings are required. The numerical order of input terminal variables follows the
numerical order of the set general-input numbers.
Flowchart
variable: any variable (the variable value is 0 or 1)
i: input terminal variable (range 00 to 07)
Format
Text language method
<variable> : X(i)
Operation
Drive Programming User's Manual (I580-E2)
Argument
Text