13.2 General-purpose Communication
RecvBuf
Received data is stored.
RecvCount
The number of receptions is stored.
RecvPort
The port that received data is stored.
RecvSize
The size of received data is stored.
RecvIpAddr
The IP address of the received data destination 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 error code of each processing.
● NBS_PeerError: Result of port open processing
● NBS_RecError: Result of reception start processing
● NBS_ReadError: Result of transmission processing
Operation example
The port is opened and the local unit is ready to receive data. In this state, the local unit can
receive data from the destination unit.
● The value of "Process" is changed from 1 to 2.
The local unit sends data to the destination unit. 10-byte data is sent to the destination unit.
● The value of "Process" is changed to 3.
13-16
WUME-GM1RTXOP-01