AmsPortRange Enumeration

Defines ranges of AmsPorts.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public enum AmsPortRange

Members

 

Member name

Value

Description

PORT_FIRST

1

Defines the first valid port.

PORT_LAST

65534

Defines the last valid port (0xFFFE, 65534)

S7COMM_FIRST

20100

(AMSPORT_R3_S7COMM_FIRST,20100)

S7COMM_LAST

20199

(AMSPORT_R3_S7COMM_LAST,20199)

CUSTOMER_FIRST

25000

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

CUSTOMER_LAST

25999

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

CUSTOMERPRIVATE_FIRST

26000

First usable port for private networks (0x6590)

CUSTOMERPRIVATE_LAST

26999

Last usable port for private networks (0x6977)

Reference

TwinCAT.Ads Namespace