EasyManua.ls Logo

Omron NX102-12 Series

Omron NX102-12 Series
578 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...
SktTCPSend_instance(
Execute :=TRUE,
Socket :=WkSocket, // Socket
SendDat :=SendSocketDat[0], // Send data
Size :=UINT#2000); // Send data size
IF (SktTCPSend_instance.Done=TRUE) THEN
Stage :=INT#4; // Normal end
ELSIF (SktTCPSend_instance.Error=TRUE) THEN
Stage :=INT#30; // Error end
END_IF;
4 : // Request to close the
socket
SktClose_instance(
Execute :=TRUE,
Socket :=WkSocket); // Socket
IF (SktClose_instance.Done=TRUE) THEN
Stage :=INT#0; // Normal end
ELSIF (SktClose_instance.Error=TRUE) THEN
Stage :=INT#40; // Error end
END_IF;
0 : // Normal end
DoTCP :=FALSE;
Trigger :=FALSE;
ELSE // Interrupted by error
DoTCP :=FALSE;
Trigger :=FALSE;
END_CASE;
END_IF;
9 Socket Service
9-28
NJ/NX-series CPU Unit Built-in EtherNet/IP Port Users Manual (W506)

Table of Contents

Related product manuals