www.dwin.com.cn 4 1 2 3 What is the DGUS ？ Development Steps Tools & References Basic Functions Content
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?
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?
www.dwin.com.cn Accessories Selection Illustration Other application references, such as curve display, RTC display BACK C Series LCMs Tools, Accessories, Instructions and FAQ Commands Illustration 2. Tools & Reference
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 BehaviorMemory Address Length （ byte ） Voltage00102 Current00114 Power00132 Operating Power00144 Operating Speed00162 Output torque00172 Step 1: Variable Scheme
www.dwin.com.cn Interface design. Add all the images to generate configuration files via DGUS_SDK. Step 3: Configuration
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. DGUS LCM Step 4: Debug Test
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
www.dwin.com.cn How to communicate? Data Frame: Frame of data via serial are composed by 4 parts of data DATA12345 DefinitionFrame HeaderLength of dataCommand CRC CHECK & Data Length211N2 NoteDefinition of R3:RA in CONFIG.TXT Length included command, data and 0x80~0x84CONFIG.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 ） Registe r Variable RAM Curve Buffer 0x800x81 0x82 0x830x84 Unit based byte Unit based word
www.dwin.com.cn Command 0x83 ： Read data from the specified variable SRAM 5AA50483010001 5AA506830100010064 Data Response from the DGUS module Command 0x82 ： Write data into the specified variable SRAM 5AA505820100 64 Header: R3:RALengthCommandVP addressData Command ： VP_0x0100=64H （ VP0100 values to 100 ） Access to register units as Word RD_LEN Command via Serial port and data return