J1939 packaged messages protocol – NEXCOM VTC 100 User Manual
Page 49
Copyright © 2013 NEXCOM International Co., Ltd. All Rights Reserved.
36
Appendix A: CAN Module Setup and Command
VTC 100 User Manual
J1939 Packaged Messages Protocol
S
ATS: send packaged messages by turns.
Response HEX CODE (default) after ATPH command
Packing 1:
Byte 0:“ @” ,( 0x40)
Byte 1: “1”, (0x31)
Byte 2: #00
Byte 3: #01 ......
Byte 19:#17
Byte 20:
Check sum =
Byte2 + ..+Byte 19
Byte 21: 0X0D
Byte 22: 0X0A
Packing 2:
Byte 0: “ @” ,( 0x40)
Byte 1: “2”,(0x32)
Byte 2: #18
Byte 3: #19 ......
Byte 19:#35
Byte 20:
Check sum = Byte2
+ ..+Byte 19
Byte 21: 0X0D
Byte 22: 0X0A
Packing 3:
Byte 0: “ @” ,( 0x40)
Byte 1: “3”,(0x33)
Byte 2: #36
Byte 3: #37 ......
Byte 19:#53
Byte 20:
Check sum = Byte2
+ ..+Byte 19
Byte 21: 0X0D
Byte 22: 0X0A
Packing 4:
Byte 0:“ @” ,( 0x40)
Byte 1: “a”,(0x41)
Byte 2: #54
Byte 3: #55 ......
Byte 19:#71
Byte 20:
Check sum =
Byte2 + ..+Byte 19
Byte 21: 0X0D
Byte 22: 0X0A
Packing 5:
Byte 0: “ @” ,( 0x40)
Byte 1: “b”,(0x42)
Byte 2: #72
Byte 3: #73 ......
Byte 19:#89
Byte 20:
Check sum = Byte2
+ ..+Byte 19
Byte 21: 0X0D
Byte 22: 0X0A
Packing 6:
Byte 0: “ @” ,( 0x40)
Byte 1: “c”,(0x43)
Byte 2: #90
Byte 3: #91 ......
Byte 14:#102
Byte 19:0
Byte 20:
Check sum = Byte2
+ ..+Byte 19
Byte 21: 0X0D
Byte 22: 0X0A
NOTE :
1. AT#00 ~ AT#102 respond ASCII CODE format data.
2. Packing 6, Byte15~Byte19 not defined (set to ”0”)
3. After ATPA command, byte 21& 22 were ignored.
4. This is the common J1939 measurement overview showing which
measurements are available. Note that not all measurements are
supported by the individual engines.
#00 Speed Low Byte (SLB)
#01
Speed High Byte (SHB)
speed=(SHB*256+SLB)/256
#02
B7
B6
B5
B4
B3
B2
B1
B0
Clutch switch
Brake switch
NOT USED
Cruise control active
00 = pedal released
01 = pedal depressed
00 = pedal released
01 = pedal depressed
00 = switched off
01 = switched on
#03
B7
B6
B5
B4
B3
B2
B1
B0
B7: Emergency brake(-6m/s2)
B6: speed up (6m/s2)
B5: Double Emergency brake
(over -12m/s2)
1: Enable, 0:Disable
PTO state
00000 = off/disabled
00101 = Set
11111 = not available
#04
0.4 % / Bit gain, Accelerator Pedal Position(APP) , 0 to 100 %
APP= Data* 0.4
#05 Engine Total Fuel used 0,5 L / Bit gain , ETF1
#06 Engine Total Fuel used 0,5 L / Bit gain , ETF2
#07 Engine Total Fuel used 0,5 L / Bit gain , ETF3
#08
Engine Total Fuel used 0,5 L / Bit gain , ETF4
Engine Total Fuel used
=((ETF4*256*256*256)+(ETF3*256*256)+(ETF2*256)+ETF1)*0.5
#09
Fuel Level (FL) , 0 to 100 %, 0.4 %/bit
Fuel Level=FL*0.4
#10 RPM Low byte, RL
#11
RPM High byte, RH
RPM= (RH*256+ RL)* 0.125