GSK980TC3 Series Bus Turning CNC system PLC, Installation and Connection User Manual
56
一
Programming
address B), and stores the result at address C.
Format:
EOR
ACT
Length
Format
specification
S1
Address A
S2
Constant or
address B
S3
Address C
Fig. 5-35-1
Control conditions:
ACT
=
0
:
The EOR instruction is not executed.
ACT
=
1
:
The EOR instruction is executed.
Parameter:
Length
:
Specify a data length (1 or 2 bytes) and an input data format(constant or address
specification).
Data length
specification
Format
specification
0
0
0: Constant
1: Address
1: 1 byte length
2: 2 bytes length
Fig. 5-35-2
S1
:
Input data to be exclusive-ORed. The data that is held starting at this address and has
the data length specified in Length format specification is treated as input data.
S2
:
Input data to be exclusive-ORed with. When address specification is selected report that
specification, the data that is held starting at this address and has the data length
specified in Length format specification is treated as input data.
S3
:
Address used to store the result of an exclusive EOR operation. The result of an
exclusive EOR operation is stored starting at this address, and has the data length
specified in Length format specification.
Example:
When address A and B hold the following data:
Address A
Address B
The result of the exclusive EOR operation is as follows:
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
Summary of Contents for 980TC3 Series
Page 13: ...1 Programming Ⅰ Programming Ⅰ ...
Page 71: ...59 Operation Ⅱ Ⅱ Operation ...
Page 97: ...85 III Ⅲ Function III Function ...
Page 149: ...137 Installation and Connection Ⅳ Ⅳ Installation and Connection ...
Page 209: ...197 附 录 Appendix ...