Description of the function
The SAVE_PARAM function is used when a modification is made to the adjustment parameters of a module or integrated interface, as a means of saving these new parameters - thus replacing the initial parameters - by performing an explicit exchange with the processor memory.
These parameters replace the initial values defined using the configuration editor (or by the most recent save).
NOTE:
-
For Premium this function only works if the application is stored in non-write protected RAM. On cold start-up, the current (unsaved) parameters are replaced with the initial parameters.
-
For Modicon M340, the SAVE_PARAM does both current and initial parameter adjustment in memory application RAM (as in other PLCs) but on cold start (after application restore), the current parameter are replaced by the last adjusted initial values only if a save to memory card function (Backup Save or %S66 rising edge) has been done before.
The additional parameters and may also be configured.
Operation flow diagram:
Representation:
Representation:
Representation:
LD IODDT_Var
SAVE_PARAM
Representation:
SAVE_PARAM(IODDT_Var);
Description of parameters
The following table describes the input parameters:
Parameter
|
Type
|
Comment
|
IODDT_Var
|
|
IODDT-type variable corresponding to the channel or module whose adjustment parameters the user wishes to save.
Example: IODDT_Var of type T_COUNT_ACQ
|