Saving a current configuration (#SAVE CONFIG)
Syntax: |
#SAVE CONFIG [ [ AX ] [ AXLINK ] ] |
AX | Save the current axis configuration in the NC channel. |
AXLINK | Save the current axis couplings selected in the NC channel. Couplings that were previously saved are deleted when AXLINK is programmed although no couplings are active. |
The command #SAVE CONFIG is usually always used in the NC program after operations which cause a change in axis configuration or in the activation of axis couplings. For example, after an axis exchange command or after a command to select synchronous mode.
During the save operation, configuration data is sent from the decoder over the NC channel to the interpolator. The interpolator then sends this data directly back to the decoder where it is saved internally. This operation ensures that the current configuration of axes and axis couplings is stored in the decoder synchronously with the current processing state.
Programming Example
Saving a current configuration
![]() | A saved configuration remains stored program global. It can only be overwritten by subsequent #SAVE CONFIG commands or deleted by #CLEAR CONFIG. |