Search the Community

Showing results for tags 'properties'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 2 results

  1. Hello All, First time working with PLC. Get the hang of it from stuff I researched. Having an issue with an axis setup for a servo motor.  When I try to do an auto tune it gives me an error that axis is not configured.  Source: Config Fault    Condition: MotorDeviceCode- INvalid attribute      ACtion: Immediate Stop Fault Entry: Type 8, code 9 subcode: 1314 stopaction: 4 Statechange: 3   I was wondering what am I doing wrong? Any leads or source information I can use to solve this. 
  2. Hi, 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 :)