Commit 31379b26 authored by root's avatar root

Modbus TCP bugfix in scaninterval

parent f3924217
......@@ -355,6 +355,10 @@ pwr_tStatus mb_send_data(io_sRackLocal *local,
}
local_card = cardp->Local;
if ( mp->ScanInterval > 1 && local_card->interval_cnt != 0) {
cardp = cardp->next;
continue;
}
if (mask & mb_mSendMask_ReadReq) {
switch (mp->FunctionCode) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment