MCV_SaveParamChg

Save modified parameters

This function block saves the work list as the original work list after it is successfully updated. The previous work list is deleted after it is successfully saved.

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

Notice

notice

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.

Blockdiagramm

Parameters of the FB

VAR_IN_OUT

Variable name

Data type

Description

axis

AXIS_REF

Axis reference

VAR_INPUT

Variable name

Data type

Description

Execute

BOOL

The changed parameters are saved on the rising edge.

NCListTypeIn

STRING

Identifier for parameter or list type
e.g. "ACHS_MDS"

NCParamSetIDIn

UINT

Number of the parameter set to be saved.

VAR_OUTPUT

Variable name

Data type

Description

Valid

BOOL

Is TRUE when the change parameters were saved successfully.

Busy

BOOL

Is TRUE when the FB is still active.

NCListTypeOut

STRING

Identifier for parameter or list type
e.g. "ACHS_MDS".

NCParamSetIDOut

UINT

Number of the parameter set which was/is to be saved.

NCWarning

BOOL

Is TRUE if a warning occurs in the ISG-MCP.

NCError

BOOL

Is TRUE if an error occurred in the ISG-MCP when the changed parameters were saved.

NCErrorCode

UDINT

Error code of the error or warning occurring in the ISG-MCP.

Error

BOOL

Is TRUE if the FB is in error state. Saving the changed parameters was not successful.

ErrorID

WORD

Error code.

1) Availability is dependent on the MCE used.

Behaviour of the FB