![background image](http://html1.mh-extra.com/html/omron/sysmac-nx1p2-10-1-series/sysmac-nx1p2-10-1-series_user-manual_1633435059.webp)
Built-in EtherNet/IP port
NJ/NX-series
Controller
NTP server
Ethernet
Clock information
NTP command
Precautions for Correct Use
An NTP server is required to use automatic clock adjustment.
1-4-8
Socket Service
You can send data to and receive data from any node on Ethernet with the UDP or TCP protocol.
To send/receive data with a socket service, you execute multiple socket communications instructions
in sequence in an ST program to execute the required communications processes.
After a connection with the other communications device is opened with an open instruction, the val-
ues of the variables that are specified for the send instruction are sent and the data that was received
for a receive instruction is stored in the specified variables.
The connection is closed with a close instruction, and communications end.
For TCP, you can also read the socket status and received data.
You can use a total of 30 TCP ports and UDP ports. (A total of 60 ports for an NX102 CPU Unit)
Ethernet
Close processing
Receive processing
Send processing
Open processing
Communications processes are
performed with socket commu-
nications instructions (for UDP).
Socket
TCP/UDP
protocol
Built-in EtherNet/IP port
NJ/NX-series CPU Unit
TCP/UDP
protocol
UNIX computer or
other node with socket
service interfaces
Built-in EtherNet/IP port
ST Programming
IP
UDP
TCP
SktUDPCreate(...)
SktUDPSend(...)
SktUDPRcv(...)
SktClose(...)
NJ/NX-series CPU Unit
1 Introduction
1-25
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
1-4 Introduction to Communica-
tions Services
1
1-4-8
Socket Service
Summary of Contents for Sysmac NX1P2-10 1 Series
Page 8: ...Manual Structure 6 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 34: ...Revision History 32 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 388: ...9 Socket Service 9 34 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 430: ...12 FTP Client 12 14 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 569: ...I Index I 1 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506 I...
Page 576: ...Index I 8 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 577: ......