# Bad Quality Suppresses alarm

**URL:** <https://forum.inductiveautomation.com/t/bad-quality-suppresses-alarm/9530>\
**Category:** Ignition\
**Created:** [January 12, 2015, 7:01pm UTC](https://forum.inductiveautomation.com/t/bad-quality-suppresses-alarm/9530 "2015-01-12T19:01:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MCC](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@MCC](https://forum.inductiveautomation.com/u/MCC)\
**Post date:** [January 12, 2015, 7:01pm UTC](https://forum.inductiveautomation.com/t/bad-quality-suppresses-alarm/9530/1 "2015-01-12T19:01:45Z")

</div>

I am using v7.7.2. I have a user-defined data type for an alarm that includes an OPC tag for a Boolean alarm from a PLC, a memory Boolean tag for a test alarm and an expression alarm tag that goes true if either the OPC or memory tags is true. This expression tag is used for alarming. The setup works well for testing displays, notification pipelines, etc.

However, I do run into trouble when I am working offline, with no connection to the PLC. In that case, the OPC and expression tags get marked with Config Error. The logic still works, i.e., the expression alarm tag still goes true if I set the test memory tag. However, since one part of the expression can’t be resolved (probably returns null), the quality is shown as Config Error. The alarm does not appear in the alert table. I presume alarm events are not fired if the quality is bad. The alarm itself is configured as a equal to 1 condition. I have also tried a configuration of not equal to 0 without success. I’d like to be able to test alarms even when not connected to a PLC.

Thanks.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 12, 2015, 11:40pm UTC](https://forum.inductiveautomation.com/t/bad-quality-suppresses-alarm/9530/2 "2015-01-12T23:40:33Z")

</div>

You might have to add some logic to look at the quality.

I think the general behavior of all the drivers is to report a null value along with bad qualities, which may explain why your comparisons are failing.

---

<div class="post-metadata">

**Author:** ![MCC](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@MCC](https://forum.inductiveautomation.com/u/MCC)\
**Post date:** [January 13, 2015, 3:13pm UTC](https://forum.inductiveautomation.com/t/bad-quality-suppresses-alarm/9530/3 "2015-01-13T15:13:19Z")

</div>

The thing that I find odd is that the value of the alarmed tag is being set to true. Animations and other functions work correctly, but the alarming does not.

---

<div class="post-metadata">

**Author:** ![acooper](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/acooper/32/4221_2.png) [@acooper](https://forum.inductiveautomation.com/u/acooper)\
**Post date:** [October 6, 2015, 4:06pm UTC](https://forum.inductiveautomation.com/t/bad-quality-suppresses-alarm/9530/4 "2015-10-06T16:06:34Z")

</div>

Hi MCC,

Is this still an issue you’re experiencing? Were you able to add logic to bypass the bad quality issue?
