Download  Print this page

Mitsubishi Electric A800 Programming Manual Page 175

800 series, plc function.
Hide thumbs

Advertisement

Application instructions (16-bit)
Function
WAND
• Logical AND is executed for each bit of the 16-bit data of the device specified with
S
specified with
, and the results are stored in the device specified with
• Logical AND is executed for each bit of the 16-bit data of the device specified with
S2
specified with
, and the results are stored in the device specified with
• Bits of the bit device higher than the specified digit are operated as 0.
Execution condition
The execution conditions for logical AND instructions are as follows.
Operation
command
WAND
WANDP
Program example
WAND
• Program that masks the tenth digit (the second digit from the bottom) of the BCD 4 digits when XA turns ON.
174
Sequence program
Before
execution
After
execution
Before
execution
After
execution
(D10)=1234
D
.
16 bits
D1
.
16 bits
Executed every
Executed every
scan.
Executed only once.
1204
Coding
D
and 16-bit data of the device
S1
and 16-bit data of the device
scan.
Executed only once.

Advertisement

Table of Contents

This manual is also suitable for:

F800

Comments to this Manuals

Symbols: 0
Latest comments: