I'm trying to make a very simple timing delay with Ladder, i've tried some coding, but i can't make it work.
I just want to add some delay after a pulse, wait a number of ms.
The problem with the TON is that the input signal must remain for the TON to become active. If the input signal is gone before the TON starts then there is never an output pulse. I want a pulse after a specific time after the input pulse, but my input is already 0 when the timer starts.
See my picture. Can anybody help me?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2016-04-19
Originally created by: scott_cunningham
You will need to add a latched variable (SET coil) to your logic. Remember you have TON, TOFF and TP timers to work with.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for reply.
Sorry but i'm very stupid. Can you put an example please?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2016-04-19
Originally created by: scott_cunningham
There are many ways, but here is one. I made it a function block so you can use it several times. Note - this version starts with rising edge of Start input and cannot be stopped - it will delay, then turn on Output, delay then turn it off again. Maybe not what you really wanted...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm trying to make a very simple timing delay with Ladder, i've tried some coding, but i can't make it work.
I just want to add some delay after a pulse, wait a number of ms.
The problem with the TON is that the input signal must remain for the TON to become active. If the input signal is gone before the TON starts then there is never an output pulse. I want a pulse after a specific time after the input pulse, but my input is already 0 when the timer starts.
See my picture. Can anybody help me?
Originally created by: scott_cunningham
You will need to add a latched variable (SET coil) to your logic. Remember you have TON, TOFF and TP timers to work with.
Thanks for reply.
Sorry but i'm very stupid. Can you put an example please?
Originally created by: scott_cunningham
There are many ways, but here is one. I made it a function block so you can use it several times. Note - this version starts with rising edge of Start input and cannot be stopped - it will delay, then turn on Output, delay then turn it off again. Maybe not what you really wanted...
Just what I needed, thank you very much!