Alarm State for each variable

Alarm State for each variable

Hi, does anyone know how can I get the alarm state of a variable? Like I know there's a ''Not acknowledged'' Status bit, which is great, but I need some status bit for the alarm state. For example, if I got bad quality and I set an alarm for that, I want my combi element( which is linked to a variable) to color in a way if my variable is in alarm state and acknowledged and in another way if my variable is in alarm state and unacknowledged. Thank you in advance!