Hi
I am looking to set active controllers in script from what i have read it is possible but i dont know how to get to the right class for the name of controller.
eg. I can use the following to get to tag value property and set value.
Globals.Tags.Tags1.Value = 42;
I would like to set the active property of the controller
..............Controller1.Active = true;
Kind regards
Set active controllers using scripting
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Set active controllers using scripting
There is no way to set the active controllers via a script. You have to use the action which is under Controllers in the action menu. You also must cycle power to the HMI for the change to take effect.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer