====== TP ====== {{:en:mervis-ide:35-help:tp.png}} ===== Block name ===== TP ===== ST call ===== PROGRAM TP VAR BOOL1,BOOL2: BOOL; TIME1,TIME2: TIME; FB:TP; END_VAR FB(IN:=BOOL1,PT:=TIME1,Q=>BOOL2,ET=>TIME2); END_PROGRAM ===== Description ===== The rising edge of the input signal generates an output pulse of the length //pt//. ===== Inputs ===== |Input|Type |Description |Default value| |IN |ANY_BOOL|Input signal |False | |PT |ANY_TIME|Output pulse length|0 s | ===== Outputs ===== |Output|Type|Description | |Q |BOOL|Output signal | |ET |BOOL|Time since the //in// signal rising edge| ===== Application example ===== {{:en:mervis-ide:35-help:tp_example.png}}