7 if instruction (if, end_if) – Yaskawa Ladder Works Programming Manual User Manual

Page 77

Advertising
background image

4.7 IF Instruction (IF, END_IF)

4-12

4.7 IF Instruction (IF, END_IF)

[Outline]

If the conditional expression in the IF instruction is approved, the instruction sequence between IF and
END_IF is executed. If the conditional expression in the IF instruction is not approved, the instruction
sequence between IF and END_IF is not executed.

[Format]

Symbol : IF

END_IF

Full Name : If Then

End of If

Category : CONTROL

Instruction Sequence

Icon :

,

[Parameter]

Parameter Name

Setting

Conditional Expression

Description by Expression

[Program Example]

If MB000108 is ON, MW00201 is added to MW00200, and MW00201 is incremented.


Advertising