EasyManua.ls Logo

GSK 218M - Dec(Binary Decode

Default Icon
227 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents