28
4.5 Modbus function codes
Three standard function codes are implemented to access the transducer’s memory and
simple functions:
Function code (hex)
Function
03
Read multiple registers
05
Force single coil
10
Write multiple registers
Four non-standard function codes are implemented to allow easy and efficient access to
special functions of the transducer:
Function code (hex)
Function
45
Start measurement with mask
46
Synchronize datalogging
47
Erase data
48
Set slave address
The implemented functions are described in the following paragraphs including example
queries and responses. Normal responses are shown. If an error is found during the query
processing, an exception response is generated by the transducer as described in section
Chyba! Nenalezen zdroj odkazů.
.
4.5.1 Read multiple registers (03h)
Reads the contents of transducer’s registers. Broadcast is not supported. The query specifies
the starting register and quantity of registers to be read.
Here is an example of the request to read holding registers 40049 – 40051 from the transducer
with slave address 11h:
Byte no.
Field name
Example (hex)
1
Slave address
11
2
Function code
03
3
Starting address (Hi)
00
4
Starting address (Lo)
30
5
Number of registers (Hi)
00
6
Number of registers (Lo)
03
7
CRC (Lo)
xx
8
CRC (Hi)
xx
Summary of Contents for EDT 101
Page 1: ...1 Temperature transducer EDT 101 User manual Rev 6 December 2019...
Page 35: ...35...
Page 40: ...H101AN_201912_EDT101...