Greetings everyone, I am new to PLC programming and seeking assistance with utilizing a High-Speed Counter (HSC) as a chronometer in my current project. My project involves an A-B Micro820 PLC [2080-LC20-20QBB], a 2080-MOT-HSC module, and a PanelView 800 HMI [T711R-T4T] along with two Q3X Laser contrast sensors. I have successfully set up the system to detect pulses when an object passes the contrast sensors. However, I am struggling to find resources on programming the HSC for this specific task. Typically, encoders are used for constant data, but in my setup, the object passing through the sensors should create 24vDC pulses with a response speed of 250Ξs. The goal is to have a push button launch a projectile, start a timer when the projectile passes the first sensor, end the timer when it passes the second sensor, and calculate the velocity using the formula V=d/t (distance between sensors is approximately 9.25 inches). The calculated velocity will be displayed on the HMI in Feet/Second. In addition to the main objectives, secondary objectives include disabling the second sensor after the projectile passes, activating a measurement error alarm if the two sensors are not passed within a certain time frame, and potentially incorporating mass measurement for calculating impact energy. Any assistance or additional information would be greatly appreciated. This is my first PLC project, so any guidance is valuable.
One effective approach is to establish a continuous connection between a fixed frequency pulse train and the High-Speed Counter (HSC). The contrast sensors can then be wired to initiate the HSC count capture as the projectile crosses each sensor. I have extensive experience with the GE/Emerson HSC modules, which offer a 'strobe' input for this purpose. However, I am not familiar with the capabilities of the Micro820 HSC module.
Hi there, welcome to the world of PLC programming! Your project sounds fascinating and it's great to see that you're tackling a challenge head-on. To use a High-Speed Counter as a timer, make sure you set up your counter so that one pulse corresponds to one unit of time (e.g., 1ms). Input this pulse into the counter to increment it every time an event takes place (an object passing through). For calculating speed, your formula is correct and you might need to convert the unit for distance from inches to feet for seamless calculation. Regarding your secondary objectives, your PLC should be capable of executing these conditions using simple IF statements. Remember, the key to PLC programming is understanding the sequential steps and programming these into the PLC. I'd recommend looking at some comprehensive tutorial libraries like PLC Academy or even YouTube tutorials. Good luck!
â Work Order Management
â Asset Tracking
â Preventive Maintenance
â Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Answer: Answer: To program a High-Speed Counter for velocity measurement, you need to configure the HSC module, set up the counting parameters, and write logic to calculate velocity based on the time between pulses from the sensors. You can refer to the PLC programming software documentation and specific HSC module manuals for guidance.
Answer: Answer: The High-Speed Counter is used to accurately count and measure high-speed events, such as pulses generated by the laser contrast sensors when an object passes through. In this project, the HSC is essential for timing the passage of the projectile between the sensors to calculate velocity.
Answer: Answer: To calculate velocity using a High-Speed Counter, you can measure the time taken for the projectile to pass between two sensors, then use the formula V=d/t (velocity equals distance divided by time) where the distance between the sensors is known. The calculated velocity can be displayed in the desired units on the HMI.
Answer: Answer: In addition to velocity measurement, you can
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.