Baud rate: 9600 Data Bits: 8 Parity: Even Stop Bits: 1



Similar documents
How To Send A Message From A Computer To A Computer (Iwea) On A Microsoft Macbook 2.5 (Isoa) To A Microsatellite 2.4 (Ios) On An Unix (Ise

Technical Support Bulletin Nr.18 Modbus Tips

NG360 Inclinometer with digital RS485 communications port and 360 degree measuring range

PROPERTY MANAGEMENT SYSTEM

PRODUCT MANUAL SKX OPEN SKX ADVANCE ZN1RX-SKXOPEN. Edition 2 Version 1.1

Applied Data Communication Lecture 14

Brunata Optuna W (171)

Operating Systems and Computer Networks / Datenverarbeitung 2 / Data Processing 2

LOCAL INTERCONNECT NETWORK (LIN)

Keep it Simple Timing

DSP801 Operation Manual

Modbus Communications for PanelView Terminals

Process Control and Automation using Modbus Protocol

MTS Master Custom Communications Protocol APPLICATION NOTES

plc numbers Encoded values; BCD and ASCII Error detection; parity, gray code and checksums

Serial Communications

Communicating with a Barco projector over network. Technical note

2. Terminal arrangement. Default (PV display) (SV display) Communication protocol selection Selects the Communication protocol. Modbus ASCII mode:

ESPA Nov 1984 PROPOSAL FOR SERIAL DATA INTERFACE FOR PAGING EQUIPMENT CONTENTS 1. INTRODUCTION 2. CHARACTER DESCRIPTION

HOST Embedded System. SLAVE EasyMDB interface. Reference Manual EasyMDB RS232-TTL. 1 Introduction

RFID MODULE Mifare Reader / Writer SL025B User Manual Version 1.4 Nov 2012 StrongLink

SPA-Bus Communication Protocol V2.5. Technical description

Serial Communications / Protocol in AirTest Products

ND48-RS ASCII A2.04 Communication Protocol

Temp. & humidity Transmitter Instructions

SERIAL INTERFACE. Series SSW-03 and 04

2011, The McGraw-Hill Companies, Inc. Chapter 3

PRT3 Printer Module: ASCII Protocol Programming Instructions

Appendix B RCS11 Remote Communications

Written examination in Computer Networks

CAM-VGA100 User Manual

Hagenberg Linz Steyr Wels. API Application Programming Interface

E-i. Section E. Code Formatting. E/D = Enable/Disable T/DNT = Transmit/Do Not Transmit EX/DNEX = Expand/Do Not Expand

Plain-paper digital Fax/Copier/Printer/Scanner Scanner and Fax Guide

7.7 Ethernet Communication (AFPX-COM5)

Software Manual RS232 Laser Merge Module. Document # SU Rev A

Single channel data transceiver module WIZ2-434

Contents. Preparation/SetUp...2

Using HyperTerminal with Agilent General Purpose Instruments

Industrial Networks & Databases

1.Eastron SDM220Modbus Smart Meter Modbus Protocol Implementation V1.0

LIN (Local Interconnect Network):

RN-XV-RD2 Evaluation Board

Card Issuing Machine for Magnetic, Contact & IC Card

VisorALARM-Manager Application Quick Guide. (Ver. 1.3) Dm 380-I. V:3.0

Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

ASCII Code. Numerous codes were invented, including Émile Baudot's code (known as Baudot

Software User Guide UG-461

Development Kit EM4095 User s Manual

IP Surveillance TroubleShooting Guide Version: 0.9 Release:


Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

Features Reference. About Unified Communication System. Before Using This Machine. Starting a Meeting. What You Can Do During the Meeting

Below is a diagram explaining the data packet and the timing related to the mouse clock while receiving a byte from the PS-2 mouse:

Scanner Configuration

OPERATOR INTERFACE PRODUCTS APPLICATION NOTE. Xycom 4800/2000 OIL (Operator Interface Language)- Series Terminals: Backup and Restore with ProComm

Local Interconnect Network Training. Local Interconnect Network Training. Overview

The string of digits in the binary number system represents the quantity

Signalling Control System Serial Train Information Interface

BARCODE READER V 2.1 EN USER MANUAL

ENET-710. ENET Ethernet Module ENET-710 JAN / 06 FOUNDATION

PM1122 INT DIGITAL INTERFACE REMOTE

Dolphin In-Circuit programming Updating Firmware in the field

USB Card Reader Configuration Utility. User Manual. Draft!

You can search the event by POS and you can also add the Time Search condition to narrow the search range. By

1. Introduction... 3 Introduction Deal command... 13

Bill Redirect Software How To Schedule Tasks in Bill Redirect

RFID MODULE Mifare Reader / Writer SL032 User Manual Version 1.5 Nov 2012 StrongLink

Data Link Layer(1) Principal service: Transferring data from the network layer of the source machine to the one of the destination machine

HYUNDAI Fingercam. User Manual

Controlling the projector using a personal computer

Voyager 9520/40 Voyager GS9590 Eclipse 5145

Operating Instructions Serial Monitor ROBERT RIELE GmbH & Co KG

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

CONCEPT1 RS232 COMMUNICATION

L Firmware And FPGA Configuration Upgrade

Push button 3gang standard flush-mounted xx

Modbus Protocol. PDF format version of the MODBUS Protocol. The original was found at:

Index...1. Introduction...3. Installation- Keyboard Wedge...3 RS USB...3. Default Setting for each barcode shown as below:...

The Answer to the 14 Most Frequently Asked Modbus Questions

TruePort Windows 2000/Server 2003/XP User Guide Chapter

Memory is implemented as an array of electronic switches

ACCESS 9340 and 9360 Meter Ethernet Communications Card ETHER

4511 MODBUS RTU. Configuration Manual. HART transparent driver. No. 9107MCM100(1328)

BenchMark 460 Marking System

SMS based remote control system

Using the HCS12 Serial Monitor on Wytec Dragon-12 boards. Using Motorola s HCS12 Serial Monitor on Wytec s Dragon-12 boards

TICO-EN. TiXML-Console TICO. User Manual V

EasyMP Monitor Operation Guide Ver.4.50

GPS NTP Time Server for Intranet Networks DIN RAIL Version

Catalogue. Write Text Command (A command)...5. Write Variable Command (C command)...7. Write Graphics Command (E command)...8.

RFID MODULE Mifare Reader / Writer SL031 User Manual Version 2.7 Nov 2012 StrongLink

x10* CP290 HOME CONTROL INTERFACE PROGRAMMING GUIDE FOR ADVANCED PROGRAMMERS

OfficeServ Link. User Guide. Version 2.1 June 2005

Stop And Wait. ACK received; transmit frame 2 CS 455 3

Customer Pole Display SERIES 8035 Operation Manuanl. Version 1.1

APR-PRT3 Printer Module: C-Bus Programming Instructions

Master-Touch and ValuMass. Modbus Communications. INSTRUCTION MANUAL (Rev. 2.1)

hp ProLiant network adapter teaming

Transcription:

Protocol of half-duplex system Baud rate: 9600 Data Bits: 8 Parity: Even Stop Bits: 1 (RS-232C/485): Communication Protocol: a) Computer send STX+ADD.Then startup strip screen to receive message.all of strip screen waiting for receive ADD after receving STX.They will going on if they received address accord with the range of themselves b) Computer send command. Strip screen run the right process or send and receive message after receving command. Computer going on send a series of data if necessary. Every frame(16 data validity at most) must end with ETX or ETB. The last frame end with ETX and other frames end with ETB. c) The strip screen return ACK after correct examination,otherwise return NACK and waiting for the computer Re-transmit. d) The format of next frame is SYN + Data Message + ETX(ETB) If last frame was received correctly and in order to be over continuedly.otherwise the strip screen finish receive data and makes data incomplete processing e) In any transmission waiting process, if the receiving side end standby period surpasses 3 seconds but has not received should to the information data, then does Overtime processing, the receiving end withdrawal receive and makes data incomplete processing. The sending side has not received anything or receives the wrong reply when waiting reply process the reply in 3 seconds, should attempt 3 time Re-transmits this frame data, if still has not received the reply or the accumulation receives 3 times of wrong replies, then produces the line fault prompt. f) Direction of transmission control: Principal and subordinate type software protocol,the host computer controls the way. Like uses 485 networks,all strip screen is at the receive condition when spare,and not control bus. While not connect the cable from half-duplex converter to host computer 232C mouth, the half-duplex switch 485 outputs also is at the receive condition, this time the main line does not have the equipment.need connect the terminal resistance. Transmission character description: 1.Control word: STX(0xCD): Start of Text ETX(0xAA+0xE6): End of Text ETB(0xE7): End Of Transmission Block SYN(0xCF): Synchronous Character ACK(0xF0): Acknowledge NACK(0x0F): Negative acknowledge 2.Address word: The strip screen address code is the BCD form,altogether 2 bytes,high bit in front,low bit in after,scope 0000--9999,Each strip screen has an independent address,all strip 1

