ITcAdsServiceSimplex

The ITcAdsServiceSimplex interface provides access to the features which are available with the simplex endpoints of the TwinCAT Ads WCF Service.

Methods and Properties

ITcAdsServiceSimplex Methods

Description

Read1

Reads data from an ADS device and writes it to the given byte array reference.

Read2

Reads data from an ADS device and writes it to the given byte array reference.

Read3

Reads data from an ADS device and writes it to the given byte array reference.

ReadDeviceInfo

Reads the identification and version number of an ADS server.

ReadState

Reads the ADS status and the device status from an ADS server.

ReadWrite1

Writes data to an ADS device and then reads data from this device.

ReadWrite2

Writes data to an ADS device and then reads data from this device.

ReadWrite3

Writes data to an ADS device and then reads data from this device.

ReadWrite4

Writes data to an ADS device and then reads data from this device.

TryReadState

Reads the ADS status and the device status from an ADS server. Unlike the ReadState method this method does not call an exception on failure. Instead an AdsErrorCode is returned. If the return value is equal to AdsErrorCode.NoError the call was successfull.

Write1

Writes data to an ADS device.

Write2

Writes data to an ADS device.

Write3

Writes data to an ADS device.

Write4

Writes data to an ADS device.

Write5

Writes data to an ADS device.

Write6

Writes data to an ADS device.

Write7

Writes data to an ADS device.

Write8

Writes data to an ADS device.

WriteControl1

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

WriteControl2

Writes the passed object value to the specified ADS symbol.The parameter type must have the same layout as the ADS symbol.