VisualHMI Flow Block: Simulating pipeline fluid flow and dynamic speed control

freeFree Technical Resource

This content is free to read, suitable for basic learning and search traffic.

The flow block is used tosimulate the flow of fluid (liquid/gas) in pipelines and ducts: color blocks/images are displaced in designated blocks, visually displaying the working status and motion characteristics of the equipment. It is a "live" element in the images of pumps, fans, and circulation systems.

1. Attribute Introduction

1.1 Function Settings

AttributesDescription
Flow SpeedPixels moved per second
Dynamic SpeedAfter checking, the speed is determined by the monitoring address: value 0 indicates no flow; dynamic speed = flow speed × monitoring value

VisualHMI Flow Block: Simulating pipeline fluid flow and dynamic speed control插图

1.2 Appearance Settings

  • Flow Direction: From Left to Right/From Right to Left/From Top to Bottom/From Bottom to Top
  • Number of Flow Blocks: The number of blocks in the solid color effect;Interval: The proportion of blank space between blocks
  • Display Effect: Solid Color (flow block color)/Image (gallery)
  • Display Border/Display Background: Border switch and color; Background switch and color (default white) in solid color mode

VisualHMI Flow Block: Simulating pipeline fluid flow and dynamic speed control插图1

2. Application Cases

Flow Speed 20, check Dynamic Speed (monitoring)LW1001The direction is from left to right, with 4 blocks and a spacing of 20, achieving a tiled effect. The speed is controlled by the text setting button: LW1001=2 for slow speed, =5 for fast speed, and =0 to stop.

VisualHMI Flow Block: Simulating pipeline fluid flow and dynamic speed control插图2

Operation: Change the value of LW1001, and the flow speed changes accordingly. At 0, it is stationary.

VisualHMI Flow Block: Simulating pipeline fluid flow and dynamic speed control插图3

Dynamic speed = flow speed × monitoring value:The monitoring value is the magnification. If you want to use the "speed gear" (0 for stop/1 for slow/2 for fast), set the flow speed as the basic speed and the monitoring value as the saved gear. The value of 0 automatically stops without additional control.

Compiled from the VisualHMI development document of Guangzhou Dacai Technology (hmi-doc.gz-dc.com) - configuration control tutorial "Flow Block", copyright belongs to Dacai Technology.

Put this resource to use in a real project?

Go to the Tool Center for message parsing, CRC verification and device debugging, or submit your requirements for selection and integration advice.

Engineer Membership

Turn this article into actionable debugging resources

After activation, you can use advanced message parsing, resource pack downloads, code examples, engineering cases and priority technical support, suitable for real project delivery.

Unlimited Advanced Tools
Resource & Code Packs
Complete Engineering Case Library
Priority Technical Support

Leave a Reply

Your email address will not be published. Required fields are marked *.