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