摘要
本文的目的是在假设RS-232总线硬件完好的条件下,着重解决总线的软件故障,找出由于软件设置错误或者通信协议不一致而导致的故障现象,并逐一提出解决措施,通过优化,得到工程上可实现的解决方案。首先分析了RS-232总线的故障原因,接着介绍环路测试以确认硬件能否正常工作,最后利用串口调试助手总结了RS-232总线可能的故障现象,提出了一个排除故障的流程图。
Under hypothesis that the hardware of RS-232 is intact, the paper is to stress the software trouble of bus, and look for all the fault phenomenon of bus , owing to mistakes of software,setting or troubles of communication protocol, and put forward one by one solution, and get the settlement scheme which can be realized in the engineering by way of optimizing. This paper firstly analyzes the trouble reason of RS-232 and then introduces the Ioopback test to verify hardware operation. Finally uses sedal debug assistant to sum up the possible communication fault of RS-232, and puts forward a flow chart to get rid of the fault.
出处
《仪器仪表用户》
2009年第4期2-4,共3页
Instrumentation