Hi All,
I'm using a continuous duty pump to push water through my calcium reactor. I have the bubble count set a little more than needed and use a CO2 solenoid to control the pH within the reactor chamber. The CO2 solenoid is controlled by applying power to an energy bar outlet. It's been running fairly reliably. I'm writing alarms for failures in the system and need some help. Three cases that I've identified:
1) CO2 gas low, bubble count too low, or solenoid stuck in the off position --> reactor pH gets too high
2) Solenoid gets stuck in the ON position --> reactor pH gets too low
3) In the event that the pump loses its prime or somehow loses pumping efficiency --> the rate of solenoid cycling will slow down.
What I'm looking to address is writing alarm code that will trigger if the EB8 outlet that powers the solenoid has been off for too long. Say for example my solenoid routinely cycles once every two hours. In the event that the solenoid is off of three hours, I'd like the alarm to tell me about it.
I was thinking of creating a virtual outlet that mirrors the solenoid outlet, yet incorporates a delay in turning on. Doing this the CO2 outlet needs to be off for a certain period of time before the virtual outlet triggers, which would then trigger the alarm.
Anyone have thoughts on implementing this?
Thanks,
CS
Bookmarks