Download Series 90 Micro Programmable Logic Controller Self

Transcript
A
Counter Cascading
Type A counters can be cascaded to accumulate greater count values than are possible
with a single 2-byte counter. This can be accomplished by using the preset output of one
counter for the count input of the next as shown below.
a43028
COUNTER
PULSES
COUNTER 1
COUNTER 2
For example, if a 4-byte Up Counter is required, use two counters configured for the UP
direction and:
1.
Set the Count Limits for both counters at their maximum values:
LOW = –32768 and HIGH = +32767
2.
Set the output preset for counter 1 at:
a44217
ON = 0
UP
ON
0
OFF
150
OFF = 150
3.
Connect counter 1 output to the counter 2 input.
4.
Connect the count pulse stream to the counter 1 input.
Similarly, Down Counters can be cascaded by configuring all counters for the Down
direction, setting the limits at the maximum values and reversing the output presets. For
example:
a44218
OFF = 0
ON = 150
OFF
0
ON
150
DOWN
Type A Counter Operating Count Directions
A-2
Series 90
Counter Number
Crane Direction
Count Direction
Counter 1
→
UP
Counter 2
→
Not counting
Counter 1
←
DOWN
Counter 2
←
UP
t Micro Programmable Logic Controller Self-Teach Manual – May 1996
GFK-1104A