Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
GSK218MC Series Machining Center CNC System PLC & Installation Connection Manual
56
Volume I
Programming
Controllable condition:
ACT
=
0: Do not execute ANDF code.
ACT
=
1: Execute the ANDF code.
Parameter:
Length : Specify the data length (1 byte or 2 bytes), input the data format (constant or
address).
Fig. 5-32-2
S1: Specify the input data that will to be performed by AND. 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 AND. 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 ANDF operational result. The result from the ANDF 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 ANDF is shown below:
Address C
5.33 ORF (Bit-by-bit OR)
Function:
This code is performed the 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.
Format:
1
1
1
0
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
0
0
0
0
1