How to Use Counter in Ladder Diagram? | Delta WPLSoft

by Smart Thinkers in Circuits > Software

3679 Views, 0 Favorites, 0 Comments

How to Use Counter in Ladder Diagram? | Delta WPLSoft

LOGO.png

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

Create New File

1n.png

Registers in WPLSoft:

1.png

Select Counters in API

2n.png

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

Counter (CNT)

3n.png

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

CNT Explanation:

4n.png

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

DCNT Explanation:

5n.png

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.

6m.png

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

Counter Command: (Seconds)

7n.png

Select counter command and make it to count for seconds.

Seconds Counter:

8n.png

Counter Command: (Minute)

9n.png

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

For Reset:

10.png

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

For Hours:

11.png

Similarly, for hours we reset it.

Start Simulation Mode:

12.png

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

Simulation Mode:

13.png

As seconds counter reaches on 59 sec, it will make minutes counter high.

Video Tutorial of Project:

How to use Counters in ladder diagram? | Delta WPLSoft

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