View Single Post
Old January 12th, 2021, 02:18 PM   #5

Lare is offline
Join Date: Jan 2006
Location: Finland
Posts: 1,562
Jesper's post 9 years ago, same as Manglemenders If condition on ST.

Originally Posted by JesperMP View Post
Dont think there is a one-shot block for SCL.
But it is trivial to code.

signal_oneshot_ON := signal_input AND NOT signal_mem ; // generate the ON oneshot
signal_oneshot_OFF := NOT signal_input AND signal_mem ; // generate the OFF oneshot
signal_mem := signal_input ; store the status of the input
  Reply With Quote