The TON, also known as Timer ON, is an instruction used to keep track of time of occurrence of certain events. The conditions preceding the TON instruction will allow the timer to start counting up to a specified value.
Refer to our sample project, TON Timer (IEC) that demonstrates how to implement a TON timer in IEC mode using both ladder logic and structured text in MAPware-7000.