4 data comparisons – Yaskawa MP900 Series Motion Programming Manual User Manual

Page 149

Advertising
background image

Sequence Commands

4.4.1 Data Comparison Commands (= =, < >, >, <, > =, < =)

4 -16

4.4 Data Comparisons

This section explains the data comparison commands that are used for conditional expressions.

4.4.1 Data Comparison Commands (= =, < >, >, <, > =, < =)

J

Overview

These commands are used to determine conditional expressions for commands such as branch-
ing commands (IF), repeat commands (WHILE), and I/O WAIT (IOW).

The following six comparison commands are provided.

Comparison Command

Meaning

==

MATCH

<>

MISMATCH

>

GREATER THAN

<

LESS THAN

>=

GREATER THAN OR
EQUAL TO

<=

LESS THAN OR
EQUAL TO

J

Description

Designation Method

IF MW00100= =MW00102+MW00104;

WHILE MB001001< >1;

Data Types

Bit (B)

Integer (W)

Double Integer (L)

Real Number (F)

Yes*

Yes

Yes

Yes

* Only the “= =” command can be used in a bit conditional expression.

4

Advertising
This manual is related to the following products: