I am attempting to utilize property definitions to efficiently pass tags to a screen for reusability. I have successfully linked screen properties to data types in my controllers, allowing me to pass tags to the screen upon navigation. However, I am encountering an issue when trying to achieve this through an event, specifically a button press event that toggles a tag between 1 and 0. By creating a property definition with a boolean data type in the controller, I linked it to the tag in the button behavior event. Despite my efforts, I keep receiving a 'property binding missing' error when validating the HMI.
Hello Cpthomp, can you help me with this issue? I am experiencing the same problem and need your assistance.
Hey there! It sounds like you're nearly there with your project. Your error message indicates that there's some connection missing between your Controller and HMI screen. A 'property binding missing' error typically crops up when the property in the Controller isn't recognized in the HMI. When you created your boolean data type property in the Controller, did you also create a corresponding property on the HMI screen, and bind these two properties together? Make sure the names are exactly the same and the binding is correctly defined. Sometimes, it could be a simple typo or case-sensitivity issue that leads to this error.
It sounds like you've done a great job setting up those property definitions and data type linking, but I'm sorry to hear you're running into issues with the event-based manipulation. It might be possible that the event cannot find the linked property during runtime due to scope considerations. I would suggest checking to see if the property is in the correct place in the controller hierarchy. Alternatively, you might need to confirm that the property binding has been correctly set in the button behavior event. If the problem persists, maybe a code snippet of your event handling and property declaration could help us pinpoint the issue. Keep pushing forward!
That's quite an intricate issue you're dealing with! I've faced a similar problem in the past and found out that sometimes 'property binding missing' error arises when there's a mismatch between property types. Keep in mind that Boolean and numeric property definitions (like your tag toggling between 1 and 0) are not directly compatible. Instead of directly linking your tag to a boolean property, you could implement a script in the button behavior event to convert the numeric value of the tag into a boolean. This may help resolve the error. Good luck, and do keep us updated!
✅ Work Order Management
✅ Asset Tracking
✅ Preventive Maintenance
✅ Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Answer: Answer: You can utilize property definitions to link screen properties to data types in your controllers, allowing you to pass tags to the screen upon navigation.
Answer: Answer: One common issue when passing tags through an event like a button press event is receiving a 'property binding missing' error during HMI validation.
Answer: Answer: To resolve this error, ensure that you have correctly created a property definition with the appropriate data type in the controller and linked it to the tag in the button behavior event. Double-check the binding to ensure it is correctly set up.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.