beautypg.com

MITSUBISHI ELECTRIC 700 Series User Manual

Page 172

background image

167

Application instructions

3

SEQUENCE PRO

G

RAM

M

ING

Program Examples

1) Program which compares the bit pattern of the 16-bit data of X30 to 3F and that of

the 16-bit data of D99 and stores the number of the same bit patterns and the
number of different bit patterns to D7 and 8, respectively, when XC turns on.

2) Program which compares the bit pattern of the 16-bit data of X30 to 3F and that of

the data of D99 and stores the result to D7 when X0 turns on.

WXNR