screen has a public broadcast address which is 9999. The most number of strip screen in one network is 9999. ADD (9,999):Broadcast address ADD (0-9998):Strip screen address, corresponding screen number 1-9999. 3.Command word: Connect (0x00):Strip screen connection PowerOn (0x01): Open the strip screen PowerOff (0x02):Close the Strip screen ReadBMes (0x03):Reading the strip screen basic information ReadList (0x04):Reading listed files of the strip screen,according to numeral,small letter,capital letter order ReadPlay (0x05):Reading play lists of the strip screen ReadFile (0x06):Reading files of the strip screen StoreFile (0x07):Write a file to the strip screen ToTest (0x08):Download a file to carry on the test WritePlay (0x09):Writes play list to the strip screen SetPlayTime (0x0A):Setup information play time of the strip screen ToPlay (0x0B): Order programme one file of strip screen SetTime (0x0C):Setup time of strip screen EraseFile (0x0D):Delete one file of strip screen ClearSign (0x0E):Elimination strip screen memory Computer command and reply: 1.Strip screen connection test:stx+add+connect+etx Reply:*ACK:Connects successfully *NACK: Command to receive the mistake,re-transmit 2.Open the strip screen:stx+add+poweron+etx Reply:*ACK: Success,Screen could receive the new Command or the data after 3 seconds 3.Close the strip screen:stx+add+poweroff+etx Reply:*ACK:Success 4.Reading basic information of the strip screen:stx+add+readbmes+etx *Computer receive reply: *ACK:Success *Computer receive data:after receives ACK,The Computer prepares for receive the data Data format:stx+rtc+mes+ver+mm+yy+checksum+etx RTC:0x00 (has not installed),0x04 (has installed). MES:Currently filename of screen which moves ("0--9,A--Z,A--z"),0x00:Demo 2

