Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
GSK218MC Series Machining Center CNC System PLC & Installation Connection Manual
58
Volume I
Programming
Fig. 5-34-1
Controllable condition:
ACT
=
0, Do not execute the NOT code.
ACT
=
1, Execute the NOT code.
Parameter:
Length: Specify the data length (1 byte or 2 bytes)
Fig. 5-34-2
S1 : The input data is reversed bit-by-bit. The address is started and the data length is
consistent with the length.
S2 : It is used for outputting NOT operational result. The result of the NOT operation starts
to store from this address, and the length of the data 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
The operation result of the NOT is shown below:
Address B
5.35 EOR (Exclusive OR)
Function:
This code is performed the Exclusive OR with a constant (or the content from the address B)
from the content of the address A, and its result is stored to address C
1
1
1
0
0
0
1
1
0
0
0
1
1
1
0
0