Overview of Protocols, Sockets \ and Ports

Protocol Port Sockets
ABB netConfig 24576 1 permanent socket per interface
3S gateway client (e.g. IEC 61131-3 editor) to gateway server 1217 1 permanent socket
Online access with driver 3S UDP BlkDrvUdp (with scan) 1740 1 socket per connection + 4 listen
Online access with driver 3S Block Driver TCP/IP (no scan) 11740 1 socket per connection + 1 listen
MODBUS TCP server 502 or configurable 1 socket listen + 1 socket per server connection, number of server connections is configurable in AB
MODBUS TCP client with POU ETHx_MOD_MAST Random 1 socket per connection with POU ETHx_MOD_MAST
UDP out of user program with library SysLibSockets.lib 1 … 65535 1 socket per connection
TCP/IP out of user program with library SysLibSockets.lib 1 … 65535 1 socket per connection
Web server on PLC with web visualization 80 1 listen and 1 per connection
SNTP client 123 1 permanent socket
IEC60870-5-104 control station Random 1 per connection
IEC60870-5-104 substation 2404 1 per connection
FTP server (see FTP Server Configuration: Configuration of FTP Server

Command port = 21

Data active mode = 20

Data passive mode = random

1 per session, max. 4 allowed
IEC 61131-3 editor network variables 1202 (UDP broadcast)
OPC DA server (default 3S block driver)

UDP = 1740 or

TCP/IP =11740

1 socket per connection
OPC UA server 4840 1 permanent socket
ICMP – ping out of user project with POU ETHx_ICMP_PING DHCP none No socket
DHCP 67 1 socket during startup
SNTP (Simple Network Time Protocol) client system solution (see SNTP Client Configuration: SNTP Client Configuration 123 1 permanent socket
SNTP (Simple Network Time Protocol) server system solution (see SNTP Server Configuration: SNTP Server Configuration 123 1 permanent socket
HTTPS – secure web server on PLC with IEC 61131-3 editor web visualization (see Secure Web Server: Secure Web Server 443 1 listen and 1 per connection
FTPS – secure FTP (see Secure FTP: Secure FTP

Command port = 21

Data active mode = 20

Data passive mode = random

1 per session, max. 4 allowed
Secure Online access with driver 3S UDP BlkDrvUdp 1740 1 socket per connection + 1 listen
Secure Online access with driver 3S TCP/IP BlkDrvTcp 11740 1 socket per connection + 1 listen
ICMP – ping out of user project with POU ETHx_ICMP_PING or EthIcmpPing (PLCopen style) None No socket
MODBUS TCP client (master) with POU ETHx_MOD_MAST or ModTcpMast (PLCopen style) Random 1 socket per connection with POU ETHx_MOD_MAST or ModTcpMast