Ads_lib C_AdsClient - BASG-Support/TwinCAT_3_Lib GitHub Wiki

##C_ADSCLIENT

##Class: ADS Client

###Summary

A wrapper function block for common ADS function blocks in the PLC. Useful for inter-controller communication over TCP/IP.

Usage:

cClient : C_ADSCLIENT;

cClient.NET_ID := '192.168.1.1.1.1;'

cClient.PORT := 851; //Default TC3 runtime 1

cClient.Create_Handle('plcvariablename', ADR(handle));

cClient.Read_By_Handle(handle, readlength, ADR(buffer));

cClient.Release_Handle(handle);

###More Info

[Methods](Ads_lib C_AdsClient Methods)

[Properties](Ads_lib C_AdsClient Properties)