Nj-Series Instructions Reference Manual (W502 - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
Table of Contents

Advertisement

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

NJ-series Instructions Reference Manual (W502)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents