EasyManua.ls Logo

Omron 3G3MX2 Series - IO Control Commands

Omron 3G3MX2 Series
196 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 Drive Programming Commands
6 - 36
Drive Programming User’s Manual (I580-E2)
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.
Example
In the above example, the status of the input terminal X(01) is monitored with the parameter UMon(0) (d025).
var X(i)
Command Description Argument
Assigns one bit of the status of the input termi-
nal variable to <variable>.
variable
: any variable (the variable value is 0 or 1)
i: input terminal variable (range 00 to 07)
Format
Flowchart method Text language method
<variable> : X(i)
Note The input terminal variable is a variable that detects the status of the inverter's input terminal.
The following settings are required. The numerical order of input terminal variables follows the
numerical order of the set general-input numbers.
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.
Flowchart Text
Block number
Operation
1 Assigns X(01) to UMon(0).
2 Jumps to the block 1: loop_ unconditionally.
<variable> : X(i)

Table of Contents

Other manuals for Omron 3G3MX2 Series

Related product manuals