摘要
给出了集散系统中主从式多机串行通信的实现方案,并以最常用的MCS-51单片机为下位机, PC系统机为上位机,用C++Builder语言及单片机汇编语言实现了基于多线程技术和消息响应机制的多机异步串行通信,给出了系统连接和编程的方法及流程.
The solution of master-slave multi-computer communication in centralized discrete system is introduced. The way and flow of programming and system connection are presented with the realization of multi-computer asynchronous serial communication, which is based on multi-thread technology and message-response mechanism, applying C++ Builder and assembly as programming language, wide-used MCS-51 single chip processor as down-position computer and PC as up-position computer.
出处
《上海理工大学学报》
CAS
北大核心
2003年第4期379-384,共6页
Journal of University of Shanghai For Science and Technology
关键词
多机串行通信
单片机
多线程
消息与事件
multi-computer serial communication
single chip processor
multi-thread
message and event