ITcAdsServiceDuplex.Write8

Writes data to an ADS device.

void Write8(
    string netId,
    int port,
    long indexGroup,
    long indexOffset);

Parameters

netId

NetID of the target AMS Router.

port

Port of the target AMS Router.

indexGroup

Contains the index group number of the requested ADS service.

indexOffset

Contains the index offset number of the requested ADS service.

SOAP Error Faults

Requirements

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