MCV_ActivateParamChg

Activate modified parameters from the work list

As a result of this activation, the modified parameters stored in the work list are accepted by the ISG-MCP and take effect in the controller. On the occasion of this activation, the parameter values are simultaneously checked for plausibility.

Attention

attention

During activation of a parameter set, the axis must be at standstill and motion commands must not have been or must not be started for the axis. The axis may only be moved again after completed activation of all parameters (fb_"valid" = TRUE).

Attention

attention

The controller's behaviour may change on activation of a parameter with the work list This may modify or deactivate functions critical to safety.

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 parameter is executed 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 activated.

VAR_OUTPUT

Variable name

Data type

Description

Valid

BOOL

Is TRUE when activation was successful.

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

NCParamConsistent

BOOL

Is FALSE when an error occurs in the ISG-MCP when a parameter is updated and values from different parameter sets are used in the ISG-MCP.

NCWarning

BOOL

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

NCError

BOOL

Is TRUE if an error occurs 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. The parameter 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 reverts to error state when the parameter set is updated in the work list, i.e. “Error” = TRUE and “NCError” = TRUE at the same time and “NCParamConsistent”, the control unit is in possession of inconsistent data.

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