Using timers – Printronix PrintNet Enterprise User Manual

Page 258

Advertising
background image

258

Chapter

6

Timers

Using Timers

Figure 226. Using Timers to Activate an Alarm

When there is a ribbon error, the “On Ribbon Error” timer starts (Figure 226).
First there is a two minute initial delay for the operator to change the ribbon. If
the initial delay expires, it generates a timer expired event in which relay 1
activates. Relay 1 is set to sound an alarm. With a one second delay we make
sure the relay is activated for only a short time. After 10 seconds, if the ribbon
error is still there, the alarm sounds again. This will continue until the ribbon
error is cleared at which time we will stop the “On Ribbon Error” timer and will
deactivate relay 1.

Figure 227. Using Daily Timers

To set a daily status timer, we define two data fields:

Labels Printed – keeps track of the number of labels printed by
incrementing the data field for each label printed.

Paper Jams – keeps track of the number of paper jams by incrementing
the data field for each paper jam.

Daily at 12:45 we want to transmit the number of printed labels and paper
jams to the host. The format for this information should be

“Labels printed: {number};Ribbons used: {number}[CR][LF]”. Based on a
number of sections, we create a report called Daily Status Report.

See Figure 227.

Advertising