in reply to RTU instead of TCP MBclient
Looking at the code, there seems to be no provision for opening or for writing to a serial port. It would take some replacing of all the send and recv calls to the filehandle associated with a Device::SerialPort or Win32::SerialPort, but at that stage, you best start with a fresh copy of the module and rewrite it for serial communications.
Maybe there is some kind of software modbus proxy server (or maybe "gateway" in their parlance) that can take data over the network and route it to the serial port?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RTU instead of TCP MBclient
by mic537 (Novice) on Oct 07, 2016 at 08:34 UTC | |
by Corion (Patriarch) on Oct 07, 2016 at 08:42 UTC | |
by mic537 (Novice) on Oct 07, 2016 at 08:46 UTC | |
by Corion (Patriarch) on Oct 07, 2016 at 08:50 UTC |