25
D01-068en201913 Manual TpH
TpH // Annex
Serial Interface
Upon delivery, the serial interface is congured with the following settings:
• Baud rate: 9600 bps
• Data bits: 8
• Stop bits: 1
• Parity: none
Name Register Format
Bool 1 False: 0x0000, true: 0xFF00
Uint8 1 8-bit positive integer. Value range: 0x0000 - 0x00FF
Uint16 1 16 bit positive integer. Value range: 0x0000 - 0xFFFF
Uint32 2 32 bit positive integer. Value range: 0x00000000 - 0xFFFFFFFF
Float 2 IEEE 754 32-bit oating-point number
Char[n]
[ ]
Null-terminated ASCII string of n characters
Uint16[n] n Field of n Uint16 values
Float[n] 2n Field of n oat values
Data types
n
2
Functions
The sensor supports the following Modbus functions:
Name Code Description / Use
Read multiple registers 0x03
Read the serial number, conguration, calibration and measurement
data.
Write multiple registers 0x10 Write the conguration and calibration.
Write single register 0x06 Write the conguration and calibration.
Report slave ID 0x11 Read the serial number and rmware version.
Standard Modbus server address
Upon delivery, the sensor is set to address 20 (0x14).
Modbus RTU