“Read variable value by name” axis-specific function

IndexGroup: IdxGrp = 0x122300 + Channel ID

Index offset: IdxOffs = 0x10005 for axis 1

= 0x20005 for axis 2

Read by name

This function reads the value of a variable by its variable name. The variable that belongs to the axis assigned to this position (axis index) is then always accessed.

Transfer parameter (here with stream offset specified):

0

Variable name with zero termination

where

Contents

Type

Size

Variable name (without instance identifier)

STRING

variable, max. 256 bytes

=> stream length max. 256 bytes

Return value (here with stream offset specified):

0

variable value

where

Contents

Type

Size

variable value

String, REAL64, SGN32, REAL64[ ], SGN32[ ][ ], ...

variable, max. 2048 bytes

=> stream length max. 2048 bytes

Example

example

Application examples

Example of reading an axis-specific variable. The variable V.A.WCS.Y, i.e. the 2nd axis is read by the index offset 0x20005

Transfer parameters:

V.A.WCS

0

V.A.WCS name of the variable (without instance identifier V.A.WCS.Y)

0 zero termination

Return values:

1234.2

1234.2 Value of the variable of the 2nd axis