B&B Electronics Command Response Protocol HVD100A3 Product Manual

Manual is about: B&B Electronics Command Response Protocol Product Manual

Summary of Command Response Protocol HVD100A3

  • Page 1

    Hdv100a3 command & response manual-1306cr cover page b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 model: hvd100a3 hdv100a3 command response protocol documentation number: hdv100a3-4407cr international headquarters b&b electronics mfg. C...

  • Page 3

    Hdv100a3 command & response manual-1306cr table of contents i b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 table of contents introduction........................................................................................ 1 intellig...

  • Page 4

    Ii 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 warning! This model hdv100a3 converter module allows you to connect to active j1708 / j1939 networks. It is possible that your transmissions throu...

  • Page 5

    Hdv100a3 command & response manual-1306cr 1 b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 introduction the hdv100a3 adapter has two modes of operation: j1708 intelligent and j1939 intelligent mode in intelligent mode the hdv100a3 works w...

  • Page 6

    2 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 intelligent mode command protocol the hdv100a3 uses a simple protocol to communicate to vehicle bus. The protocol is divided into four parts: start...

  • Page 7

    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 formatting the control bytes the 2 nd byte is “number of control bytes” to follow and always precedes the control field. The third byte is the id b...

  • Page 8

    4 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 detailed description of general function codes command acknowledgement all commands sent to the device will be acknowledged. If no error occurs an ...

  • Page 9

    Hdv100a3 command & response manual-1306cr 5 b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 rs-232 baud rate setup to set the baud rate for the rs-232 port, set a general command code of 08. Set the function code to 01. Then set 3 control ...

  • Page 10

    6 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 bits 1 and 0 set the word length bit 0 bit 1 word length 0 0 5 0 1 6 1 0 7 1 1 8 (default) default value. The hdv100a3 should always be set to 8-bi...

  • Page 11

    Hdv100a3 command & response manual-1306cr 7 b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 setting baud 1, baud 2 baud rate setup table baud rate decimal divisor hex divisor msb (baud 2) hex divisor lsb (baud 1) 9600 48 $00 (default) $30 ...

  • Page 12

    8 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 baud rate example to set the pc baud rate to 57,600 baud, n,8,1, format the message as follows. Byte number byte value hex byte function 1 01 start...

  • Page 13

    Hdv100a3 command & response manual-1306cr 9 b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 time stamp information the hdv100a3 supports a four-byte rolling time stamp with a resolution of 1.5 microseconds per bit. The maximum time stamp v...

  • Page 14

    10 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 byte number byte value function 1 01 start of frame 2 02 number of control bytes 3 08 id byte 08 = internal command 4 20 function code 20 = stop t...

  • Page 15

    Hdv100a3 command & response manual-1306cr 11 b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 master reset command the master reset command allows the hdv100a3 to be reset from the pc. Sending this command resets the hdv100a3 to the default...

  • Page 16

    12 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 commands receiving data from the j1708 bus after the hdv100a3 is set into its intelligent mode of operation and the rs-232 data rate is conf...

  • Page 17

    Hdv100a3 command & response manual-1306cr 13 b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 byte number byte value (hex) byte function 1 01 start of frame 2 02 the number of control bytes 3 01 id byte 01= j1708 4 10 function code 10 hex s...

  • Page 18

    14 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 transmitting data to the j1708 bus the hdv100a3 supports standard j1708 commands of up to 21 bytes. Additionally the hdv100a3 can send messages up...

  • Page 19

    Hdv100a3 command & response manual-1306cr 15 b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 after sending a transmit message to the hdv100a3 you will get the confirmation message if the checksum is correct. A transmit complete message is ...

  • Page 20

    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...

  • Page 21

    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 broadcast message the hdv100a3 supports one broadcast message. Once configured by the host application, this message will be sent repeatedly by th...

  • Page 22

    18 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 to stop broadcast transmission it is not necessary to send the whole message. The message below will stop broadcast transmission. Byte number byte...

  • Page 23

    Hdv100a3 command & response manual-1306cr 19 b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 j1939 commands the j1939 protocol is similar to the j1708 protocol. The message starts with start of frame byte 01. The number of control bytes wi...

  • Page 24

    20 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 wise to set the receiver off when not in use. Sending the start receive clears the mask. This renders the filter function useless. Start receive o...

  • Page 25

    Hdv100a3 command & response manual-1306cr 21 b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 data messages received from the hdv100a3 operating in the j1939 mode, is formatted as follows: control field data field start of frame # of contro...

  • Page 26

    22 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 a message received from the hdv will be formatted as follows: 00> the are placeholders and are not transmitted with the data. ** = value changes w...

  • Page 27

    Hdv100a3 command & response manual-1306cr 23 b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 transmit data to j1939 bus byte number byte value function 1 01 start of frame 2 06 control bytes 3 02 id byte 1 = j1708 message 4 02 function byt...

  • Page 28

    24 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 the mask can be used to look at a group of messages: to set the mask to filter on the j1939 priority field, the mask would be loaded with: (01, 06...

  • Page 29

    Hdv100a3 command & response manual-1306cr 25 b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 2. Set the “mask” to the desired pattern (01, 06, 02, 04, xx, xx, xx, xx, 00, cs). 3. Set a filter (1 to 4) to the match value (01, 06, 02, yy, xx...

  • Page 30

    26 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 j1939 header worksheet this worksheet will aid in filling out/decoding the j1939 arbitration field. Bit number j1939 function can frame entry hex ...

  • Page 31

    Hdv100a3 command & response manual-1306cr 27 b&b electronics -- 707 dayton rd. -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5104 error codes error code format: byte number byte value function 1 01 start of frame 2 03 number of control bytes 3 05 function code error = 05 4 xy...