Multifunction lamp

HMI + MT8072iP

EBPro - latest version

Please advise if this is possible:

To replicate a physical panel lamp I want to add to my HMI a simple word lamp with 3 states, driven by 2 PLC outputs:

  • (neither output) State 0- lamp off
  • Output 1 drives State 1 - lamp flashing
  • Output 2 drives state 2 - lamp steady

Am I able to combine steady and flashing lamps this way?

You cannot do this directly using a Word Lamp, as there is no “blink” option for each individual status.

However, there are ways to achieve this—including using macros—but I find the following method easier:

  1. Create two Bit Lamps using a standard system image (e.g., System Lamp - Standard - SYSTEM 72x72, which features a two-state lamp: off and on)
  2. For the First Bit Lamp, go to the General tab, set it to read from PLC OUTPUT 1, and set the BLINK option to Alternate Image On state 1.
  3. For the Second Bit Lamp, go to the General tab, set it to read from PLC OUTPUT 2, and set the BLINK option to NONE. Then, go to the Security tab, activate Enable/Disable, select PLC OUTPUT 2, choose Enable if BIT is ON, and set the Action to Hide When Disable.
  4. Finally, place one lamp over the other, ensuring LAMP 2 is on the top layer.

Note that with this setup, if both outputs are active, the lamp will remain on without blinking.

Thanks dwpessoa - good idea. I had wondered about using an “invisible state”