How to Set Input Filter Value for Accurate Pulse Capture with S7-1200 PLC and Paddle Wheel Flowmeter

Question:

Hello everyone, I am currently utilizing the 1214C S7-1200 PLC with a paddlewheel flowmeter. I am using the High-Speed Counter (HSC) to count pulses and then dividing them by the K Factor to determine the flow rate in GPM. However, the pulse duration from the flow meter varies constantly depending on the flow rate. I need guidance on setting the input filter value (refer to the attachment) to ensure the accurate capture of pulses at all flow rates. Any tips on how to achieve this would be greatly appreciated. IP800 | Seametrics.

Top Replies

abhmeh1991 mentioned that they are using a 1214C S7-1200 PLC with a paddlewheel flowmeter. They are currently utilizing a High-Speed Counter (HSC) to count pulses and dividing them by the K Factor to determine the flow rate in GPM. The pulse duration from the flow meter varies constantly based on the flow rate. In order to capture pulses for every flow rate, the input filter value needs to be adjusted. The input filter setting represents the shortest pulse that can be detected. To calculate this, two key things need to be considered: the pulse width following each rising edge and the fraction of a single signal cycle time. By understanding these factors, an estimate of the minimum input filter value required can be determined. Any guidance on how to achieve this would be appreciated.IP800 | Seametrics.

To calculate your flow rate, start by knowing the maximum gallons per minute or refer to the data sheet for maximum flow rates of different pipe sizes. Determine the K factor, which indicates pulses per gallon based on pipe diameter. Multiply the maximum flow rate by the K factor to find pulses per minute. Divide by 60 to get pulses per second, then calculate the duration of each pulse in seconds by taking the reciprocal. For safety, divide that value by 4. Finally, convert the result to milliseconds by multiplying by 1000 or to microseconds by multiplying by 1000000. It's always a good idea to have someone double-check your calculations.

The selected input is a regular digital input, not an HSC input. What is your desired action? If you opt for a regular digital input, you will need to create custom code for flowrate calculation. Alternatively, selecting an HSC input allows you to generate a frequency output value which can be updated at specified intervals, such as every second. To obtain a flowrate output, you must multiply the frequency by a designated factor.

The input filter on the S7-1200 simultaneously processes both regular and HSC inputs, leading to confusion for many users, myself included, when the HSC function fails at increased speeds. This issue has troubled users seeking solutions to HSC input problems on the S7-1200.

Upon reviewing my calculations, it appears that they are correct. It seems that I have a good understanding of how to multiply by unity. It makes me wonder why others struggle with this concept.

Hey there! It sounds like you're on the right track with using the HSC for flow measurement. For setting the input filter value, a good starting point is to consider the pulse frequency at your highest expected flow rate, then adjust the filter so it can effectively capture those pulses without missing any due to fluctuations. A rule of thumb is to set the filter time slightly higher than the shortest pulse duration you're observing. Additionally, testing it out at different flow rates to see how the counter responds can really help you fine-tune that filter value for optimal performance. Good luck!

Hey there! When working with varying pulse durations from your paddlewheel flowmeter, it's crucial to set the input filter value correctly to avoid missing pulses. A good starting point is to set the filter to slightly above the longest expected pulse duration. You could experiment by monitoring the flow at different rates and adjusting the filter until you consistently capture all pulses accurately. Additionally, check the documentation for your specific flow meter, as it often provides insights on recommended filter settings. Keep an eye on the response time of the HSC to ensure it’s fast enough to register the pulses accurately, especially at higher flow rates. Good luck!

More Replies β†’

Streamline Your Asset Management
See How Oxmaint Works!!

βœ…   Work Order Management

βœ…   Asset Tracking

βœ…   Preventive Maintenance

βœ…   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

You must be a registered user to add a comment. If you've already registered,
sign in. Otherwise, register and sign in.

Frequently Asked Questions (FAQ)

FAQ: 1. What is the purpose of setting the input filter value for accurate pulse capture with an S7-1200 PLC and a paddlewheel flowmeter?

Answer: - The input filter value helps to stabilize the pulse signal received from the flowmeter, ensuring accurate pulse capture even when the pulse duration varies due to changing flow rates.

FAQ: 2. How can I determine the appropriate input filter value for my application using the S7-1200 PLC and paddlewheel flowmeter?

Answer: - To determine the correct input filter value, you need to consider the characteristics of your flowmeter's pulse signal and adjust the filter value accordingly to achieve reliable pulse capture across different flow rates.

FAQ: 3. What role does the High-Speed Counter (HSC) play in counting pulses from the paddlewheel flowmeter?

Answer: - The HSC function on the S7-1200 PLC is utilized to accurately count pulses generated by the flowmeter, which are then used in conjunction with the K Factor to calculate the flow rate in gallons per minute (GPM).

FAQ: 4. Can you provide guidance on setting up the input filter value for the S7-1200 PLC to ensure accurate pulse capture with the paddlewheel flowmeter?

Answer: - Adjusting the input filter value involves finding a balance between filtering out noise and maintaining responsiveness to changes in pulse duration. Experiment with different filter values to achieve stable pulse capture across varying flow rates.

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  β†’