WinCC PRO V15.1 Push Button Click event in face plate

dahnuguy

Member
Join Date
Mar 2007
Location
SC
Posts
720
I have several items which all relate to a process step. There are 20 steps all with the same variables.

I want to add variables in each step.

Step number, step name, process function, etc...and I want to have a button that sends you to another screen to add other related variables. Button X.

Button X, when used on the screen and not in a face plate, uses a "click event" to call the screen name and also set a bit to indicate which step is being edited.

I would like to make this collection of variable entry elements into a face plate, but when I define the variables in the face plate, there are no click event functions...no function list at all.

See attached for screen shots.

ClcikEvent01.JPG ClcikEvent02.JPG
 
https://support.industry.siemens.com/cs/mdm/72927729?c=46473112587&lc=en-WW


https://support.industry.siemens.co...late-wincc-prof-v14/182014?page=0&pageSize=10

https://support.industry.siemens.co...rofessional-v13-sp1/163565?page=0&pageSize=10

Select VB script

Sub "on press left"

smartags ("property_1\variable.tag") = 1

end sub

To get the correct syntax, you can place the button on a regular screen and select the function list. make it do what you want, then select "vb script" and the function will be shown converted to vb script syntax.

I could not get this to work with complex functions like change screen, but it might work if all we do is change the state of one of the faceplate tags.

Need to test.

Just posting update on what I found so far.
 

Similar Topics

Hello all, In an WinCC Professional v15 application I need to filter the alarms by alarm class, not using the filter button on the toolbar of the...
Replies
3
Views
2,568
I am doing something no one else has ever done.... I want a screen that lists all the faults that have occurred in the resent past on one screen...
Replies
16
Views
6,598
WinCC Pro V15.1 with CPU 1516-3 PN/DP As always , thanks for the amazing help, you guys are awesome. See the link below as a reference...
Replies
24
Views
11,251
Dear Support, I am working on a new WinCC Professional V15.1 project. My customer wants to use active directory with my application. I understand...
Replies
0
Views
3,062
Dear all, I am working on a project which involves having to send email notifications on alarm conditions. So far I have created 450 discrete...
Replies
3
Views
1,674
Back
Top Bottom