Omron RX2 Series User Manual page 138

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

Advertisement

6 DriveProgramming Commands
var = UB(i)
Command
Assigns one bit of the value of the internal user
contact to <variable>.
 Example
In the above example, the status of X(00) to X(02) is monitored with the parameter UMon(0) (db-08),
and X(02) is output to Y(00).
Block number
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 block 1: loop_ unconditionally.
6 - 42
Description
Flowchart method
=
<variable> :
UB(i)
Flowchart
Variable: any variable
(value of the variable is 0 or 1.)
i: internal user contact number
(range 0 to 7)
Format
Text language method
<variable> : = UB(i)
Operation
DriveProgramming User's Manual (I622-E1)
Argument
Text

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g3rx2 series

Table of Contents