These services can be used to save or restore adjustment parameters.
SAVE_PARAM: explicit backup of the axis control module parameters. These parameters replace the initial values defined during configuration.
RESTORE_PARAM: explicit restoration of the initial adjustment parameters (written at the time of configuration or last backup).
These two instructions are applied to an IODDT variable associated with the TSX CSY 84 module. In the following paragraphs we will take the example of a variable called Serco_Channel of type T_CSY_IND.
Syntax of instruction SAVE_PARAM
SAVE_PARAM (Sercos_Channel) : saves the adjustment parameters of the channel associated with the IODDT Sercos_Channel.
Syntax of instruction RESTORE_PARAM
RESTORE_PARAM (Sercos_Channel): restores the adjustment parameters of the channel associated with the IODDT Sercos_Channel.
The 2 following bits of the IODDT may be used to monitor the exchanges of adjustment parameters between the processor and the module:
Standard symbol
|
Meaning
|
Bit
|
ADJ_IN_PROGR
|
This bit is set at 1 when the exchange is in process. It is reset to 0 when the exchange has been completed.
|
%MWr.m.c.0.2
|
ADJ_ERR
|
This bit is set at 1 if the parameters passed on are out of range or erroneous.
|
%MWr.m.c.1.2
|