FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14096 questions

16756 answers

27504 comments

53846 members

0 votes
581 views 5 comments
by
Hello,

I use a RUT955 to retrieve data from a sensor in RS485. I use the serial type modbus gateway. At some moments, I can't interrogate the sensor anymore. I connected to the RUT in ssh, and I typed the logread command. But is there a command to retrieve only RS485 logs ?

Thank you in advance.

1 Answer

0 votes
by

Hi,

Unfortunately, to retrieve only RS485 part of the logs you would need to use a pipe after logread.

So for example:

logread | grep RS485

This will fetch only strings that contain "RS485" in them.

EB.

Best answer
by

Thank you for your prompt feedback. I'm surprised because I don't have any log with logread | grep RS485. Do you know how to recover MODBUS/RS485 logs ?

Thanks

by
Internally no - I believe the best way to see anything with serial port communication would be having some kind of monitoring or analyzing software running in the background.

EB.
by
ok, thanks. Do you know some software for doing this ?
by
Anything works as long as they have packet analyzing features, so let's say this: https://www.eltima.com/rs485-sniffer.html (we're not responsible for this software, so don't take it for granted).
by
ok, is it possible to install something on the RUT955 ?