???%20?Borland%20C %20Builder??%20???????I/O???? - PowerPoint PPT Presentation

About This Presentation
Title:

???%20?Borland%20C %20Builder??%20???????I/O????

Description:

Title: Borland C++ Builder I/O Author: fcyang Last modified by: jacky Created Date: 10/9/2001 5:13:20 AM – PowerPoint PPT presentation

Number of Views:80
Avg rating:3.0/5.0
Slides: 16
Provided by: fcy2
Category:
Tags: 20builder | 20c | borland

less

Transcript and Presenter's Notes

Title: ???%20?Borland%20C %20Builder??%20???????I/O????


1
??? ????
Serial-Data Transmission
2
????
  • RS232??
  • RS232????
  • PC?PC?RS232????
  • RS232????????

3
????(??????)
  • RS232??
  • RS232????
  • PC?PC?RS232????
  • RS232????????

4
RS232??
  • ??(Baud Rate) ???????? ?
  • 1 Baud Rate1BPS(bit per second) ?
  • RS232???????

5
RS232??(?)
  • RS232????? RS232???????25pin D?
  • ???9
    pin D????

PGD ??????????????? GND??????????
TXD ?????? RXD????? ?
6
RS232??(?)
  • RS232????
  • 1. ????(Simplex)
  • ???????????????????????,?AM?FM????
  • 2. ?????(Half Duplex)
  • ????????????,???????????????
  • ???????
  • 3.?????(Full Duplex)
  • ????????????,????..?

7
????(??????)
  • RS232??
  • RS232????
  • PC?PC?RS232????
  • RS232????????

8
RS232????
  • RS232????????(Package)??? ?
  • ????????(Frame)??? ?
  • ???(Frame)???????
  • ???9-12?????? ?

9
RS232????(?)
????1?bit ????7?8?bit
????1?bit???? ????????
Mark(???1)?None ????1?2?bit
RS232?????byte?data???17019 bits,??? 1
81212 bits ?
10
????(??????)
  • RS232??
  • RS232????
  • PC?PC?RS232????
  • RS232????????

11
PC?PC?RS232????
  • ??????RS232???????,?????9 pin D??? (??????) ?????
  • PC?PC?RS232??????????????????

12
????(??????)
  • RS232??
  • RS232????
  • PC?PC?RS232????
  • RS232????????

13
RS232????????
  • ????RS232?????????,???????????????(Protocal) ?
  • ????????,?????---???????????? ?
  • ??1?????????-???????????DO
  • ???

14
RS232????????(?)
  • ?????????????? ?
  • ?????????????? ?
  • ????????????,??????01
  • ???????2???(00-FF)???DO????????
  • ?????????data??????XOR????ASCII
  • code(2byte)

??01 0F 4E ??????4E(0x34,0x45) ??01 0F 4E
15
RS232????????(?)
???? 1. ??????8-3??????????????? 2.
???????,?????????????? 3. ????????8-3???
Write a Comment
User Comments (0)
About PowerShow.com