kbus - 2022-05-27

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.