ITcAdsSync

The ITcClient interface provides a client with the functionality to communicate with an ADS device.  The interface is derived from IUnknown.

IUnknown methods

Description

QueryInterface

Returns a pointer to the requested interface

AddRef

Increments the reference counter

Release

Decrements the reference counter

 

ITcAdsSync methods and properties

Description

Write

Writes a value to a variable in an ADS device as a byte stream.

Read

Reads the value of a variable from an ADS device as a byte stream.

ReadWrite

Writes a value to an ADS device and reads the result in one step.

WriteControl

Sets the state of the ADS system and device.

AddDeviceNotification

Connects a variable to the client. The client is indicated by an event.

DelDeviceNotification

Removes the connection of a variable.

ReadDeviceInfo

Reads device information from the ADS device.

ReadState

Reads the state of the ADS device.

Timeout

Sets the time after which the client receives a timeout warning from all other ADS commands.