Table of Contents

Monostable Flip-Flop

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

InputType Description Default value
IN ANY_BITInput value False
DELAYTIME Pulse length10s

Outputs

OutputTypeDescription
OUT BIT Output signal
TRES TIMERemaining time of the pulse
IN BIT Signal copying input value of IN variable

Application example