Hello to all!
I think that my task is simple, but i didn't found anything about that in Help/
So, I need to start and stop WinCC OA managers from ctrl-script.
Additional task - to create managers dynamically start\stop them, delete them from ctrl script.
Is there any way to do that?
How To start and stop managers from ctrl-script
- NFedorenko
- Posts:45
- Joined: Wed Jun 15, 2016 5:41 pm
How To start and stop managers from ctrl-script
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: How To start and stop managers from ctrl-script
To stop a manager (connected to the Event Manager) you can simply write the manager ID to the DP-element _Managers(_2).Exit.
If you want to start a process you can use the system() command. When you start a WinCC OA process using the system() command the process monitor WCCILpmon will not observe this manager.
When you want to start and stop a WinCC OA process managed by the WCCILpmon you can use the (internal) commands defined in the CTRL library pmon.ctl.
Best Regards
Leopold Knipp
Senior Support Specialist
If you want to start a process you can use the system() command. When you start a WinCC OA process using the system() command the process monitor WCCILpmon will not observe this manager.
When you want to start and stop a WinCC OA process managed by the WCCILpmon you can use the (internal) commands defined in the CTRL library pmon.ctl.
Best Regards
Leopold Knipp
Senior Support Specialist