EasyManua.ls Logo

Omron 3G3RX Series - Page 144

Omron 3G3RX 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 - 43
6 Drive Programming Commands
Drive Programming User’s Manual (I580-E2)
6-6 I/O Control Commands
6
Example
In the above example, the status of X(00) to X(02) is monitored with the parameter UMon(0) (d025),
and X(02) is output to Y(00).
var UBw
Command Description Argument
Assigns the value of the internal user contact to
<variable> in units of words.
Variable: any variable
Format
Flowchart method Text language method
<variable> : UBw
Note When the data is assigned in units of words, zero is read out for the unused upper byte. If there
is any setting, the setting is ignored.
UB(0) to UBw 1 (bit 0)
UB(1) to UBw 2 (bit 1)
UB(2) to UBw 4 (bit 2)
UB(3) to UBw 8 (bit 3)
UB(4) to UBw 16 (bit 4)
UB(5) to UBw 32 (bit 5)
UB(6) to UBw 64 (bit 6)
UB(7) to UBw 128 (bit 7)
Flowchart Text
Block number
Operation
1 Assigns 0 to UBw.
2 to 4 Assigns the variables X(00) to X(02) to the variables UB(0) to UB(2).
5 Assigns UBw to UMon(0).
6 Assigns UB(2) to Y(00).
7 Jumps to the block 1: loop_ unconditionally.
<variable> : UBw

Table of Contents

Related product manuals