MCV_SaveParamChg

Save modified parameters

After successful activation of a work list, this function block saves it as the original list. The previous work list is deleted after successful storage.

Thus, after a restart of the controller or after a parameter set change, the modified parameters are permanently available in the original list.

CAUTION

If a warning has occurred on activation of the work list, at least one parameter has been corrected in the controller. This corrected value is not included in the original list. When the original list is read in, the warning appears again and the parameter value is corrected again.

Block diagram

MCV_SaveParamChg 1:

Parameters of the FB

VAR_IN_OUT

 

Axis

AXIS_REF

Axis reference

VAR_INPUT

 

Execute

BOOL

Saving of changed parameters at rising edge.

 

NCListTypeIn

STRING

Identification of parameter or list type, e.g. ‘ACHS_MDS’.

 

NCParamSetIDIn

UINT

Number of parameter set to be saved.

VAR_OUTPUT

 

Valid

BOOL

Indicates if saving of the changed parameters has been successful.

 

Busy

BOOL

Indicates if the function block is still busy.

 

NCListTypeOut

STRING

Identification of parameter or list type, e.g. ‘ACHS_MDS’.

 

NCParamSetIDOut

UINT

Number of the parameter set which had to be saved or has been saved.

 

NCWarning

BOOL

Indicates if a warning in the ISG-MCP has occurred.

 

NCError

BOOL

Indicates if an error in the ISG-MCP has occurred.

 

NCErrorCode

UDINT

Error identification of the error in the ISG-MCP.

 

Error

BOOL

Indicates if an error has occurred. Save of parameter set is not executed.

 

ErrorID

WORD

Error identification.

Behavior of the FB