X hits on this document

133 views

0 shares

0 downloads

0 comments

22 / 37

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.

EXAMPLE

MB_SetDelays(30, 4000);

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.

Page 14

June 6, 1998

Revision 2.210

Document info
Document views133
Page views135
Page last viewedSat Jan 21 19:42:06 UTC 2017
Pages37
Paragraphs781
Words6172

Comments