Create Pulse Bit after push a button on digivis
Has anyone know how can i create pulse bit with push button on digivis ?
I have tried to use "Touch" option for button on digivis but sometimes, it work and sometimes it doesn't work, we have to push many times on the button.
use a Button, choose the function Write variable, choose fix and write 1 at Fixed value.
Now connect the varaibel you defined i the button to both input and output
to a timerblock MONO_F in an FBD.
Now you can adjust the length on the puls as you wish.
If you in some situations would like to block this function you can
control the function via an control variable in the field Lock on the last
parameter page to the button.
To make the FGR more sensitive reduce sample time to 200ms
in the header of the FGR.