RS232 interface in transparent
mode (COM 1/2/3)
12/14 MN05003004Z-EN
64
“SysComRead” function
Data received via the RS232 interface in transparent mode can be
read with this function.
Table 17: Parameters of the “SysComRead” function
Figure 92: SysComRead function
dwHandle
Return value of the “SysComOpen” function
SysComClose
Return value TRUE: Closing of the RS232 interface was successful
dwBufferAddress
Address under which the read data is stored
dwBytesToRead
Limitation of the max. number of data bytes
(COM 1: max. 190 bytes; COM 2 + 3: max. 250 bytes)
dwTimeout
Parameter without meaning
SysComRead
Return value: Informs you about the number of read data bytes.
h
Caution!
Test of the buffer address or the buffer size does not occur!
Summary of Contents for XC-CPU101 Series
Page 18: ...II...
Page 22: ...12 14 MN05003004Z EN 4...
Page 42: ...12 14 MN05003004Z EN 24...
Page 64: ...12 14 MN05003004Z EN 46...
Page 88: ...12 14 MN05003004Z EN 70...