Digital Alarms Interfacing with PLC