AmsNetIdChangeSubAddress(AmsNetId, Byte, Byte) Method

Creates a new AmsNetId from an existing one with changed SubNet IDs


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

Syntax

C#

public static AmsNetId ChangeSubAddress(
    AmsNetId netId,
    byte b5,
    byte b6
)

Parameters

netId  AmsNetId

The source NetId.

b5  Byte

Byte 5 of the AmsNetId.

b6  Byte

Byte 6 of the AmsNetId.

Return Value

AmsNetId
AmsNetId.

Reference

AmsNetId Class ChangeSubAddress Overload TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026