Chapter 4. Ladder Diagram (LD) Programming
GFK-2950C
February 2018
137
Example
–
Up Counter and Down Counter
This example uses an up/down counter pair with a shared register for the accumulated or current
value. When the parts enter the storage area, the up counter increments by 1, increasing the current
value of the parts in storage by a value of 1. When a part leaves the storage area, the down counter
decrements by 1, decreasing the inventory storage value by 1. To avoid conflict with the shared
register, both counters use different register addresses but each has a current value (CV) address
that is the same as the accumulated value for the other register.
Содержание PACSystems RX7i
Страница 357: ......
Страница 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...