Loading or restoring of a saved configuration
#LOAD CONFIG [ [ AX ] [ AXLINK ] ] (modal)
AX: Loading of the latest saved axes configuration. If no saved configuration is available, an error message is output. In NC channel not existing axes are requested without any offsets.
AXLINK: Loading of the latest saved active axis couplings. All axis couplings are summarized, restored, and activated under coupling group 1. If no saved axis couplings are available, an error message is output.
In the clearance program after a NC RESET the command #LOAD CONFIG is used, to restore the latest saved configuration. Nevertheless, the machine user is responsible for the correct programming of the #SAVE CONFIG commands and so for the correct restoring of a required configuration. If both keywords are programmed, independent from the sequence of programming always at first the axes configuration in NC channel is restored (without "FAST") and after that the saved axis couplings are selected.
Programming example
Start of a clearance program after abort of processing and NC-RESET:
%ClearanceN10 G53N35 #LOAD CONFIG [AX AXLINK] Restoring of
the saved axes
configuration and axis
couplings
under coupling group 1N40 #ECS ON Definition of a EKS for the
execution
of the retract travelN.. X.. Y..
Z..:N200 #AX LINK OFF
ALL:N.. X.. Y..Z..N99 M30
With the use of #SAVE CONFIG and #LOAD CONFIG in the same NC program, at the beginning of #LOAD CONFIG always an implicit FLUSH is executed to ensure the consistency of the saved configuration in the channel. |
Programming example
N..
Nxx #SAVE CONFIG [AX AXLINK]
:
N..
:
Nxx #LOAD CONFIG [AX AXLINK] At first an implicit FLUSH, then
restoring of axes confguration,
then restoring of axis couplings
N.. X.. Y.. Z..
N99 M30