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.
![]() | 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. |
Notice | |
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. |
Programming Example
#CHANNEL INIT [ ACTPOS … ]