User manual

PROFESIONAL, CREDITABLE, SUCCESSFULL DWIN DGUS v2.0 Specification
Beijing DWIN Technology Co., Ltd. - 27 - www.dwin.com.cn/en
5.2 Text Variables
5.2.1 Data variables display(0x10)
Add.
Defined
Data Length
Description
0x00
0x5A10
2
0x02
*SP
2
Variable description pointer, 0xFFFF indicates it loaded by config. file
0x04
0x000D
2
0x06
0x00
*VP
2
variable pointer
0x08
0x01
X,Y
4
Starting display position. The coordinate is upper-left point of displayed
string.
0x0C
0x03
COLOR
2
Text color
0x0E
0x04:H
Lib_ID
1
ASCII character position
0x0F
0x04:L
Font size
1
Dot matrix of the font X-Direction
0x10
0x05:H
Alignment
1
0x00 = right-aligned 0x01 = left-align 0x02 = center
0x11
0x05:L
Integer digit
1
Integer display
0x12
0x06:H
Decimal digit
1
Decimal display
0x13
0x06:L
Variable data type
1
0x00 = integer (2 bytes) 0x01 = long integer (4 bytes)
0x02 = high-byte address of *VP
0x03 = low-byte address of the *VP
0x14
0x07:H
Len_unit
1
Length of the variable unit(fixed string) to display, 0x00 indicateds no
display
0x15
0x07:L
String_Unit
Max11
Unit string, an ASCII coding