AmsPortRange Enumeration

Defines ranges of AmsPorts.


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

Syntax

C#

public enum AmsPortRange

Members

Member name

Value

Description

PORT_FIRST

1

Defines the first valid port.

S7COMM_FIRST

20,100

(AMSPORT_R3_S7COMM_FIRST,20100)

S7COMM_LAST

20,199

(AMSPORT_R3_S7COMM_LAST,20199)

CUSTOMER_FIRST

25,000

First usable port for customer R3 ADS Servers (AMSPORT_R3_CUSTOMER_FIRST,25000, 0x61A8)

CUSTOMER_LAST

25,999

Last usable port for customer R3 ADS Servers (AMSPORT_R3_CUSTOMER_LAST,25999,0x658F)

CUSTOMERPRIVATE_FIRST

26,000

First usable port for private networks (0x6590)

CUSTOMERPRIVATE_LAST

26,999

Last usable port for private networks (0x6977)

PORT_LAST

65,534

Defines the last valid port (0xFFFE, 65534)

Reference

TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026