WriteReal64

Writes a variable of type double.

object.WriteReal64(
  nIndexGroup As Long,
  nIndexOffset As Long,
  fValue As Double
)

Parameters

nIndexGroup

Index group of the ADS variable.

nIndexOffset

Index offset of the ADS variable.

fValue

The value that is to be written into the variable.

Return value

-

Description

The writing procedure is performed synchronously. In IEC 61131-6 this corresponds to the LREAL data type.

Examples

VBScript:

Dim VarReal64 = 0
Call TcClientSync.WriteReal64(&H4020, 0, VarReal64)

JScript:

var VarReal64 =0;
TcClientSync.WriteReal64(0x4020, 0, VarReal64);