You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old March 15th, 2019, 06:41 PM   #1
Skidood
Member
Canada

Skidood is offline
 
Join Date: Oct 2016
Location: Ontario
Posts: 152
recover operation after power failure based on elapsed time

Hi group,

I am trying to figure out how to calculate time elapsed during a power failure. If the PLC is off for more than 30 minutes, when the power is restored I want to enable a bit. If the power is off for less than 30 minutes, the bit is left alone.

I believe I previously saw a logic example where the amount of time that has passed since the beginning of the year is constantly stored, and then upon power restoration, the current time/day is compared to that somehow but that strategy seems a bit wonky.
I know that I will be working with the First Pass bit.
I can also tell you that my program already writes the current day, hour, minute and second to their own integer files 4 times per second.

Any takers?
  Reply With Quote
 
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Confusion regarding power supply rating for CompactLogix Salman S. LIVE PLC Questions And Answers 8 March 7th, 2017 06:07 PM
To Latch Or Not To Latch BOWRIDER LIVE PLC Questions And Answers 43 October 21st, 2015 05:19 AM
IEC Timer Elapsed time mapping in WinCC ry_fern LIVE PLC Questions And Answers 0 December 1st, 2010 04:30 AM
Redlion Triggers based on time wutnots LIVE PLC Questions And Answers 5 August 4th, 2010 09:44 PM
S7-416-2 DP Fault - SFB20 sparky64 LIVE PLC Questions And Answers 8 July 30th, 2004 03:48 AM


All times are GMT -5. The time now is 05:13 PM.


.