information,0x04:test information VER: Version number of Strip screen Software,BCD form,like 10 expressions edition 1.0 MM+YY: production month,year of the Strip screen,bcd form CheckSum: sum of RTC+MES+VER+MM+YY examination,1 byte *Computer transmission reply:the Computer send ACK after examination each received data were accord with the requirement,otherwise send NACK and waiting Re-receives 5.Reading file list of strip screen::stx+add+readlist+etx *Computer receive reply:*ack:success. *NACK: Command to receive the mistake,re-transmit. * No reply:this screen has not connected to the network. *Computer receive data:after receive ACK,computer prepare for receive data. STX+ByteNum+FileName1+FileSize1+FileTime1+...+FileName(n)+FileSize(n) +FileTime(n)+CheckSum+ETB(ETX) ByteNum: The effective byte counting of this frame, Including filename, the size of the file, file play time. FileName:"0--9,A--Z,a--z". FileSize: The size of the file, regard byte as the unit. FileTime: The file play time, BCD form : Begin week (0 --6, 9 express and has not set for the time started ), Begin hour (0--23),Begin cent (0 --59),Finish week (0 --6, 9 express has not established and finish time), Finish hour(0--23),finish cent (0 --59). SYN+ByteNum+FileName(k)+FileSize(k)+FileTime(k)+... +CheckSum+ETB(ETX) *Computer receive reply: Send ACK after the computer measures all data received and fulfils requirements, otherwise send NACK and wait Re-transmit. 6. Read play list of the strip screen:stx+add+readplay+etx *Computer receive and reply::*ack:sucess. *Computer receive data: After receiving ACK, the computer prepares for receive the data. STX+ByteNum+FileName1+FileName2+...+FileName(n)+CheckSum+ETB(E TX) ByteNum: This effective byte of frame is counted. FileName:Filename"0--9,A--Z,a--z" SYN+ByteNum+FileName(k)+FileName(k+1)+...+CheckSum+ETB(ETX) 3

* Computer receive reply: Send ACK after the computer measures all data received and fulfils requirements, otherwise send NACK and wait Re-transmit. 7.Reading one file of strip screen::stx+add+readfile+filetype+filename+etx FileType: Type of the file, 0x00: Text file, 0x04: Figure file FileName: File name of the text "0--9,A--Z,a--z",File name of the Figure "A--Z" *Computer receive and reply: *ACK:sucess. *Computer receive data: After receiving ACK, the computer prepares for receive the data. STX+ByteNum+Data1+Data2+...+Data(n)+CheckSum+ETB(ETX) ByteNum: The effective byte counting of this frame. Data:data SYN+ByteNum+Data(k)+Data(k+1)+...+CheckSum+ETB( ETX) * Computer receive reply: Send ACK after the computer measures all data received and fulfils requirements, otherwise send NACK and wait Re-transmit. 8.Write information to one file of strip screen: STX+ADD+StoreFile+FileType+FileName+ETX * Computer receive reply: *ACK:Success * Computer send data: After receiving ACK, the computer prepares for send the data.. STX+ADD+ByteNum+Data1+Data2+...+Data(n)+CheckSum+ETB( ETX) ByteNum:The effective byte counting of this frame. Data:data SYN+ByteNum+Data(k)+Data(k+1)+...+CheckSum+ETB(ETX) * Send replying from the screen:send ACK after the screen measures all data received 9.Download information to screen for test:stx+add+totest+filetype+etx *Computer receive reply: *ACK:sucess. *Computer send data:after receiving ACK, the computer plan to send data. First frame form of the data:stx+add+bytenum+data1+data2+...+data(n)+checksum+etb(etx) 4

