Curve Display. Data Data Length N 2. CONFIG.TXT checksum Data frame is made up by 4 parts, shown as below.

Similar documents
DGUS Command Quick Start

DGUS_SDK User Guide. (Ver ) AMP DISPLAY INC. 1

CIS-331 Final Exam Fall 2015 Total of 120 Points. Version 1

Real Design Firmware (RD v1.0) Command Set Rev. 1.0

UnicView RD v1.0.0 User Guide Rev 1.0

CIS-331 Final Exam Spring 2016 Total of 120 Points. Version 1

CIS-331 Final Exam Spring 2018 Total of 120 Points. Version 1

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1

Control Codes. Viewing control state (Get control command) Controlling (Set control command) Command. No. Command type Command Value range

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1

DGUS Development Guide

1. Implemented CM11 protocol

CIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1

DTNFCSS UART YES Internal DTNFCUS USB YES Internal

Logosol Joystick Node LS-731

C1098 JPEG Module User Manual

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1

XCONSOLE COMMUNICATION PROTOCOL (April, 2008)

Generating Vectors Overview

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1

DWIN_HMI USER GUIDE Beijing DWIN Technology Co., Ltd.

Venstar Thermostat Adapter

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1

UNH-IOL MIPI Alliance Test Program

Serial Boot Loader For CC2538 SoC

Aeroflex Colorado Springs Application Note

Terminal Assistant V6.0 Help Documents

CLOCKAUDIO. MR88 Automatic Microphone Mixer RS232 Programming Version 4.2

DWIN DGUS Applications Example

1.1 Errors and Event list

SLCD Technical Note TN-100. Programming the SLCD bitmap / macro flash memory in an embedded system

Lesson 2: Basic Concepts of Geometry

AsReader DeskTop UHF RFID Reader Command Reference v1.11

imetos LoRa Data payload structure

1. Create a map of the layer and attribute that needs to be queried

DMT80480T070_22WT User ManualV2.0

B Interface description 12.01/

CIS-331 Final Exam Spring 2015 Total of 115 Points. Version 1

UPB US1-40 Single Rocker Wall Switch with Dimmer Firmware Specification

CTT MODBUS-RTU COMMUNICATION PROTOCOL TEMPERATURE MONITOR DEVICE

FW UPGRADE SPECIFICATION

Communication and Networks. Problems

Application Note. Introduction AN2471/D 3/2003. PC Master Software Communication Protocol Specification

ECE 435 Network Engineering Lecture 15

Embedded Modbus TCP Module GS11-MT. User Manual REV 1.1. SST Automation.

Protocol of data exchange with modem via USB interface Version

CAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features

The RS-485 user manual for B800 series communication

CMOS TYPE CAMERA JC406M-W01

THANK YOU. Control System Communication Protocol Manual RackLink. Monitor Control Alert Report Analyze. Thank you for purchasing a RackLink product.

Multimedia Systems. Part 4. Mahdi Vasighi

TVP5146 PDC and VPS APPLICATION NOTE HPA Digital Audio Video

Guided Problem Solving

U9809 UHF RFID Reader User's Manual V1.2

VA-2002 RS232 Remote Interface Specification

Professional, Creditable, Successful DGUS Quick Start V1.2.0 DGUS QUICK START. V1.2.0 Aug AMP DISPLAY INC. 1

The MMDVM Specification ( )

LCD6402-DEV Development/Evaluation Board for the LCD6402B LCD6402-DEV Development/Evaluation Board for the LCD6402B

H1PROT.PDF 14 Pages Last Revised 02/11/06. Micro RWD H1/S Protocol

Lumio Release Note Lumio Multi-Touch Communication Protocol

GNetPlus Communication Protocol

INSTEON Hidden Door Sensor

HART 710. User s Manual Version HART-710 User Manual (Version 1.00, July/2010) PAGE: 1

User Guide to Intelligent TFT LCD Module 4.1 Development Kit. (March 16, 2016)

Technical Information. Command overview of Vision Systems

I²C GLCD Adapter for KS x64 Manual (1.4)

CONTROL PANEL 128x64 USER GUIDE

The Extended MBR (version 1.05) (dated: 01 Nov 2018) by Benjamin David Lunt Copyright (c) Forever Young Software

Conto D2 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION

ELE 758 * DIGITAL SYSTEMS ENGINEERING * MIDTERM TEST * Circle the memory type based on electrically re-chargeable elements

CE4DMID01 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION

Wireless Modem Exchange (WMX) Protocol Description

Developer Notes INSTEON Thermostat v012. Developer Notes. INSTEON Thermostat. Revision History

Application Note. Startup DevKit16. History 19 th June 00 TKa V1.0 started 20 th June 00 TKa V1.1 Some minor text corrections

How to Write your own FLASHFILE Algorithm

Contents. Cortex M On-Chip Emulation. Technical Notes V

Application Note. Title: Incorporating HMT050CC-C as a Digital Scale Display by: A.S. Date:

