Author Topic: Timer function  (Read 10146 times)

Hindsight

  • Newbie
  • Posts: 3
    • View Profile
Timer function
« 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?

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Timer function
« Reply #1 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)

« Last Edit: April 26, 2005, 01:01:34 PM by support »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

Hindsight

  • Newbie
  • Posts: 3
    • View Profile
Re:Timer function
« Reply #2 on: April 26, 2005, 01:37:52 PM »
Worked like a charm!!! Thanks!