[?]: Scripts in Wincc Flex2008 - switch to another screen

ProTool, WinCC flexible, WinCC, PP/OP/TP/TD/MP
alkharashy
Posts: 4
Joined: Thu May 12, 2011 12:09 pm

[?]: Scripts in Wincc Flex2008 - switch to another screen

Post by alkharashy »

Hi Friends
I'm new with Wincc Flex
I design a new project now and this is the first time I use Scripts
I had a strange problem:
scripts don't run when the screen loaded automatically , I have to switch to another screen then return again to the screen with the script to find the script executed

any help or any explanations plz ???????????
Homeroid_BL
Posts: 258
Joined: Fri Apr 03, 2009 3:24 pm
Location: Bosnia and Herzegovina

Re: [?]: Scripts in Wincc Flex2008 - switch to another scree

Post by Homeroid_BL »

What is a trigger for a script?
Triaton
Posts: 4
Joined: Thu Dec 01, 2011 10:43 am

Re: [?]: Scripts in Wincc Flex2008 - switch to another scree

Post by Triaton »

Hello, i had similar situation. My script was triggered by tag, which pulsed every second. But the same object, copied on two different screens and changing color depending on result of calculations of a script, behaved on a miscellaneous.
How it can be, if all tags are global in project? I dont know. I think its a bug of WCCF. The problem was solved by resaving the project and rebooting PC some times.

I am sorry for my/translator English.
Homeroid_BL
Posts: 258
Joined: Fri Apr 03, 2009 3:24 pm
Location: Bosnia and Herzegovina

Re: [?]: Scripts in Wincc Flex2008 - switch to another scree

Post by Homeroid_BL »

One second clock?
See what is a cycle time selected for this tag (in Tags in WinCC Flex). For reliable operation, cycle time must be max 100ms.


Image
Scarch
Posts: 103
Joined: Fri Aug 31, 2007 8:17 pm
Location: Europe

Re: [?]: Scripts in Wincc Flex2008 - switch to another scree

Post by Scarch »

The field that triggers to open the script must be read/write and the polling in cyclic mode (not under demand)