21
Products Training -- DGUS LCM www.dwin.com.cn Beijing DWIN Technology Co., Ltd. Presenter Lily. Xu

Products Training -- DGUS LCM

  • Upload
    conor

  • View
    239

  • Download
    6

Embed Size (px)

DESCRIPTION

www.dwin.com.cn. Beijing DWIN Technology Co ., Ltd. Products Training -- DGUS LCM. Presenter:Lily . Xu. Content. 1. What is the DGUS?. 2. Tools & References. Development S teps. 3. 4. Basic F unction s. 1. What is the DGUS?. - PowerPoint PPT Presentation

Citation preview

Page 1: Products Training -- DGUS LCM

Products Training

-- DGUS LCM

www.dwin.com.cn

Beijing DWIN Technology Co., Ltd.

Presenter : Lily. Xu

Page 2: Products Training -- DGUS LCM

www.dwin.com.cn

4

1

2

3

What is the DGUS ?

Development Steps

Tools & References

Basic Functions

Content

Page 3: Products Training -- DGUS LCM

www.dwin.com.cn

DGUS (DWIN Graphic User System) is a new GUI software platform developed by DWIN Technology. Based on the K600+ Kernel hardware platform, GUI design, combined with a simple command interface, can be achieved quickly, eliminating the need for complicated programming and expensive development environments.

DGUS

1. What is the DGUS?

Page 4: Products Training -- DGUS LCM

www.dwin.com.cn

Unlike the previous LCMs, which adopted commands-oriented or timing sequence to manage GUI, DGUS module performed based on real-time variables with programmable file configured, transmitting via UART or SD card. Software flow chart of different development methods for temperature controller is shown as above.

1. What is the DGUS?

Page 5: Products Training -- DGUS LCM

www.dwin.com.cn

1. DGUS- Memory Space

Page 6: Products Training -- DGUS LCM

www.dwin.com.cn

Maximum 128 variables

1. DGUS- Memory Space

Page 7: Products Training -- DGUS LCM

www.dwin.com.cn

1. DGUS- Memory Space

Page 8: Products Training -- DGUS LCM

www.dwin.com.cn

1. DGUS- Memory Space

Page 9: Products Training -- DGUS LCM

www.dwin.com.cn

For example, 4369.17 consists of 4 integers and 2 decimals. 436917>65535. The format should be long integer.

BACK

1. DGUS- Data Format

Page 10: Products Training -- DGUS LCM

www.dwin.com.cn

DGUS SDK

Configure touch and display functions.

Generate UI project.

Generate Font library, ICON library.

Convert Images

2. Tools & Reference

Page 11: Products Training -- DGUS LCM

www.dwin.com.cn

Accessories Selection IllustrationOther application references, such as curve display, RTC display

BACK

C Series LCMs

Tools, Accessories, Instructions and FAQ

Commands

Illustration

2. Tools & Reference

Page 12: Products Training -- DGUS LCM

www.dwin.com.cn

1 ) Variables Scheme

2 ) Interface Design

3 ) Configuration

4 ) Debug Test

5 ) Archive

3. Development Steps

Page 13: Products Training -- DGUS LCM

www.dwin.com.cn

Two

Principles

Two

Principles

Variables addresses should be assigned continuously considering convenience of write/read;Address of parameter description variables and data variables should be separated and no cross-connect.

Variable Behavior

Memory Address

Length ( byte )

Voltage 0010 2

Current 0011 4

Power 0013 2

Operating Power 0014 4

Operating Speed 0016 2

Output torque 0017 2

Step 1: Variable Scheme

Page 14: Products Training -- DGUS LCM

www.dwin.com.cn

Tools • Photoshop• Other graphic design software

InterfaceInterface

Step 2: Interface Design

Page 15: Products Training -- DGUS LCM

www.dwin.com.cn

Interface design. Add all the images to generate configuration files via DGUS_SDK.

Step 3: Configuration

Page 16: Products Training -- DGUS LCM

www.dwin.com.cn

Download DWIN_SET composed by config. file, images, font, icon library etc. to DGUS LCM via SD card for debugging and adjustment (Step 2&3) ;

Connecting with use's host by serial port to process up data transmission.

DGUSLCM

Step 4: Debug Test

Page 17: Products Training -- DGUS LCM

www.dwin.com.cn

Config. file, images, font, icons library etc. that involved with

module works were saved in an SD card for mass production.

BACK

Step 5: Archive

Page 18: Products Training -- DGUS LCM

www.dwin.com.cn

VP, Variable Data/Text Input & Display, Basic Touch Control

Incremental Adjustment, ICON Generation, Variable ICON

Table display, Slider, Return Key Code, Animation ICON

Dynamic Trend Curve, Basic Graphic Display, 0x84

Commands 0x80 to 0x83, SP

RTC Display and Setting, Image Animation

BACK

4. Basic Functions

Page 19: Products Training -- DGUS LCM

www.dwin.com.cn

How to communicate?

Data Frame: Frame of data via serial are composed by 4 parts of data

DATA 1 2 3 4 5

Definition Frame Header Length of data Command Command CRC CHECK & Data

Length 2 1 1 N 2

Note Definition of R3:RA in CONFIG.TXT

Length included command, data and

0x80~0x84

CONFIG.TXT determine if R2 in configuration file are started

Both commands or data are hexadecimal. As for word(2 bytes), high byte in priority is transferred ( MSB )

Register

Variable RAM

Curve Buffer

0x80 0x81 0x82 0x83 0x84Unit based byte Unit based word Unit based word

Page 20: Products Training -- DGUS LCM

www.dwin.com.cn

Command 0x83 : Read data from the specified variable SRAM

5A A5 04 83 01 00 01

5A A5 06 83 01 00 01 00 64

Data

Response from the DGUS module

Command 0x82 : Write data into the specified variable SRAM

5A A5 05 82 01 00 00 64

Header: R3:RA Length Command VP address Data

Command :VP_0x0100=64H ( VP0100 values to 100 )

Access to register units as Word

RD_LEN

RD_LEN

Command via Serial port and data return

Page 21: Products Training -- DGUS LCM

Thank You!

www.dwin.com.cn

Beijing DWIN Technology Co.,Ltd