6 - 45
6 DriveProgramming Commands
DriveProgramming User’s Manual (I622-E1)
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) (db-08),
and X(02) is output to Y(00).
UBw = value
Command Description Argument
Assigns <value> to the internal user contact in
units of words.
Value: any variable or constant
Format
Flowchart method Text language method
↓
UBw : = <value>
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)
UB(8) to UBw = 256 (bit 8)
UB(9) to UBw = 512 (bit 9)
UB(10) to UBw = 1024 (bit 10)
UB(11) to UBw = 2048 (bit 11)
UB(12) to UBw = 4096 (bit 12)
UB(13) to UBw = 8192 (bit 13)
UB(14) to UBw = 16384 (bit 14)
UB(15) to UBw = 32768 (bit 15)
Flowchart Text