Application Note AN0003. Binary Messages. SkyTraq Venus 5 GPS Receiver

GW-7553 PROFIBUS/Modbus TCP Gateway

Table of Contents. 1.0 General Description

Developer Notes for KeypadLinc Line

URM04 V2.0 (SKU:SEN0002)

Revision No. Date Description Item Page

SPP-R210 Command Manual Rev. 1.00

Data Link Protocols. High Level Data. Control Protocol. HDLC Framing ~~~~~~~~ Functions of a Data Link Protocol. Framing PDUs. Addressing Destination

HPE Knowledge Article

Example of PC signal. Projector CP-X2010/CP-X2510/CP-X3010 User's Manual (detailed) Operating Guide Technical

City of Aurora. Development Review Plans Submission and Referral Website. Public and Agency Referral Instruction Guide

Digital Projector X95i Operator's Guide

PROTOCOL TRANSPORTS 4 RS232 SPECIFICATIONS 4 RS232 CABLING 4 TCP/IP 4 PROTOCOL DOCUMENT NOTES 4 COMMUNICATION 4

Application Note. Megawin USB EasyCOM

RS232 User Guide. Planar Simplicity Series 4K Displays SL4364K SL5564K SL6564K SL7564K SL8664K. Simplicity Series 4K Displays User Guide A

Class 4 Geometry. Answer the questions. For more such worksheets visit (1) The given figure has line segments.

DC2 File Format. 1. Header line 2. Entity line 3. Point line 4. String line

PRELIMINARY DESCRIPTION

BMS CAN Manual. V2.0, September 3, 2018 Visit to download the latest revision of this manual Copyright 2018 Roboteq, Inc

UHF RFID Reader UHFReader18

SPECIFICATION FOR TFT MODULE MODULE NO: AFA320240DM-3.5-A128-R REVISION NO: 00

ebook Users Guide For MyDistrict.net

Beckhoff Lightbus - PC interface card C1220

Transcription:

1 Curve Display 1 Data Frame Data 1 2 3 4 5 Definition Frame Header Data Length Command Data CRC checksum of the command and data Data Length 2 1 1 N 2 Defined by R3 & Data length, include Description RA in command, data and CONFIG.TXT checksum Data frame is made up by 4 parts, shown as below. 0x80-0x84 Defined by R2 in CONFIG.TXT 2 Command Set Function CMD Data Description 0x80 ADR(0x00-0xFF)+Data_Pack Write data into the specified register Access Register 0x81 ADR(0x00-0xFF)+RD_LEN(0x00-0xFF) ADR(0x00-0xFF)+RD_LEN+Data_Pack Read data from the specified register Response from the DGUS module Access Variable SRAM 0x82 0x83 ADR_H:L(0x0000-0x6FFF)+Data0...DataN ADR_H:L(0x0000-0x6FFF)+RD_LEN(0x00-0x7F) Write data into the specified variable SRAM Read data from the specified variable SRAM ADR_H:L+RD_LEN+Data0...DataN Response from the DGUS module Trend Curve 0x84 CH_Mode(Byte)+Data0(Word)+...+DataN Write data into trend curve buffer. Buffer DGUS Register Space: 0x00H-0xFFH, is written / read by byte. DGUS Variable Data Memory Space: 0x0000H-0x6FFFH, is written / read by word. Data in Curve buffer is written / read by word. The communication between DGUS LCMs & Controllers (MCU) are driven by Variables that you may read and write in corresponding address.

2 3 Curve Display There are two methods to display the curve: Dynamic-curve Display Basic Graphic Display 3.1 Dynamic-curve Display 3.1.1 Display Dynamic-curve in the different areas Add the dynamic-curve display functions in the different areas. The data source channels should be different. You can display up to 8 dynamic-curves at the same time. Display in the different areas simultaneously

3 3.1.2 Display Dynamic-curve in the same areas Add the dynamic-curve display functions in the same areas. The data source channels should be different. You can display up to 8 dynamic-curves at the same time. Display the curve in the same area

4 3.1.3 Send Curve Data to the Data Source Channel Send: 5A A5 12 84 12 00 32 00 72 00 9F 00 04 00 17 00 36 00 93 00 1A Description: 5A A5 : Frame header. 12: Data length from 84 to 1A 84: Command for Writing Curve 12: Channel 4 & Channel 1, 8bit(0001 0010) 00 32 : Data in channel 1 00 72 : Data in channel 4 3.1.4 Reset Dynamic-curve Step 1: Update the kernel to DGUS_V5.5 or above Please contact our sales to get the latest firmware. For steps on update refer to the chapter 1.4 of DGUS Development Guide. Step 2: Write commands to DGUS register to clear the curves. Register Address Definition Length(Byte) Description 0xEB Trendline_Clear 1 Write a special value to clear the data of corresponding channels. 0x55: Clear the whole dynamic curve data buffer. 0x56-0x5D: Clear the data of channels respectively from CH0 to CH7. After clearing the dynamic curves, this register will be reset. For example, Clear all channels 5A A5 03 80 EB 55 5A A5 : Frame header. 03: Data length from 80 to 55 80: Command for writing data into DGUS register EB: Register Address 55: The special value for clearing the whole dynamic curve data buffer Clear the special curve 5A A5 03 80 EB 5A 5A A5 : Frame header. 03: Data length from 80 to 5A 80: Command for writing data into DGUS register EB: Register Address 5A: The special value for clearing the data of channel 4.

