Beckhoff Automation GmbH & Co. KG TwinCAT 2 | ADS-Script-DLL — 3.2.13 ReadArrayOfReal64

API Parameters Return value The array being read from the ADS device Description The read process is executed synchronously. In the IEC 61131-6 the array corresponds to the data type ARRAY OF REAL. Samples VBScript: Dim VarArrayReal32 VarArrayReal32 = TcClientSync.ReadArrayOfReal32(&H4020, 0,2) WScript.echo "VarArrayReal32(0) = ",VarArrayReal32(0) WScript.echo "VarArrayReal32(1) = ",VarArrayReal32(1) JScript: var VarArrayReal32; VarArrayReal32 = TcClientSync.ReadArrayOfReal32(0x4020, 0,2); WScript.echo("VarArrayReal32[0] = ",VarArrayReal32[0]); WScript.echo("VarArrayReal32[1] = ",VarArrayReal32[1]); 3.2.13 ReadArrayOfReal64 Reads an array with elements of type double from an ADS device.

object.ReadArrayOfReal64( nIndexGroup As Long, nIndexOffset As Long, nCount As Long ) As Variant Parameters Return value The array being read from the ADS device Description The read process is executed synchronously. In the IEC 61131-6 the array corresponds to the data type ARRAY OF LREAL. Samples VBScript: Dim VarArrayReal64 VarArrayReal64 = TcClientSync.ReadArrayOfReal64(&H4020, 0,2) WScript.echo "VarArrayReal64(0) = ",VarArrayReal64(0) WScript.echo "VarArrayReal64(1) = ",VarArrayReal64(1) TX1000 19 Version: 1.0 nIndexGroup Index group of the ADS variable. nIndexOffset Index offset of the ADS variable nCount Number of elements to be read. nIndexGroup Index group of the ADS variable.

nIndexOffset Index offset of the ADS variable nCount Number of elements to be read.