3 ) programming example, 4 ) additional information – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 167

Advertising
background image

5.5 Program Control Instructions

5.5.11 Expression (EXPRESSION)

5-98

( 3 ) Programming Example

In the following programming example, multiple operations are programmed in a single EXPRESSION instruction.

( 4 ) Additional Information

The EXPRESSION instruction can be programmed with numeric expressions in addition to expressions that return
Boolean TRUE or FALSE values.

Œ

Refer to Appendix D Format for EXPRESSION Instruction for details on applicable instructions, operation
order, and notation conventions.

Expression Example

Notation

Remarks

MB000000 = true;

OK

TRUE: 1 (ON)

MW00000 = MW00001+10

OK

MW00000 = 0x00FF;

OK

Prefix hexadecimal values with 0x.

MB000000 == true;

NG

MW00001 > MW00000;

NG

Advertising
This manual is related to the following products: