6   Drive Programming Commands
6 - 44
Drive Programming User’s Manual  (I580-E2)
 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).
UB(i)  value
Command Description Argument
Assigns <value> to the internal user contact. i: internal user contact number
(range 0 to 7)
Value: any variable or constant 
Format
Flowchart method Text language method
UB(i) :  <value>
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.