Idea for Electric animation

Find and share HowTos to various installations / configurations!
Search

Post Reply
6 posts • Page 1 of 1
Mounir.B8
Posts: 3
Joined: Thu Dec 13, 2018 2:13 pm

Idea for Electric animation

Post by Mounir.B8 » Tue Jun 11, 2019 2:00 pm

Hello everyone :D ,
I'm kinda new with WinCC OA and I want to do an animation for an electric installation, all my idea are using a lot of DpConnect.. not good for EV so Can anyone help me with a hint of how to do it with a good way?,
Thanks for reading me ;)

User avatar
leoknipp
Posts: 1819
Joined: Tue Aug 24, 2010 5:28 pm

Re: Idea for Electric animation

Post by leoknipp » Wed Jun 12, 2019 1:00 pm

Can you describe how the "electric animation" should look like.
How many dpConnect() functions do you expect in the panel used for the animation?
How often are the values changed the panel is connected to?

Best Regards
Leopold Knipp
Senior Support Specialist

Mounir.B8
Posts: 3
Joined: Thu Dec 13, 2018 2:13 pm

Re: Idea for Electric animation

Post by Mounir.B8 » Wed Jun 12, 2019 3:29 pm

Thanks for your answer :)

The animation consists in a change of colors when the power is on or off,
well a lot, there is a dpConnect for each breaker and power sources... to animate the change of their status and also a dpConnect for the color change of the line,
the equipment doesn't change that often but in the initialization, it's kinda a lot of dpConnect at the same time... , but after initialization I will have like two major times (when I will power on the line and when i will power it off) that uses a lot of dpConnect at the same time...

Best regards,
Mounir

User avatar
leoknipp
Posts: 1819
Joined: Tue Aug 24, 2010 5:28 pm

Re: Idea for Electric animation

Post by leoknipp » Thu Jun 13, 2019 7:00 am

There is still the questions how many dpConnect() functions you expect in the panel?
Maybe you can use in 1 object 1 dpConnect() for the visualization of the status and the color.

Best Regards
Leopold Knipp
Senior Support Specialist

Mounir.B8
Posts: 3
Joined: Thu Dec 13, 2018 2:13 pm

Re: Idea for Electric animation

Post by Mounir.B8 » Thu Jun 13, 2019 10:17 am

If i use one dpConnect() with like 5 or 10 DPE for each animation it's going to overload the EV since i have multiple of them.
I thought that maybe I need to try combining DPEs to get one DPE who will be in charge of the animation but this solution is not possible for all of the objects i will still have a lot of dpconnect :'( :'(

User avatar
leoknipp
Posts: 1819
Joined: Tue Aug 24, 2010 5:28 pm

Re: Idea for Electric animation

Post by leoknipp » Mon Jun 17, 2019 9:45 am

Using 5 - 10 dp elements in a dpConnect() is not a problem.
If the Event Manager is overloaded depends more or less on the number of value changes in your system. The number of connected elements will have an influence on the load in the Event Manager.

E.g. using a panel with 1000 dpConnect() functions where the DP elements are changed every second is normally not a big deal for the Event Manager.
If the UI has a lot of connect functions and the work function is complex the bottleneck is probably the UI when doing a lot of painting operations.

To see if you will possibly run into problems will still need the information how many dpConnect() functions you will use in your panel and how often the values will be changed.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
6 posts • Page 1 of 1