beautypg.com

5 less than or equal (≤), 5 less than or equal ( ≤), 1 ) operation – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 139: 2 ) format ( 3 ) programming example

background image

5.4 Logic Operations and Comparison Instructions

5.4.5 Less Than or Equal (

≤)

5-70

5.4.5 Less Than or Equal (

≤)

( 1 ) Operation

Input data A and input data B are compared and the result is stored in the bit output.

( 2 ) Format

( 3 ) Programming Example

In the following programming example, the INC instruction on the right end of the line is not executed because the
comparison is false and turns the output OFF; that is, input data A is not less than or equal to input data B when input
data A in MW00000 is 101 and input data B is 100.

With real number data, the value displayed by the MPE720 may not match the execution result of the comparison instruction
due to a slight precision error.

Input data A

TRUE: Output ON

FALSE: Output OFF

Input data B

Compared.

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

Input data A (SrcA)

×

{

{

{

×

{

{

Input data B (SrcB)

×

{

{

{

×

{

{

Input data A

Input data B

Icon:

Key entry: <=

INFO

This manual is related to the following products: