Community Reputation0 Neutral
Hi, I am New!
- Country England
Deleting Alarm Logs Wincc HMI
michal34558 posted a topic in SiemensHi, how can I get rid of those alarms with status I(O) ? They are simply something like duplicates and they re making it hard to read the logs.
Changing button graphic via WinCC script and PLC
michal34558 posted a topic in SiemensHi, I'm looking for a way to change the button graphic (From "non-pressed button" to "pressed button" which is much lighter) via script. The main problem is that, the button has to change it's graphic whenever i change a bit in my PLC program, more accurately, I press button in Factory IO, not in HMI, that thing I've already made, so I've set up my button "is pressed" graphic. I've got my tags prepared correctly, and I'm trying to reach the property of the button with this script: Do If SmartTags("Variable_1") Is True Then HmiRuntime.Screens("Screen_1").ScreenItems("Template_Button_2") End If Loop Is it even proper way to do stuff like that? I THINK it'll work like, if Variable_1 (Bool %Q0.0 for e.g. in PLC program) is 1 Then -> And when I'm at ScreenItems, i don't know which property should I choose next in order to change button graphic. Hope you can help :)