ITcAdsServiceDuplex.WriteControl1

Changes the ADS status and the device status of an ADS server.

 void WriteControl1 ( 
    string netId, 
    int port,
    StateInfo stateInfo 
);

Parameters

netId

NetID of the target AMS Router.

port

Port of the target AMS Router.

stateInfo

New ADS status and device status.

SOAP Error Faults

Requirements

Type

Description

 

AdsErrorFaulthe 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