professor_jonny

GATED TIMER FUNCTION ?

3 posts in this topic

Hi

I'm programming a cp1l plc and I'm wondering if there is a better way of accomplishing a gated timer.

I'm wanting to dump water into a tub but if the tub becomes fill it will pause the timer and continue on when the tub empty's a bit.

Currently I'm using a counter with a 1sec clock pulse into its input it is just a complicated way of doing it I'm just wondering if someone has a better idea as this plc can't use function blocks?

 

the problem arises that the timers need to be forced to be completed to stop them operating on powerup

.

 

 

Edited by professor_jonny

Share this post


Link to post
Share on other sites

Omron has a Totalizing Timer, TTIM(087) for BCD values and TTIMX(555) for Decimal values.

I personally find nothing wrong with using clock pulses and counters. When I need to control time, I usually increment (++) a DM location using clock pulses. So there are a few solutions but the canned solution is the Totalizing Timer.

 

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now