MCV_ReqParamSetId
Request parameter set number
The axis administration can request the number of the active parameter set so that the PLC knows which parameter set is currently in use for an axis.
Notice

This function block is not available in TwinCAT systems..
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 | The request for the current parameter set number starts on the rising edge. |
NCListTypeIn | STRING | Identifier for parameter or list type |
VAR_OUTPUT | ||
Variable name | Data type | Description |
Valid | BOOL | Is TRUE if the current parameter set number was successfully read. |
Busy | BOOL | Is TRUE if the FB is still active. |
NCListTypeOut | STRING | Identifier for parameter or list type |
NCParamSetIdOut | UINT | Number of the parameter set that is currently used for this axis. |
NCWarning | BOOL | Is TRUE if a warning occurred in the ISG-MCP. |
NCError | BOOL | Is TRUE if an error occurred in the ISG-MCP while a parameter set is changed. |
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 request for the parameter set number failed. |
ErrorID | WORD | Error code |
1) Availability is dependent on the MCE used.
Behaviour of the FB:
- The FB is in an error state if "Error" = TRUE. The active parameter set number could not be read. An error occurred either in the function block itself or in the ISG-MCP. The "NCError" output parameter indicates whether an error occurred in the ISG-MCP.