GSK218M CNC System Connection and PLC Manual
53
Parameter:
L : rising edge number, range 0~255. Another DIFU instruction or DIFD instructin in
the ladder uses the same number, the system will alarm.
Operation:
Execution period
5.20 COMP(binary comparison)
Function:
Compares binary values. Specifies enough byte to store input data and comparison data in the
memory.
Format:
Control conditions:
ACT=0: The COMP instruction is not executed. W does not alter.
ACT=1: The COMP instruction is executed.
Parameter:
Length:specification format( constant or address) and data length(1 or 2 bytes) for the
input data.
S1, S2: content of comparison source 1 and comparison source 2. It can be
O O
Specification of data length
1:1 byte length data
2:2 byte length data
Specification of format
0:Constant
1:Address
ACT
COMP
Length
Designation
format
S2
comparison
data
S1 input data
address
1 2 3 4
(W)