GSK980TC3 Series Bus Turning CNC system PLC, Installation and Connection User Manual
44
一
Programming
COMP
ACT
Length
Designation
format
S1 input
data
address
S2
comparison
data
(
W
)
Fig. 5-23-1
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.
Specification of data
length
Specification of
format
0
0
0
:
Constant
1
:
Address
1
:
1 byte length data
2
:
2 byte length data
Fig. 5-23-2
S1, S2: content of comparison source 1 and comparison source 2. It can be
constant and also be address number.
Address number: R, X, Y, F, G, K, A, D, T, C.
Output:
W=0
:
input data>comparison data
W=1
:
input data
≤
comparison data
5.24 COIN
(
Coincidence Check
)
Function:
Check whether the input value and comparison value coincide.
Format:
COIN
ACT
Length
Designation
format
S1
Input value
S2
Comparison
value address
(
W
)
Fig.5-24-1
Control conditions:
ACT
=
0
,
the COIN instruction is not executed. W does not change.
ACT
=
1
,
the COIN instruction is executed.
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 ...