How to Use Counter in Ladder Diagram? | Delta WPLSoft
by Smart Thinkers in Circuits > Software
4136 Views, 0 Favorites, 0 Comments
How to Use Counter in Ladder Diagram? | Delta WPLSoft

In this tutorial, we are showing how to use counters in real time appilications as an example.
Create New File

Registers in WPLSoft:

Select Counters in API

In WPLSoft 2.48, we have API 97 'CNT". Select API 97.
Counter (CNT)

You can click on 'HELP' to check command syntax and explanation.
CNT Explanation:

In this software, we have 16-bit counter which is executed from OFF to ON when we start to run.
DCNT Explanation:

In this software, we also have 32-bit decrement counter which is executed from ON to OFF when we start to run. We also have some High speed counters from C200-C255. We have some addition/subtraction counters from C235-C255.
Start to Make a Example of 12Hour Clock.

Select M1013 special function register which creates 1sec pulse (Off/On).
Counter Command: (Seconds)

Select counter command and make it to count for seconds.
Seconds Counter:

Counter Command: (Minute)

Select counter command and make it to count for minutes and for hour and so on.
For Reset:

For counter, we need to reset it first before using it again.
For Hours:

Similarly, for hours we reset it.
Start Simulation Mode:

Noticing that seconds counter is increasing and it will reach on 59secs.
Simulation Mode:

As seconds counter reaches on 59 sec, it will make minutes counter high.
Video Tutorial of Project:

LIKE 👍 , Share 👉, Subscribe 😎 and Comment 👌 us to get more videos 🎥.