WinCC RT 17 Screen Refresh

Hello guys. Something strange is happening with siemens - in short there is a visual bug when I activate certain buttons ( the only way to fix it is to refresh/reload the opened screen). So I came up with the idea to reload the screen whenever those buttons are clicked. It's been two days and I just can't figure it out. I tried many things but nothing worked correctly (e.g. I put setpropertybyconstant visible 0-1 in click event of the button and it just closes the window, most likely when the screen closes the script stops.) Would appreciate your help.
 
I don't have experience with WinCC Professional, but a guess is it has to do with how the tags are set to update.
You also mention that a script stops. How is the script related to the problem ?
 
Well, I put a script in "Click" event which asks if you are sure you want to click a button, so after "Yes" it set certain tags on. Tried to add some lines which close and open the same screen in which the buttons are but apparently the script stops execution after the screen is closed. Where can I change the update of the HMI tags? I don't think that's going to fix the problem since there are situations where clicking those buttons don't change anything in the PLC, it's just some kind of visual illusion that needs a screen reload.

Dim objScreen
Set objScreen = HMIRuntime.Screens(5)
objScreen.Visible = 0
objScreen.Visible = 1

That's a part I just added but it doesn't fix the problem. I can see the screen flickering but the visual bug is still there. What is the bug - it's a text field with animation with process tag which indicates a stage is currently working (it shows and hides). One bug situation is when a stage has been completed and I click the same stage button nothing happens in the plc ( no bit is ON), no command is sent or anything like that, but the text field shows up... It's going to be irritating for the operator to manually close and open the screen just for that.​
 

Similar Topics

This is WinCC V17, no I don't know if it is "flexible" "comfort" "professional" "Advanced" or any other snappy marketting word. Attached is a...
10
Replies
300
Views
Hello, I need some help with a VirtualBox networking setup for Siemens simulation. Setup Host PC (Windows + TIA Portal): 10.1.0.250 VM #1...
10
Replies
1,274
Views
Hi all, I really need help with this one. I'm at a complete loss... For months and months, I've had no problems with pressing a NEXT button to...
14
Replies
4,070
Views
Hi, I have a HMI which is a KTP1200 Basic. Let's suppose USER03 is logged in. How do I create a simple "Lock Screen" that appears if the screen...
2
Replies
2,453
Views
Anyone know what the little green triangle on SCREEN 3 means ? See picture Thanks
2
Replies
1,104
Views
Top