TcAdsClient.Write Method (Int32, Int32)

Trigger Client Method/Command.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public void Write(
    int indexGroup,
    int indexOffset
)

VB

Public Sub Write ( 
    indexGroup As Integer,
    indexOffset As Integer
)

Parameters

indexGroup

Type: System.Int32
Contains the index group number of the requested ADS service.

indexOffset

Type: System.Int32
Contains the index offset number of the requested ADS service.

Exceptions

Exception

Condition

AdsErrorException

Thrown when the ADS call fails.

Remarks

This method is used to trigger Client Methods/Commands without parameters.

Reference

TcAdsClient Class

Write Overload

TwinCAT.Ads Namespace