wincc flexible 2007 scripts

GMac

Member
Join Date
Feb 2016
Location
detroit
Posts
6
Hey guys,

I am trying to write a vb script in wincc 2007 flexible. Basically I need to have a button which is on my overview on every screen only visible when it is on a specific screen which is #15. I have 0 scripting experience and am trying to learn so I think the way to do it is partially as follows. Internal Tag_1 is what I'm looking at for visability.

If (CURRENT_SCREEN = 15)Then

SetBit Tag_1

End If


The only other part is if i leave screen 15 via the above button will i need another script to set tag_1 back to 0. Any comments appreciated
 
Generally, limit the use of scripts to the minimum.

So you have a "common" area on all screens with the same content. That is totally normal. You place these common sceen objects in the Template.
To your specific task for a button that appears on just one screen, there is no need for scripts. simply place a regular button in the specific screen in the common area. The button will overlay the template objects.
 

Similar Topics

I have created a faceplate like the example says, but I'm not capable to drag it from my library into my screen. I'm only having the "stop"-sign...
Replies
0
Views
2,842
Hi, I am using WinCC Flexible 2007 Hotfix 4. I have problem downloading to a TP177A touch panel. When tranferring to the device it goes through...
Replies
13
Views
5,754
Hi everyone, thank you for reading my HelpMe post. I found this site by google. //Description of the problem: I've been trying to change screens...
Replies
5
Views
2,912
Dear All, I have an application and there is a pushbutton that access on specific screen, but i want to add a password when anyone press that...
Replies
2
Views
2,462
hi, all In winncc flexible 2007 is it possible to open runtime file from button ( my client have two different runtime files on one pc is it...
Replies
1
Views
1,723
Back
Top Bottom