programming timers that would remember with power failing

joeparrish

Member
Join Date
Nov 2007
Location
owensboro ky
Posts
161
Ok here is the issuse chiller system that doses 3 chemicals
1 every 36hrs of run time

so chem 1 at 36 hours
chem 2 at 72 hours
chem 3 at 98 hours

then starts over after 36 hrs

this is done with a micrologics 1500 just by timer done bits turning on second and thrid timers

but the issue is if we lose power
we you get power back the program starts at the 1st chem

Is there a way to make it know what chem got dosed last if that makes sense

The only thing I can think of is a back up power supply
 
Logic would have to be added to constantly store each timer's accumulated value (or use RTOs) and probably some latched bits to tell where in the process it was at anytime power was lost so that the process can be recovered on startup.
 
When the PLC loses power, do you want to have those timers stop and feeze at their current values?

If so, you can use the RTO instead of the TON timer. RTO timers will retain their accumulated values through a power cycle, and during the false state of the rung on which they're located. They must be reset with the RES instruction, since making the rung false simply "pauses" them.

If you need to keep timing when the power is off, then the real time clock is the way to go.

The choice will likely depend on whether or not the dosing pumps/valves stop when the PLC is powered off.
 
Yes the doseing pumps stop when the power is off.

Will a rto time with no power or just stop

Like if the timer is at 722 will it be 722 when the power is back on?

When the PLC loses power, do you want to have those timers stop and feeze at their current values?

If so, you can use the RTO instead of the TON timer. RTO timers will retain their accumulated values through a power cycle, and during the false state of the rung on which they're located. They must be reset with the RES instruction, since making the rung false simply "pauses" them.

If you need to keep timing when the power is off, then the real time clock is the way to go.

The choice will likely depend on whether or not the dosing pumps/valves stop when the PLC is powered off.
 
Yes the doseing pumps stop when the power is off.

Will a rto time with no power or just stop

Like if the timer is at 722 will it be 722 when the power is back on?

Yes. The timer.acc will hold its value when the rung goes false, and when the power is removed. It will not advance until the power is restored AND the rung is true. At that point, it will resume timing where it left off. When the timer .acc reaches the preset, it will stop advancing, and set the done bit. The only way to reset the RTO is with the reset instruction (RES).

Paul
 

Similar Topics

Hi everyone, My name is Chris and I'm pretty new to PLC programming. I am currently in the midst of trying to teach myself how to program...
Replies
1
Views
8,114
In a rslogix 5000 program i have 160 timers that all need there .pre values set the same at the same time from a control word DINT. It looks like...
Replies
7
Views
2,435
Dear all, I have fx2n plc on my hand but I don't have the programming cable sc-09 and it would not be easy for me to get one. I need the cable...
Replies
3
Views
77
Hi all, i am the new controls guy at the plant and i have inherited a pc from the previous controls guy with Siemens tia portal version 16 and 17...
Replies
20
Views
790
I need to pull the program off of an old 90-30 so I can convert it to Allen Bradley. This is my first time messing with GE and I don't have the...
Replies
2
Views
83
Back
Top Bottom