![]() |
rodbus (C API) 1.6.0-RC1
|
Address and timeout parameters for requests. More...
#include <rodbus.h>
Data Fields | |
| uint8_t | unit_id |
| Modbus address for the request. More... | |
| uint64_t | timeout |
| Response timeout for the request. It covers sending the request and receiving the response. A request that can't be sent in time fails with an I/O error, and the connection (or serial port) is closed and reopened, whatever the channel's limit on consecutive response timeouts. A response that doesn't arrive in time is a response timeout. On a serial port, the delay between frames is part of sending the request. A zero timeout is replaced by one millisecond; any other duration is used as given. More... | |
Address and timeout parameters for requests.
| uint64_t rodbus_request_param_t::timeout |
Response timeout for the request. It covers sending the request and receiving the response. A request that can't be sent in time fails with an I/O error, and the connection (or serial port) is closed and reopened, whatever the channel's limit on consecutive response timeouts. A response that doesn't arrive in time is a response timeout. On a serial port, the delay between frames is part of sending the request. A zero timeout is replaced by one millisecond; any other duration is used as given.
| uint8_t rodbus_request_param_t::unit_id |
Modbus address for the request.