Hello,
Being able to enable/disable the communication would indeed be a great functionality.
It's very likely you know this already, but wanted to mention just in case, and for the benefit of others, the following:
You can in effect "disable" the communication for you driver objects by changing its poll rate to a really large number. For example, you can have a switch with the following connection:
Modbus1.PollRate = IF(Switch1, 99:59:59, 0:10)
We are basically asking the Modbus driver to poll every 99hrs-59mins-and-59secs IF the Switch1 is On. And if its False, poll every 10sec. This way we do not tax the systems unnecesarily by polling the device when we know it's offline.
Hope this workaround helps.
Regards,
Khalid