“Write variable value by name” axis-specific function

Index group: IdxGrp = 0x122300 + Channel ID

Index offset: IdxOffs = 0x10006 for axis 1

= 0x20006 for axis 2

Writing by name

This function changes 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

1- 256

Variable name with zero termination

variable value

where

Contents

Type

Size

Variable name
e.g. V.A.WCS (without instance identifier V.A.WCS.Y)

String

variable, max. 256 bytes

variable value

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

variable, max. 2047 bytes

=> stream length max. 2048 bytes

This function has no return value.

Application examples

Example of writing an axis-specific variable. The variable V.A.WCS.Y, i.e. the 2nd axis is written:

Index offset: 0x20006

Transfer parameters:

V.A.WCS

0

123,456

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

0 zero termination

123.456 New value of the variable

Return value: -