TP (pulse timing)
On a rising edge, the TP instruction increases an internal timer up to a given value. If the timer is elapsed, the internal time is reset.
Operation details: If the EN parameter is used with TP, the timer starts incrementing when EN is set to TRUE, and continues to increment even if EN is set to FALSE.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the
Micro810
LC10, Micro820
L20E, Micro850
L50E, and Micro870
L70E controllers.TP

Parameter | Parameter type | Data type | Description |
|---|---|---|---|
IN | Input | BOOL |
|
PT | Input | TIME | Maximum programmed time defined using the Time data type. |
Q | Output | BOOL |
|
ET | Output | TIME | Current elapsed time. Possible values range from 0ms through 1193h2m47s294ms. |
TP examples
TP timing diagram

TP function block diagram example

TP ladder diagram example

TP structured text example

Results

Provide Feedback