9 if construct (if, end_if), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 162

Advertising
background image

5.5 Program Control Instructions

5.5.9 IF Construct (IF, END_IF)

5-93

Instructions

5

5.5.9 IF Construct (IF, END_IF)

( 1 ) Operation

Execution of the programming between the IF and END_IF instructions is repeated for as long as the conditional
expression for the IF instruction is satisfied.
The programming is not executed if the conditional expression is not satisfied.

∗ 1. The programming is executed and execution jumps to the next step.

∗ 2. The programming is not executed and execution jumps to the next step.

( 2 ) Format

∗ Write with the format for an EXPRESSION instruction.

Refer to Appendix D Format for EXPRESSION Instruction for details on the format used to write the expression.

IF instruction

<conditional_expression>

Next step

Programming

Condition

satisfied?

Satisfied.

*1

Not satisfied.

*2

END_IF

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

Conditional
expression

{

*

{

*

{

*

{

*

×

{

*

{

*

,

Programming 1

Conditional

expression

Icon:

Key entry: IF, IEND

Advertising
This manual is related to the following products: