beautypg.com

3 logical operation instructions, Bit logical add ... wor, worp – MITSUBISHI ELECTRIC 700 Series User Manual

Page 164

background image

159

Application instructions

3

SEQUENCE PRO

G

RAM

M

ING

3.27.3 Logical Operation Instructions :

16-bit Logical Add ... WOR, WORP

Functions

(1) ORs the 16-bit data of the device specified at

and the 16-bit data of the

device specified at

on a bit-by-bit basis, and stores the result into the device

specified at

.

Usable Devices

Digit

Designation

Error

Flag

Bit devices

Word (16-bit)

devices

Constants Level

X

Y

M

T

C

D

K

H

N

(M9010,

M9011)

WOR

{

{

{

{

{

{

{

{

K1 to K4

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

WOR

S

D

S1

S2

D1

WORP

Operation
commands

Operation
commands

WOR

WORP

WOR

Data to be ORed or
head numbers of
devices that store data

Head number of device
that will store result of
logical add.

S

S1

S2

D

D1

D

S

D

Before
execution

After
execution

16 bits