beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 59

background image

3Ć19

3.4.4

Example of a TP Instruction

This logic shows that timer1 begins

incrementing when switch1 is true. The variable

tank_fill will be on until 100 seconds have

elapsed, at which time Q is set false. As soon

as the timer begins to increment, the T and Q

outputs are set true. The timer continues to

count until 10 seconds have elapsed, at which

time T, Q, and the variable tank_fill are set false.

3.5

Changing the Preset Value of a Timer Instruction by

Using Ladder Logic

You can change the preset value of a timer instruction without having to edit the

instruction in the AutoMax Ladder Editor. This is useful for frequently loading different

preset values into a timer. You can change the preset value of a timer by using a ladder

logic instruction with a double integer output for global and local timer presets.