MONOSTABLEFLIPFLOP
PROGRAM MONOSTABLEFLIPFLOPNONRST_DEMO VAR TIME1:TIME; BOOL1,BOOL3: BOOL; TIME1: TIME; FB:LIB.CORE.V1_0.MONOSTABLEFLIPFLOPNONRST; END_VAR FB(DELAY:=TIME1,IN:=BOOL1,OUT=>BOOL3); END_PROGRAM
Function outputs a true pulse with length of delay on a rising edge at the in input. If another rising edge appears on the input in while out is still true, it has no influence on the output pulse length. In other words, all rising edges coming during the output pulse time are omitted.
Input | Type | Description | Default value |
IN | ANY_BIT | Input signal | False |
DELAY | TIME | Pulse length | 10s |
Output | Type | Description |
OUT | BIT | Output signal |
TRES | TIME | Time remaining until end of the pulse |
IN | BIT | Signal copying input value of IN variable |