Beckhoff Automation GmbH & Co. KG TwinCAT 2 | ADS-Script-DLL — 3 API

API 3 API Because the script languages only support a small number of data types, a corresponding method exists in the ADS device for every possible data type. This reduces the number of parameters to a minimum. The methods in which a variable is accessed by name ( TcScriptSync::ReadVar() [ } 12] and TcScriptSync::WriteVar() [ } 20] ) form exceptions to this rule. In these cases the ADS variable data type is found from the ADS device. Both methods convert the parameters internally into the associated data types before making their access to the ADS device. TX1000 9 Version:

1.0 Application Method general Communication TcScriptSync::ConnectTo() [} 10] Read TcScriptSync::ReadAdsState() [} 11] Write TcScriptSync::WriteAdsState() [} 11] by address by variable name synchronous Read TcScriptSync::ReadBool() [} 13] TcScriptSync::ReadInt8() [} 13] TcScriptSync::ReadInt16() [} 14] TcScriptSync::ReadInt32() [} 14] TcScriptSync::ReadReal32( ) [} 15] TcScriptSync::ReadReal64( ) [} 15] TcScriptSync::ReadArrayOf Bool() [} 16] TcScriptSync::ReadArrayOf Int8() [} 17] TcScriptSync::ReadArrayOf Int16() [} 17] TcScriptSync::ReadArrayOf Int32() [} 18] TcScriptSync::ReadArrayOf Real32() [} 18] TcScriptSync::ReadArrayOf Real64() [} 19] TcScriptSync::ReadVar() [} 12] Write TcScriptSync::WriteBool() [} 20] TcScriptSync::WriteInt8() [} 21] TcScriptSync::WriteInt16() [} 21] TcScriptSync::WriteInt32() [} 22] TcScriptSync::WriteVar() [} 20]