Page 1 of 1

Enable/Disable tags polling from one controller

Posted: Sat Apr 01, 2017 5:37 am
by lgrenon
Hello !

On my application, I have 2 controllers (Siemens ET200S) connected to a X2 pro HMI.

Sometimes, I need to disconnect one of these controllers.
I've seen that there is a checkbox on the tags module to activate or desactivate one controller.
But how to do this automatically ?
I've looked on some scripts classes but I do not seen anything about that.

Someone can help me ?
Thanks

Re: Enable/Disable tags polling from one controller

Posted: Tue Apr 03, 2018 12:47 pm
by Russ C.
Hi lgrenon,

There is an action that you can set to a button to enable/disable controllers, but the project needs to be restarted in order for those changes to take affect.

To assign the function, create a button on the screen and click Actions. From there under Click expand the drop down and scroll to the bottom, to Other. And Change Active Controllers should be at the top of that list (See attached).

Best,
Russ