MODBUS Communications Driver - Functions
begins to arrive, the control uses the Character Timeout value to detect when the incoming message is complete.
If no incoming message begins arriving during the time specified by the Frame Timeout value, the DLL returns a Timeout Error.
This example sets the Character Timeout to 30 milliseconds and the Frame Timeout to 4000 milliseconds (4 seconds). This means that the Driver will wait up to 4 seconds for an incoming frame to begin (either in response to an outgoing command, or when waiting for an unsolicited incoming command). Once the frame has begun to arrive, any pause of 30 milliseconds or more will mark the end of the frame.
June 6, 1998