beautypg.com

2 logical operation instructions, Bit logical product ... wand, wandp – MITSUBISHI ELECTRIC 700 Series User Manual

Page 161

background image

156

Application instructions

3.27.2 Logical Operation Instructions :

16-bit Logical Product ... WAND, WANDP

Functions

(1) ANDs 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)

WAND

{

{

{

{

{

{

{

{

K1 to K4

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

{

WAND

S

D

S1

S2

D1

WANDP

Operation
commands

Operation
commands

WAND

WANDP

WAND

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

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

S

S1

S2

D

D1

D

S

D

Before
execution

After
execution

16 bits