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

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

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

Post by alkharashy » Sun Aug 21, 2011 1:05 pm

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: 259
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 » Mon Aug 22, 2011 2:32 pm

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 » Thu Dec 01, 2011 11:44 am

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: 259
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 » Wed Dec 07, 2011 9:07 am

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 » Tue Feb 14, 2012 10:56 pm

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

Post Reply