MITSUBISHI ELECTRIC 700 Series User Manual

Page 146

Advertising
background image

141

Basic Instructions

3

SEQUENCE PRO

G

RAM

M

ING

CAUTION

The comparison instruction regards the specified data as BIN values. Hence, if the value
whose most significant bit (b15) is 1 (8 to F) is specified for comparison of hexadecimal
data, it is regarded as a negative BIN value.

Comparison of 4-digit HEX values

Therefore, the result is -32767 < 1384 and Y10 does not turn on.

Example

Regarded
as -32767
in BIN.

Regarded
as 1384
in BIN.

Advertising