B&B Electronics HVD100A3 manual J1708 Message Filter, Set Filter Active Byte Function Number Value

Page 20

J1708 Message Filter

The J1708 message filter will operate on 4 different MID’s. Only messages with the same MID as set in the filter will be sent to the PC. The filters will be OR’ed together so that multiple MID’s can be filtered, MID1 or MID2 or MID3. The format for the setting of J1708 filtering is as follows:

Set Filter Active

Byte

Byte

Function

Number

Value

 

 

 

 

 

1

01

 

Start of frame

2

03

 

Control bytes

3

01

 

ID byte 1 = J1708 message

4

X9

Set filter 9 = Set filter active X = filter number 1 to 4

5

XX

Value of MID to filter On

6

00

 

Data bytes

7

CS

Checksum

Set Filter Off

 

Byte

Byte

 

Function

Number

Value

 

 

 

 

 

 

1

01

 

Start of frame

2

02

 

Control bytes

3

01

 

ID byte 1 = J1708 message

4

X8

 

Set filter 8 = Set filter inactive X = filter number 1 to 4

6

00

 

Data bytes

7

CS

 

Checksum

Setting all filters off will stop all data from the J1708 bus. When all filters are set off you must send the receive J1708 command to start receiving all bus messages.

16

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

Image 20
Contents HDV100A3 Command Response Protocol Page Table of Contents Do Not Transmit Any Messages to the network Intelligent Mode Verification IntroductionIntelligent Mode Command Protocol Intelligent Mode Message StructureSOF Control Field StructureFormatting the Control Bytes Command Acknowledgement Detailed Description of General Function CodesRS-232 Baud Rate Setup HDV100A3 Command & Response Manual-1306cr Setting Baud 1, Baud Baud Rate Setup Table UB3 Baud Rate ExampleByte Byte Function Number Value Hex Byte Function Number Value Reply from HDV100A3Function code 20 = stop time stamping Master Reset Command Vendor InformationByte Byte Value Byte Function Number Hex J1708 CommandsReceiving Data from the J1708 Bus Function code 10 hex stop receive Transmitting Data to the J1708 Bus Priority Byte Value Binary Value Hex ValueID bytes 9 = transmit OK Set Filter Off Byte Function Number Value J1708 Message FilterSet Filter Active Byte Function Number Value Broadcast Message DataByte 4 Values Byte 6 Priority ValuesJ1939 Commands Start Receive on J1939 Bus Stop Receive on J1939 BusArbitration Field Y1, Y2, Y3, Y4 Message received from the HDV will be formatted as follows Transmit Data to J1939 Bus MSB-1MSB-2 Set MaskSet Filter 1 to HDV100A3 Command & Response Manual-1306cr J1939 Header Worksheet Error Codes DEC HEX