IF (SktUDPSend_instance.Done=TRUE) THEN
ELSIF (SktUDPSend_instance.Error=TRUE) THEN
END_IF;
3 :
SktUDPRcv_instance(
IF (SktUDPRcv_instance.Done=TRUE) THEN
ELSIF (SktUDPRcv_instance.Error=TRUE) THEN
END_IF;
4 :
SktClose_instance(
IF (SktClose_instance.Done=TRUE) THEN
ELSIF (SktClose_instance.Error=TRUE) THEN
END_IF;
0 :
DoSendAndRcv:=FALSE;
Trigger
ELSE
DoSendAndRcv:=FALSE;
Trigger
END_CASE;
END_IF;
NY-series Instructions Reference Manual (W560)
Stage:=INT#3;
// Normal end
Stage:=INT#20;
// Error end
// Request receiving data.
Execute:=TRUE,
Socket :=WkSocket,
TimeOut:=UINT#0,
Size
:=UINT#2000,
RcvDat :=RcvSocketDat[0]);
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
// Timeout time
// Receive data size
// Receive data
// Socket
// Normal end
// Error end
2 Instruction Descriptions
2-1049
2