9 greater than (>), 1 ) operation, 2 ) format ( 3 ) programming example – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 143

Advertising
background image

5.4 Logic Operations and Comparison Instructions

5.4.9 Greater Than (>)

5-74

5.4.9 Greater Than (>)

( 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 greater than input data B when input data A in
MW00000 is 100 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

Advertising
This manual is related to the following products: