AdsConnection.Write Method (UInt32, UInt32, ReadOnlyMemory.Byte., Int32)

Writes data synchronously to an ADS device.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public void Write(
    uint indexGroup,
    uint indexOffset,
    ReadOnlyMemory<byte> writeBuffer,
    int timeout
)

Parameters

indexGroup

Type: System.UInt32
The index group number of the requested ADS service.

indexOffset

Type: System.UInt32
The index offset number of the requested ADS service.

writeBuffer

Type: System.ReadOnlyMemory.Byte.
The write buffer.

timeout

Type: System.Int32
The timeout.

Implements

IAdsReadWriteTimeoutAccess.Write(UInt32, UInt32, ReadOnlyMemory.Byte., Int32)

Reference

AdsConnection Class

Write Overload

TwinCAT.Ads Namespace