Download micro mentor

Transcript
7
Retentive Timers
Timers are available that retain their time when the conditions
preceding the timer instruction are False (open). Retentive timers are
very useful for keeping track of the amount of time a device has been
On. This can be very helpful for tracking device maintenance or other
run-time type requirements. Retentive timers are reset using a separate
instruction that is used to clear a timer. The instruction is called reset
(RES), and is programmed as a control instruction.
7.10
Up/Down Counting
Uses
Up/Down counters are often used to monitor and track materials in
conveying/packaging systems. An example is a bottle labeling
application where the bottle making machine produces bottles at a
greater rate than the labeling machine can apply labels. One method for
compensating for the difference in production rates is to add a buffer
area where the bottles can stack up to await labeling.
Operation
A counter is used to track how many bottles are in the buffer. The
counter increments its count when a bottle enters the holding area
from the bottle making machine, and decrements each time a bottle
112
exits the holding area.
When the holding area is full, a signal can be sent to the bottle
making machine to stop producing bottles.