48
Custom Timers and Intervals
8.1.2
Create a trigger for the timer
Correlate the timer with an input
1. Select the timer that you just created.
2. Click
Edit
in the
Advanced Logic
window at the bottom of the Configurator window.
The
Advanced Logic Editor
appears.
3. Create
an
Advanced Logic Equation
to start the timer (see Chapter 6.0 on page 44).
Note that you cannot use any input devices or circuits in this equation because only local
(on the same node) devices or circuits are available in
Advanced Logic
and the timer is
not local to any node. Input Zones and all other
Advanced Logic
Inputs can be used.
4. Type a description for the timer in the
Description
field.
5. Click
OK
.
The timer will start when the input activates.
8.1.3
Use the timer in Advanced Logic
Correlate a zone with the timer
1. Select
Input Zones
(under
Base I/O
or
Quad Loop Adder
, under the
NODE
where you
want the zone that will be controlled by the timer) in the job tree on the left side of the
Configurator window.
2. Click
the
Insert
menu, and then click
Add Zone
.
The
Add Devices
window appears.
3. Click
Add
to add the zone, and then click
Close
.
4. Double-click
in
the
Tag
column, and then type a name for the zone. Press the Enter key.
5. Select the zone that you just created.
6. Click
the
Advanced Logic
tab at the bottom, and then click
Edit
.
The
Advanced Logic Editor
appears.
7. Double-click the timer you created from the
Inputs
list on the left.
You can identify the timer by the
Tag
that you gave it. The ID for the timer is something
like
**-**-**-TM-016
, where
TM
means “timer” and
016
is the number of the timer. The
Configurator gives each timer a number starting from 16.
The timer you created appears in the
Equation
box.
8. Click
the
EQU
button.
The
EQU
operator appears in the
Equation
box.
9. Select
a
Sys_Def
to determine how the timer will be used.
To cause a delayed activation
Click the pulldown menu, click
TIMER_EXPIRED
, and then click the
Sys_Def
button.
This equation should look something like this:
**-**-**-TM-016 EQU TIMER_EXPIRED
When the timer expires, the equation becomes true and the zone activates.