26 basic instructions, 1 comparison operation instructions – MITSUBISHI ELECTRIC 700 Series User Manual

Page 145

Advertising
background image

140

Basic Instructions

3.26 Basic Instructions

The basic instructions can handle numerical data represented in 16 bits.

3.26.1 Comparison Operation Instructions

(1) The comparison operation instruction is handled as a contact, compares the

magnitudes of two pieces of data (e.g. =, >, <), and turns on when the condition
holds.

(2) Use the comparison operation instructions in the same manner as the contact

instructions of the PLC instructions as indicated below.

LD, LDI ......... LD=

AND, ANI ..... AND=

OR, ORI ....... OR=

(3) There are the following 18 different comparison operation instructions.

Refer to page 142 for details.

(4) The conditions that the comparison operation instructions turn on are as follows.

Classification

Instruction

Symbol

Classification

Instruction

Symbol

Classification

Instruction

Symbol

=

LD

=

>

LD>

<

LD<

AND

=

AND>

AND<

OR

=

OR>

OR<

LD<>

LD<

=

LD>

=

AND<>

AND<

=

AND>

=

OR<>

OR<

=

OR>

=

ON

OFF

OFF

Dn = K100

98

99

100

101

102

OFF

ON

Dn K100

OFF

ON

Dn K100

OFF

ON

ON

Dn K100

ON

OFF

Dn K100

OFF

ON

Dn K100

Advertising