.\"******************************************************************* .\" .\" This file was extracted from hal/components/tp.comp using halcompile.g. .\" Modify the source file. .\" .\"******************************************************************* .TH TP "9" "2023-02-10" "LinuxCNC Documentation" "HAL Component" .SH NAME tp \- IEC TP timer - generate a high pulse of defined duration on rising edge .SH SYNOPSIS .HP .B loadrt tp [count=\fIN\fB|names=\fIname1\fB[,\fIname2...\fB]] .SH FUNCTIONS .TP \fBtp.\fIN\fB\fR (requires a floating-point thread) Update the timer .SH PINS .TP .B tp.\fIN\fB.in\fR bit in \fR Input signal .TP .B tp.\fIN\fB.q\fR bit out \fR Output signal .TP .B tp.\fIN\fB.et\fR float out \fR Elapsed time since start of pulse in seconds .SH PARAMETERS .TP .B tp.\fIN\fB.pt\fR float rw \fR Pulse time in seconds .SH AUTHOR Chad Woitas .SH LICENSE GPL