PLC Count-Down instruction
Aim of the experiment: PLC Count-Down Instruction
Aim: To understand the working of a count-down instruction in a programmable logic controller.
Procedure :
Procedure: In our experiment, we wish to demonstrate the working of count-down instruction (Down-counter).
The fig below shows the set up.

- Since inputs and outputs are less, 8-point Input and 8-point output module is sufficient. Where, CPU resides in slot 0, input module resides in slot 1, and output module in slot 2.
- Here, two inputs are taken, one for counting and other for resetting the counter. Two push button of normally open type are used for this purpose. Also, 2 LED’s are used as output, to display the status of the counter. Counter down LED glows during counting (the moment count push button is pressed) and Done counting LED glows when the counter is done counting( i.e accumulator is greater than or equal to preset value).
- Let us assign address for the input and output signals of the PLC.
➣ Count ( normally open push button ) = I:1/0
➣ Reset (normally open push button ) = I:1/1
➣ Count down (LED) = O:2/0
➣ Done counting ( LED ) = O:2/2
➣ C5:1/CD = count-up enable bit
➣ C5:1/DN = done bit - Fig below shows the ladder diagram:
- In order to see how the counter instruction in a PLC works, click count push button andobserve the counter instruction and counter down LED. When the counter is done counting, its status is displayed using Done counting LED. Once the counter is done
counting, it can be reset using reset push button.
The following screen shots explains the operation :

The above screen shot represents the default condition or the condition after resetting the counter.


The above screen shot represents the condition when the counter is done counting.