RTU over IP connection possible only when other app open a port #2681
-
I want read 2 input registers. sensor > moxa 5232 in tcp server mode > ethernet > *unix shell & code below.
It works only when other app, ie Modbus Poll polling (the port in moxa is opened) modbus device. Otherwise: I've been working on this on and off for a few weeks and haven't been able to get this configuration to work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You do not write which version you use, but unit= have not been permitted for a very long time, please read the doc or follow the signature of the api. please add a debug log, without that we cannot see what happens. looking at the sequence you present, of course it only works when the server is started, what did you expect? |
Beta Was this translation helpful? Give feedback.
You do not write which version you use, but unit= have not been permitted for a very long time, please read the doc or follow the signature of the api.
please add a debug log, without that we cannot see what happens.
looking at the sequence you present, of course it only works when the server is started, what did you expect?