# Request current actual positions and file to "V.A.ABS[ ]” (#CHANNEL INIT)

Syntax:
#CHANNEL INIT [ ACTPOS { AX=<axis_name> | AXNR=.. } ]

AX=<axis_name> | Name of the axis for which the actual value is requested.
AXNR=.. | 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.

## Notice

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.

## Attention

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 … ]

%channel_init_act

G01 F1000 X100 Y200

#CHANNEL 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]

M30