当前位置:网站首页>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
边栏推荐
- JDBC
- VirtualLab基础实验教程-7.偏振(2)
- [nonlinear control theory]7_ High gain and High Frequency
- HDU - 1114 Piggy-Bank(完全背包)
- Modbus协议通信异常
- 维护万星开源向量数据库是什么体验
- Si446 usage record (I): basic data acquisition
- Chapter 15 string localization and message Dictionary (1)
- What is the experience of maintaining Wanxing open source vector database
- Atcoder beginer contest 237 VP supplement
猜你喜欢

EdgeNeXt打出了一套混合拳:集CNN与Transformer于一体的轻量级架构

Alibaba cloud sub account - Permission Policy - full control permission granted to an account and an OSS bucket

【GAMES101】作业4 Bézier 曲线

USB interface powered Bluetooth color light strip controller

嵌入式 ~ 介绍

freemarker+poi实现动态生成excel文件及解析excel文件

vector的底层模拟实现

Microservice architecture practice: Construction of highly available distributed file system fastdfs architecture

蓝牙技术|物联网的可穿戴设备新工作模式,蓝牙BLE助力新工作模式

【網絡是怎樣連接的】第六章 請求到達服務器以及響應給客戶端(完結)
随机推荐
Uniapp H5 page calls wechat payment
最长无重复子数组
阿里天池SQL学习笔记——DAY3
Ssm+ wechat applet to realize property management system
JS20 数组扁平化
Séparateur JS3 de niuke
Use of nexttile function in MATLAB
Platform management background and business menu resource management: business permissions and menu resource management design
chrome浏览器快速访问stackoverflow
OpenHarmony如何启动FA(本地和远程)
Meanings of SNAT, DNAT and masquerade in iptables
外包干了五年,废了...
Keras深度学习实战——基于VGG19模型实现性别分类
从收集到输出:盘点那些强大的知识管理工具——优秀笔记软件盘点(四)
EdgeNeXt打出了一套混合拳:集CNN与Transformer于一体的轻量级架构
AtCoder Beginner Contest 237 VP补题
HDU - 1114 Piggy Bank (full backpack)
easyswoole3.2重启不成功
VirtualLab基础实验教程-7.偏振(2)
PMS132B单片机TWS数码管蓝牙充电仓方案开发