Internet PLC Forum

General => Technical support => Topic started by: Hindsight on April 26, 2005, 08:55:02 AM

Title: Timer function
Post by: Hindsight on April 26, 2005, 08:55:02 AM
I'm using a T22H-NPN and am new to PLC programming.  In my circuit when inputs 1 and 3 are both activated I need a timer that will activate output 1 for two seconds and then turn it off no matter how long inputs 1 and 3 are hot. A change in the status of inputs 1 and or 3 (loss of signal) would reset the timer so that if inputs 1 and 3 are activated again the timer would again activate output 1 for two seconds. Can you help an "old timer" learn a new trick?
Title: Re:Timer function
Post by: support on April 26, 2005, 12:59:31 PM
The following should work. CR1 is any internal relay bit.


       In1   In3              CR1
|------||---||--------+----(RLY)
                      |       T1
                      + ---(TIM)

      CR1     T1               Out1
|------||---|/|--------------(OUT)

Title: Re:Timer function
Post by: Hindsight on April 26, 2005, 01:37:52 PM
Worked like a charm!!! Thanks!