TP

TP

PROGRAM TP
  VAR
     BOOL1,BOOL2: BOOL;
  TIME1,TIME2: TIME;   
   FB:TP;
 END_VAR
    FB(IN:=BOOL1,PT:=TIME1,Q=>BOOL2,ET=>TIME2);
END_PROGRAM

The rising edge of the input signal generates an output pulse of the length pt.

InputType Description Default value
IN ANY_BOOLInput signal False
PT ANY_TIMEOutput pulse length0 s
OutputTypeDescription
Q BOOLOutput signal
ET BOOLTime since the in signal rising edge

  • © Energocentrum Plus, s.r.o. 2017 - 2024