We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi! i set the timeout modbus_set_response_timeout(pObj->m_modbus, 0,200* 1000); //timeout=200ms but the result turn out is 400ms
this is my code
LOG(WARNING) << "#######################开始读取"<< "modbusid_cur= " << modbusid_cur; ret = modbus_read_registers(pObj->m_modbus, item->second.address(), 8, checkbuff); LOG(WARNING) << "#######################结束读取" << "modbusid_cur= " << modbusid_cur ;
this is my log
2021-11-26 10:39:45,317 #######################开始读取modbusid_cur= 2 slave_id_cur= 2 2021-11-26 10:39:47,719 #######################结束读取modbusid_cur= 2 slave_id_cur= 2
<#define LIBMODBUS_VERSION 3.1.6>
< Linux>
<e.g. CPU architecture,64 bit...>
<The set response timeout is 200ms, but the actual time is 400ms>
The text was updated successfully, but these errors were encountered:
same problem for me. have u solved it ? could u tell me?
Sorry, something went wrong.
No branches or pull requests
hi!
i set the timeout
modbus_set_response_timeout(pObj->m_modbus, 0,200* 1000); //timeout=200ms
but the result turn out is 400ms
this is my code
this is my log
libmodbus version
<#define LIBMODBUS_VERSION 3.1.6>
OS and/or distribution
< Linux>
Environment
<e.g. CPU architecture,64 bit...>
Description
<The set response timeout is 200ms, but the actual time is 400ms>
The text was updated successfully, but these errors were encountered: