MCV_ReqParamSetId
Request parameter set number
So that it is known in the PLC which parameter set is currently being used for an axis, the active parameter set's number can be requested by the axis administration.
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 request for the current parameter set 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 when the FB is still active. |
NCListTypeOut | STRING | Identifier for parameter or list type |
NCParamSetIdOut | UINT | Number of the parameter set which is currently used for this axis. |
NCWarning | BOOL | Is TRUE if a warning occurs in the ISG-MCP. |
NCError | BOOL | Is TRUE when an error occurs during the request for the parameter set number. |
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 has occurred either in the function block itself or in the ISG-MCP. The "NCError" output parameter indicates whether an error has occurred in the ISG-MCP.