MCV_ActivateParamChg

Activate modified parameters from the work list

As a result of this activation, the modified parameters stored in the work list are adopted by the ISG-MCP and take effect in the controller. At the same time, the parameter values are checked for plausibility.

Notice

notice

This function block is not available in TwinCAT systems..

Attention

attention

When a parameter set is activated, the axis must be at standstill and no motion commands may have been started or be started for the axis. The axis may only be moved again after all parameters have been completely activated ("valid" = TRUE).

Attention

attention

When a parameter set is activated with the work list, the behaviour of the controller may change. It may also change or deactivate safety-critical functions.

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

A change of the parameter is executed on a 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 activated.

VAR_OUTPUT

Variable name

Data type

Description

Valid

BOOL

Is TRUE when the activation was successfully executed.

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 activated.

NCParamConsistent

BOOL

Is FALSE if an error occurred while updating a parameter in the ISG-MCP and values from different parameter sets are used in the ISG-MCP.

NCWarning

BOOL

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

NCError

BOOL

Is TRUE if an error occurred in the ISG-MCP during activation.

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. Parameter activation was not executed successfully.

ErrorID

WORD

Error code

1) Availability is dependent on the MCE used.

Behaviour of the FB:

Attention

attention

If the function block enters error state when the parameter set with the work list is updated, i.e. “Error” = TRUE and at the same time “NCError” = TRUE and “NCParamConsistent” = FALSE, the controller has inconsistent data.

Either a new parameter set must be read in correctly or the controller must be rebooted.