Table of Contents

R_TRIG

Block name

R_TRIG

ST call

PROGRAM R_TRIG_DEMO
     VAR
     BOOL1,BOOL2: BOOL;
  FB:R_TRIG;
 END_VAR
    FB(CLK:=BOOL1,Q=>BOOL2);
END_PROGRAM

Description

The block sends a pulse with duration of one cycle on the input signal's rising edge.

Inputs

InputType Description Default value
CLK ANY_BOOLInput reading the rising edge of the signalFalse

Outputs

OutputTypeDescription
Q BOOLOutput signal

Application example