Professional Documents
Culture Documents
EXPERIMENT – 07
B02-Apoorva Pardhi Experiment no:07
EXPERIMENT - 07
AIM: UP-DOWN COUNTER logic
In counter instruction the accumulated value will increase only when it completes the transition from
open to close or vice versa. It doesn’t check how long contact stay closed, it only looks for the
transition.
Ladder Logic:
B02-Apoorva Pardhi Experiment no:07
Logic explanation:
Each time a pizza goes into the oven, the ACC value is incremented
by one. Each time a pizza comes out of the oven, the ACC value is decremented by one.
Therefore, the ACC value represents how many pizzas are in the oven at any given time. The DN bit
could be used to shut the conveyor down if pizzas are going into the oven and not coming out!
Ladder description
RUNG 000: Latch
RUNG 001: Counter Up Rung
RUNG 002: Counter Down Rung
RUNG 003: conveyor
RUNG 004: available
RUNG 005: Reset
B02-Apoorva Pardhi Experiment no:07
Results;
Conclusion :
Successfully implemented program and concept of up and down counter logic was understood