How long PLC powered off

babahu

Member
Join Date
May 2010
Location
Menlo Park, CA
Posts
11
A GE Fanuc Micro PLC in India suffers from multiple power outs. Is there a %S system var or other technique for knowing that a reboot occurred? A standard way to know how long it has been off?

(I could set registers with the current timestamp and somehow use that?)
 
Or just keep overwriting a timestamp-register every scan or with a timer, and then on first scan minus last timestamp from current time and add the difference to a register/array. Repeat.
 
Steve Baily... how does the PLC know it is dying to be able to set the flag? Really, what does LAST SCAN mean? I assume it means that a STOP request has been recognized so it gives one more sweep to let the code prepare if needed. But POWER failure? (Unless it has a long holdup time (like two scans worth) in the powersupply and the powersupply gives notice that the input has disappeared.)

Scanning by time difference seems possible -- each scan (or every sec or minute) move the RTC timestamp array to a saved location. Then at FIRST SCAN you check and compare how much time elapsed.
 
Last edited:

Similar Topics

Using Allen Bradley PLCs, What are some easy ways to save process data from the PLC to a computer ? Would I have to start getting into SQL type...
Replies
18
Views
10,735
Hello; I have a Laptop having W10 arranged for Allen Bradley softwares for PLCs and HMIs. As some of our machines have Siemens PLCs and HMIs for...
Replies
7
Views
2,139
Hi..all..I am a newbie in this field..trying hard to acquire some good knowledge in this field. While studying about the analog input modules in...
Replies
1
Views
5,769
I have Allen Bradley plcs, I have had Circuit breakers and other automation equipment in the past. There's no solid buyers local. How much do you...
Replies
2
Views
190
I have a question. I work in a very large plant and this one (of many hundreds of control cabinets) contains one 5580 (1756-L83E), two 1756-L73...
Replies
6
Views
198
Back
Top Bottom