MCV_ChgParamValue

Change parameter value

With this function block, a parameter is written into the work list of the specified parameter set. This parameter set need not correspond to the active one. When a parameter is changed in a parameter set for the first time, a copy of the original list is created as the work list.

CAUTION

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

Block diagram

MCV_ChgParamValue 1:

Parameters of the FB

VAR_IN_OUT

 

Axis

AXIS_REF

Axis reference.

VAR_INPUT

 

Execute

BOOL

Change of parameter value at rising edge.

 

NCListTypeIn

STRING

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

 

NCParamSetIDIn

UINT

Number of parameter set in which the value is to be changed.

 

NCParamIdentIn

STRING

Identification of the parameter to be changed, e.g. ‘kenngr.swe_pos’.

 

NCParamValueIn

STRING

New value of the parameter.

VAR_OUTPUT

 

Valid

BOOL

Indicates if the change of the parameter has been successful.

 

Busy

BOOL

Indicates if the function block is still busy.

 

nc_list_type_out

STRING

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

 

NCListTypeOut

UINT

Number of parameter set in which the parameter value should have been changed or is changed.

 

NCParamSetIDOut

STRING

Identification of the parameter to be changed, e.g. ‘kenngr.swe_pos’.

 

NCParamIdentOut

STRING

New value of the parameter.

 

NCParamValueOut

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. Change of parameter set is not executed.

 

ErrorID

WORD

Error identification.

Behavior of the FB