I have purchased a piece of hardware that has a RS-485/ModBus interface in it which is used by codesys. I know nothing about codesys, I only heard of it when I ssh'd into the piece of hardware. I'm very limited in my ability to investigate the environment because it is running busybox Linux and the tools are scant.
I know that a GUI the manufacturer provided is connecting on ports 22000 & 6000 and they are sending these commands on ModBus:
I was told by the manufacturer that it is port 6000 that handlesModBus. I have captured it with a MITM Proxy but I cannot make any sense of it. I'm hoping that the modbus interface is mounted as a serial device somewhere.
I have purchased a piece of hardware that has a RS-485/ModBus interface in it which is used by codesys. I know nothing about codesys, I only heard of it when I ssh'd into the piece of hardware. I'm very limited in my ability to investigate the environment because it is running busybox Linux and the tools are scant.
I know that a GUI the manufacturer provided is connecting on ports 22000 & 6000 and they are sending these commands on ModBus:
But I don't know how to read or write to the ModBus using anything other than their GUI. Any hints would be appreciated.
Last edit: brunobronosky 2022-01-11
I was told by the manufacturer that it is port 6000 that handlesModBus. I have captured it with a MITM Proxy but I cannot make any sense of it. I'm hoping that the modbus interface is mounted as a serial device somewhere.
The file has:
And the filesystem has:
I have tried to pipe
printf $status
(all those vars) to those devices, but I get either nothing, or it hangs when I then try tocat
the device.Last edit: brunobronosky 2022-01-12