scottmurphy said:
Also, you have avoided using Latch/UnLatch instructions, and have created your own 1-shot. The way to go, some PLC's may not have
a true 1-shot.....
I am not so sure that Latch/Unlatch, SET/RESET, or any available instructions should not be used.
Not sure exactly what a true one-shot is, maybe someone could define it. I do understand it is more desireable to have it trigger rising edge.
That said AB has ONS or OSR, AD has PD (positive differential), Simatic S7 (maybe S5 too) offers a PD (I think an ND too), GE has POSCOIL and NEGCOIL, Simatic/TI Softshop has a one-shot that uses the # sign. Unitronics has -}P|- positive edge transition. Those are the programs I have on this desktop, my laptop has more but think all them have some form of positive edge triggered contact or coil that is only on for one scan.
S7-200 has a toggle function.
The instruction may not be called one shot, it may be differential, transition, positive edge and may be a contact or a coil.
Since we are on the subject what brand(s) do(es) not have a one shot?
May start a thread about using latch/unlatch, five years ago there is no way I liked them but things change and not sure there is no reason they should not be used.