Jump to content

Recommended Posts

Posted

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

ST1.png

st2.png

st43.png

Posted

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

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...