
4.LADDER LANGUAGE B-63983EN/02
- 280 -
Parameters
(a) Format specification
Specify a data length (1, 2, or 4 bytes), and an input data format
(constant or address specification).
Data length specification
1: 1 byte
2: 2 bytes
4: 4 bytes
Format specification
0: Constant
1: Address specification
o 0 0 o
(b) Address A
Input data to be ANDed. The data that is held starting at this
address and has the data length specified in format specification
is treated as input data.
(c) Constant or address B
Input data to be ANDed with. When address specification is
selected in format specification, the data that is held starting at
this address and has the data length specified in format
specification is treated as input data.
(d) Address C
Address used to store the result of an AND operation. The result
of an AND operation is stored starting at this address, and has the
data length specified in format specification.
Operation
When address A and address B hold the following data:
ddress B
11100011
01010101
ddress A
The result of the AND operation is as follows:
010
00 0
01
ddress C