EasyManua.ls Logo

Moeller XC-CPU101-C64K-8DI-6DO - SysComReadControl Function

Moeller XC-CPU101-C64K-8DI-6DO
82 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RS232 interface in transparent
mode (COM 1/2/3)
03/05 AWB2724-1453G
64
“SysComRead” function
Data received via the RS232 interface in transparent mode can be
read with this function.
Table 16: Parameters of the “SysComRead” function
Figure 91: SysComRead function
dwHandle
Return value of the “SysComOpen” function
SysComClose Return value TRUE: closing 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 Parameters without meaning
SysComRead Return value: Informs you about the number of read data bytes.
h
Important
Test of the buffer address or the buffer size does not occur!

Table of Contents

Related product manuals