Hello everyone, I am currently designing a small Human Machine Interface (HMI) in TIA Portal to test a specific function. My goal is to utilize a momentary push button and a lamp in this setup. The desired outcome is for the lamp to flash when the button is pressed and held, and to turn off when the button is released. I am seeking guidance on how to configure the button in the "events" section of the HMI within TIA Portal to achieve this functionality. If there are any online examples available for reference, please share them. Your assistance is greatly appreciated. Thank you in advance for your help!
In optimizing the HMI's response to user interaction, it should be programmed to write a value of 1 when the "button" is pressed and a value of 0 when the button is released. While there is likely a single configuration setting that handles both events for a button, there have been instances where the written value of 0 upon release may not register. This issue could be attributed to a delay in writing the value of 1, causing it to overwrite the value of 0 before the HMI can detect it.
I may not be acquainted with those specific displays, but in general, most HMI's offer various modes such as one-shot (active for a predetermined time), momentary (active only while being pressed), set, reset, or toggle. These modes can typically be selected within the button properties.
What are the best HMI options available for industrial applications?
Using momentary hold push buttons (PB's) in an HMI is not recommended due to the risk of buttons getting stuck in the on state. This can happen when solely relying on the communication driver's integrity. Platforms like FactoryTalk, Wonderware, and Ignition may have instances where a "momentary" button remains stuck in the on position. To prevent this, an HMI should set a button to a value of 1 for momentary functions, with the PLC resetting the button when done. There are various methods to achieve this, such as using XIC and ONS commands to keep a button on for one scan. Another method involves setting the button to 0 in the PLC after it has been used once. With Logix, placing OTU commands at the end of a program for all buttons is no longer practical due to asynch updates from I/O drivers. For a maintained "Jog" style button, it is recommended to write a 1 on press and a 0 on release events, but adding a timer in the PLC to automatically reset to 0 after a set time can further prevent sticking buttons.
Hi there! It sounds like what you need is a fairly simple event-trigger setup. In your HMI configuration, you'd need to assign an action to your button's 'press' event and it'll basically turn on or pulse the light. For the 'release' event, that's when you'd have your light go off. It's a bit like configuring a basic IF-THEN scenario. Siemens' website has a pretty good video tutorial that covers assigning properties and configuring events in TIA portal which might help in your case. It's a little basic, but it should give you a good starting point. Good luck with your project, sounds like a cool little setup!
✅ 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: - To achieve this functionality, you can configure the button in the "events" section of the HMI within TIA Portal. You will need to set up the necessary logic to control the lamp based on the button's state (pressed or released).
Answer: - The desired outcome is for the lamp to flash when the button is pressed and held, and to turn off when the button is released. This setup can be implemented by programming the appropriate logic in TIA Portal.
Answer: - Yes, there are online resources and examples available that can help guide you through the process of configuring momentary push buttons in TIA Portal. You can search for tutorials, forums, or official documentation provided by Siemens for assistance.
Answer: - You can reach out to forums, online communities, or Siemens support for guidance on configuring the momentary push button and lamp functionality in TIA Portal. You can also explore online tutorials and documentation for step-by-step instructions.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.