Could you explain how this rung works? Is the copy instruction also part of checking all the c's?Thanks.
The MATH box is is simply doing a bitwise comparison of the 64 C bits and 64 bits within two D locations. Basically it returns true if any single C bit is set, but the corresponding bit in the Ds is not. Then the COPY just pushes the current state of the Cs into the Ds. It's just detecting the rising edge of the Cs. This allows the alarm handler to trigger in response to each rising edge event.
If you want the alarm handler to run when the first alarm is triggered, and then not run again until all alarms are cleared, then the other rung I gave you will work.