RUNG001 is to count the number parts collected. Counter Up with address C5:0 is to count the number of
parts collected. Whenever a part is detected by Proximity Switch, I:1/5 goes true momentarily and it increments
accumulator value of the counter.
RUNG002 is used to convert Decimal numbers into Binary Coded Decimal. Source address is given as
C5:0.ACC and destination address is given as O:6 which is of Display. Converted BCD number is decoded by
the display and the value present in accumulator of CUP C5:0 is displayed.
Dostları ilə paylaş: