Greetings all, I am currently working on a test project focused on creating a small Human Machine Interface (HMI) within the TIA Portal for the purpose of controlling a direct motor. The attached PLC program and HMI layout showcase my progress thus far. The main concept is rather straightforward: I aim to implement a "momentary push button" on the HMI to manage the motor's operation. Specifically, the motor ought to operate only while the button is actively pressed and come to a halt upon button release. In addition, I seek to incorporate a flashing lamp that illuminates while the button is being pressed. While successful in activating the lamp with the button press, I am facing difficulties with achieving the desired blinking effect during the button activation. I would greatly appreciate any guidance, tips, or sample implementations on how to tackle this challenge. Your insights on configuring the momentary push button and creating the blinking lamp functionality would be invaluable. Thank you in advance for any assistance you can provide!
There are a few options available for controlling flashers in ladder logic programming. One simple solution involves adding 1 to an integer (INT) value and resetting it to 0 when it surpasses 1023. By using the .X9 bit of the INT, you can easily control the flashing pattern. Another option is to enable the clock byte in the hardware configuration of the PLC (Programmable Logic Controller) in the TIA portal, followed by downloading the updated configuration to the PLC. You can then write and download the logic to use one of the clock byte's bits to control the flasher while the motor is running. For more guidance on this process, search for "clock memory byte TIA portal" to find informative YouTube videos and other helpful resources. In summary, if the C pushbutton bit is 1 (normally open contact) and the clock bit is 1 (normally open contact instructions), then write 1 to the lamp bit's value using a coil instruction.
Below, we will be utilizing two timers. Note that TIA timers may vary slightly, for instance, T#500ms will result in a 0.5-second on/off pulse.
When seeking a solution to create a blinking effect on an HMI in TIA Portal, consider configuring it directly within the "Events" settings. This ensures a simple setup without the need for additional coding. While various options, such as manipulating INT values or using ladder logic programming for flasher patterns, are available, utilizing the HMI settings directly can streamline the process. By exploring the clock memory byte feature in the PLC hardware configuration and leveraging the HMI settings, you can achieve the desired flashing effect without complicating the existing PLC code. This approach avoids unnecessary complexity, making it easier to implement the blinking effect seamlessly within the HMI settings.
In response to parky, it is recommended to refer to the diagram below which utilizes two timers (note that TIA timers differ slightly, for instance T#500ms results in a 0.5 second on/off pulse). For further details, please click on the attachment provided. Thank you for your input! Can you please elaborate on the significance of M0, Y0, and Y1 in your illustration? Are they designated as inputs, outputs, or memory bits (markers)? Your assistance is greatly appreciated!
When using certain HMI systems, you can easily set up blinking modes for lamp functions on the screen by accessing the properties menu. If you are unsure about how to do this on Siemens HMI systems, or if the feature is not available, you may be able to achieve the desired effect through scripting. In my case, I am using Mitsubishi, so M0 represents the button, Y0 represents motor output, and Y1 represents the lamp. However, you have the flexibility to use any bits you prefer, such as M bits in Siemens (e.g. M10.0 Y). These bits correspond to actual outputs, but for testing purposes, you can also use Siemens type outputs like Q 0.0 or M bits.
Hi there! Sounds like an interesting project. For the momentary push button, you could design it to set a direct output which activates the motor while pressed, and then automatically resets itself when released. And for the blinking lamp issue, consider using a pulse timer. You could set the button press to activate the timer which triggers the lamp's ON and OFF states at designated intervals, creating a blinking effect. I'd suggest using pulse generators in the PLC, or exploring the animation tables within the HMI layout designing phase. Good luck!
Hi there, it sounds like you're doing some great work with your HMI project! Based on your description, it appears you need to incorporate a timer in your PLC program to make the lamp blink. One common method is using a TON or TOF timer, linked to your button's activation. So, when the button is pressed, the timer activates causing the lamp to switch on and off at a frequency you can set. Additionally, for the momentary push button, ensure it's configured in a normally open state in your PLC program. This way, it will allow the motor to run only while the button is held down and stop as soon as it's released. I hope this tip helps! Good luck with your project.
Hi there! Sounds like you've already made some great progress on your HMI project. Regarding the blinking lamp functionality, you might want to use a timer in your PLC program to achieve this. Essentially, the timer would cycle the lamp on and off in quick succession, creating the blinking effect that you're looking for. You can integrate this timer logic with your momentary push button's active state for desired results. In TIA Portal, look for 'IEC timers' under 'Instructions' in your PLC programming toolbox. If you need more specific guidance, feel free to share the specifics of your current code or setup, and I'll do my best to help you further! Keep going - you're on the right track!
Hey there! It sounds like a cool project youβre working on! For the blinking lamp effect, you could try using a timer in your PLC program that gets triggered when the momentary push button is pressed. When the button is held down, the timer can alternate the lamp's state between on and off at your desired frequency. Just remember to reset the timer when the button is released to stop the blinking. If you have made a small test project for the blinking functionality separately, testing that could also help pinpoint any issues. Good luck, and Iβd love to see how it turns out!
Hey there! It sounds like a neat project you have going on! For the blinking lamp, you could consider using a timer that starts when the push button is pressed and resets when released. This way, the lamp can be set to toggle its state (on and off) at a specific interval. Look into using a bit in your PLC program that indicates when the button is pressed and link that to your timer logic. You might want to switch the lamp's output state based on the timer value to create that flashing effect. Hope that helps, and Iβd love to hear how it turns out!
β 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 create a momentary push button in TIA Portal, you can use a digital input linked to a button on the HMI. The motor operation can be controlled by monitoring the status of this button. The motor should start when the button is pressed and stop when it is released.
Answer: - To create a flashing lamp effect in TIA Portal, you can utilize timers and bit manipulation. When the button is pressed, you can trigger a timer that toggles a bit at a specific frequency to create the blinking effect for the lamp.
Answer: - If you are having trouble with the blinking effect, ensure that your timer settings are correct and that the bit manipulation logic is properly implemented. Double-check the timer configuration and the logic controlling the lamp's state based on the timer output.
Answer: - For configuring the momentary push button and creating the blinking lamp functionality in TIA Portal, you can refer to the ladder logic programming language supported by TIA Portal. You can use
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.