ADS-Write

The ADS-Write block is a polymorphic VI and supports the following ADS communication modes to write data to TwinCAT:

For ADS-Write only one parameter is relevant, which can be set in the Symbol Interface and that is the parameter Timeout.

Sync Single

In this operation mode, the ADS client in LabVIEW™ sends a write request with the type-resolved ADS value to the ADS server in TwinCAT and waits for a response as to whether the value has been written.

ADS-Write 1:

Input/output

Meaning

[0] Handle

Handle to the ADS client

[5] SymbolName

ADS symbol consisting of AMSNetId and symbol name

[9] Ads Write Data

Type-resolved ADS value

[4] Handle

Handle to the ADS client

[6] SymbolName

ADS symbol consisting of AMSNetId and symbol name

[8] Write Status

Write status

Async Single

In this operation mode the ADS client in LabVIEW™ sends a write request with the type-resolved ADS value to the ADS server in TwinCAT and does not wait for a response whether the value has been written.

ADS-Write 2:

Input/output

Meaning

[0] Handle

Handle to the ADS client

[5] SymbolName

ADS symbol consisting of AMSNetId and symbol name

[9] Ads Write Data

Type-resolved ADS value

[4] Handle

Handle to the ADS client

[6] SymbolName

ADS symbol consisting of AMSNetId and symbol name

[8] Write Status

Write status

[10] WriteHandle

Handle to the ADS Writer