Fundamentals
2.15 Other information
Indexing
The index of a system variable of type "Array of ..." can in turn be a system variable. The index
is also evaluated in the main run in the interpolator clock cycle.
Example
Program code
... WHEN ... DO $AC_PARAM[$AC_MARKER[1]]=3
Restrictions
● It is not permissible to nest indices with further system variables.
● The index must not be formed via preprocessing variables. The following example is
therefore not permitted since $P_EP is a preprocessing variable:
$AC_PARAM[ 1 ] = $P_EP[ $AC_MARKER[ 0 ] ]
See also
Arithmetic functions (Page 440)
Instructions (Page 440)
388
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming