Table of Contents

TON

Block name

TON

ST call

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

Description

The block delays the rising edge of the input signal.

Inputs

InputTypeDescription Default value
IN BOOLInput signal False
PT TIMETime of the On delay0 s

Outputs

OutputTypeDescription
Q BOOLOutput signal
ET TIMETime since the in signal rising edge

Application example