How Can I setting alarms checking the bits (trigger) of the INT word

Hey Guys.

I have a tag called AlarmPLC (DINT word) configured in the tags folder (Ignition). This tag is linked by OPC Server to my PLC. I would like to know how to configure alarms checking the bits of this tag created in the Ignition. for instance:

Alarm 1 -> AlarmPLC.0
Alarm 2 -> AlarmPLC.1

NOTE: I don't want to check the word AlarmPLC via OPC bit by bit because is inefficient way.

Thanks a lot for your contribution

To answer the question you asked, you can make multiple alarms on AlarmPLC and use Mode=Bit State on each alarm.

That said,

I'm not sure this is true. Ignition optimizes pretty well and the convenience of having a tag per alarm may be worth the (probably very small) performance hit.

Manual section on alarms. Search for Bit State: Tag Alarm Properties - Ignition User Manual 8.1 - Ignition Documentation

1 Like

Correct. Ignition's driver will notice that you are asking for bits of an integer (with or without also getting the integer) and will make a single read to satisfy all of the OPC items that want that value.

I recommend making the individual boolean tags.

1 Like

Zacht, your answer using mode = Bit State is what I was looking for.

Thank so much for your help.