Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter Five PLC Function Code
59
V
o
lume
I Programming
Format:
Fig. 5-35-1
Controllable condition:
ACT
=
0 : Do not execute the EOR code.
ACT
=
1: Execute the EOR code.
Parameter:
Length : Specify the data length (1 byte or 2 bytes), input the data format (constant or
address).
Fig. 5-35-2
S1 : Specify the input data that will to be performed by Exclusive OR. The address is then
begins and the data length is consistent with the length.
S2 : The input data is performed with the one of the Exclusive OR. When the format
specifying is selected the address, the address is then started, and the data length is
consistent with the length.
S3 : It is used for storing the address of EOR operational result. The result from the EOR
is stored from this address, and the data length is consistent with the one of the
length
For example
: When the address A and B have the following data, which are shown below:
Address A
Address B
The operational result of the EOR is shown below
Address C
1
1
1
0
0
0
1
1
0
1
0
1
0
1
0
1
1
0
1
1
0
1
1
0