You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use NModbus4 as a master, with the master I write and read coils of a plc-slave over TCP/IP. All of this is working, my problem is, that I don't have a constant connection. The connection of the master with the slave exist just at the moment I write or read the coils.
I tried to use the client and the master as global objects and stared a connection of the master to the slave at the beginning of my program, but this also doesn't work.
Is there a possibility to implement this idea?
Hello,
I use NModbus4 as a master, with the master I write and read coils of a plc-slave over TCP/IP. All of this is working, my problem is, that I don't have a constant connection. The connection of the master with the slave exist just at the moment I write or read the coils.
I tried to use the client and the master as global objects and stared a connection of the master to the slave at the beginning of my program, but this also doesn't work.
Is there a possibility to implement this idea?
I already thank you for your help!