![delta hmi example program delta hmi example program](https://deltautomation.files.wordpress.com/2012/09/untitled31.jpg)
Then conventional counters will just not do the job. Like signals from an encoder, a fast pulsing input or similar.
![delta hmi example program delta hmi example program](https://i.ytimg.com/vi/DHh4XMH_Cb4/maxresdefault.jpg)
Quite simply hey? Basic counters are useful for slower operations, but what if you need to count something much faster. In essence this is all there really is to counters. If you have done your ladder diagram correctly you should end up with something like this.įull result of delta plc programming counter cnt This basically much like timers will produce a counter which will count up to 10 then energize the C0. Start with a LD X0 then hit enter again and type : CNT C0 K10 Start a new WPLSoft project and add the following to the first rung. Let’s start with a basic counter example just to get you into the swing of things. If you haven’t yet checked out our previous tutorial on timers and normally closed contacts then check it out here: delta plc programming tutorial timers (tmr) normally closed contacts (ldi) Starting with basic delta plc programming and CNT (counters)Ĭounters can be used to do various things, such as count batches, movements in a process or cycle, production numbers, or even keep track of which step in the process we are at. Get ready to learn about counters and high speed counters for your delta plc programming projects. In this tutorial we will learn about counters and high speed counters and add some of our previous ladder programming skills in to the mix. This tutorial grows on top of our last tutorial on various timers which you can use with delta plc’s. You should end up with something like this below: Put together a program which has a X0 input. First we will start with something really basic in this tutorial then in the next tutorial we will start talking about the rising and falling edge in delta but for now. Lets start off with a blank project again in WPLSoft. We will cover more of these registers in later tutorials. This includes how much storage space is still available. There are special data registers from D1000 and up which describes a lot of information about the plc. We can use them for longer term storage, as long as the plc battery is operational and the power turns off these registers will stay populated with their data. D408 – D599 is what is known as latched data registers. We often use this to store data for calculations etc. For general purpose we can make use of D0 – D407 for this type of storage. Before we get started let’s define what is the long term data registers and the short term data registers.įirst we have general purpose data registers which we can use to temporarily store data in our plc. These two functions simply increase and decrease a number we store in our plc data registers. The new functions we will be discussing is the INC and DEC functions INC being the increment function. In order to illustrate how data registers work in our delta plc we first need some new functions which will help us understand data register. If you missed our last tutorial about counters you can check it out here: Delta PLC Programming tutorial – Counters (CNT) and High Speed Counters (DCNT) New delta plc programming functions Some of them are longer term storage whilst others are only stored while the plc is powered on and lost when it is powered off. Just like with timers and counters we only have a certain number of data registers which we can use.
![delta hmi example program delta hmi example program](http://www.acquirecontrol.co.uk/wp-content/uploads/2013/01/Delta-WPLSoft-PLC-Software.jpg)
To take things a step further we need to start looking at data storage with our delta plc programming tutorial series. In our last tutorial we discussed counters.