摘要
Delphi环境下的SPComm控件是专用于串行通信口开发的控件,可用在PC机和工业电子设备组成的监控系统中。在介绍SPComm控件的基本属性(控件引用、属性描述、调用方法、事件驱动机制)的基础上讨论了串行通信的基本组成模式(PC机与单个数据终端设备(DTE)采用RS-232接口通信、PC机与多个DTE采用RS-485通信);以及通信协议和串行通信软件的编程实现。实践证明该方式适应性强、兼容性好、管理和维护方便。
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.
出处
《电力自动化设备》
EI
CSCD
北大核心
2006年第1期73-75,共3页
Electric Power Automation Equipment