API object.WriteArrayOfInt32( nIndexGroup As Long, nIndexOffset As Long, pValue As Variant ) Parameters Return value - Description The write process is executed synchronously. In the IEC 61131-6 the array corresponds to the data type ARRAY OF DWORD, ARRAY OF DINT or ARRAY OF UDINT. Samples VBScript: Dim VarArrayInt32(1) VarArrayInt32(0) = 0 VarArrayInt32(1) = 1 Call TcClientSync.WriteArrayOfInt32(&H4020, 0, VarArrayInt32) JScript: var VarArrayInt32[2]; VarArrayInt32[0] = 0; VarArrayInt32[1] = 1; TcClientSync.WriteArrayOfInt32(0x4020, 0, VarArrayInt32); 3.2.25 WriteArrayOfReal32 Writes an array with elements of type single to an ADS device.
object.WriteArrayOfReal32( nIndexGroup As Long, nIndexOffset As Long, pValue As Variant ) Parameters Return value - Description The write process is executed synchronously. In the IEC 61131-6 the array corresponds to the data type ARRAY OF REAL. Samples VBScript: TX1000 26 Version: 1.0 nIndexGroup Index group of the ADS variable. nIndexOffset Index offset of the ADS variable nCount Number of elements to write. nIndexGroup Index group of the ADS variable. nIndexOffset Index offset of the ADS variable nCount Number of elements to write.