
4.LADDER LANGUAGE B-63983EN/02
- 282 -
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 ORed. 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 ORed 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 OR operation. The result of
an OR 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 OR operation is as follows:
111
10 1
11
ddress C