User manual
PROFESIONAL, CREDITABLE, SUCCESSFULL DWIN DGUS v2.0 Specification
Beijing DWIN Technology Co., Ltd. - 21 - www.dwin.com.cn/en
5 Variable Configuration File Descriptions
Variable configuration file is composed of several pieces of variable commands that is configurated by pages. Each of
variable command occupies 32 bytes storage in regular.
Fixed allocation of 2KB (0x0800) for each page of variable storage space can be set to 64 variables per page.
For variables in the same type, the more rearward of storage location, the higher display priority.
The touch control commands consist the following five parts:
Serial
No.
Definition
Data Length
Description
1
0x5A
1
Fixed
2
Type
1
Variable category
3
*SP
2
After loading from Flash, the variable descriptions files saved in the address
pointer in data storage area, the 0xFFFF means it will not save to the RAM
4
Len_Dsc
2
Word length of variable description
5
Description
N
Variable description
5.1 Icon variable
5.1.1 Variable icon display (0x00)
Add.
Definition
Data Length
Description
0x00
0x5A00
2
0x02
*SP
2
Variable description pointer, 0xFFFF indicates it loaded from the
configuration file.
0x04
0x0008
2
0x06
0x00
*VP
2
Variable pointer, variable is integer
0x08
0x01
(x,y)
4
Variable display position, coordinates of upper-left corner of the icon
0x0C
0x03
V_Min
2
Lower limit of variables, will not be displayed if over range
0x0E
0x04
V_Max
2
Upper limit of variables, will not be displayed if over range
0x10
0x05
Icon_Min
2
Icon ID corresponding from V_Min
0x12
0x06
Icon_Max
2
Icon ID corresponding from V_Max
0x14
0x07:H
Icon_Lib
1
Storage location of the icon library
0x15
0x07:L
Mode
1
ICON display mode, 0x00 =transparent(does not display background)
Others= display the icon background










