B&B Electronics HVD100A3 manual Formatting the Control Bytes

Models: HVD100A3

1 31
Download 31 pages 45.58 Kb
Page 7
Image 7
Formatting the Control Bytes

Formatting the Control Bytes

The 2nd byte is “Number of Control Bytes” to follow and always precedes the control field. The third byte is the ID byte. This byte tells the hardware where to direct the message. Valid entries for functions are:

ID Codes

=01 Message for J1708 =02 Message for J1939

=08 General message (for control of the HDV100A3 device) =05 Device identification (reverse compatible)

The fourth byte is the function byte. The functions that are supported are listed below. Note that some of the function codes are followed by additional bytes of information. These bytes must be included in the control byte count.

Valid General Function Codes

Function codes

=01 change PC baud rate, followed by 3 bytes (UB3, Baud1, Baud2) =02 send time stamp

=04 hardware handshaking

=08 reset converter, followed by 2 bytes (01,and 02) =10 time stamp off

=20 time stamp on

Valid Entries for J1708 Functions

Function codes = 07 set broadcast message

=X8 set filter X off

=X9 set filter X on

=11 Sync with J1708 bus and start reception

=10 Stop reception

=12 Transmit to J1708 bus

Valid Entries for J1939 Functions

Function codes =00 Receive off =01 Receive on

=02 Transmit message =08 Set mask

=X8 set filter X off =X9 set filter X on

HDV100A3 Command & Response Manual-1306cr

3

B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5104

Page 7
Image 7
B&B Electronics HVD100A3 manual Formatting the Control Bytes