Transmit Data To J1939 Bus; Set Mask - B&B Electronics Command Response Protocol HVD100A3 Product Manual

B&b electronics command response protocol product manual
Table of Contents

Advertisement

Transmit Data to J1939 Bus

Byte
Byte
Number
Value
1
01
2
06
3
02
4
02
5
XX
6
XX
7
XX
8
XX
9
DD
DATA
CS

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
Byte
Number
Value
1
01
2
06
3
02
4
04
5
XX
6
XX
7
XX
8
XX
9
00
10
CS
HDV100A3 Command & Response Manual-1306cr
B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 433-5104
Function
Start of frame
Control bytes
ID byte 1 = J1708 message
Function byte 02 transmit message
MSB of arbitration field (J1939 priority bits)
MSB-1
MSB-2
LSB of arbitration field (J1939 source address)
Number of data bytes
From 0 to 8 bytes
Checksum
Function
Start of frame
Control bytes
ID byte 02 = J1939
Function byte 04 set mask
MSB of arbitration field (J1939 priority bits)
MSB-1
MSB-2
LSB of arbitration field (J1939 source address)
Number of data bytes
Checksum
23

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Command Response Protocol HVD100A3 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF