Requesting current actual positions and filing them to "V.A.ABS[ ]”

#CHANNEL INIT [ ACTPOS { AX<axis_name> | AXNR<expr> } ]


Name of the axis for which the actual value is requested.


Logical number of the axis for which the actual value is requested,

positive integer.

The NC program interpreter requests the interpolator for the current actual positions of all or specific path axes, files them to the working data and initializes the NC channel with these positions. Access can then be made to the current actual positions in the working data by programming the variable V.A.ABS (see also Section Axis-specific variables (V.A.)). Any stored manual mode offsets in the interpolator are then deleted automatically. The axis positions correspond to those for zero offset. The values stored in the variable V.A.MANUAL_OFFSETS (see also Section Axis-specific variables (V.A.)) are not updated.



If no axes are programmed, the actual positions for all path axes in the channel are requested.

If axes are programmed, only the actual positions are requested for them. Command positions are requested for axes which are not programmed.



The axis can be moved by adopting the actual position as command position. If an axis is adopted in an NC program loop, it may cause the drive to drift.

Programing Example


#CHANNEL INIT [ ACTPOS { AX<axis_name> | AXNR<expr> } ]


G01 F1000 X100 Y200

#CHANNEL INIT [ACTPOS AX=X AX=Y ]      (Actual value request by)

                                       (axis name..)

#CHANNEL INIT [ACTPOS AXNR=1 AXNR=2 ]  (..or by log. axis number..)

#CHANNEL INIT [ACTPOS]                 (..or for all path axes)

#MSG ["Actpos X:%F, Y:%F ",V.A.ABS.X, V.A.ABS.Y]