Operating Manual
ARS31(Pro)-UMB
G. Lufft Mess- und Regeltechnik GmbH, Fellbach, Germany
24
Address
(2 bytes = 16 bits)
Bits 15
– 12 (top 4 bits)
Bits 11
– 0 (bottom 12 bits)
Class ID
(0 to 15)
Device ID
(0
– 4095)
0
Broadcast
0
Broadcast
4
ARS31PRO-UMB/ARS31-UMB
Active Road Sensor
1 - 4095
Available
15
Master or control devices
ID = 0 is provided as broadcast for classes and devices respectively. Hence it is possible
to transmit a broadcast on a specific class. However, this only makes sense if there is only
one device of this class on the bus.
7.1.3 Examples for creating addresses
If, for example, an ARS31PRO-UMB/ARS31-UMB is to be given device address ID 0001,
this is done as follows:
Class ID for ARS is 4d = 4h
Device ID is e.g. 001d = 001h
Putting the class and device IDs together gives an address of 4001h (16385d).
7.1.4 Example of a binary protocol request
If, for example, a request for the current freezing temperature (measurement range -40 ...
0) is to be placed from a PC to a road sensor with device ID 0001, this is done as follows:
Sensor:
Class ID for
road sensor
is 4 = 4h
Device ID (serial number) is 0001 = 001h
Putting the class and device IDs together gives a destination address of 4001h.
PC:
Class ID for
PC (master device)
is 15 = Fh
PC ID is e.g. 1 = 001h
Putting the class and PC IDs together gives a sender address of F001h
The length <len> for the online data request command 4d = 04h,
the command for the online data request is 23h and
the version number of the command is 1.0 = 10h.
The channel number is shown under <payload>; as can be seen from the channel list, the
current freezing temperature (-40°C ... 0°C) in channel 151d = 97h
The calculated CRC is C4D6h
The request to the device:
SOH
<ver>
<to>
<from>
<len> STX <cmd>
<verc>
<channel>
ETX
<cs>
EOT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
01h
10h
01h 40h 01h
F0h
04h
02h
23h
10h
97h
00h
03h
D6h
C4h
04h
The response from the device:
SOH <ver>
<to>
<from>
<len> STX
<cmd> <verc>
<status> <channel>
<typ>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
01h
10h
01h F0h
01h 40h
0Ah
02h
23h
10h
00h
97h 00h
16h
<value>
ETX
<cs>
EOT
15
16
17
18
19
20
21
22
66h
66h
96h
C1h
03h
FFh
EAh
04h
<status>
= Device o.k.
<typ>
= Data type of the following value; 16h = float (4 bytes, IEEE format)
<value>
= C1966666h corresponds to float value
–18.8°C.