当前位置:网站首页>Modbus protocol communication exception
Modbus protocol communication exception
2022-07-06 05:10:00 【@@Mr.Fu】
List of articles
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
边栏推荐
- Nacos - TC Construction of High available seata (02)
- Can the feelings of Xi'an version of "Coca Cola" and Bingfeng beverage rush for IPO continue?
- ByteDance program yuan teaches you how to brush algorithm questions: I'm not afraid of the interviewer tearing the code
- The video in win10 computer system does not display thumbnails
- flutter 实现一个有加载动画的按钮(loadingButton)
- Oracle query table index, unique constraint, field
- Postman assertion
- 饼干(考试版)
- Zynq learning notes (3) - partial reconfiguration
- Set detailed map + interview questions
猜你喜欢
IPv6 comprehensive experiment
Idea one key guide package
【LGR-109】洛谷 5 月月赛 II & Windy Round 6
Codeforces Round #804 (Div. 2)
[数学建模] 微分方程--捕鱼业的持续发展
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
The underlying structure of five data types in redis
Application of Flody
Review of double pointer problems
浅谈镜头滤镜的类型及作用
随机推荐
Cve-2019-11043 (PHP Remote Code Execution Vulnerability)
ORM aggregate query and native database operation
Nacos - TC Construction of High available seata (02)
acwing周赛58
2021 RoboCom 世界机器人开发者大赛-本科组(复赛)
Postman test report
[NOIP2008 提高组] 笨小猴
Oracle query table index, unique constraint, field
MySQL time processing
Orm-f & Q object
Imperial cms7.5 imitation "D9 download station" software application download website source code
驱动开发——HelloWDM驱动
[buuctf.reverse] 159_[watevrCTF 2019]Watshell
几种RS485隔离通讯的方案介绍
In 2022, we must enter the big factory as soon as possible
Why does MySQL need two-phase commit
Microblogging hot search stock selection strategy
The underlying structure of five data types in redis
Simple understanding of interpreters and compilers
Postman测试报告