MCV_SaveParamChg

Save modified parameters

This function block saves the work list as an original work list after it is activated successfully. After it is successfully saved, the previous work list is deleted.

After a controller reboot or a parameter set change, the modified parameters are then remanently available in the original list.

Notice

notice

This function block is not available in TwinCAT systems..

Notice

notice

If a warning occurred when the work list was activated, at least one parameter was corrected in the controller. The corrected value is not included in the original list. When the original list is read in, the warning occurs again and the parameter value is corrected a second time.

Block diagram

FB parameters

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 which is to be saved.

VAR_OUTPUT

Variable name

Data type

Description

Valid

BOOL

Is TRUE if the change parameters were saved successfully.

Busy

BOOL

Is TRUE if 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 saved/is to be saved.

NCWarning

BOOL

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

NCError

BOOL

Is TRUE if an error occurred in the ISG-MCP while the modified 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: