Hi everyone! I was wondering if Siemens had a 1hertz LED on their HMI. Im trying to use a start button that toggles a 1 hertz led on its display. I'm using the ktp 600 basic. if not, is their a led that the HMI has that I can use instead?
I assume you don't mean an actual LED, but an indicator on the screen that could flash/change colors?
There are two ways to do this. The most HMI objects have a "flashing" setting that you can activate as part of an animation. You can't change the speed though, or the colors.
If you want more control, you can do it in the PLC. Every Siemens PLC has a Clock Byte that you can turn on in the HW Config. It creates some bits that flash at different frequencies. Each is 50% on, 50% off, great for making flashers on HMIs. I think they range from .5Hz to 10Hz. I'm sure 1Hz is one of the options, but I can't recall which bit.
also can you go into detail how to do the 2nd option.
Here is a youtube video that shows how to turn it on for the S7300 in Portal. If you are using the 1200/1500, the setup is similar.
https://www.youtube.com/watch?v=vLBETErFzeI
Adfox also has a great comment: if you want a tag that flashes on and off at 1HZ, you need to ensure that the tag update speed is at least double that. This means it would need to update every 500ms.
Just remember to set tag refresh speed on HMI.
Hmm similarly, could I use two timers to Flash at 1 Hertz? 1Hertz = 1 second (I believe) so take 50ms to turn it on and another 50ms to turn it off. What do you think?
Must it be absolutely precisely 1 Hz ?
I think you will it difficult to achieve a precisely 1 Hz flashing screen object. When the tag update is slightly offset with the tag actually changing, you will see visually annoying differences in the on-off periods.
Just use "flashing" appearance animation on the relevant screen objects. This flashing is not dependent on a tag cycling on and off. So it has a constant on and off duration.
It seems the LED isn't keeping up with the flash on the PLC. Anyone know how to configure the HMI o read the speeds.