M
Hello all:
As a beginner in Modbus development, I am putting together a memory-map and would like people's input on it. My understanding is that there is no rule in the spec that mentions "the min. number of function-codes to be supported" as it is device specific. With that assumption in mind, I have developed my memory-map with the following:
a)Our device supports Modbus RTU through RS-485 with a fixed baud-rate of 9600. Any known issues due to hard-coded baud rate?
b)Currently the device supports ONLY 3 function codes, Read-holding registers, write-single register, and write-multiple registers (FC: 3,6,and 16).
c) Memory-map provides a location of reading and writing slave-id.
d) Memory-map talks of various errors supported: Illegal-data-address, Illegal-data-value, Illegal-function.
e) Memory-map discusses access to various memory locations (read-write, read-only) with descriptions of the format of the data (floating point, integer etc).
Is "Diagnostic function" or "report slave-id" usually expected to be supported?
Anything else that is missing as a "minimum"?
Feedback is appreciated.
As a beginner in Modbus development, I am putting together a memory-map and would like people's input on it. My understanding is that there is no rule in the spec that mentions "the min. number of function-codes to be supported" as it is device specific. With that assumption in mind, I have developed my memory-map with the following:
a)Our device supports Modbus RTU through RS-485 with a fixed baud-rate of 9600. Any known issues due to hard-coded baud rate?
b)Currently the device supports ONLY 3 function codes, Read-holding registers, write-single register, and write-multiple registers (FC: 3,6,and 16).
c) Memory-map provides a location of reading and writing slave-id.
d) Memory-map talks of various errors supported: Illegal-data-address, Illegal-data-value, Illegal-function.
e) Memory-map discusses access to various memory locations (read-write, read-only) with descriptions of the format of the data (floating point, integer etc).
Is "Diagnostic function" or "report slave-id" usually expected to be supported?
Anything else that is missing as a "minimum"?
Feedback is appreciated.