Author Topic: Delay function in Ladder  (Read 10954 times)

peterh_DK

  • Newbie
  • Posts: 37
    • View Profile
Delay function in Ladder
« on: July 06, 2006, 07:58:31 AM »
Hi there,

I?ve got a new small problem:
I would like to ?filter? the input on 3 input channels, so that I max use one input per 3 seconds.

The inputs are Push Buttons activated by humans. And I don?t want to record somebody activating a button e.g. 10 times i 3 seconds.
I would therefore like to make all 3 inputs inactive for a specific time ( e.g. 3 seconds) when one of the inputs has been activated.
I can do this in Tbasic with the ?Delay? function, but that stops everything else which is not intended.

I just want to stop these 3 inputs from responding

Can somebody help me  with a solution in Ladder instead? Something like this:


Input1 ------- Block   -------------------I-- Out1
                      N.C.                              I-- Block ? Ideally a 3 sec relay
                                                           I--  Function1 ? My stuff   

Input2 ------- Block   -------------------I?Out2
                        N.C.                                        I-- Block
                                                           I--  Function2 ? My stuff   

Input2 ------- Block   -------------------I?Out2
                         N.C.                                   I-- Block
                                                           I--  Function3 ? My stuff   

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Delay function in Ladder
« Reply #1 on: July 06, 2006, 01:40:29 PM »
When any of these input is activated, latch an internal relay, then use the latched internal relay to start a timer. When timer times out, clear the latch relay. The latched relay can be used to trigger a differentiated CF which will only execute once until the RLY1 is cleared.


     IN1           RLY1
|---||----------[Latch]
     RLY1           F1
|---||----------{dCusF}
     RLY1          T1
|---||----------(TIM)
     T1             RLY1
|--||------------[Clear]
« Last Edit: July 06, 2006, 01:41:13 PM by support »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

peterh_DK

  • Newbie
  • Posts: 37
    • View Profile
Re:Delay function in Ladder
« Reply #2 on: July 07, 2006, 01:29:14 AM »
Thanks - I'll Try that