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

CPU or Option Slot Modules

Port Number
(decimal format)

TCP or UDP

Configurable

On by Default

Modbus TCP Server

CPU

502

TCP

Yes

Yes

Modbus TCP Client

CPU

502

TCP

Yes

Yes

CLICK Programming Software

Both

25425

UDP

No

Yes

EtherNet/IP Class 1 Implicit

CPU

2222

UDP

No

No

EtherNet/IP Class 3 Explicit

CPU

44818

TCP

Yes

No

DNS (Domain Name Server)

Both

53

UDP

No

Yes

SNTP (Time)

Both

123

UDP

No

No

DHCP

Both

67

UDP

No

Yes

SMTP(s) (Email)

CPU

587

TCP

Yes

No

STARTTLS (Email)

CPU

465

TCP

Yes

No

MQTT

CPU

1883

TCP

Yes

No

NodeRED

Slot

1880

TCP

Yes

No

OPCUA

Slot

4840

TCP

Yes

No

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