Beckhoff Automation GmbH & Co. KG TwinCAT 2 | ADS-Script-DLL — 3.2.7 ReadReal64

API Description The reading procedure is performed synchronously. In IEC 61131-6 this corresponds to the DWORD, DINT or UDINT data type. Examples VBScript: Dim VarInt32 VarInt32 = TcClientSync.ReadInt32(&H4020, 0) WScript.echo "VarInt32 = ", VarInt32 JScript: var VarInt32; VarInt32 = TcClientSync.ReadInt32(0x4020, 0); WScript.echo("VarInt32 = ", VarInt32); 3.2.6 ReadReal32 Reads a variable of type float from an ADS device. object.ReadReal32( nIndexGroup As Long, nIndexOffset As Long ) As Single Parameters Return value Value of the ADS variable. Description The reading procedure is performed synchronously. In IEC 61131-6 this corresponds to the REAL data type. Examples VBScript:

Dim VarReal32 VarReal32 = TcClientSync.ReadReal32(&H4020, 0) WScript.echo "VarReal32 = ", VarReal32 JScript: var VarReal32; VarReal32 = TcClientSync.ReadReal32(0x4020, 0); WScript.echo("VarReal32 = ", VarReal32); 3.2.7 ReadReal64 Reads a variable of type double from an ADS device. object.ReadReal64( nIndexGroup As Long, nIndexOffset As Long ) As Double Parameters TX1000 15 Version: 1.0 nIndexGroup Index group of the ADS variable. nIndexOffset Index offset of the ADS variable. nIndexGroup Index group of the ADS variable.