Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
IF (SktUDPRcv_instance.Done=TRUE) THEN
ELSIF (SktUDPRcv_instance.Error=TRUE) THEN
END_IF;
3 :
WkSocket.DstAdr.PortNo:=UINT#6000;
WkSocket.DstAdr.IpAdr :='192.168.250.1';
SktUDPSend_instance(
IF (SktUDPSend_instance.Done=TRUE) THEN
ELSIF (SktUDPSend_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;
2-1052
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)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents