TP
Increases an internal timer up to a given value.

Arguments | ||
---|---|---|
IN | BOOL | When detecting a rising edge, starts increasing the internal timer (if not already increasing). If FALSE and only if the timer elapses, resets the internal timer. Any change on IN during counting has no effect. |
PT | TIME | Defines the maximum programmed time |
Q | BOOL | If Q is TRUE = timer is counting. |
ET | TIME | (output) Determines the current elapsed time. The possible values range from 0ms to 23h59m59s999ms. |
Timing diagram

Provide Feedback