J1939 raw data protocol (hex code), J1708 raw data protocol (hex code) – NEXCOM VTC 1010 User Manual
Page 93
Copyright © 2013 NEXCOM International Co., Ltd. All Rights Reserved.
79
Appendix F: OBDII Module Setup and Command
VTC 1010 User Manual
J1939 Raw Data Protocol (HEX CODE)
Support for J1939 PGN / SPN access as defined in the J1939 standards.
This function will report all PGNs and their source node on the J1939
network.
Each SPN under this function should be set to a size of 32 bits.
J1939
Format
Byte 0
@ ( =0x40)
Byte 1
Bit4,3,2: Priority
Bit0: Data Page
Bit1,5,6,7:Reversed
Byte 2
PDU Format (PF)
PGN
Byte 3
PDU Specific (PS)
Byte 4
Source Address
Byte 5
Data1
Byte 6
Data2
Byte 7
Data3
Byte 8
Data4
Byte 9
Data5
Byte 10 Data6
Byte 11 Data7
Byte 12 Data8
Byte 13 Check Sum
Byte 14 0x0D
Byte 15 0x0A
J1708 Raw Data Protocol (HEX CODE)
This function will report all MID and PID that broadcasting on the J1708
network. Its data length is not fixed, please refer to SAEJ1708.
J1939
Format
PIDs 128-191
PIDs 0-127
Byte 0
@ (= 0x40)
@ (= 0x40)
@ (= 0x40)
Byte 1
Message
identification (MID) MID
MID
Byte 2
Parameter
identification (PID)
PID
PID
Byte 3
Number of data
bytes
Data1
Data1
Byte 4
Data 1
Data2
Check Sum
Byte 5
Data 2
Check Sum
0x0D
Byte 6
……..
0x0D
0x0A
Byte 7
Data N
0x0A
Byte 8
Check Sum
Byte 9
0x0D
Byte 10 0x0A
PIDs 0-127 describe data parameters that are one byte long.
PIDs 128-191 describe data parameters that consist of two bytes.
PIDs 192-253 The first byte following these PIDs will contain the number of
data parameter bytes.
EX:
MID=128
0x40
0x80
0x15
0x01
0x32
0xC8
0x0D
0x0A
64
128
21
1
50
200
130
10
PID=21 (Engine ECU temperature)
Data=50