Automatic Clock Adjustment; Socket Service - Omron sysmac NX102-9 Series Owner's Manual

Machine automation controller, cpu unit built-in ethernet/iptm port
Table of Contents

Advertisement

1 Introduction
1-4-7

Automatic Clock Adjustment

With the built-in EtherNet/IP port, clock information is read from the NTP server at the specified time or
at a specified interval after the power supply to the CPU Unit is turned ON. The internal clock time in the
CPU Unit is updated with the read time.
NTP server
NTP command
Clock information
NJ/NX-series
Controller
Precautions for Correct Use
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 values of the variables
that are specified for the send instruction are sent and the data that was received for a receive instruc-
tion is stored in the specified variables. The connection is closed with a close instruction, and communi-
cations 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)
NJ/NX-series CPU Unit
TCP/UDP
protocol
Built-in EtherNet/IP port
1-22
Ethernet
Built-in EtherNet/IP port
UNIX computer or
other node with socket
service interfaces
Ethernet
Built-in EtherNet/IP port
TCP/UDP
protocol
ST Programming
SktUDPCreate(...)
SktUDPSend(...)
SktUDPRcv(...)
SktClose(...)
NJ/NX-series CPU Unit
Communications processes are
performed with socket commu-
nications instructions (for UDP).
Open processing
Send processing
Receive processing
Close processing
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)

Advertisement

Table of Contents
loading

Table of Contents