Chapter 7 Second Development Platform VP3000
296
API Instruction code Operand Function
08 FOR
S Start of a FOR-NEXT loop
Type
Operand
Bit devices Word devices
16-bit instruction (3 steps)
FOR
Continuous
execution
type
-
-
32-bit instruction
- - - -
Associated flag: none
X Y M K H KnX KnY KnM T C D
S
Caution for using operand
No contact to drive the instruction is required.
Description
S: the number of repeated nested loops
The designated scope of FOR is K1–K32767 If N ≤ K1, then the programs in this FOR-NEXT
loop will be ignored.