0% found this document useful (0 votes)
3 views

6

The document explains the functionality of up-counters and up-down counters in PLC systems, detailing how they increment based on input transitions. It describes a process where a counter and timer are combined to count parts passing a sensor and trigger actions after a set time. Additionally, it includes questions related to ladder logic programming and the operation of counters in specific scenarios.

Uploaded by

divi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

6

The document explains the functionality of up-counters and up-down counters in PLC systems, detailing how they increment based on input transitions. It describes a process where a counter and timer are combined to count parts passing a sensor and trigger actions after a set time. Additionally, it includes questions related to ladder logic programming and the operation of counters in specific scenarios.

Uploaded by

divi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Counter Instructions

Up-Counter
• The up-counter is an output instruction whose
function is to increment its accumulated value
on false-to-true transitions of its instruction.
• It thus can be used to count false to-true
transitions of an input instruction and then
trigger an event after a required number of
counts or transitions.
• The up-counter output instruction will increment
by 1 each time the counted event occurs.
• Preset Value —The preset value can range
from -32,768 to +32,767.
• Maxiumum value of count: 32,767
• Counters are similar to timers except that they
do not operate on an internal clock but are
dependent on external sources for counting
UP-DOWN COUNTER: Auto parking
Combining Counter and Timer Functions

In this process, conveyor M1 is


used to stack metal plates onto
conveyor M2. The photoelectric
sensor provides an input pulse
to the PLC counter each time a
metal plate drops from conveyor
M1 to M2. When 15 plates have
been stacked, conveyor M2 is
activated for 5s by the PLC timer.
Study the ladder logic program in Figure
and answer the questions that follow:
a. What type of counter has been
programmed?
b. What input address will cause the
counter to increment? What input
address will cause the counter to
decrement?
d. What input address will reset the
counter to a count of zero?
e. When would output O:6/2 be
energized?
f. Suppose the counter is first reset, and
then input I:2/6 is actuated 15 times
and input I:3/8 is actuated 5 times.
What is the accumulated count value?
Timing chart for two-directional control of
traffic lights
• To design a program to indicate how many parts pass a given process point per

minute. The sequence of operation is given below:

• When the start switch is closed, both the timer and counter are enabled.

• The counter is pulsed for each part that passes the parts sensor.

• The counting begins and the timer starts timing through its 1-minute time

interval.

• At the end of 1 minute, the timer done bit causes the counter rung to go false.

• Sensor pulses continue but do not affect the PLC counter.

• The number of parts for the past minute is represented by the accumulated

value of the counter.

• The sequence is reset by momentarily opening and closing the start switch.

You might also like