Y_PK22_Servopack_Event_Lookup
Supporting function block for Y_PK22_Return_Servopack_Alarm. This FB returns a string with a description of the servopack alarm, given the ErrorID [UINT]. This ErrorID is usually generated by the DriveWarningID or DriveAlarmID outputs of the Y_AX_AxisControl function block.
Parameters
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_IN_OUT | ||||
| V | Lookup |
#60381
|
Structure containing the alarm description, etc for the requested Error_ID | |
| VAR_INPUT | ||||
| B | Fault_Number | UINT | Error_ID code [in decimal] to be looked up. | FALSE |
Notes
- This function is called internally by the Servopack_Event function block but can also be used independently in the program if the built-in event handling is not desired.
Error Description:
See the
Function Block ErrorID List.