MITSUBISHI ELECTRIC 700 Series User Manual

Page 168

Advertising
background image

163

Application instructions

3

SEQUENCE PRO

G

RAM

M

ING

Functions

(1) Performs the exclusive OR of the 16-bit data of device specified at

and the

16-bit data of device specified at

per bit, and stores the result into the device

specified at

.

(2) Performs the exclusive OR of the 16-bit data of device specified at

and the

16-bit data of device specified at

per bit, and stores the result into the device

specified at

.

(3) When operation is performed, the digits of bit device higher than the specified are

regarded as 0.

Execution Conditions

The execution conditions of the exclusive logical add instructions are as shown below.

WXOR

D

S

D

16 bits

Before
execution

After
execution

S1

S2

D

Before
execution

After
execution

16 bits

WXOR

WXORP

Operation
command

Executed every

scan.

Executed only once.

Executed only once.

Executed every

scan.

Advertising