节点文献
Modbus通讯参数的一种自动检测方法
Auto-detecting Method of Modbus Communication Parameters
【摘要】 介绍了Modbus通讯参数自动检测的一种方法。它先通过信号捕获的方法直接测量出一位数据的宽度,计算出波特率;然后分别对几种可能出现的通信参数逐一进行设置和测试,直到与总线通信完全匹配为止;最后通过监视和分析总线上足够数量的数据帧来完成通信地址自动配置。该方法简单有效,无须主机提供特殊字符,不干扰正常通讯。
【Abstract】 An auto-detecting method of communication parameters for Modbus is described in this paper.It calculates the baud-rate by directly measuring bit data width using sig nal capture technolog y.Then selects a set of possible communication pa-rameters that may occur on Modbus,tests and tries one by one until it matches the current Modbus.At last monitors and analyses enoug h data frames on Modbus to finish address auto-config uration.
【关键词】 Modbus;
信号捕获;
通讯参数自动检测;
地址自动配置;
【Key words】 Modbus; sig nal capture; communication parameters auto-detecting; address auto-config uration;
【Key words】 Modbus; sig nal capture; communication parameters auto-detecting; address auto-config uration;
- 【文献出处】 工业控制计算机 ,Industrial Control Computer , 编辑部邮箱 ,2004年07期
- 【分类号】TP274
- 【被引频次】12
- 【下载频次】135