Bug #908
南昌line3# 发现modbus_comm_ex串口协议通讯中断或接收超时 时不能自恢复自动重新请求数据
Status:
Resolved
Priority:
High
Assignee:
lq Du
Start date:
10/14/2020
Due date:
% Done:
0%
Estimated time:
Description
南昌3#线发现modbus_comm_ex串口协议通讯中断或接收超时时不能自恢复自动重新请求数据
串口485短线后直接什么都不发了
Files
History
Updated by lq Du about 4 years ago
- Subject changed from 南昌3#线发现modbus_comm_ex串口协议通讯中断或接收超时时不能自恢复自动重新请求数据 to 南昌line3# 发现modbus_comm_ex串口协议通讯中断或接收超时 时不能自恢复自动重新请求数据
Updated by yufeng wu about 4 years ago
经查modbuscomm_ex.cpp行2040超时时间写死了5000秒
if (commstatus == CMST_RX_CNT && (nowtime - m_LastSendTime) >= 5000*)
需改为取RTU表设置的超时时间秒(不设置默认10秒)
if (commstatus == CMST_RX_CNT && (nowtime - m_LastSendTime) >= m_RcvTimeOuts)
Updated by lq Du about 4 years ago
- File Snipaste_2020-10-16_10-29-04.png Snipaste_2020-10-16_10-29-04.png added
- File Snipaste_2020-10-16_10-29-41.png Snipaste_2020-10-16_10-29-41.png added
- Status changed from New to Resolved
- Assignee set to lq Du