
Operating manual Digital Transmitter DTM.OCS.S / DTM.OCS.S/N
Modbus standard commands
Doc-Nr. 10.00.0430
25
6.9
Cha
nge device’s Modbus address
6.9.1
Command (Hex-Code, Function Code 16)
Start index is 20
10
.
Example transmission code (in hex format) to change its address
from 240
10
(F0
16
) to address 222
10
(DE
16
):
F0 10 00 14 00 01 02 00 DE 2C 88
Value range: 16bit unsigned i
nteger (0...65536), nominal 1…247.
6.10
Read serial number
6.10.1
Command (Hex-Code, Function Code 3)
Start index is 210
10
.
Example transmission code (in hex format) for a sensor with the
address 240
10
(F0
16
):
F0 03 00 D2 00 02 71 13
Data type: 32 bit unsigned integer
SN1, SN2
Description: serial number of device, split-up into two 16 bit
values
Calculation: SN = SN2 * 65536 + SN1
Example answer (in hex format) for a sensor with the address
240
10
(F0
16
):
F0 03 04 6B 94 00 05 87 37
SN1 = 6B94
16
= 27540
10
, SN2 = 0005
16
= 5
10
SN = 5*65536 + 27540 = 355220
6.11
Read Firmware version
6.11.1
Command (Hex-Code, Function Code 4)
Start index is 7
10
.
Example transmission code (in hex format) for a sensor with the
address 240
10
(F0
16
):
F0 04 00 07 00 01 95 2A
Data type: 16 bit unsigned integer
Summary of Contents for DTM.OCS.S
Page 2: ...2 Doc Nr 10 00 0430...