摘要
该文根据质量流量计的应用实际,介绍了智能仪表上普遍采用的Modbus通信原理,分析了请求、响应的消息格式,介绍了地址,功能码,寄存器地址,数据位和校验码的组成,并给出了软件开发中常用的CRC校验程序和十六进制浮点数转换程序。
This paper introduced the modbus communication theory generally applies to the intelligent instrument according to the application of mass flowmeter, analyzed the message format of request and response.The composition of station address,function code ,register address,data field and check code are introduced.It also gives out the CRC error check and hexadecimal float conversion program commonly used in software development.
出处
《电脑知识与技术》
2009年第4X期3275-3277,3284,共4页
Computer Knowledge and Technology