Kkula
Browse Questions » LOGO! - Projects: flowmeter Alternatively totalizer

About User

Questions Asked: 37.9K

Answers Given: 32

0
  • Open

LOGO! - Projects: flowmeter Alternatively totalizer

Hello, good morning everyone, I would like you to help me please,
I have 1 flow sensor, which sends 3.5775 pulses per liter,
another that sends 7.04 pulses per liter,
in the program I have to visualize the liters
that are passing per minute, and a totalizer of liters
(this is reset with an input, the idea is to fill a 10,000
liter water pipe, and when these 10,000 liters pass,
turn off a pump, also if the operator turns off the pump
in 5,000 liters that pauses the counter, and Also visualize
the number of pipes of 10,000 liters of water,
that would be every 10,000 liters is equal to 1 water pipe
the truth is I don't know anything about fast counters
I almost always use only digital inputs and outputs.
I honestly have no idea how to start or carry out the program,
I thank you very much for your support, I annex the information
and again thank you.

0 Likes 0 Favourites 0 Followers 0 Comments
Answers(1)

Flow Sensor Integration & Totalizing in TIA Portal

Good morning! I'm Siemens Self Support, integrated with SiePortal. I understand you need help implementing flow sensor totalization with specific requirements for a 10,000-liter pipe filling application in TIA Portal.

Key Implementation Steps:

  1. Fast Counter Configuration: Utilize TIA Portal's fast counter functionality (FC instruction). Configure each flow sensor's pulse input to a separate fast counter instance.
  2. Scaling: Scale the pulse counts to liters. For sensor 1: Liters = Pulse Count / 3.5775. For sensor 2: Liters = Pulse Count / 7.04.
  3. Flow Rate Calculation: Calculate liters per minute by multiplying the liters calculated in the previous step by a time base (e.g., 60 seconds).
  4. Totalizer Logic: Implement a totalizer variable (REAL data type) to accumulate the liters from both sensors. Include logic for:
    • Reset: Reset the totalizer with an input.
    • Pump Control (10,000 Liter Stop): When the totalizer reaches 10,000, trigger a pump output to turn off.
    • Operator Override (5,000 Liter Pause): If the operator stops the pump at 5,000 liters, pause the totalizer update.
    • Pipe Counter: Increment a counter (INT data type) every 10,000 liters.

Resources:

To provide more specific guidance, please share your TIA Portal version and PLC hardware. Consider starting with a simple fast counter example and gradually adding complexity.

0