https://www.automationdirect.com/click-plc
(VID-CL-0037)
The CLICK PLC is not just a simple PLC, it is now taking advanced features like High Speed inputs 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 with a single input.
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 input counts and position.
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 counting with an encoder: https://www.automationdirect.com/VID-CL-0039
How to setup High Speed Inputs for Rate with an encoder: https://www.automationdirect.com/VID-CL-0038
How to setup High Speed Inputs for rate with a single input: https://www.automationdirect.com/VID-CL-0036
Download this FREE CLICK programming software now, and start saving yourself both time and money.
Our FREE Practical Guide to Programmable Logic Controllers eBook: https://www.automationdirect.com/ebooks/plc-handbook
Setting up High speed inputs can often be intimidating, but with CLICK it becomes just another simple function. This video shows how to setup a single input 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 that have AC inputs. You must have CLICK Programming software 2.30 or higher and update the firmware to match this software. I have an NPN inductive prox, that meets the voltage requirements of the CLICK PLC. I wire the output of the sensor to X1, and since this is an NPN prox, I place the positive 24 volts DC positive to the C1 common. To start the setup, 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 then select the button that says, “Use this mode”. We are setting up counting so select here. First, give this function a name, and then select the register where this total count will be stored. I am going to use DD1. This is a signed double integer so the range on this address will be To select single input select either up or down count. I will choose up count. We need to assign the input for this function. Select here. Select X1. This will allow you to increment the count when the input turns on, rising edge, or as it turns off, falling edge. Here are your reset options and I am going to assign the Internal coil C1. And when that bit turns on it will reset the count to zero. If you use an internal coil realize the timing of the reset will be dependent upon the scan time of the CPU The next option allows you to enable count or disable the count based upon the status of this bit. You can also define a preset table here. This will turn on outputs or call an interrupt program when the count reaches certain values. This is complete independent upon the scan time of the CPU and can be very useful in certain high-speed operations. For this video I will forgo this optional setup. So I will go back and accept all the setup. Press Ok. And now you will see your single input encoder function assigned here. Press Ok. And now you will see all of the registers that are assigned to this function here. Let’s load this project into our CPU and test the counts. Open a Data View. Add my reset bit and enable bit. And then my count Enable the count by double clicking here. And start the input pulses. It was just that simple. So, no need to be intimidated by High Speed Inputs, anymore. Just another way that CLICK makes advanced simple. If you have any questions, please feel free to comment below or call into our award winning free technical support team. Click here to see more videos on CLICK and select here to subscribe to our YouTube channel to see upcoming products and solutions.
Voted #1 mid-sized employer in Atlanta
Check out our
job openings