Dynamic access to variables

CNC objects are principally static and unambiguously identifiable by their IndexGroup and IndexOffset.

Exceptions to this are the following groupings; these variables or parameters are read dynamically.

GEO task

SDA task

Dynamic elements

While the NC program is in the decoding process, variables can be created dynamically and then deleted. It is also possible to access these variables.

Overview  - addressing the number of parameters
Overview - addressing the number of parameters

This affects the following:

The following process applies to connecting these variables:

  1. Read the current number of parameters n_max
  2. Read the name of each parameter [ 1;n_max]
  3. Read the current parameter content

Notice

notice

The value of a parameter should always be read by its name.

It is not recommended to read a parameter by the index since the index of a parameter can change when elements are created dynamically and deleted.

Notice

notice

The maximum length of a variable name is 96 bytes. This applied to all V. variables and P parameters.