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

Reply
 
Thread Tools Display Modes
Old September 13th, 2018, 08:09 PM   #1
JZerb
Member
United States

JZerb is offline
 
Join Date: Oct 2016
Location: Highland
Posts: 177
Help with Micro820 RTO ET and power cycling

so i have a micro 820 for a small project im working on and im having a **** of a time figuring out how im going to get a retentive timer to pick up where it left off on the power cycle since the controller looses all of its ET data.

-user enters timer MIN and SEC on panelview 800, easy using a UDFB that executes DINT to TIME
-display on HMI shows timer elapsed time, easy using a UDFB that executes TIME to DINT

issue becomes how to get this all to work on a power cycle properly, since as ive stated the RTO looses its TIMER ET value. so i have to not only diplay the prpoer elapsed time on the HMI still, but have the RTO continue its ET where it left off, which seems to not be working because im unable to just MOV a value into the timers ET on the first PLC scan like i thought i could and be on my way. been having a go at it for a few hours and im totally stumped, any suggestions would be greatly appreciated.
  Reply With Quote
Old September 13th, 2018, 08:57 PM   #2
damica1
Member
United States

damica1 is offline
 
Join Date: Aug 2015
Location: Illinois
Posts: 505
In the parameters of the RTO make sure you have checked the "Retained" checkbox, this will keep current values even if there is a power cycle.
__________________
David M. Camp

Marshall Electric / https://mei-tech.com/monitor-and-control

Please Download from our download section "Monitor and Control" .pdf.
  Reply With Quote
Old September 13th, 2018, 09:14 PM   #3
JZerb
Member
United States

JZerb is offline
 
Join Date: Oct 2016
Location: Highland
Posts: 177
Quote:
Originally Posted by damica1 View Post
In the parameters of the RTO make sure you have checked the "Retained" checkbox, this will keep current values even if there is a power cycle.
that i have, the issue becomes that the ET on the RTO is not retained, and cannot be retained according to AB Tech Support after i read in the manual it wasnt doable i wanted to confirm.

so where i get jammed up is that if i have a timer for say 1min 30sec, i use a UDFB to take those two DINT and put them into a TIME Global Variable. Then that TIME Global Variable is the PT of the RTO. say 40 seconds expires off the timer, I use that ET, which is a TIME Global Variable, and then use a UDFB for TIME to DINT and display on the HMI those two DINTs to view cycle time elapsed. once i power cycle the machine that ET from the RTO goes to 0. so now i have no way to make the calculation to properly show on the HMI what time has elapsed. it just goes to 0 since now the ET on the RTO doesnt retain and therefore resorts back to zero.

edit:first time using a Micro 800 series processor, loved that i could control a drive with the 0-10v outpt oboard stock for that the Micro820 costs, but cannot believe that im having such an issue with this timer logic.
  Reply With Quote
Old September 14th, 2018, 07:12 AM   #4
damica1
Member
United States

damica1 is offline
 
Join Date: Aug 2015
Location: Illinois
Posts: 505
Well I must say I am a bit confused! This is from the help section of CCW Ver11.
Attached Images
File Type: jpg RTO.jpg (120.9 KB, 33 views)
__________________
David M. Camp

Marshall Electric / https://mei-tech.com/monitor-and-control

Please Download from our download section "Monitor and Control" .pdf.
  Reply With Quote
Old September 14th, 2018, 07:20 AM   #5
JZerb
Member
United States

JZerb is offline
 
Join Date: Oct 2016
Location: Highland
Posts: 177
that seems right, if you set the values you wanted to retained they do retain through a power cycle, its just the ET does not, regardless if i set that value to be retained or not
Attached Images
File Type: jpg micro800retention.jpg (218.4 KB, 32 views)

Last edited by JZerb; September 14th, 2018 at 07:23 AM.
  Reply With Quote
Old September 14th, 2018, 08:44 AM   #6
damica1
Member
United States

damica1 is offline
 
Join Date: Aug 2015
Location: Illinois
Posts: 505
Thanks for the information, I will make a note of that. I use the RTO for several different timing function but all of our units are on "Battery Backup" so this is probably why I have not had any problems.

Something I will look out for.
__________________
David M. Camp

Marshall Electric / https://mei-tech.com/monitor-and-control

Please Download from our download section "Monitor and Control" .pdf.
  Reply With Quote
Old September 14th, 2018, 09:13 AM   #7
JZerb
Member
United States

JZerb is offline
 
Join Date: Oct 2016
Location: Highland
Posts: 177
unfortunately i have to account for all scenarios, like for this unit if someone decides to just turn the thing off while its running, it needs to recover. the micrologixs this is no issue, with these Micro800s apparently it is, and thats regardless of what Micro800 you use i was told its from the 800 to the 870 they all behave in the same way.
  Reply With Quote
Old September 17th, 2018, 04:34 PM   #8
JZerb
Member
United States

JZerb is offline
 
Join Date: Oct 2016
Location: Highland
Posts: 177
so for anyone who may stumble upon this. you have to go into the Local Variables and find the RTO instruction, click on the + sign to see the drop down of all the tags within that RTO and then ALSO check the box in the retain column for the .ET on said timer. THEN, everything works as it should
  Reply With Quote
Reply
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


All times are GMT -5. The time now is 06:06 AM.


.