I have Trouble with my modbus client configuration because iget
lots of failed connections in the modbus status. But i need more information or errorcodes of the modbus_client.
I would read the event log over SSH with command: logread -f | grep client_modbus but nothing shows up . Now to my question is there a special log file for the modbus client or is my command wrong ?
This worked but i seek for specific modbus errorcodes. Because there are many failed connection of one device. so i want an errorcode or function code when the modbus client enables an connection and try to poll the values. In don’t find some modbus poll log in there. MFG Chris
Thanks for the fast answer. I must first seek the debug level number that you can enter because I had never seen this bevore. However, this command is often based on the libmodbus toolset, where debug levels typically work like this:
-D 2 and higher: More detailed debugging (e.g., internal library functions, timestamps, error details) -D 3 Hex description and more specific Error Codes.