How To start and stop managers from ctrl-script

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
NFedorenko
Posts:45
Joined: Wed Jun 15, 2016 5:41 pm

How To start and stop managers from ctrl-script

Post by NFedorenko »

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?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: How To start and stop managers from ctrl-script

Post by leoknipp »

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

2 posts • Page 1 of 1