2 Instruction Descriptions
IF (SktTCPRcv_instance.Done=TRUE) THEN
ELSIF (SktTCPRcv_instance.Error=TRUE) THEN
END_IF;
3 :
SendSocketDat:=RcvSocketDat;
SktTCPSend_instance(
IF (SktTCPSend_instance.Done=TRUE) THEN
ELSIF (SktTCPSend_instance.Error=TRUE) THEN
END_IF;
4 :
SktClose_instance(
IF (SktClose_instance.Done=TRUE) THEN
ELSIF (SktClose_instance.Error=TRUE) THEN
END_IF;
0 :
DoTCP
Trigger:=FALSE;
ELSE
DoTCP
Trigger:=FALSE;
END_CASE;
END_IF;
2-1070
Stage:=INT#3;
// Normal end
Stage:=INT#20;
// Error end
// Request sending data.
Execute:=TRUE,
Socket :=WkSocket,
SendDat:=SendSocketDat[0], // Send data
Size
:=UINT#2000);
Stage:=INT#4;
// Normal end
Stage:=INT#30;
// Error end
// Request closing.
Execute:=TRUE,
Socket :=WkSocket);
Stage:=INT#0;
Stage:=INT#40;
// Normal end
:=FALSE;
// Interrupted by error.
:=FALSE;
// Socket
// Send data size
// Socket
// Normal end
// Error end
NY-series Instructions Reference Manual (W560)