MCV_DiscardParamChg

Discard changes

With this function block, the work list can be deleted, thus discarding all parameter changes in the work list.

CAUTION

If the work list has already been activated with the MCV_ActivateParamChg function block, these changes are active in the controller and can no longer be reversed with this function block. If these modified parameter values are also to be reversed, the original list must be read in with the MCV_ChgParamSet function block.

Block diagram

MCV_DiscardParamChg 1:

Parameters of the FB

VAR_IN_OUT

 

Axis

AXIS_REF

Axis reference

VAR_INPUT

 

Execute

BOOL

Discard changes at rising edge.

 

NCListTypeIn

STRING

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

 

NCParamSetIDIn

UINT

Number of parameter set to be discarded.

VAR_OUTPUT

 

Valid

BOOL

Indicates if the changes have been discarded successfully.

 

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 parameter set for which the changes have to be discarded.

 

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

A frequent cause of ISG-MCP errors are absent write privileges or a write-protected work list because, in these cases, the work list cannot be deleted.