B&B Electronics HVD100A3 manual Broadcast Message, Data

Page 21

Broadcast Message

The HDV100A3 supports one broadcast message. Once configured by the host application, this message will be sent repeatedly by the HDV100A3 at a programmed time interval. This feature is useful to provide a “heartbeat” function to the J1708 bus with no overhead to the host application’s software. Sending 0 in the time value stops the broadcast message from being sent.

To start a broadcast message the time interval, message slot, priority, number of data bytes, and the data must be sent to the HDV100A3. Once sent, the HDV100A3 will send the message out on the bus at the specified interval. Existing bus traffic or any bus messages sent to the HDV100A3 from the host application take priority over a pending broadcast message.

Once a broadcast message is started the “Stop Broadcast 07” message must be sent before any changes to the broadcast message can be made. Changing from one time value (17) to another (37) without stopping the broadcast will cause the HDV100A3 to act erratically.

Byte

Byte

Function

Number

Value

 

 

 

 

1

01

Start of frame

2

04

Control bytes

3

01

ID byte 1 = J1708 message

4

X7

Set broadcast 7 = On X = Time interval (see chart)

5

0X

Message slot number (01 only active at this time)

6

PP

Priority (see chart below)

7

YY

Data bytes

 

DATA

From 4 to 21 bytes

 

CS

Checksum

HDV100A3 Command & Response Manual-1306cr

17

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

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

Image 21
Contents HDV100A3 Command Response Protocol Page Table of Contents Do Not Transmit Any Messages to the network Introduction Intelligent Mode VerificationIntelligent Mode Message Structure Intelligent Mode Command ProtocolSOF Control Field StructureFormatting the Control Bytes Detailed Description of General Function Codes Command AcknowledgementRS-232 Baud Rate Setup HDV100A3 Command & Response Manual-1306cr Setting Baud 1, Baud Baud Rate Setup Table Baud Rate Example Byte Byte Function Number Value HexUB3 Reply from HDV100A3 Byte Function Number ValueFunction code 20 = stop time stamping Vendor Information Master Reset CommandJ1708 Commands Receiving Data from the J1708 BusByte Byte Value Byte Function Number Hex Function code 10 hex stop receive Priority Byte Value Binary Value Hex Value Transmitting Data to the J1708 BusID bytes 9 = transmit OK J1708 Message Filter Set Filter Active Byte Function Number ValueSet Filter Off Byte Function Number Value Data Broadcast MessageByte 6 Priority Values Byte 4 ValuesJ1939 Commands Stop Receive on J1939 Bus Start Receive on J1939 BusArbitration Field Y1, Y2, Y3, Y4 Message received from the HDV will be formatted as follows MSB-1 Transmit Data to J1939 BusMSB-2 Set MaskSet Filter 1 to HDV100A3 Command & Response Manual-1306cr J1939 Header Worksheet DEC HEX Error Codes