Dear sir/Madam,
I have created user defined Script in Project Library with the file name of DP_Initialization. Ctl. this file will initialize the values for Data Points.
My requirement is even if operator changed the Datapoint value it should reinitialize according to script.this has to happen irrespective of any Panels.
Regards,
Avinashkrishna Bh
+91 8408084844
How to EXECUTE User defined Scripts Cyclically
- avinashkrish11
- Posts:1
- Joined: Mon Jun 06, 2016 8:32 am
How to EXECUTE User defined Scripts Cyclically
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: How to EXECUTE User defined Scripts Cyclically
Hello,
If a script shall be executed without context to a UI you have to use a CTRL manager.
Depending on the implementation of the script it can be executed
-- once (the CTRL manager is stopped afterwards)
-- on a value change, e.g. when using dpConnect()
-- cyclically, e.g. by using the CTRL function timedFunc()
For details concerning the CTRL functions please have a look at the WinCC OA help.
Best Regards
Leopold Knipp
Senior Support Specialist
If a script shall be executed without context to a UI you have to use a CTRL manager.
Depending on the implementation of the script it can be executed
-- once (the CTRL manager is stopped afterwards)
-- on a value change, e.g. when using dpConnect()
-- cyclically, e.g. by using the CTRL function timedFunc()
For details concerning the CTRL functions please have a look at the WinCC OA help.
Best Regards
Leopold Knipp
Senior Support Specialist