TON (timer, on-delay)
The TON instruction increases an internal timer up to a given value.
Operation details:
- Do not use a jump to skip over a TON instruction block in a ladder diagram. If a jump is used, the TON timer continues after the elapsed time.
- For example: Rung 1 contains a jump; rung 2 contains a TON instruction block with an elapsed time of 10 seconds; enable the jump from rung 1 to rung 3; disable the jump after 30 seconds; the elapsed time is 30 seconds - not 10 seconds as defined in the elapsed time.
- If the EN parameter is used with TON, 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, L20E, L50E, and L70E controllers.
TON

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

TON function block diagram example

TON ladder diagram example

TON structured text example

Results

Provide Feedback