ITcAdsServiceDuplex.ReadDeviceInfo

Reads the identification and version number of an ADS server.

DeviceInfo ReadDeviceInfo ( 
    string netId, 
    int port 
);

Parameters

netId

NetID of the target AMS Router.

port

Port of the target AMS Router.

Return Value

DeviceInfo struct containing the name of the device and the version information.

SOAP Error Faults

Type

Description

AdsErrorFault

The AdsErrorFault is returned if an AdsException is thrown by a TcAdsClient object in a method of the TwinCAT ADS WCF service.

AdsErrorErrorFault

The AdsErrorErrorFault is returned if an AdsErrorException is thrown by a TcAdsClient object in a method of the TwinCAT ADS WCF service.

UnexpectedErrorFault

The UnexpectedErrorFault is returned if an unexpected Error occurs.

See Also

ITcAdsServiceDuplex Interface