AmsNetIdNetIdsEqual(Byte, Byte, Boolean) Method
Compares the NetIds for SubID equality.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public static bool NetIdsEqual(
byte[] netId1,
byte[] netId2,
bool ignoreSubID
)Parameters
|
netId1 Byte |
NetID1 |
|
netId2 Byte |
NetId2 |
|
ignoreSubID Boolean |
Ignores the SubId part of the NetId (last 2 numbers/bytes). |
Return Value
Boolean
true if the SubIds are equal,
false otherwise.
Remarks
The first 4 numbers indicate the global ID of the AmsNetId. The last 2 numbers indicate the (local) submodule.
Reference
AmsNetId Class NetIdsEqual Overload TwinCAT.Ads Namespace
Beckhoff Automation GmbH & Co. KG 2001-2026