1
Technical support / Best way to monitor a power failure- F1616
« on: December 11, 2010, 03:38:26 PM »
I am new to the F1616 and ladder logic but I have succeeded at logging counts of separate inputs, displaying it via the LCD or monitoring it over the web.
What I cannot figure out is how to detect the removal of power. I envision having a 12v or 24v signal to an input, and when this signal "goes away" I would like to execute a custom function that updates the LCD display with the word POWER plus sends me an email saying POWER FAIL. When the power is restored it would update the LCD display to remove the word POWER and send me an email saying POWER RESTORED.
The PLC and network gear all have battery backup-- so only the incoming signal to one of the inputs would be interrupted.
Can you suggest how I might approach this? I am seriously in the newbie baffled zone right now!
What I cannot figure out is how to detect the removal of power. I envision having a 12v or 24v signal to an input, and when this signal "goes away" I would like to execute a custom function that updates the LCD display with the word POWER plus sends me an email saying POWER FAIL. When the power is restored it would update the LCD display to remove the word POWER and send me an email saying POWER RESTORED.
The PLC and network gear all have battery backup-- so only the incoming signal to one of the inputs would be interrupted.
Can you suggest how I might approach this? I am seriously in the newbie baffled zone right now!