====== Monostable Flip-Flop ====== {{:en:mervis-ide:35-help:monostableflipflop.png}} ===== Block name ===== MONOSTABLEFLIPFLOP ===== ST call ===== PROGRAM MONOSTABLEFLIPFLOP_DEMO VAR TIME1:TIME; BOOL1,BOOL3: BOOL; TIME1: TIME; FB:LIB.CORE.V1_0.MONOSTABLEFLIPFLOP; END_VAR FB(DELAY:=TIME1,IN:=BOOL1,OUT=>BOOL3); END_PROGRAM ===== Description ===== Function outputs a //true// pulse with length of //delay// on a rising edge at the //in// input. ===== Inputs ===== |Input|Type |Description |Default value| |IN |ANY_BIT|Input value |False | |DELAY|TIME |Pulse length|10s | ===== Outputs ===== |Output|Type|Description | |OUT |BIT |Output signal | |TRES |TIME|Remaining time of the pulse | |IN |BIT |Signal copying input value of IN variable| ===== Application example ===== {{:en:mervis-ide:35-help:monostableflipflop_example.png}}