MONOSTABLEFLIPFLOP
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
Function outputs a true pulse with length of delay on a rising edge at the in input.
Input | Type | Description | Default value |
---|---|---|---|
IN | ANY_BIT | Input value | False |
DELAY | TIME | Pulse length | 10s |
Output | Type | Description |
---|---|---|
OUT | BIT | Output signal |
TRES | TIME | Remaining time of the pulse |
IN | BIT | Signal copying input value of IN variable |