RS232 timeout

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

RS232 timeout

Post by Jan Lichtenbelt »

Where can I find information about RS232 timeout. What is the meaning, what are realistic/advised numbers?

Kind regards

Jan Lichtenbelt

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: RS232 timeout

Post by Benj »

Hi Jan,

There are two settings for the timeout available from the RS232 component properties.

Legacy - Timeout is based on a number of iterations, delay is clock speed dependent.
Millisecond - Timeout is based in milliseconds, delay is clock speed independent.

If a byte is received during the timeout period then the macro will return immediately with the data.

If a timeout period of 255 is used then the macro will wait forever for valid data.

This info applies to both hardware and software UARTs.

Post Reply