How to Integrate Flow Meters for Production Monitoring with Allen Bradley PLC5 Enhanced and RSLogix5

Question:

I am currently working on installing flow meters in various sections of the plant to monitor production loss percentages. In addition to this, I plan to utilize the flow meters to generate production figures for each shift. I believe that integrating the flow rate is necessary to calculate these figures. Can someone provide guidance on how to write the ladder logic for this process using an Allen Bradley PLC5 Enhanced with RSLogix5 software? I would also like to learn about common errors associated with this system.

Top Replies

Looking for information on measuring flow rate? It is important to convert instantaneous readings to mass flow for accurate totalization. This can be done using the formula: Qm = D x Qvol, where Qm is the mass flow rate, D is the fluid density, and Qvol is the volume flow rate. By keeping a running total of the mass flow rate in the PLC data table, you can effectively monitor your plant's needs. It is crucial to sample the flow rate at a rate that aligns with your plant's requirements, adjusting as needed based on the rate of change. Consistency in units is key to avoid any errors in your calculations. Stay tuned for more suggestions from our experts to further optimize your flow measurement process.

Analog flow indicators produce data based on Quantity/Time, such as Gallons per Fortnight. Once you determine the engineering units range, creating a totalizer becomes simple. Let's consider an example where the flow meter output is in a less common range, like Liters per Minute. 1) Establish a subroutine for the calculation 2) Execute the subroutine every second (if possible, as an STI) 3) Include the following logic in the subroutine------------- F8:0 = F8:0 + (AnalogIn/60.0) Since the sensor provides readings in minutes and we run the subroutine every second, we add 1/60th of the current reading to the total. This straightforward approach may encounter overflow issues with floating-point data eventually. If the flow meter output was in units per hour, you would divide the analog input value by 3600.0. Adjust the denominator accordingly if you modify the STI resolution. Remember to divide the AnalogIn value by 60.0 (float) rather than 60 (int) to ensure the PLC uses floating-point mathematics for the division. I hope this information proves helpful. Best of luck! (8{)}(.)

Hello, I'm curious which type of flow transmitter you are utilizing. It's possible that the totalizer is already included in your setup. - Rudi

The majority of flow meters I am familiar with are equipped with multiple outputs for different purposes. In my work environment, we utilize a pulse output for totalizing and a 4-20mA analog signal for monitoring flow rates. Although this setup requires more I/O, it is also simpler to configure and diagnose any issues. - Ken SEO-Friendly Version: In the plant where I work, most flow meters come with multiple outputs for various functions. We typically use a pulse output for totalizing and a 4-20mA analog signal for tracking flow rates. This setup may require more I/O, but it is user-friendly for setup and troubleshooting. - Ken

To calculate total production, simply measure the pulse input from the flow meter and convert it into kilograms. Adjust the flow meter pulse to your desired value, then input this data into a data block and monitor it on an operator panel. It's that easy! Keep track of production with this simple process.

It sounds like you're on the right track wanting to integrate flow rate into your production calculations. The process of writing ladder logic for an Allen Bradley PLC5 with RSLogix5 isn't too complex once you understand the basics. Begin by creating inputs (contact elements) that correspond to your flow meters and output (coil elements) that you'll use to run your calculations. For computing your production figures, you might use timers or counters. A common mistake with this software is not addressing overlap in scan times which can lead to inconsistent data if you're not careful. It's also prudent to periodically review your code for diagnostic indicators that might suggest anomalies in your reservation table. If you're new to this, online tutorials can be a great help or consulting directly with Allen Bradley's support team could also be beneficial.

I can definitely help you with this! For your ladder logic, you'll want to begin by starting with both an input and output section. Include a timer for each shift. This timer will start upon the beginning of each shift and stop at the end. In order to calculate the production for each shift, use the data from your flow meter and incorporate this into your logic. RSLogix5 does offer features that allow you to calculate and convert the flow rate as needed. As to common errors, you will want to watch out for incorrect tagging and addressing. Take extra care when setting up your timers and counters, as these are quite often sources of error. Regular simulation and testing of the ladder logic can help to alleviate these issues before they become larger problems. Also, remember to backup your work regularly, sudden loss of data is a common issue with any software components. Hope that helps!

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.

To add a comment, please sign in or register if you haven't already..   

Frequently Asked Questions (FAQ)

FAQ: 1. How can I integrate flow meters for production monitoring using an Allen Bradley PLC5 Enhanced and RSLogix5 software?

Answer: Answer: To integrate flow meters for production monitoring, you would need to write ladder logic in RSLogix5. This involves configuring input and output modules, setting up data tables, and creating appropriate logic for calculating production figures based on flow rate data from the meters.

FAQ: 2. What is the importance of integrating flow rate data for production monitoring?

Answer: Answer: Integrating flow rate data allows for real-time monitoring of production loss percentages and enables the generation of production figures for each shift. This data is crucial for identifying inefficiencies, optimizing processes, and improving overall production performance.

FAQ: 3. What are some common errors associated with integrating flow meters with an Allen Bradley PLC5 Enhanced system?

Answer: Answer: Common errors may include improper configuration of input/output modules, incorrect data table setup, logic errors in the ladder programming, and communication issues between the PLC and the flow meters. Careful troubleshooting and testing are essential to identify and resolve any errors that may occur during integration.

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  â†’