set timeout for response
modbus_setTimeout(mbc, timeout)
The Modbus connection created with modbus_newTcp or modbus_newRtu.
The timeout value in ms.
Set the timeout interval used to wait for a response. If the waiting before receiving the response is longer than the given timeout, an error will be raised.