Configuration File of HMI V2
Configuration File of HMI V2
A. SLD Drawing
Two sample drawings are there, which is as per 220kv VATIKA S/s SLD, one page is
220kv wise, one page is 132kv wise. By using any picture editor software (prefer to
photoshop), we may modify the description, add and reduce the feeder line. The format
of picture is 24bits bmp, and file name shall be 00**, and 01**.
If make new project, choose the resolution to 800*600, color-16bit, Save in your own
folder. The below folders and files are automatically generated
If you open the existing project, only go to the folder and open the file of DWprj.hmi
Choose the “Display Config”, will show the all tool buttons as below
The first one is variable icon for DI configuration, click it, and in the isolator place we
add one VAR icon, on the right bottom, show the property widow as below:
SP is fixed to 0x FFFF
VP is signals address, refer to below sheet of signal list. First SPI, then DPI.
Beginning of SPI is from 0x0000 and beginning of DPI is from 0x0054.
ICON File:
30, isolator, open status-minimum value is 0, icon ID is 1; close status-maximum
value is 1, icon ID is 2.
40, CB, icon ID 0, minimum value 0-invalid; icon ID 1-open status; icon ID 2-close
status; icon ID 3, maximum value 3-invalid
1st step-Collect the bmp folder you made, 30, will show the two bmp drawings
2nd step-Create the new ICO file
Then make all ICO files of 30.ico(isolator), 40.ico(cb), 50.ico(gprs link), 60.ico(plcc
link), copy all ico files to DWIN_SET folder.
The 8th one is data variable for AI configuration, click it, and in the MW/MVAR place
we add one DATA VAR icon, on the right bottom, show the property widow as below:
SP is fixed to 0x FFFF
VP is signals address, refer to below sheet of signal list. First AI is from 0X3000.
Font Color(0X):07E0, green color
Font Lib_ID-0
Font Size-7
Alignment Mode:-Right
VAR Type-long INT
Integer-bit Number-5
Decimal-bit Number-2
The below 3nos files will be generated automatically in the DWIN_SET folder
8. CONFIG.txt
It is common file, just copied in DWIN_SET folder.
When we finalized the above setting, we may output the setting to excel, :
Then in project folder, will get two files of DisplayConfig.xls and TouchConfig.xls. It
shown the all lists of signals we set.
10. Summary
In project folder
30,40,50,60folders, which are basic drawings for SPI,DPI,GPRS,PLCC.
DWIN_SET folder, which is main configuration to download to HMI.
ICON, image, TFT folders, which are project folders.
DisplayConfig.xls and TouchConfig.xls are signals setting file for checking.
DWprj.hmi file is project file.
In DWIN_SET folder
2spi 0x0002 18spi 0x0022 34spi 0x0042 8dpi 0x0062 13ai 0x3030 29ai 0x3070
3spi 0x0004 19spi 0x0024 35spi 0x0044 9dpi 0x0064 14ai 0x3034 30ai 0x3074
4spi 0x0006 20spi 0x0026 36spi 0x0046 10dpi 0x0066 15ai 0x3038 31ai 0x3078
5spi 0x0008 21spi 0x0028 37spi 0x0048 11dpi 0x0068 16ai 0x303c 32ai 0x307c
6spi 0x000a 22spi 0x002a 38spi 0x004a 1ai 0x3000 17ai 0x3040 33ai 0x3080
7spi 0x000c 23spi 0x002c 39spi 0x004c 2ai 0x3004 18ai 0x3044
8spi 0x000e 24spi 0x002e 40spi 0x004e 3ai 0x3008 19ai 0x3048
9spi 0x0010 25spi 0x0030 41spi 0x0050 4ai 0x300c 20ai 0x304c
10spi 0x0012 26spi 0x0032 42spi 0x0052 5ai 0x3010 21ai 0x3050
11spi 0x0014 27spi 0x0034 1dpi 0x0054 6ai 0x3014 22ai 0x3054
12spi 0x0016 28spi 0x0036 2dpi 0x0056 7ai 0x3018 23ai 0x3058
13spi 0x0018 29spi 0x0038 3dpi 0x0058 8ai 0x301c 24ai 0x305c
14spi 0x001a 30spi 0x003a 4dpi 0x005a 9ai 0x3020 25ai 0x3060
15spi 0x001c 31spi 0x003c 5dpi 0x005c 10ai 0x3024 26ai 0x3064
16spi 0x001e 32spi 0x003e 6dpi 0x005e 11ai 0x3028 27ai 0x3068