beautypg.com

9 if instruction (if, else, end_if) – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 90

background image

1 Ladder Program Instructions

1.4.9 IF Instruction (IF, ELSE, END_IF)

1-80

„

Program Example

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

1.4.9 IF Instruction (IF, ELSE, END_IF)

„

Outline

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

„

Format

• At instruction development display ON

Symbol: IF
ELSE
END_IF
Full Name: If Then
Else
End of If
Category: CONTROL
Icon: , ,

This manual is related to the following products: