Y_PK22_Controller_Event_Lookup
Supporting function block for Y_PK22_Return_Controller_Alarm function block. This FB returns a string with a description of the controller alarm, given the ErrorID [UDINT]. This ErrorID is usually generated by the Y_AX_AxisStatus FB contained within the Y_AX_AxisControl FB from the Y_Axis_Toolbox library.
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 | UDINT | Error_ID code [in decimal] to be looked up. | UDINT#0 |
Notes
This function is called internally by the Y_PK22_Return_Controller_Alarm 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.