Linking lamp with alarm group Visualization

Hi there,

I wanna ask if its possible to trigger the lamp light according to the alarm range limit that has been set inside the Alarm Group. For example :slight_smile:

image

value 10-20 : Green (Normal state)
value 20-25 : Yellow (Warning)
value 25 and above : Red (Error)

BR,
Umair

Hi Umair,

You can place multiple lamp elements (one for each color/state) in the same location on your visualization and control the ‘Invisibility’ property of each based on the Alarm Value.

Example:
GreenLampInvisible := NOT ((AlarmValue >= 10) AND (AlarmValue < 20));
YellowLampInvisible := NOT ((AlarmValue >= 20) AND (AlarmValue < 25));
RedLampInvisible := NOT (AlarmValue >= 25);

Hope this helps!

Regards,

2 Likes

Thanks a lot for the suggestion. Will try!

Umair,

See attached demo project for reference:

UmairDemo.project (308.5 KB)

Cheers,

Great, thanks! I really appreciate your help.