Saving of a current configuration

# SAVE CONFIG [ [ AX ] [ AXLINK ] ] (modal)

AX: Saving of the current existing axes configuration of the NC channel.

AXLINK: Saving of the current selected axis couplings of the NC channel. Already saved couplings are deleted, if AXLINK is programmed and no couplings are active.

Usually in NC program the command #SAVE CONFIG always is used after operations, which cause the change of an axes configuration or the selection of axis couplings. So for example after an axes exchange command or after a command for the selection of synchronous operation.

During the saving the configuration data in NC channel are adjusted with the interpolator data and then stored in the working data of the asynchronous task. This mechanism ensures the consistent saving of the current configuration data synchronous to the current processing state.

Programming example

%main 
:
N10 X0 Y0 Z0
N15 #AX REQUEST [C,4,5] [B,5,6]
N20 #AX LINK [1, C=X, B=Y]
N25 #AX LINK [2, B=X]
N30 #AX LINK ON [1]
N35 #SAVE CONFIG [AX AXLINK] Saving of axes configuration X,Y,Z,B,C
and the active coupling group 1
N.. X.. Y.. Z..
:
N200 #AX LINK OFF ALL
N210 #AX RELEASE [C]
N220 #SAVE CONFIG [AX] Saving of new axes configuration X,Y,Z,B.
The saved axes configuration up to now
from block N35 is overwritten!
:
N.. X.. Y.. Z..
N99 M30
Saving of a current configuration 1:

A saved configuration is stored program global. It only can be updated by a following #SAVE CONFIG command or deleted by a #CLEAR CONFIG !