VisualHMI operation record: Audit user operations, page turning, and export/clear

freeFree Technical Resource

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

Operation Record Control recordsuser screen clicks. The table displays: operation time, user level, operation description, register address, and register content changes. It is suitable for auditing who has changed what parameters and when.

1. Operation Record Settings (Engineering → Operation Record Settings)

AttributeDescription
Enable Data Operation FunctionAfter checking, the "Operation Record" option appears in the "Security Settings" of the control
Maximum Record Count1~65535
After reaching capacityOverwrite / Stop Storing
Stored inmemory RAM (not saved in case of power loss) / Flash (saved in case of power loss)
storage block addressstarting storage address; the number of occupied blocks is automatically calculated by the system (3 blocks per 128 entries)

VisualHMI operation record: Audit user operations, page turning, and export/clear插图

Flash calculation is the same as before: 16M, block size 4K, default block address 2048 (starting from 8M). 128 entries → 3 blocks of 12K. When the project size is 10.1M, it starts from 11M for storage, block address = (11×1024)/4 = 2816.

VisualHMI operation record: Audit user operations, page turning, and export/clear插图1

System operation log control: write 0x0001 toLW0188to export all records to the SD card; write 0x0055 to clear.

VisualHMI operation record: Audit user operations, page turning, and export/clear插图2

⚠️ Frequent writing to Flash affects the chip's lifespan (100,000 erasures), which may cause the screen to malfunction. When the operation record volume is large, use RAM for storage or circular overwrite, rather than infinitely writing to Flash.

2. Attribute introduction

2.1 Basic settings

Time sorting (forward/reverse), alignment method (default/specified), display sequence number, width proportion, display time (format + width), display user (level name + width), display description (+ width), display address (+ width), display parameter (+ width), lines per page, display scroll bar, gesture sliding, page turning control (control address).

VisualHMI operation record: Audit user operations, page turning, and export/clear插图3

2.2 Appearance Settings

Font/Size/Color; Display Title (Time/User/Description/Address/Parameter Title Name); Display Grid (Grid/Border Color); Display Background (Title/Content Background Color); Odd/Even Line Break (Background Color 2).

VisualHMI operation record: Audit user operations, page turning, and export/clear插图4

3. Application (3 Steps)

  1. Enable: Project → Operation Record Settings, enable data operation function, maximum 128 entries, circular overwrite, RAM storage
  2. Configure Controls: Operation Record Controls, time in reverse order, display time, 5 lines per page, scroll bar + page turning controlLW1100
  3. Fill in Records: Touchable control attribute bar enables "Operation Record" (supports touchable controls such as bit/word buttons)

VisualHMI operation record: Audit user operations, page turning, and export/clear插图5

VisualHMI operation record: Audit user operations, page turning, and export/clear插图6

Page Turning Example: 4 word buttons bound toLW1100(constants 1/2/3/4), permission conditionLW1100.1/.2==1 controls display/hide (also checks for previous/next page), check "Operation Record + Operation Description" for "Previous Page/Next Page/First Page/Last Page". Clear button boundLW0188Write 85.

VisualHMI operation record: Audit user operations, page turning, and export/clear插图7

VisualHMI operation record: Audit user operations, page turning, and export/clear插图8

VisualHMI operation record: Audit user operations, page turning, and export/clear插图9

The control supporting operation records istouch-enabled(buttons, switches, etc.). After selecting "Operation Record" in the control property "Security Settings", a record will be automatically made for each operation. The operation description can be customized for easy understanding during auditing.

Compiled from the "Operation Record" tutorial in the VisualHMI development document of Guangzhou Dacai Technology (hmi-doc.gz-dc.com), the 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 *.