18 HLT 1100 SAE J1939
4.6.2 Saving the settings
The changed settings will not automatically become persistent, which means, they will not be stored permanently. For this purpose, an extra storage process needs to be carried out explicitly. This is carried out by writing the string "save" into the Index 102.
Master
Index
(Byte 1)
102 r/w
(Byte 2)
1 dc
(Byte 3)
0 ack
(Byte 4)
0
(Byte 5)
Value ( "save")
(Byte 6) (Byte 7) (Byte 8)
0x73 " s
" 0x61 " a
" 0x76 " v
" 0x65 "e"
E
Sensor
Index
(Byte 1)
102 r/w
(Byte 2)
1 dc
(Byte 3)
0 ack
(Byte 4)
0
(Byte 5)
0
(Byte 6)
Value
(Byte 7)
0 0
(Byte 8)
0
4.6.3 Reset to factory default settings
The settings can be reset to factory default settings at any time. For this purpose, the string
"load" must be written into Index 103.
Master
Index
(Byte 1) r/w
(Byte 2) dc
(Byte 3) ack
(Byte 4) (Byte 5)
Value (
(Byte 6)
"load")
(Byte 7) (Byte 8)
103 1 0 0 0x6C " l
" 0x6F "o" 0x61 " a
" 0x64 "d"
Sensor
Index
(Byte 1)
103 r/w
(Byte 2)
1 dc
(Byte 3)
0 ack
(Byte 4)
0
(Byte 5)
0
(Byte 6)
0
Value
(Byte 7)
0
(Byte 8)
0
4.6.4 Restart
A restart is carried out by briefly disconnecting the sensor from the power supply. A restart can also be carried out by writing the string "boot" into the index 104. This command is not responded to by the sensor, as the sensor will be reinitialised immediately.
Master
Index
(Byte 1) r/w
(Byte 2) dc
(Byte 3) ack
(Byte 4) (Byte 5)
Value (
(Byte 6)
"boot")
(Byte 7) (Byte 8)
104 1 0 0 0x62 "b" 0x6F "o" 0x6F "o" 0x74 "t"
4.7 Example configuration process
The configuration message for all the following examples is the previously described PGN is
61184 (0x00EF00), in case of a successful request, the sensor responds by using the same
PGN.
4.7.1 Example: Read out profile number
All the settings of one device are combined in one profile. By reading of Index 0 of the Object
List (OL) the 2 bytes long profile number is sent, the HYDAC inclination sensor HIT sends the profile number 4. As described earlier, the reading of the entry in the Object List is possible directly without a prefixed command.
Edition: 2021-08-20 HYDAC ELECTRONIC GMBH Part no.: 670069
HLT 1100 SAE J1939
Master
Index
(Byte 1)
0
Sensor
Index
(Byte 1)
0 r/w
(Byte 2)
0 r/w
(Byte 2)
0 dc
(Byte 3)
0 ack
(Byte 4)
0 dc
(Byte 3)
0 ack
(Byte 4)
0
(Byte 5)
0
(Byte 5)
4
(Byte 6)
Value
(Byte 7)
0 0
(Byte 8)
0
19
Value
( 4)
(Byte 6) (Byte 7)
0 0
(Byte 8)
0
4.7.2 Example: Reading the serial number
By writing onto the OL Index 7 the serial number can be read out.
Master
Index
(Byte 1) r/w
(Byte 2) dc
(Byte 3) ack
(Byte 4) (Byte 5) (Byte 6)
Value
(Byte 7)
7 0 0 0 0 0 0
Sensor (PGN 61184)
Index
(Byte 1) r/w
(Byte 2) dc
(Byte 3)
7 0 0 ack
(Byte 4)
0
(Byte 5)
0x78
Value
(
0x12345678 [305.419.896d])
(Byte 6)
0x56
(Byte 7)
0x34
(Byte 8)
0
(Byte 8)
0x12
4.7.3 Example: Edit Baud rate
The Baud rate is set via a Baud rate index (see chapter 4.2.2
Setting of the Baud rate ). The
parameter is located on the OL Index 2 of the OL. In the example the Baud rate 500 kBit/s is set (Baud rate index 2). A new Baud rate will not be saved before the Baud rate index has been changed, saved and the device has been restarted. As an entry will be changed in the
Object List in this example, writing must be activated previously.
Master
Index
(Byte 1)
2 r/w
(Byte 2)
1 dc
(Byte 3)
0 ack
(Byte 4)
0
(Byte 5)
2
Value
(Byte 6)
0
( 2 = 500 kBit/s)
(Byte 7)
0
(Byte 8)
0
Sensor
Index
(Byte 1)
2 r/w
(Byte 2)
1 dc
(Byte 3)
0 ack
(Byte 4)
0
(Byte 5)
0
(Byte 6)
0
Value
( 4)
(Byte 7)
0
(Byte 8)
0
E
Edition: 2021-08-20 HYDAC ELECTRONIC GMBH Part no.: 670069
20 HLT 1100 SAE J1939
E
4.7.4 Example for a communication sequence
The following example is based on the communication between a sensor configured to the device address 1 and a sender using the device address 2 (i.e. controller or a PC with a CAN interface). The Baud rate of the sensor is changed to 500 kBit/s. For this purpose, the configuration mode has to be activated and afterwards, the Baud rate is changed, the changes in the OL will be permanently stored and finally, the sensor is restarted --> Please ensure that the Baud rate is also changed subsequently in the master.
CANID
0x18EF0102
Index
Byte 1
101 r/w
Byte 2
1 dc
Byte 3
0 ack
Byte 4
0
Byte 5
0x65 "e"
Value ( 4)
Byte 6 Byte 7
0x64 "d" 0x69 "i"
Byte 8
0x74 "t"
0x18EF0201
101 1 0 0 0 0 0 0
0x18EF0102
2 1 0 0 2 0 0 0
0x18EF0201 2 1 0 0 0 0 0 0
0x18EF0102
102 1 0 0 0x73 "s" 0x61 "a" 0x76 "v" 0x65 "e"
0x18EF0201
102 1 0 0 0 0 0 0
0x18EF0102
104 1 0 0 0x62 "b" 0x6F "o" 0x6F "o" 0x74 "t"
0x18EF0201 104 1 0 0 0 0 0 0
4.7.5 CAN Log Example HDA 7000 J1939 Address 1 Transmit-Rate to 100 ms
ID (hex)
| Data Length
| | Data Bytes (hex) ...
| | |
----- ----+--- + -+ -- -- -- -- -- -- --
Rx 18EEFF01 8 00 00 80 0F 00 FF FE 00 Sensor „boot-up“
Tx 18EF0102 8 65 01 00 00 65 64 69 74 Start Editmode
Rx 18EF0201 8 65 01 00 00 00 00 00 00 Sensor Response OK
Tx 18EF0102 8 15 01 00 00 64 00 00 00 Write OL index 21
Rx 18EF0201 8 15 01 00 00 00 00 00 00 Sensor Response OK
Tx 18EF0102 8 66 01 00 00 73 61 76 65 Save OL
Rx 18EF0201 8 66 01 00 00 00 00 00 00 Sensor Response OK
Tx 18EF0102 8 68 01 00 00 62 6F 6F 74 Reboot sensor
Rx 18EF0201 8 68 01 00 00 00 00 00 00 Sensor Response OK
Rx 18EEFF01 8 00 00 80 0F 00 FF FE 00 Sensor „boot-up“
Rx 18FF0001 8 ED 03 FF FF FF FF FF FF Pressure value
Rx 18FF0001 8 ED 03 FF FF FF FF FF FF Pressure value
Rx 18FF0001 8 EC 03 FF FF FF FF FF FF Pressure value
Rx 18FF0001 8 EC 03 FF FF FF FF FF FF Pressure value
…
Edition: 2021-08-20 HYDAC ELECTRONIC GMBH Part no.: 670069