I have a project with several terminals, all are the same X2 Pro 10 (its a serial produced machine). For handling alarms we use Alarm server/client function, it works very well. We would like to have exact same project to load in each terminal (it would make life easier ) and just by parameter tell if this terminal is the Server or Client X (1-9).
Today we must change Server mode = Both (server) or Disabled (clients) before downloading. Anybody know if possible (and how) to change this by script ? Rebooting after change is no problem.
The setting is done only a few times in machine life time.
Other suggestions how to solve this is also welcome
Thank you.
Change Alarm server mode by script
Re: Change Alarm server mode by script
Have you already tried setting this setting to a tag?
If that doesn't work you could try using this line in scripting:
//Disclaimer: Changing the Alarm Server settings using scripting could cause unexpected behavior.
If that doesn't work you could try using this line in scripting:
Code: Select all
Globals.AlarmServer.ServerMode = Neo.ApplicationFramework.Interfaces.AlarmServerMode.Local;
Best regards,
Russ
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Russ
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us