Introduction: 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.
Step 1: Create New File
Step 2: Registers in WPLSoft:
Step 3: Select Counters in API
In WPLSoft 2.48, we have API 97 'CNT". Select API 97.
Step 4: Counter (CNT)
You can click on 'HELP' to check command syntax and explanation.
Step 5: CNT Explanation:
In this software, we have 16-bit counter which is executed from OFF to ON when we start to run.
Step 6: 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.
Step 7: Start to Make a Example of 12Hour Clock.
Select M1013 special function register which creates 1sec pulse (Off/On).
Step 8: Counter Command: (Seconds)
Select counter command and make it to count for seconds.
Step 9: Seconds Counter:
Step 10: Counter Command: (Minute)
Select counter command and make it to count for minutes and for hour and so on.
Step 11: For Reset:
For counter, we need to reset it first before using it again.
Step 12: For Hours:
Similarly, for hours we reset it.
Step 13: Start Simulation Mode:
Noticing that seconds counter is increasing and it will reach on 59secs.
Step 14: Simulation Mode:
As seconds counter reaches on 59 sec, it will make minutes counter high.
Step 15: Video Tutorial of Project:
LIKE 👍 , Share 👉, Subscribe 😎 and Comment 👌 us to get more videos 🎥.