8 | Functions Baumer
26 Operating Manual OM20/ OM30 RS485 with Modbus RTU | V1
8 Functions
The functions of the sensor are mapped within the Modbus RTU protocol by holding registers.
8.1 Communication parameters
The slave address and the baud rate must be set for a successful communication. The sensor
is set as follows in the factory settings:
n
Slave address: 1
n
Baud rate: 57600 Bd
Modbus RTU command – holding register: communication
Address 1100 – Modbus slave address:
Address Access
Number of
registers Data type Description
1100 Read/write 1 uint8_t Set / read out slave address.
Address 1101 – Modbus baud rate ID:
Address Access
Number of
registers Data type Description
1101 Read/write 1 uint8_t Set or read out baud rate:
n
0 = 38400
n
1 = 57600
n
2 = 115200
n
3 = 230400