16
Device Operation Mode
0~3
String
1 Byte
128
Mode:
0 : ADV (Connection mode),
1 : STD (Standalone Mode),
2 : ALI (Alignment mode) ,
3 : SET(Setting mode)
17
Tool Stop Status
0~9,A~
J
String
1 Byte
130
Tool Stop Status (0: None , 1:NS, 2:AS, 3:E3, 4:E4, 5:E5, 7:E7, 8:E8, 9:BS, A:EPC,
B:ESC, C:ES, D:Er, E:C1, F:C2, G:C4, H:C5 I:ESD J:EA)
EA has an abnormal communication in CTDS 1.7X version.
The appearance of EA in MCTDS5 means bad RS485 communication.
C3 appears for AS so it will send 2.
BS only appear on the MCTDS5.
18 Torque Filter
0~250,255
String
3 Byte
132-134
Torque filter
(0:
No filter
,1-2
5
0 : F
ilter count,255:Unlimited Filter
)
CTDS 2.124 and MCTDS5 2.005 version add infinite filtering and modify 20
times to 250 times
19
Pre-filtering torque
000
0.00
00
~
0
550.00
00
String
9 Byte
136-144
Pre-filtering torque
This field is only available for CTDS 2.124 and MCTDS5 2.006.
20 Current value
00000-65535
String
5 Byte
146-150
Current value
This field is only available for CTDS 2.124 and MCTDS5 2.006.
21
Year
000
1~9999
String
4 Byte
152-155
Year
22
Month
0
1~
12
String
2 Byte
157-158
Month
23
Date
0
1~
31
String
2 Byte
160-161
Date
24
Hour
00~23
String
2 Byte
163-164
Hour(24 hours)
25
Minute
0
0~
59
String
2 Byte
166-167
Minute
26
Second
0
0~
59
String
2 Byte
169-170
Second
27
Check Sum
0000-9999
String
4 Byte
172-175
28
Key Code
0000-9999}
String
5 Byte
177-181
Key Code+Tail
29
ASCII code LF
30
ASCII code CR
{DATA0, ..... }Total:181 Byte,28 Field
Remark
4. {CMD0} Data format/example
Field
Parameter
Value
Data Type
String Length
Position
Description
1
CMD
{CMD0
String
5 Byte
1-5
Command code
2
Device Name
0
~1
String
1 Byte
7
Device Name(0: AMS, 1: DAS)
3 unused
0
String
1 Byte
9
unused
4 unused
0
String
1 Byte
11
unused
5 unused
0
String
1 Byte
13
unused
6 unused
0
String
1 Byte
15
unused
7 unused
0
String
1 Byte
17
unused
8
Year
0001
~9999
String
4 Byte
19-22
Year
9
Month
0
1~
12
String
2 Byte
24-25
Month
10
Date
0
1~
31
String
2 Byte
27-28
Date
11
Hour
00~23
String
2 Byte
30-31
Hour(24 hours)
12
Minute
0
0~
59
String
2 Byte
33-34
Minute
13
Second
0
0~
59
String
2 Byte
36-37
Second
14
Check Sum
0000-9999
String
4 Byte
39-42
15
Key Code
0000-9999}
String
5 Byte
44-48
Key Code+Tail
16
ASCII code LF
17
ASCII code CR
Remark
Communication interface :
Connection RS232 :
PORT1
Connection method:KL-MCTDS5
PORT2
Remark
{CMD0, ..... }Total: 48Byte,15 Filed
RS-232C 9 Pin Female (DCE) to PC or PLC (DTE)
Item 1 to 28 are separated by "," (ASCII 0x2c)
※When the trip information (DATA0) is continuously transmitted, it can be judged by the field six。
{CMD0,0,0,0,0,0,0,2018,09,03,18,45,19,2112,7550}
1.Item 1 to 15 are separated by "," (ASCII 0x2c)
2.Reply to CMD0 when the time is inconsistent or repeat {DATA0}
1.Barcode scanner
Connection method:KL-CTDS
Connection method:KL-MCTDS5
2.WIFI module
Connection method:KL-CTDS