The CLICK PLC is not just a simple PLC, it is now taking advanced features like High Speed inputs (HSI) and making them easy to use. In this video we detail how to use the CLICK PLC High Speed inputs to setup high speed counting (HSC) with encoders. Making it the best PLC hardware for simple high speed inputs and counting.
Don't be intimidated it much easier than it sounds. With CLICK's mandate to keep PLC programming easy, it only takes a couple of minutes and you will be seeing your encoder counts and encoder position feedback.
The following are several How to videos that detail the setup for High Speed Inputs (HSI) with the CLICK PLC Series.
How to setup High Speed counter (HSC) with a single input: https://www.automationdirect.com/adc/home/home/VID-CL-0037
How to setup High Speed Inputs (HSI) for Rate with an encoder: https://www.automationdirect.com/adc/home/home/VID-CL-0038
How to setup High Speed Inputs (HSI) for rate with a single input: https://www.automationdirect.com/adc/home/home/VID-CL-0036
Download this FREE CLICK programming software now, and start saving yourself both time and money. https://www.automationdirect.com/clickplcs/free-software/free-click-software
Our FREE Practical Guide to Programmable Logic Controllers eBook: https://go.pardot.com/l/548202/2018-08-06/7n3v42
Setting up High speed inputs can be intimidating, but with CLICK it becomes just another simple function. This video shows how to setup an encoder on a CLICK PLC for High speed counting. To use High speed inputs on CLICK. You must have a CLICK CPU that supports Ethernet and has DC inputs. High speed counting is not supported on units with AC inputs. You must have CLICK Programming software 2.30 or higher and update the firmware to match this software version. I have an NPN open collector quadrature encoder, that meets the voltage requirements of the CLICK PLC. I wire the A Pulse to X1, the B Pulse to X2, and since this is an NPN encoder, I place the positive + 24 volts DC to the C1 common of the CLICK CPU. To start the setup, of the high speed input, select the Function Tab in the navigation pane. Select here on High Speed Input Setup. This display really makes the difference. It shows you exactly what each function does. Just check the graphic and verify that is your function, and then select the button that says “Use this mode”. We are setting up counting so select here. I am going to give this function a name and then select here to assign where this count will be stored. I am going to use DD1. To select encoder input select here and select one of the quadrature options. Now, the difference between the two is the Z pulse. If your application needs to call an interrupt or reset the count on each rotation select the one with Z pulse. If not select the AB option. We need to assign the inputs for this function. Select here. And since we are doing A B you can see that these are in pairs. I will select X1 and X2 and then hit OK. This will allow you to put a multiplier on the count. Here are your reset options. I will assign the Internal coil of C1. If you use an internal coil, instead of a hard-wired input, realize that this will be dependent upon the scan time. This option allows you to enable count or disable the count based upon the status of a bit. Now, there is another feature here that you might find useful. You can define a preset table that will turn on outputs or call an interrupt program when the encoder count reaches a certain values. This is completely independent of the scan time and can be very useful in certain high speed operations. For the purposes of this video I will forgo this optional setup. So I will go back and accept all the setup. Go ahead and hit OK. Now you will see your encoder function assigned here. Press Ok. Now, you will see the registers that are assigned to this function here. Let’s load this project into the CPU and test the counts. So, we will need to open up the Data View. I am going to add my reset bit, my enable bit and then my count. I am going to enable the count by double clicking here. And spin the encoder. You should see the pulses at this point. Now one tip to help you here. If your encoder is counting in the wrong direction just flip A B inputs. That will take of it. So, no more intimidation when it comes to setting up an encoder for high speed inputs. Just another way that CLICK takes advanced and makes it simple. If you have any questions about this setup, please feel free to comment below or call into our award winning tech support team. CLICK here to see more CLICK Videos and select here to subscribe to our YouTube channel to see our new products and solutions.