5 3.2 Basic Graphic Display String Format Address Definition Description VP CMD Command. VP+1 VP+2 Date Pack For Basic Graphic CMD 0x0001 0x0002 0x0003 0x0004 0x0005 0x0006 0x**07 0x0008 0x0009 Function Dot Line Rectangle Rectangle Area Fill Circle Picture Cut/Paste Icon Display Area Fill Vertical Line Data_Pack_Num_Max DATA_Pack Relative Address Data Length Max number of data packs. For command 0x0002, it s number of graph. Definition Description of Data Format, by word 0x00 2 (x, y) Coordinate of dot. 0x02 1 Color Color of dot. 0x00 1 Color Color of line. 0x01 2 (x, y)0 Coordinate of vertex 0. 0x03 2 (x, y)1 Coordinate of vertex 1. 0x01+2*n 2 (x, y)n Coordinate of vertex n. 0x00 2 (x, y)s Coordinate of top-left. 0x02 2 (x, y)e Coordinate of bottom-right. 0x04 1 Color Color of rectangle. 0x00 2 (x, y)s Coordinate of top-left. 0x02 2 (x, y)e Coordinate of bottom-right. 0x04 1 Color Filled color. 0x00 2 (x, y) Coordinate of center of circle. 0x02 1 Rad Radius of circle. 0x03 1 Color Color of circle. 0x00 1 Pic_ID Image ID of cutting area. Description 0x01 2 (x, y)s Coordinate of top-left of cutting area. 0x03 2 (x, y)e Coordinate of bottom-right of cutting area. 0x05 2 (x, y) Paste position on current screen. 0x00 2 (x, y) Coordinate of top-left of icon. 0x02 1 ICON_ID 0x00 2 (x, y) Coordinate of sampling dot. 0x02 1 Color Filled color. 0x00 1 Color0 0x01 1 X0 0x02 1 Y0s 0x03 1 Y0e Icon ID in icon file, high byte of command specifies address of icon file, display mode is transparent. Connect (X0, Y0s), (X0, Y0e) with color0. Status Flag: 0xFF Current drawing operation finished.

6 0xFE This operation will be skipped (ignored). 3.2.1 Curves with Different Color 1) Add the basic graphic display areas via DGUS_SDK software. As follow, add 2 basic graphics areas with different VP(0x0000 & 0x1000) 2) Send commands via serial port Send: 5A A5 1B 82 00 00 00 02 00 03 F8 00 00 58 01 8F 00 DB 00 93 01 62 02 95 02 0E 00 AB FF 00 ------ Line 1, VP=0x0000 5A A5 ---- Frame header 10---- Data length from 82 to 93 82 ---- Command for writing data into the VP 00 00 ---- VP 00 02 ---- Draw line command 00 03 ---- Number of line, equal to dots -1. F8 00 ---- Color of line 00 58 01 8F ---- Coordinate of dot 0 00 DB 01 C0 ---- Coordinate of dot 1 01 62 02 95 ---- Coordinate of dot 2 02 0E 00 AB ---- Coordinate of dot 3 FF 00 ----- End mark 5A A5 1B 82 10 00 00 02 00 03 00 1F 00 37 00 8F 00 1B 00 23 00 32 01 25 01 41 00 17 FF 00------ Line 2,

7 VP=0x1000 3.2.1 Curves with Same color 1) Add a basic graphic display areas via DGUS_SDK software, VP=0x0000. 2) Send commands via serial port A5 5A 13 82 0000 0002 000A F800 0001 0002 0015 0018 FF00 ------ Line 1, save data from 0x0002 to 0x0016 in VP=0x0000 A5 5A 09 82 0007 0010 0025 FF00 ---- Line 2, VP starts from 0x0007 A5 5A 09 82 0009 0011 0030 FF00 ---- Line 3, VP starts from 0x0009 A5 5A 0D 82 000B 0013 0034 0015 0036 FF00 3) Modify some dot ( For example, the first dot's address is 0003) A5 5A 07 82 0003 0001 0002 ----- Modify the first dot A5 5A 07 82 0005 0015 0018 ----- Modify the second dot

8 3.2.3 Reset Curve Send: 5A A5 10 82 00 00 00 02 00 00 F8 00 00 58 01 8F 00 DB 00 93 01 62 02 95 02 0E 00 AB Set Data Pack Num. Max to 0.