B&B Electronics Command Response Protocol HVD100A3 User Manual

Page 20

Advertising
background image

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


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
Number

Byte
Value

Function

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
Number

Byte
Value

Function

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.

Advertising