HyperWare can easily program Logic Beach data loggers to easy collect flow data and create hourly, daily, weekly and running totals of product flow.

Flow may be not only a liquid but of electricity or other item which the user requires on-going totals for specific periods of time. In this example we are calculating two totals, daily and cumulative.

Details:

The program starts with a simple sample rate clock sampling a 4-20mA input every 10 seconds. The 4-20mA signal is converted to flow in the first math icon. HyperWare actually calculates the linear equation from the high and low mA input values and the real-world output values. Click the Calculate Button in the math icon and the equation appears. The second math icon outputs the absolute value in case the mA signal falls below 4.

From here the flow is integrated over one minutes time for GPM. The Run Tot branch is a on-going summation of the flow and outputs the cumulative flow every 10 minutes. The Day Tot branch is similar only the Summation icon is disabled every day at midnight which forces an output and clears the sample count. The Scheduler icon creates a negative pulse every day at midnight and the inverter flips the logic to enable the Summation for 23hrs, 59 mins and 59 seconds every day.

Changing the time in the Scheduler icon can then control the Summation output for other exact times in the week or month.

 

Data Logger Selection Guide Data Logger Applications Data Sheets and Downloads | Testimonials About Logic Beach | Contact | Sitemap

Logic Beach, Incorporated
8363-6F Center Drive
La Mesa, CA 91942
Phone: (619) 698-3300 | Fax: (619) 469-8604

Logic Beach, Inc, All Rights Reserved, Copyright © 2010