TON
Increases an internal timer up to a given value.

Arguments | ||
---|---|---|
IN | BOOL | When detecting a rising edge, starts increasing the internal timer. When detecting a falling edge, stops and resets the internal timer. |
PT | TIME | Defines the maximum programmed time |
Q | BOOL | If Q is TRUE = programmed time is elapsed. |
ET | TIME | (output) Determines the current elapsed time. The possible values range from 0ms to 23h59m59s999ms. |
Timing diagram

Provide Feedback