Loading or restoring a saved configuration (#LOAD CONFIG)
Syntax: |
#LOAD CONFIG [ [ AX ] [ AXLINK ] ] |
AX | Loading the last axis configuration saved. If no saved configuration is found, an error message is output. Axes which are not found in the NC channel are requested without axis offsets. |
AXLINK | Loading the last active axis couplings saved. All axis couplings are summarised, restored and activated in coupling group 1. If no saved axis couplings are found, an error message is output. |
The command #LOAD CONFIG is best used after an NC RESET in the clearance program to restore the last configuration saved. The machine operator is responsible for saving the required configuration in the main program by using #SAVE CONFIG and for correctly restoring the required configuration. If both keywords are programmed, the axis configuration is always first restored completely in the NC channel (without "FAST") irrespective of sequence in which the keywords are programmed. Then the last synchronous mode saved is re-activated.
Programming Example
Loading or restoring a saved configuration
![]() | When #SAVE CONFIG and #LOAD CONFIG are used in the same NC program, an implicit FLUSH is always executed at the start of #LOAD CONFIG to ensure consistency of the saved configurations in the channel. |