MCV_ChgParamValue

Change parameter value

To prevent problems caused by incorrect parameterisation, this block does not change the original parameter set but creates a copy and writes the changes to it. This copy is referred to the work list in this documentation.

The original parameter set need not correspond to the currently active parameter data record. It is selected by specifying its code at the ”NcParamSetIDIn” input.

Notice

notice

The modified parameters of the work list are not accepted by the ISG-MCP, and do not take effect, until after activation with the MCV_ActivateParamChg function block.

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

A change in a parameter value 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 in which the parameter value is to be changed.

NCParamIdentIn

STRING

Code of the parameter to be changed
e.g. "kenngr.swe_pos"

NCParamValueIn

STRING

New value of the parameter.

VAR_OUTPUT

Variable name

Data type

Description

Valid

BOOL

Is TRUE when the change in parameter value 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 in which the parameter value was/is to be changed.

NCParamIdentOut

STRING

Code of the parameter to be changed
e.g. "kenngr.swe_pos"

NCParamValueOut

STRING

New value of the parameter.

NCWarning

BOOL

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

NCError

BOOL

Is TRUE when an error occurs in the ISG-MCP during a change in parameter value.

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 change in parameter set was not executed successfully.

ErrorID

WORD

Error code.

1) Availability is dependent on the MCE used.

Behaviour of the FB