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 initialises 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 for them are requested. 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_WR INIT [ACTPOS AX=X AX=Y ] (Request for actual value by)

                                       (axis specified by name..)

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

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

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