Basic Knowledge On Socket Communications; Sockets; Port Numbers For Socket Services - Omron NY532-5400 User Manual

Ny-series ipc machine controller industrial panel pc / industrial box pc
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

9 Socket Service
9-1
Basic Knowledge on Socket
Communications
9-1-1

Sockets

A socket is an interface that allows you to directly use TCP or UDP functions from the user program. In
a host computer (e.g., personal computer), sockets are provided in the form of a C language interface
library. If you load the library, you can program communications via TCP and UDP in the user program.
In a UNIX computer, a socket interface is provided in the format of system calls. For the built-in Ether-
Net/IP port, you execute instructions in the user program to use sockets. You can use these communi-
cations services to send and receive any data to and from remote nodes, i.e., between host computers
and Controllers or between Controllers. The built-in EtherNet/IP port provides a UDP socket service
and a TCP socket service.
9-1-2

Port Numbers for Socket Services

Ports 0 to 1023 used for TCP/IP are reserved as well-known ports . In addition, ports 1024 to 49151 are
reserved as registered ports by the protocols that are used. Therefore, we recommend that you use
port numbers 49152 to 65535 for applications other than the protocols that are registered with the
socket service.
You cannot specify port number 0 for the built-in EtherNet/IP port. Also, make sure that the following
ports, which are used by the built-in EtherNet/IP port, are not used for other purposes.
Application
FTP server
DNS
BOOTP client
HTTP server
NTP server
SNMP Agent
SNMP trap
UDP
TCP
Used by system.
CIP messages
* These are the default port numbers. You can change the port numbers in the settings.
9-2
---
53
68
---
123*
161*
162*
9600
---
2222, 2223, and 2224
44818
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (W563)
UDP
20, 21*
---
---
80
---
---
---
---
9600*
9610, 9900
44818
TCP

Advertisement

Table of Contents
loading

Table of Contents