6 DriveProgramming Commands
6 - 44
DriveProgramming User’s Manual (I622-E1)
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
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.
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.