Example - Ladder Diagram
TMON
The TMON instruction starts from a WORD value, v, and counts down continuously to 0. The time is saved in a timer data register, t. If the instruction reenergizes, the value of TC continues to count down to 0.
Ladder Diagram Example
![]()
When the contact M0.6 is powered ON, the data register TC.4 counts down from 110.
![]()
While the data register TC.4 counts down, the timer contact T.4 is powered ON.
As a result, the coil Y4.0 is energized.
![]()
When the contact M0.6 is powered OFF and the value of the data register TC.4 is greater than 0, the data register TC.4 continues counting down to 0.
As a result, the timer contact T.4 remains powered ON, and the coil Y4.0 remains energized.
![]()
When the value of the data register TC.4 is 0, the timer contact T.4 is powered OFF, and the coil Y4.0 is deenergized.
Memory Monitor
![]()
This is the result of the data register TC.4 counting down to 0.
![]()
This is the result of the timer contact T.4 once the value of TC.4 is 0.