B&B Electronics HVD100A3 Benutzerhandbuch

Seite von 31
HDV100A3 Command & Response Manual-1306cr 
23 
B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 
PH (815) 433-5100 -- FAX (815) 433-5104
 
 
Transmit Data to J1939 Bus 
 
Byte  
Number 
Byte 
Value 
Function 
01 
Start of frame 
2 06 
Control 
bytes 
02 
ID byte 1 = J1708 message 
02 
Function byte 02 transmit message 
XX 
MSB of arbitration field (J1939 priority bits) 
6 XX 
MSB-1 
7 XX 
MSB-2 
XX 
LSB of arbitration field (J1939 source address) 
DD 
Number of data bytes 
 
DATA 
From 0 to 8 bytes 
 CS 
Checksum 
 
Set Mask  
 
Function code 04 set mask. The mask is applied to ALL filters. The mask is 
32 bits long. The last 3 bits are not used and must be set to zero. This mask 
covers the 29-bit arbitration field. To use the filter function, the mask must 
be set. The mask determines what position(s) will be tested and matched to 
the incoming message. If a 1 is set in a particular position, that position will 
be tested. It will be “and” with any active filters to determine if the message 
will be passed to the PC side. Any position marked with a 0 is a “don’t care” 
position and will pass all data in that position. There is a form on page 33 
that helps set up the mask for the arbitration field. 
 
 
Byte  
Number 
Byte 
Value 
Function 
01 
Start of frame 
2 06 
Control 
bytes 
02 
ID byte 02 = J1939 
04 
Function byte 04 set mask 
XX 
MSB of arbitration field (J1939 priority bits) 
6 XX 
MSB-1 
7 XX 
MSB-2 
XX 
LSB of arbitration field (J1939 source address) 
00 
Number of data bytes 
10 CS Checksum