Internet PLC Forum

General => Technical support => Topic started by: peterh_DK on July 06, 2006, 07:58:31 AM

Title: Delay function in Ladder
Post by: peterh_DK 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   
Title: Re:Delay function in Ladder
Post by: support 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]
Title: Re:Delay function in Ladder
Post by: peterh_DK on July 07, 2006, 01:29:14 AM
Thanks - I'll Try that