Reference Manual
Chapter
4
IVC-2D
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
177
Communication
Read RS485 String
This tool will read a string with up to 4095 characters via port RS485. If there is no string
to read the tool waits up to the user defined time limit
Timeout
and then the program will
continue to the next step.
Note that the tool reads only up to 4095 characters at a time. If there are remaining
characters in the queue the next 4095 characters will be read the next time the tool is
executed. To ensure that the tool reads the first 4095 characters each time it is executed
the tool ‘Setup RS485’ should be inserted before ‘Read RS485 string’ to clear the queue
before a new string is transmitted.
The read string is found in the result value
Received string.
Input Parameters4
01 = Timeout
Time limit about how long the tool waits to read string
via the RS485 port.
Returned Values
01 = Received bytes
Number of received bytes.
02 = Received string
Received string.
Error Messages
Err. 407
Serial protocol
Check if a 'Setup RS485' tool was executed before
using this tool.
The Emulator does
not emulate this
tool. See section
Handling the
Emulator for more
information.