Hi friend's,
Usually , i work whit Wcc 6.2, and Wcc flexible is new for me.
It's easy to use, but the script are different .
Where i can find, a help or a manual to learn a script in wcc flexible ?
The online help do not have a detail, and into Siemens Site i have'nt found nothing
thank you to all !
[?]: WinCC Flexible and script
-
- Posts: 265
- Joined: Sat May 27, 2006 6:46 am
- Location: Europe
-
- Posts: 508
- Joined: Mon Jul 16, 2007 12:28 pm
- Location: Europe
Re: [?]: WinCC Flexible and script
Hi PLC_ITA
Did you read manuals about WinCC Flex into "your" SIMATIC Manual Collection 05/2007
.
For me will be imposible to find more detail about scripting in WinCC Flex.
You know maybe, Siemens give you only basic and after that you must learn yourself.
But maybe someone have something in detail?
regards
Did you read manuals about WinCC Flex into "your" SIMATIC Manual Collection 05/2007

For me will be imposible to find more detail about scripting in WinCC Flex.
You know maybe, Siemens give you only basic and after that you must learn yourself.

But maybe someone have something in detail?
regards
-
- Posts: 109
- Joined: Thu Oct 19, 2006 7:00 am
- Location: Russia
Hi, unfortunately not. The accuracy of scheduler of its runtime is a minute. so you've to trigger script using OnChange of second bit of PLC. in this script you can check the condition bit to execute main body of script. If you could tell more about purpose of this we'll try to find another solution.
-
- Posts: 265
- Joined: Sat May 27, 2006 6:46 am
- Location: Europe
hi, Bunglehead,
sigh, only a minute ... but no problem, i use a plc bit whit a 1 second of clock.
Also if is,nt a precise timer , is,nt a problem.
I don't understand, how to use this bit to start my script ?
can you hel me ?
I have create a Tag named CLOCK_1s linked to the plc.
If i use this bit to change a color , for example, is all ok.
If i want to use this bit for to start a script, how i can do ?
thank you
sigh, only a minute ... but no problem, i use a plc bit whit a 1 second of clock.
Also if is,nt a precise timer , is,nt a problem.
I don't understand, how to use this bit to start my script ?
can you hel me ?
I have create a Tag named CLOCK_1s linked to the plc.
If i use this bit to change a color , for example, is all ok.
If i want to use this bit for to start a script, how i can do ?
thank you
-
- Posts: 109
- Joined: Thu Oct 19, 2006 7:00 am
- Location: Russia
hi, it's very simple. Goto Properies page of tag you'll see there Events -> Change value (as I remember, could tell more precisely being in office). For this event you can assign a function list, which can contain user scripts.
P.S. Since WinCC flexible 2005 HF5 (as I remember) this event could also be used for array tags.
P.S. Since WinCC flexible 2005 HF5 (as I remember) this event could also be used for array tags.