SR05-D1A3-PV manual v1801 46/83
6.3.3 Serial communication settings (0x46)
Function code 0x46 allows the user to set the device address and to read and write the
serial settings. This section gives a description of the usage of function code 0x46 with
sub function codes 0x04, 0x05 and 0x06.
Sub function 0x04: write device address
Sub function code 0x04 is used to change the device address. Upon sending the Modbus
request SR05-D1A3-PV will echo the Modbus request. Note that the new device address
will only take effect after the device has been reset (see diagnostic function code 0x08,
sub function 0x01).
Modbus request:
Sub function 0x05: read serial communication settings
Sub function code 0x05 is used to read the serial communication settings such as the
baud rate and the bit frame.
Modbus request:
0 to 4, see table 6.3.3.1
0 to 3, see table 6.3.3.2
Subfunction 0x06: write serial communication settings
Sub function code 0x06 is used to write the serial communication settings such as the
baud rate and the bit frame. Upon sending the Modbus request SR05-D1A3-PV will echo
the Modbus request. Note that the new serial communication settings will only take effect
after the device has been reset (see diagnostic function code 0x08, sub function 0x01).