Variable
|
Description
|
Value (hex)
|
---|---|---|
ReqCode
|
Code identifies a generic Modbus request
|
16#0050
|
Variable
|
Description
|
Value (hex)
|
---|---|---|
ManagParam[3]
|
Length of the DataToSend variable
|
16#0009
|
Variable
|
Description
|
Value (hex)
|
---|---|---|
DataToSend[0]
|
First two octets of the target device IP address (192.168.1.6):
|
16#C0A8
|
DataToSend[1]
|
Last two octets of the target device IP address (192.168.1.6):
|
16#0106
|
DataToSend[2]
|
|
16#0300
|
DataToSend[3]
|
|
16#0A00
|
DataToSend[4]
|
|
16#0005
|
1. When the generic Modbus request contains an odd number of bytes, the last byte of the request is swapped.
|