Knowledge Base / Protocols / Modbus

How can I detect the feedback status of individual command successful or failed?

Search KB

Categories

Each command returns an error code once it is executed. If a command returns a value different of 0, this means that there was a problem during the command execution. The command error list can be found in the read data zone at the address you specified in mcm.port1.cmderrptr.