Copyright Goodheart-Willcox Co., Inc. 197 DN T4:0 0000 0001 0004 0005 0006 0007 TON Timer ON-delay Timer T4:0 Time base 0.01 Preset 100 Accum 0 End EN DN CU DN CTU Count up Counter C5:0 Preset 60 Accum 0 Switch 0.01 second 0 I:0 DN T4:0 Seconds CU DN CTU Count up Counter C5:1 Preset 60 Accum 0 DN C5:0 Minutes CU DN CTU Count up Counter C5:2 Preset 24 Accum 0 DN C5:1 Hours 0002 0003 RES Switch Seconds 0 I:0 C5:0 DN C5:0 RES Switch Minutes 0 I:0 C5:1 DN C5:1 RES Switch Hours 0 I:0 C5:2 DN C5:2 Goodheart-Willcox Publisher Figure 9-9. PLC ladder logic diagram for Example 9-5.