2 comparison operation instructions, Bit data comparison – MITSUBISHI ELECTRIC 700 Series User Manual

Page 147

Advertising
background image

142

Basic Instructions

3.26.2 Comparison Operation Instructions :

16-bit data comparison ... =, <>, >, <=, <, >=

Functions

(1) Handled as an N/O contact and performs 16-bit comparison operation.
(2) The comparison operation results are as indicated below.

Execution Conditions

The execution conditions of LD

, AND

and OR

are as indicated below.

Usable Devices

Digit

Designation

Error

Flag

Bit devices

Word (16-bit) devices

Constants

Level

X

Y

M

T

C

D

K

H

N

(M9010,

M9011)

{

{

{

{

{

{

{

{

K1 to K4

{

{

{

{

{

{

{

{

{

Instruction

symbol in

Condition

Comparison

Operation

Result

Instruction

symbol in

Condition

Comparison

Operation

Result

=

=

Energize

=

Not energize

<>

<>

=

>

>

>

<=

<=

>

<

<

<

>=

>=

<

Instruction

Execution Condition

LD

Executed every scan.

AND

Executed only when the preceding contact instruction is on.

OR

Executed every scan.

S1

S2

Instruction symbol in

=, <>, >, <=, <, >=

Compared data or head
numbers of devices that
store compared data

S1

S2

S1

S2

S1

S2

S1

S2

S1

S2

S1

S2

S1

S2

S1

S2

S1

S2

S1

S2

S1

S2

S1

S2

S1

S2

Advertising