Posted 7 Oct 2020 Hello Folks... The pictures show it all... I just need to produce a one-shot inside the IF...THEN, and the Oneshot's input bit goes from 0 to 1 as you see from the trend, but the output bit is not going to 1, or giving a pulse ? can anyone help me understand why i am not getting a pulse in this code ? And is there another easy way to get pulse inside IF...THEN without changing the condition which activates the if loop ? Thanks in advance for your time Share this post Link to post Share on other sites
Posted 7 Oct 2020 Would the following achieve the same result, and yes I left out some punctuation. IF STTESTMEM2 then If Not OneShot2 then StTestDint - 456 OneShot2 = True Endif ELSE OneSHot2= False ENDIF 1 person likes this Share this post Link to post Share on other sites