Application instructions

(2)ORs the 16-bit data of the device specified at S1 and the 16-bit data of the device specified at S2 on a bit-by-bit basis, and stores the result into the device specified at D1 .

16 bits

Before execution

After execution

(3) More than the digit designation of a bit device is regarded as 0 for operation.

Execution Conditions

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

Operation command

WOR

 

Executed every

 

 

Executed every

 

 

 

 

 

 

scan.

 

 

scan.

 

 

 

 

 

 

 

WORP

 

 

 

 

 

 

 

 

 

 

 

 

Executed only once.

 

 

Executed only once.

Program Examples

WOR

1)Program that ORs the D10 and D20 data and stores the result into D10 when XA turns on.

Coding

160

Page 165
Image 165
Mitsubishi Electronics 700 Series, FR-A700 specifications Execution Conditions, Wor P