Communications Ethernet

Topic: CL234

Ethernet Port Numbers

The CLICK PLC communicates over Ethernet using the TCP and UDP protocols. The port numbers used by CLICK are listed in the table below. This information is sometimes necessary for firewalls and router NAT tables.

Application

Port Number
(decimal format)

TCP or UDP

Configurable

Modbus TCP Server

502

TCP

Yes

Modbus TCP Client

502

TCP

Yes

CLICK Programming Software

25425

UDP

No

EtherNet/IP Class 1 Implicit

2222

UDP

No

EtherNet/IP Class 3 Explicit

44818

TCP

Yes

DNS (Domain Name Server)

53

UDP

No

SNTP (Time)

123

UDP

No

DHCP

67

UDP

No

SMTP (Email)

587

TCP

Yes

MQTT

1883

TCP

Yes

Ethernet Connections

For TCP and UDP communications such as Modbus TCP and EtherNet/IP, there are limits to the number of “connections” allowed. Each connection has a cost in memory and performance. EtherNet/IP also has the concept of a “CIP” connection. The table below lists the limits for CLICK.

Application

TCP or UDP

Maximum Number of Connections

C0-1x Ethernet CPUs

C2-01CPU(-2)

C2-02CPU(-2)

C2-03CPU(-2)

Port1

Port1

WLAN

Port1

WLAN

Modbus TCP Server

TCP

3

3

3

3

3

Modbus TCP Client

TCP

4

4

4

4

4

EtherNet/IP

 

 

     

 

- TCP

TCP

2

2

 

2

 

- EtherNet/IP

TCP

2

2

 

2

 

- CIP (Common Industrial Protocol)

Both

4 (2 per TCP)

4 (2 per TCP)

 

4 (2 per TCP)

 

DNS (Domain Name Server)

UDP

 

1

1

1

1

SNTP (Time)

UDP

 

1

1

1 (Port1 or WLAN)

DHCP

UDP

1

1

1

1

1

SMTP (Email)

TCP

 

1

1

1 (Port1 or WLAN)

MQTT

TCP

 

1

1

1

1

Unless otherwise noted, connections are independent and can be simultaneous.

 

Related Topics:

EtherNet/IP Overview

EtherNet/IP Adapter Setup

CLICK Example for AB CompactLogix

CLICK Example for Productivity Series PLC

CLICK Example for the Do-more PLC

General & Extended Status EtherNet/IP Error Codes