beautypg.com

9 for instruction (for, end_for) – Yaskawa Ladder Works Programming Manual User Manual

Page 80

background image

4.9 FOR Instruction (FOR, END_FOR)

4-15

4.9 FOR Instruction (FOR, END_FOR)

[Outline]

The instruction sequence surrounded by the FOR instruction and the corresponding END_FOR
instruction are executed by the number of times. Variable starts from initial value (Init) and is
incremented by Step on each execution. The instruction sequence is ended when Variable > Max

[Format]

Symbol : FOR

END_FOR

Full Name : For

End of For

Category : CONTROL

Icon :

,

[Parameter]

Parameter Name

Setting

Variable

・Any integer type register
・Any integer type register with subscript
・Subscript register (I and J registers)

Init

・Any integer type register
・Any integer type register with subscript
・Subscript register
・Constant

Max

・Any integer type register
・Any integer type register with subscript
・Subscript register
・Constant

Step

・Any integer type register
・Any integer type register with subscript
・Subscript register
・Constant