SendBufLen
The length of data to be sent is set.
RecvBuf
The buf
fer to store received data is set.
ReadBufLen
The length of receiver buffer is set.
ReadSize
The size of received data is stored.
Result
The result of processing execution is stored. (TRUE: Error occurrence, FALSE: Normal
termination)
If the result of processing execution is abnormal, check the following error code.
● ComErr: COM processing result
Operation example
Serial port is opened.
● The value of "Process" is changed to 1.
Received data is read.
● The value of "Process" is changed to 2.
10-byte data is sent.
● The value of "Process" is changed to 3.
Serial port is closed.
● The value of "Process" is changed to 4.
Declaration section (common to ST and LD programming languages)
13.2 General-purpose Communication
WUME-GM1RTXOP-01 13-21