AdsAmsServerNetId
This property stores the NetId of the computer that the Visual Basic program with the ADS-OCX is to access.
object.AdsAmsServerNetId As String
Comment
ADS devices can be located on various computers within a network. Each computer must have a unique NetId within that network.
Enter the NetId of the computer in which the ADS device with which you want to communicate is located into this property. If this property contains an empty string, the ADS devices of the local computer are addressed. If, for instance, your Visual Basic program is always located on the same computer as the PLC, leave this property empty. This makes it easier for the Visual Basic program to be used on other computers, even when those computers have different NetIds.
The TwinCAT system control can be used to determine what NetID has been set.