EasyManua.ls Logo

Panasonic GM1 - General-Purpose Communication (Serial)

Panasonic GM1
650 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...
Transmission processing
Explanation of variables
Process
When the value is rewritten, the following processing is executed. After the execution is
completed, the variable is set to 0 (invalid value).
1 = TCP client connection processing
2 = Reception start processing
3 = T
ransmission processing
ClientAddr
The IP address of the destination unit is set.
Port
The port number of the destination unit is set.
TimeOut
A connection timeout period is set.
SendData
Data to be sent is set.
RecvBuf
Received data is stored.
RecvCount
The number of receptions is stored.
RecvSize
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 error code of each processing.
NBS_ClientError: Result of TCP client connection processing
NBS_WriteError: Result of transmission processing
NBS_ReadError: Result of reception start processing
Operation example
The TCP client connects to the TCP server.
The value of "Process" is changed to 1.
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 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.2 General-purpose Communication
WUME-GM1RTXOP-01 13-7

Table of Contents

Related product manuals