Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Say I want to connect to a modbus tcp device, then want to disconnect after reading. What do I call to make it disconnect?
I've tried setting xConnect := FALSE; but that doesn't work. I've implicityly set ~~~
_Connect := false;
~~~, and that doesn't work either. In all cases the .Connected is true.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Say I want to connect to a modbus tcp device, then want to disconnect after reading. What do I call to make it disconnect?
I've tried setting xConnect := FALSE; but that doesn't work. I've implicityly set ~~~
_Connect := false;
~~~, and that doesn't work either. In all cases the .Connected is true.