GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MODBUS_SET_BYTE_TIMEOUT (3)

.ds Aq ’

NAME

modbus_set_byte_timeout - set timeout between bytes

CONTENTS

SYNOPSIS

void modbus_set_byte_timeout(modbus_t *ctx, struct timeval *timeout);

DESCRIPTION

The modbus_set_byte_timeout() function shall set the timeout interval between two consecutive bytes of the same message. If the delay between is longer than the given timeout, an error will be raised.

If the timeout value has a tv_sec of -1 then this timeout will not be used at all. This results in modbus_set_response_timeout governing the entire timeout duration of an operation.

RETURN VALUE

The function shall return 0 if successful. Otherwise it shall return -1 and set errno.

SEE ALSO

modbus_get_byte_timeout(3) modbus_get_response_timeout(3) modbus_set_response_timeout(3)

AUTHORS

The libmodbus documentation was written by St\(&#146;ephane Raimbault <\m[blue]stephane.raimbault@gmail.com\m[][1]>

NOTES

1. stephane.raimbault@gmail.com  mailto:stephane.raimbault@gmail.com
Search for    or go to Top of page |  Section 3 |  Main Index


libmodbus 3&.1&.0 MODBUS_SET_BYTE_TIME (3) 10/06/2013

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.