Skip to content

Commit

Permalink
bugfix for modbus tcp
Browse files Browse the repository at this point in the history
  • Loading branch information
salhk committed Sep 22, 2023
1 parent 227dd07 commit 8aeb728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modbus/modbus.tbs
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ sub modbus_queue_clear()
end sub

sub modbus_queue_add(request_item as modbus_request_item)
if request_item.protocol=modbus_RTU then
if request_item.protocol=modbus_TCP then
sock.num=request_item.interface_number
if sock.statesimple <> PL_SSTS_EST then
exit sub
Expand Down

0 comments on commit 8aeb728

Please sign in to comment.