0% found this document useful (0 votes)
160 views

Configuration File of HMI V2

The document provides configuration details for an HMI system, including: 1) Sample SLD drawings and instructions for modifying them in Photoshop. 2) Details on communication ports, variable storage locations in RAM, and data types. 3) Address ranges for digital inputs, analog inputs, and other variables in HMI RAM. 4) Instructions for using configuration tools to set up the HMI, including uploading drawings, configuring variables, and generating configuration files.

Uploaded by

manish
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
160 views

Configuration File of HMI V2

The document provides configuration details for an HMI system, including: 1) Sample SLD drawings and instructions for modifying them in Photoshop. 2) Details on communication ports, variable storage locations in RAM, and data types. 3) Address ranges for digital inputs, analog inputs, and other variables in HMI RAM. 4) Instructions for using configuration tools to set up the HMI, including uploading drawings, configuring variables, and generating configuration files.

Uploaded by

manish
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Configuration File of HMI

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**.

B. Communication port and scheme of variable storage


In HMI, will show the isolator status ( SPI ) 、 CB status ( DPI ) 、 GPRS LINK
status(SPI)、PLCC LINK status(SPI)and TAP, P, Q value(AI), which are all stored inside
RAM of HMI by variable type. HMI will communicate with 1725IED by serial port, RS232
type,baud rate is 38400. 1725IED will read and write the value of all variables by spontaneous
(status and value changed) and interrogation (geranial interrogate, 40 nos data will be
updated circularly as per each minute) type.

C. Configuration address of variables


In HMI RAM, the range of register is from 0x0000 to 0x6FFF. There are four parts, which are
DI, AI, Others, and Spare part. The allotment rule of variables register is as below:
1)DI Address:0x0000 -- 0x2FFF, each DI is two bytes for storage
(256/2)*3 = 384 nos registers(SPI&DPI total 384nos), the DI address shall be from
0x0000, and first SPI, then DPI.
For example, 3nos SPI and 2nos DPI,total 5nos DI, the address setting is as below:
Variables SPI_1 SPI_2 SPI_3 DPI_1 DPI_2
Address 0x0000 0x0002 0x0004 0x0006 0x0008

2) AI Address:0x3000 -- 0x4FFF,each AI is four bytes for storage


(256/4)* 2 = 128 nos registers,the AI address shall be from 0x3000
For example, 6nos AI,the address setting is as below:
Variables AI_1 AI_2 AI_3 AI_4 AI_5 AI_6
Address 0x3000 0x3004 0x3008 0x300C 0x3010 0x3014

3) Other Address:0x5000 -- 0x5FFF


The address of variable password is 0x5000,4 bytes
Others are as per actual usage.
4) Spare Address:0x6000 -- 0x6FFF

D. Configuration tools – DGUS Tool


By using DGUS Tool, we may upload the SLD drawing; configure the data of DI, AI;
add the icon and touch key etc.
1. Running the DGUS,you may make new project, or open the existing project

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

2. Upload the drawings


Copy the two drawing files of 00HMI-1.bmp and 01HMI-2.bmp into the folder of
DWIN_SET.
Use “+” button to upload the two drawings, and “-” button to delete the drawings

3. Configure the DI(CBs, isolator, link status)

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

50, GPRS channel, 1-Fail; 2-OK

60, PLCC channel, 1-Fail; 2-OK

4. How to make the ICO files


Choose the DWIN ICO Generator

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.

5. Configure the AI(P, Q,V, Hz, TAP)


Choose the “Display Config”, will show the all tool buttons as below

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

6. Quick Default(copy the same format VAR)


When we set any variable icon of DI/AI configuration, click it, on the right bottom,
show the Quick Default widow as below:

VP Length (0x) :-2(DI) and 4(AI)


Number:-n (as you wanted).
Through this way, we may set one completed icon, and then copy others quickly.
7. Generating Configuration Files

Generating Configuration Files

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.

9. DisplayConfig.xls and TouchConfig.xls

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

00HMI-1 and 01HMI-2.bmp are SLD drawings


13*,14*,22* are setting files
30,40,50,60.ICO are small drawings for SPI,DPI,GPRS,PLCC
CONFIG.txt is for port setting.
This folder will be copy to SD card and update to each HMI.
Power on HMI, insert SD(inside copy the DWIN_SET folder, along with all setting
files) card to HMI, display will become blue color, and then upload all setting to RAM,
then will show the new SLD. We may remove the SD card and go to next HMI.

E. Configuration of DF1725IED ETS software


1)In com-n set protocol of 181.Arith_HMI,Baud rate is 38400,default for others;
2)In com-n add one logic module;
3)In logic module setting, set as below, fill in the qty. of database:
Menu_BI_number, Menu_DBI_number, Menu_AI_number are the qty. of signals which
communicate with HMI;
4)Fill in the database of SPI, DPI, AI as per DisplayConfig.xls(one format attached)
Note: the obj address shall match the setting of HMI.
For example, there are 42nos SPI, 11nos DPI and 33nos AI in logic module,
1SPI address is 0x0000, 2SPI address is 0x0002, ……42SPI address is 0x0052;
1DPI address is 0x0054, 2DPI address is 0x0056, ……11DPI address is 0x0068;
1AI address is 0x3000, 2AI address is 0x3004,......33AI address is 0x3080; and all points will
multiply 100 and sent to HMI.
Signals list is as below:
No. Addr. No. Addr. No. Addr. No. Addr. No. Addr. No. Addr.
1spi 0x0000 17spi 0x0020 33spi 0x0040 7dpi 0x0060 12ai 0x302c 28ai 0x306c

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

You might also like