AmsPort Enumeration

Ams Ports Definitions.


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public enum AmsPort

Members

Member name

Value

Description

UNFIXEDPORT

0

UNFIXEDPORT / Uninitialized

Router

1

AMS Router (Port 1)

Debugger

2

AMS Debugger (Port 2)

R0_TComServer

10

The TCom Server. Dpc or passive level.

R0_TComServerTask

11

TCom Server Task. RT context.

R0_TComServer_PL

12

TCom Serve Task. Passive level.

R0_TcDebugger

20

TwinCAT Debugger

R0_TcDebuggerTask

21

TwinCAT Debugger Task

R0_LicenseServer

30

The License Server (Port 30)

Logger

100

Logger (Port 100)

EventLog

110

Event Logger (Port 110)

DeviceApplication

120

application for coupler (EK), gateway (EL), etc.

EventLog_UM

130

Event Logger UM

EventLog_RT

131

Event Logger RT

EventLogPublisher

132

Event Logger Publisher

R0_Realtime

200

R0 Realtime (Port 200)

R0_Trace

290

R0 Trace (Port 290)

R0_IO

300

R0 IO (Port 300)

R0_NC

500

NC (R0) (Port 500)

R0_NCSAF

501

R0 Satzausführung (Port 501)

R0_NCSVB

511

R0 Satzvorbereitung (Port 511)

R0_NCINSTANCE

520

Preconfigured Nc2-Nc3-Instance

R0_ISG

550

R0 ISG (Port 550)

R0_CNC

600

R0 CNC (Port 600)

R0_LINE

700

R0 Line (Port 700)

R0_PLC

800

R0 PLC (Port 800)

Tc2_Plc1

801

PLC runtime on Port 801 (TwinCAT 2, Runtime System 1)

PlcRuntime_801

801

PLC runtime on Port 801 (TwinCAT 2, Runtime System 1)

Tc2_Plc2

811

PLC runtime on Port 811 (TwinCAT 2, Runtime System 2)

PlcRuntime_811

811

PLC runtime on Port 811 (TwinCAT 2, Runtime System 2)

Tc2_Plc3

821

PLC runtime on Port 821 (TwinCAT 2, Runtime System 3)

PlcRuntime_821

821

PLC runtime on Port 821 (TwinCAT 2, Runtime System 3)

Tc2_Plc4

831

PLC runtime on Port 831 (TwinCAT 2, Runtime System 4)

PlcRuntime_831

831

PLC runtime on Port 831 (TwinCAT 2, Runtime System 4)

R0_RTS

850

R0 RTS (Port 850)

PlcRuntime_851

851

PLC runtime on Port 851 (TwinCAT 3)

PlcRuntime_852

852

PLC runtime on Port 852 (TwinCAT 3)

PlcRuntime_853

853

PLC runtime on Port 853 (TwinCAT 3)

PlcRuntime_854

854

PLC runtime on Port 854 (TwinCAT 3)

PlcRuntime_855

855

PLC runtime on Port 855 (TwinCAT 3)

PlcRuntime_856

856

PLC runtime on Port 856 (TwinCAT 3)

PlcRuntime_857

857

PLC runtime on Port 857 (TwinCAT 3)

PlcRuntime_858

858

PLC runtime on Port 858 (TwinCAT 3)

PlcRuntime_859

859

PLC runtime on Port 859 (TwinCAT 3)

PlcRuntime_860

860

PLC runtime on Port 860 (TwinCAT 3)

CamshaftController

900

Camshaft Controller (R0) (Port 900)

R0_CAMTOOL

950

R0 CAM Tool (Port 950)

R0_USER

2,000

R0 User (Port 2000)

SystemService

10,000

System Service (AMSPORT_R3_SYSSERV, 10000)

R3_CTRLPROG

10,000

(Port 10000)

R3_SYSCTRL

10,001

(Port 10001)

R3_SYSSAMPLER

10,100

Port 10100

R3_TCPRAWCONN

10,200

Port 10200

R3_TCPIPSERVER

10,201

Port 10201

R3_SYSMANAGER

10,300

Port 10300

R3_SMSSERVER

10,400

Port 10400

R3_MODBUSSERVER

10,500

Port 10500

R3_AMSLOGGER

10,502

Port 10502

R3_XMLDATASERVER

10,600

Port 10600

R3_AUTOCONFIG

10,700

Port 10700

R3_PLCCONTROL

10,800

Port 10800

R3_FTPCLIENT

10,900

Port 10900

R3_NCCTRL

11,000

Port 11000

R3_NCINTERPRETER

11,500

Port 11500

R3_GSTINTERPRETER

11,600

Port 11600

R3_STRECKECTRL

12,000

Port 12000

R3_CAMCTRL

13,000

Port 13000

R3_SCOPE

14,000

Port 14000

R3_CONDITIONMON

14,100

Port 14100

R3_SINECH1

15,000

Port 15000

R3_CONTROLNET

16,000

Port 16000

R3_OPCSERVER

17,000

Port 17000

R3_OPCCLIENT

17,500

Port 17500

R3_MAILSERVER

18,000

Port 18000

R3_EL60XX

19,000

Port 19000

R3_MANAGEMENT

19,100

Port 19100

R3_MIELEHOME

19,200

Port 19200

R3_CPLINK3

19,300

Port 19300

R3_VNSERVICE

19,500

Port 19500

MultiUser

19,600

Multiuser (Port 19600)

R3_NI845X

19,700

(AMSPORT_R3_NI845X,19700)

HmiServer

19,800

(AMSPORT_R3_HMISERVER,19800)

UserModeRuntime

20,000

(AMSPORT_R3_UMRUNTIME,20000)

USEDEFAULT

65,535

Use default port

Remarks

The AmsPort enumeration defines the pre-occupied port numbers for Beckhoff AmsServers. Additionally the free areas for custom AmsServers are defined here.

Port Range

Description

1 .. 24999 (0x01 .. 0x61A7)

Internally Reserved for Beckhoff AMS Servers.

CUSTOMER_FIRST (25000, 0x61A8) <= PORT <= CUSTOMER_LAST (25999, 658F)

Reserved for Customer use. Don't forget to register your port at Beckhoff to prevent Port conflicts with other released AmsServers.

CUSTOMERPRIVATE_FIRST (26000, 0x6590) <= PORT <= CUSTOMERPRIVATE_LAST (26999, 6977)

Reserved for Customer private use. Private use means that AMSServers with this port never leave the customer private network and the customer is responsible by himself to prevent port conflicts in this area.

32768 .. PORT_LAST (65534) (0x8000 .. 0xFFFE)

Dynamic ports used for AMSServers defined with UNFIXEDPORT. This is used by AdsClients which are in fact an AMSServer with dynamic port.

Reference

TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026