WinCC Flex 2008 calculate after data entry - Faceplate

cjd1965

Lifetime Supporting Member
Join Date
Apr 2007
Location
UK
Posts
1,659
Hi
I have a faceplate where the user has to enter a time, in seconds. This raw entry is milliseconds and usually i would use the tag settings to linear scale it by a factor of 1000.

There are approx 12 entries on the faceplate that would need this.

Because i am using a data structure linked to a udt which is type time i was wondering how i could call a script to do this. I notice there is a input finished event.

Alternatively I could do some mods in the PLC code to do it
 
On possible way is to use internal faceplate tags for your input fields in the faceplate. Then "OnFinishInput" event you call the script in faceplate. In the script you can call all internal input values and do the calculation and the assign the values to the structure tags.

This only works one way. You cant change the values in the PLC and display them on the HMI. You can only enter values in the faceplate and write them to the PLC
 
Hi Bratt
I went with my original thoughts and changed the time to int then modified the PLC code to multiply by 1000. WinCC Faceplates seen slightly crippled

Cheers
 

Similar Topics

Hi, I have WinCC Felxible 2008 SP5 installed on my Windows 10. I want to program Simatic panel TP177B using USB transfer cable. But i can't...
Replies
8
Views
2,057
Hello! Another weird request from the swede with customers that doesn´t like to pay for quality in first place... Is there any way to have a...
Replies
8
Views
2,646
Hi! I'm a little lost here. I have made a script in VB that run perfect when I simulate it on my programming machine (Windows 8.1) But when I...
Replies
9
Views
2,747
Hi! Writing this in a hurry. Today we made a break at a factory and I should download new s7-1200 program and a new WinCC Flex 2008 RT program...
Replies
0
Views
2,230
hi guys,,can i personalize data logging in wincc flex? i mean i want to make a table that shows log data in a better platform than in wincc,,,i...
Replies
1
Views
1,410
Back
Top Bottom