当前位置:网站首页>Modbus protocol communication exception
Modbus protocol communication exception
2022-07-02 17:47:00 【51CTO】
Table of Contents
One 、Modbus Protocol communication exception
- Address range
- Slave address :1-247: Valid address range 0: radio broadcast
- Data exception ( The data cannot be parsed normally )
- Large and small end storage problems
- Principle of exception handling ( Abnormal response )
The slave will reply clearly
Function code high position 1
Pictured :Meaning of abnormal information
Code name meaning 01 Illegal function For servers ( Or slave station ) Come on , The function code received in the inquiry is not allowed . This may be because the function code is only applicable to new equipment and is not realizable in the selected unit . meanwhile , Also point out the server ( Or slave station ) Handle this request in an error state , for example : Because it is not configured , And request to return the register value . 02 Illegal data address For servers ( Or slave station ) Come on , The data address received in the inquiry is not allowed . especially , The combination of reference number and transmission length is invalid . For with 100 For a register controller , With offset 96 And length 4 Your request will succeed , With offset 96 And length 5 The request of will generate an exception code 02. 03 Illegal data value For servers ( Or slave station ) Come on , The value included in the query is not allowed . This value indicates the failure in the remaining structure of the combined request , for example : The implied length is incorrect . It doesn't mean that , because MODBUS The protocol does not know the significance of any special value of any special register , The data item submitted for storage in the register has a value beyond the expectation of the application . 04 Slave station equipment failure When the server ( Or slave station ) Trying to perform the requested operation , Produce errors that cannot be retrieved . 05 confirm Used with programming commands . The server ( Or slave station ) Request accepted , And cut is processing this request , But it takes a long time to do these operations . Return this response to prevent in the client ( Or master station ) Timeout error occurred in . The client ( Or master station ) You can continue to send the polling program completion message to determine whether the processing is completed . 06 Slave device busy Used with programming commands . The server ( Or slave station ) Processing long duration program commands . Zhang server ( Or slave station ) Idle , user ( Or master station ) The message should be retransmitted later . 08 Store parity errors And function code 20 and 21 And reference type 6 Use it together , Indicates that the extended file area cannot pass the consistency check . The server ( Or slave station ) Try to read the record file , But a parity error was found in the memory . The client ( Or the main party ) Can resend request , But it can be on the server ( Or slave station ) Service required on the equipment . 0A Unavailable gateway path Use with gateway , Indicates that the gateway cannot assign an internal communication path from the input port to the output port for processing requests . It usually means that the gateway is misconfigured or overloaded . 0B Gateway target device response failed Use with gateway , Indicates that no response was received from the target device . It usually means that the device is not in the network .
- The request frequency is abnormal
- RTU Message request interval 3.5 Character time 1.5 Character time
- Message length limit
- 0x07D0 Single request length of coil
- 0x007D Length of register word request
边栏推荐
- Introduction to nexus and detailed tutorial of Xiaobai using idea to package and upload to nexus3 private server
- 原装应广单片机 MCU芯片PMS152 SOP8封装 单片机开发
- 【目标跟踪】|数据集汇总
- Meanings of SNAT, DNAT and masquerade in iptables
- 外包干了五年,废了...
- 牛客 JS3 分隔符
- Introduce the scrollintoview() method attribute in detail
- Easyswoole3.2 restart failed
- 从收集到输出:盘点那些强大的知识管理工具——优秀笔记软件盘点(四)
- freemarker+poi实现动态生成excel文件及解析excel文件
猜你喜欢
Income and risk of linear programming example investment
【历史上的今天】7 月 2 日:BitTorrent 问世;商业系统 Linspire 被收购;索尼部署 PlayStation Now
【目标跟踪】|SiamFC
科班出身,面试小公司都进不去
从收集到输出:盘点那些强大的知识管理工具——优秀笔记软件盘点(四)
Map集合详细讲解
阿里天池SQL学习笔记——DAY3
第十五章 字符串本地化和消息字典(一)
Laravel文档阅读笔记-Custom Authentication Login And Registration Using Laravel 8
MATLAB中nexttile函数使用
随机推荐
Alibaba cloud sub account - Permission Policy - full control permission granted to an account and an OSS bucket
About me
【目标跟踪】|SiamFC
应广PMC131 SOP16 16pin八位单片机
USB interface powered Bluetooth color light strip controller
POJ - 1458 common subsequence (longest common subsequence)
嵌入式开发板 ~ 说明
Common SQL statements (complete example)
JS20 数组扁平化
Daily question - inverted string
Microservice architecture practice: Construction of highly available distributed file system fastdfs architecture
Rk1126 platform project summary
牛客JS2 文件扩展名
ROS knowledge point - message_filters
什么是软件开发中的 green field 和 brown field 模式 - 绿地开发和棕地开发
【目标跟踪】|数据集汇总
Alibaba Tianchi SQL learning notes - Day3
freemarker+poi实现动态生成excel文件及解析excel文件
Solving simple differential equations
如何给 SAP Spartacus Storefront 创建新的页面