Access to the current zero offset
The variable V.G.NP_AKT.V[i] or V.G.NP_AKT.V.<axis_name> accesses the currently active NPV in the decoder. The operator need not know which NPV (i.e. which index) is currently selected.
Programming Example
N10 V.G.NP_AKT.V[0] = 200 or V.G.NP_AKT.V.X = 200
The current NPV in all axes should be expanded by the offset values from G55 (NPV2).
N10 V.G.NP_AKT.ALL = V.G.NP_AKT.ALL + V.G.NP[2].ALL
or
N10 V.G.NP_AKT.ALL += V.G.NP[2].ALL
A change in the current NPV is not cross-program. However, by adding an assignment, the operator can can also use the current NPV in other programs.
Programming Example
N10 V.G.NP[1].ALL = V.G.NP_AKT.ALL