ByteNum:The effective byte counting of this frame. Data:data SYN+ByteNum+Data(k)+Data(k+1)+...+CheckSum+ETB(ETX) *Send replying from the screen:send ACK after the screen measures all data received 10.Write new play list to screen:stx+add+writeplay+etx *Computer receive reply: *ACK:sucess. *Computer send data:after receving ACK,the computer paln to send data. STX+ADD+ByteNum+FileName1+FileName2+...+FileName(n)+CheckSum+ETB (ETX) ByteNum:The effective byte counting of this frame. FileName:File name"0--9,a--z,a--z" SYN+ByteNum+FileName(k)+FileName(k+1)+...+CheckSum+ETB(ETX) *Send replying from the screen:send ACK after the screen measures all data received 11.Set play time of file to the screen:stx+add+setplaytime+etx *Computer receive reply: *ACK:sucess. *Computer send data:after receving ACK,the computer plan to send data. STX+ADD+ByteNum+FileName1+FileTime1+...+FileName(n)+FileTime(n)+Chec ksum+etb(etx) ByteNum:The effective byte counting of this frame, Including file name, the size of the file, the file broadcasts time. FileName:File name"0--9,a--z,a--z" FileTime:File paly time,,bcd form:the week at the beginning(0--6,9 express has not set for the time started),beginning hour (0--23),beginngin cent (0--59),finish week(0-- 6,9 express has not established finish time),finish hour(0--23),finish cent(0--59). SYN+ByteNum+FileName(k)++FileTime(k)+...+CheckSum+ETB(ETX) *Send replying from the screen:send ACK after the screen measures all data received 5

12. Order programme one file of strip screen:stx+add+toplay+filename+etx *Computer receive reply:*ack:sucess,do not show when the file name requested does not exist and return ACK. 13.Set time of screen (Only when RTC is installed): STX+ADD+SetTime+YY+MM+DD+DAY+HH+MM+TimeType+CheckSum+ETX TimeType:form of time(1--5). *Computer receive reply:*ack:sucess. 14.Delete one file of screen:stx+add+erasefile+filename+filetype+etx *Computer receive reply:*ack:sucess. 15.Clearn up the memory of screen:stx+add+clearsign+etx *Computer receive reply:*ack:sucess. Notice:* When information divides frames to convey, every frame information effective byte it counts to be very 16 most *The content of text information is ASCII code (include the special symbol), Model sign (0xFF,0x03,Model number), Speed sign (0xFF,0x02, speed number), Font sign(0xff,0x01,font number), Colour sign(0xff,0x00,colour sign), Image sign (0xFF,0x04,File name of Image), Time sign(0xff,0x05,time number), Colour number: 00:RED,01:LRD,02:GRN,03:LGN,04:AMB,05:BRN,06:ORG,07:YEL, 08:RB1, 09:RB2 Font number: 00:SS5,01:ST5,02:WD5,03:WS5,04:SS7,05:ST7,06:WD7,07:WS7 Speed number: 0x00--0x05 Model number: 00:HLD,01:FLS,02:WLUp,03:WLDown,04:WLLeft,05:WLRight,06: WLUnite,07:WLCleft,08:RLUp,09:RLDown,0A:RLLeft,0B:RLRight,0 C: RLUnite, 0D:RLCleft,0E:SPC,0F:SCR,10H:ROT,11H:CRT,12H:AUT 6

One text file include several above-mentioned form association, curtain of information, the largest length is 255 byteses. *The content of the information of the image is dot matrix, each point takes two byteses, the first express green, the second expresses red, 0x3F Showing the whole luminance, 0x36 expresses half a luminance, 0x30 express not show bright, the color is made up as follows: RED: 0x30,0x3F; LRD: 0x30,0x36; GRN: 0x3F,0x30; LGN: 0x36,0x30; AMB: 0x3F,0x3F; LGN: 0x36,0x36; ORG: 0x36,0x3F; YEL: 0x3F,0x36 transmitted from the first point of the first row to the last point of the last row. 7