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.

Programing Example

prg_example

Loading or restoring a saved configuration

Start clearance program after abort of processing and NC RESET:

%Clearance

N10 G53

N35 #LOAD CONFIG [AX AXLINK]   ;Restore the saved axis

                               ;configuration and axis couplings

                               ;under coupling group 1

N40# ECS ON          ;Define an effector CS to execute

                     ;withdrawal strategy

N.. X.. Y.. Z..

:

N200 #AX LINK OFF ALL

:

N.. X.. Y.. Z..

N99 M30

Notice

notice

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.

Programing Example

prg_example

Nxx #SAVE CONFIG [AX AXLINK]

N..

Nxx #LOAD CONFIG [AX AXLINK]       ;First, implicit FLUSH then

                                   ;restore axis configuration,

                                   ;then restore axis couplings

N.. X.. Y.. Z..

N99 M30