GSK218M CNC System Connection and PLC Manual
43
CN0=0: begins the value of the counter with 0.
CN0=1 begins the value of the counter with 1.
Specify up or down counter (UPDOWN):
UPDOWN=1: Up counter
UPDOWN=0: Down counter
Reset (RST):
RST=0: release reset.
RST=1: enable reset. When W=0, the interated value is reset to the initial value.
RST is set to 1 only when reset is required.
Count signal(ACT):
ACT=1
:
count is made by catching the rise of ACT.
ACT
=
0
:
counter does not operate. W does not change.
Parameter:
METER
:
specifies the counter serial number with xxx which are numbers (0
~
127).
Output:
W
:
coil output. W=1 when the counter reaches the preset value.
Note: When the counter is rise edge to count, and the conter number is duplicated,or falls outside
the valid range, the operation will be unpredictable.
The timer can be set via
【
TMR
】
in
【
PLCPAR
】
.
5.12 DEC
(
binary decode
)
Function:
DEC can decode binary code data. Outputs 1 when the eight-digit BCD signal is equal to a
specified number, and 0 when not.
It is mainly used to decode M or T function.
Format:
Control condition:
DEC
Length
Format
destination
S1 code
Data
address
S2 decode
designation
number
S3 decode
result address
ACT
Summary of Contents for 218M
Page 3: ...GSK 218M CNC System Connection and PLC Manual...
Page 15: ...GSK218M CNC System Connection and PLC Manual 12 Volume one Programming...
Page 70: ...GSK218M CNC System Connection and PLC Manual 67 Volume Two Function...
Page 140: ...GSK218M CNC System Connection and PLC Manual 137 Volume Three Operation...
Page 160: ...GSK218M CNC System Connection and PLC Manual 157 Volume Four Connection...