Detailed explanation of VisualHMI software interface: engineering settings, protocol configuration, and address range

freeFree Technical Resource

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

VisualHMI is a self-developed serial port screen development software by Dacai, featuring an embedded "virtual serial port screen" (which can simulate the operation of a physical screen on a computer). This article will thoroughly explain the various areas of the interface, engineering settings, and address ranges - address ranges are the foundation for all subsequent development, so it is essential to understand them.

1. Software Installation

Follow the prompts to select the installation directory and click "Next" to complete the installation. The installation package is usually provided with the development materials or can be downloaded from the official website.

Detailed explanation of VisualHMI software interface: engineering settings, protocol configuration, and address range插图

2. Opening the Software Interface

After installation, open an existing factory project, and the interface will appear as follows. It is divided into: top menu bar, left engineering/resource area, middle design area, right attribute/screen area, and bottom debugging area.

Detailed explanation of VisualHMI software interface: engineering settings, protocol configuration, and address range插图1

3. Engineering Area

The "Engineering" menu is responsible for project management: new, open, save, save as, etc. When creating a new project, you need to select the resolution and size (corresponding to the physical screen model).

Detailed explanation of VisualHMI software interface: engineering settings, protocol configuration, and address range插图2

4. Engineering Settings (Key Point)

Select "Engineering" → "Engineering Properties" to open the system settings panel, with the core items as follows:

Setting ItemDescription
HMI ModelSelect your screen model (e.g. HMI80480M070)
Flash sizeDefault 128Mbit, generally no need to change
Startup screenThe first screen automatically loaded upon power-on
Screen rotation0°/90°/180°/270°; for a 800×480 screen, 0° and 180° display 800×480, while 90° and 270° display 480×800
Number of multi-language optionsSupports up to 30 languages
Automatic standbyAutomatically powers down after a set period of no touch activity
Baud rate9600~921600bps, data bits 7~8, parity odd/even/none, stop bits 1/2
protocolDCBUS, XGUS, Modbus (master/slave), FX2N, FX3U, Delta, Xinye, Siemens PPI, etc.
secure login configurationpermission management, see the "secure login" tutorial

Detailed explanation of VisualHMI software interface: engineering settings, protocol configuration, and address range插图3

DCBUS/XGUS protocol only supports no parity + 1 stop bit. If your PLC uses 7 data bits/even parity, you should either use Modbus or modify the PLC serial port parameters - this is the most common issue that gets stuck in the field.

5. Address range (top priority)

There are two address systems in VisualHMI:HMI local variablesAnd PLC device addresses. Many novices confuse the two systems, leading to controls not refreshing. First, distinguish between them:

HMI local machine (LW / RW variables)

typeaddress range (hexadecimal)description
system variablesLW0100 ~ LW0FFFsystem definitions, such as SysFWVer=LW0155; others reserved for future use
user variablesLW1000 ~ LWFFFFfreely usable by users, batch import and export, and address tagging allowed
power-down storage variablesRW0000 ~ RW7FFFPower loss does not cause loss of stored parameters/recipes

Detailed explanation of VisualHMI software interface: engineering settings, protocol configuration, and address range插图4

PLC device (taking Modbus as an example)

TypeAddress range (hexadecimal)Corresponding Modbus zone
Coil0x0000 ~ 0xFFFF0x coil (readable and writable bit)
Discrete1x0000 ~ 1xFFFF1x discrete input (readable bit only)
Input3x0000 ~ 3xFFFF3x Input Registers (Read-Only Words)
Hold4x0000 ~ 4xFFFF4x Hold Registers (Read-Write Words)

The writing method for "Read Address" in the control is like4x0000:4xrepresents the Modbus Hold Register Area, and0000is a hexadecimal address. Select the PLC device location, data type, and address, and the control is bound.

6. Compile/Download Area

  • Compile: Check for project errors, and display error messages in the editing area if any
  • Compile and run: Pop up a virtual screen, restore the effect of the physical screen 1:1, and can be used in conjunction with virtual serial ports and software for joint debugging
  • Mass production guide: Generate download resource packages, support upgrading via SD card / USB flash drive / serial port

Detailed explanation of VisualHMI software interface: engineering settings, protocol configuration, and address range插图5

7. Resource area (image library / font library / keyboard / sound / tag)

  • Image library: All image resources except for the screen background are placed here
  • Font library: Vector fonts of any size without jagged edges; check whether the multi-language dependent font library contains the corresponding characters
  • Keyboard: Customize the keyboard, up to 10
  • Sound: Supports wav/mp3, can be used as keypad tones, startup music, and prompt tones
  • Text Label: Centralizes management of multilingual entries, with controls referencing labels, making changes to one entry effective for all
  • Address Label: Gives LW/RW/PLC addresses meaningful names (such as "Temperature Setting"), with batch import and export

Detailed explanation of VisualHMI software interface: engineering settings, protocol configuration, and address range插图6

8. Other Functional Areas

  • Data Sampling: Forms a record of data from different registers at the same time for data recording controls/curve display
  • Alarm Settings: Trigger abnormal prompts when register values change, supports alarms/historical alarms/alarm bars
  • Operation Records: Records user actions on controls in a table
  • Recipe Settings: Different parameter sets for different products/processes, with one-click switching
  • Installment Settings: In the context of equipment installment payment, a password prompt appears upon expiration, requiring the entry of the current password to continue usage
  • Debugging Area: Select serial port for online debugging and downloading with physical or virtual screen
  • Tool Area: LUA script programming, font library cropping entry
  • Control Area: Over 30 types of configurable controls (bit status lights, numeric values, text, sliders, gauges, QR codes, videos, etc.)
  • Layout Area: Control alignment, spacing, cascading, locking, multi-language preview
  • View Area: Zoom Screen, Display Control Address/Comment/ID/Touch
  • Screen Area: On the right side, up to 999 screens; the new project by default includes a full keyboard screen 101 (800×480) and a keypad screen 100 (320×240)
What novices are most likely to overlook:Screens 100/101 are system keyboards, don't delete them; using address tags can save a significant amount of debugging time; the protocol and baud rate in the project properties must match the actual device, otherwise the online screen will be black.

Compiled from Guangzhou Dacai Technology VisualHMI Development Documentation (hmi-doc.gz-dc.com) Quick Start "Software Interface", 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 *.