引用本文:吴雁,王琦,周志杰.基于SPComm控件的串行通信设计[J].电力自动化设备,2006,(1):73-75
.Serial communication design based on SPComm control[J].Electric Power Automation Equipment,2006,(1):73-75
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3613次   下载 1554 本文二维码信息
码上扫一扫!
基于SPComm控件的串行通信设计
吴雁,王琦,周志杰
作者单位
摘要:
Delphi环境下的SPComm控件是专用于串行通信口开发的控件,可用在PC机和工业电子设备组成的监控系统中。在介绍SPComm控件的基本属性(控件引用、属性描述、调用方法、事件驱动机制)的基础上讨论了串行通信的基本组成模式(PC机与单个数据终端设备(DTE)采用RS-232接口通信、PC机与多个DTE采用RS-485通信);以及通信协议和串行通信软件的编程实现。实践证明该方式适应性强、兼容性好、管理和维护方便。
关键词:  SPComm控件,串行通信,数据终端设备,人机界面
DOI:
分类号:TP311.52
基金项目:
Serial communication design based on SPComm control
WU Yan  WANG Qi  ZHOU Zhi-jie
Abstract:
SPComm is a specific control for serial communication design in Delphi,which can be used in the monitoring system composed of PC and electronic equipment.SPComm is introduced in its installment,property description,calling method and event driving mechanism,based on which the basic composition modes of serial communication are discussed:the RS-232 between PC and DTE(Data Terminal Equipment)and the RS-485 among PC and multiple DTEs.The communication protcol and serial communication software are also presented.
Key words:  SPComm control,serial communication,DTE,man-machine interface

用微信扫一扫

用微信扫一扫