摘要: 介绍了系统的基本组成,指出了PC机与下位机传送指令过程中可能出现指令接收错误而导致的死机现象,分析了其中的原因,提出了基于状态转换图/表的指令接收算法,给出了完整的通信协议与相应的软硬件实现。
关键词:
指令分析,
状态转换表,
串口通信,
MSComm
Abstract: The article describes primary parts of the system, points out the phenomenon of machine-death caused by errors which may occur during the communication between PC and microprocessor system, analyzes the reasons, and puts forward a new way to solve it by using an instruction-acceptance algorithm based on a state-machine. A full communication protocols and relevant software and hardware realization are presented.
中图分类号:
周敏,陈祖爵. 金库保险门安全记录系统的设计[J]. , 2005, 31(07): 239-242.
ZHOU Min, CHEN Zujue. Design of Security-record System for Cash-deposit Room[J]. , 2005, 31(07): 239-242.