EasyManua.ls Logo

Hukseflux SR05 series - Page 46

Hukseflux SR05 series
83 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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:
Device address
1 Byte
1 to 247
Function code
1 Byte
0x46
Sub function code
1 Byte
0x04
New device address
1 Byte
1 to 247
Checksum
2 Byte
CRC16
Reply
Device address
1 Byte
1 to 247
Function code
1 Byte
0x46
Sub function code
1 Byte
0x04
New device address
1 Byte
1 to 247
Checksum
2 Byte
CRC16
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:
Device address
1 Byte
1 to 247
Function code
1 Byte
0x46
Sub function code
1 Byte
0x05
Checksum
2 Byte
CRC16
Reply
Device address
1 Byte
1 to 247
Function code
1 Byte
0x46
Sub function code
1 Byte
0x05
Baud rate
1 Byte
0 to 4, see table 6.3.3.1
Bit frame
1 Byte
0 to 3, see table 6.3.3.2
Checksum
2 Byte
CRC16
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).

Table of Contents