Table of Contents

Monostable Flip-Flop Non Reset

Block name

MONOSTABLEFLIPFLOP

ST call

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

Description

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.

Inputs

InputType Description Default value
IN ANY_BITInput signalFalse
DELAYTIME Pulse length10s

Outputs

OutputTypeDescription
OUT BIT Output signal
TRES TIMETime remaining until end of the pulse
IN BIT Signal copying input value of IN variable

Příklad použití