L_IE1P_SetErrorSingle
This FB can be used to trigger / log an error with different severity levels.
When a fault is triggered
-
The error for the component connected via the Module Handler input is assigned.
-
the specified error response is executed in the component connected via the ErrorHandler input
-
the error in object 0x2010 is displayed
-
generates a logbook entry
For a description of the error number structure and the definition of the error texts, see
|
NOTE |
|---|
|
Several errors with the same error ID must not be triggered at the same time for the connected ModuleHandler. |
|
|
|
|
L_IE1P_SetErrorSingle |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
L_IMHP_IModuleHandler |
– |
ModuleHandler |
xError |
– |
BOOL |
||
|
L_IE1P_IErrorHandler |
– |
ErrorHandler |
eErrorID |
– |
L_IE1P_Error |
||
|
WORD |
– |
wTexRefID |
scErrorInformation |
– |
L_IE1P_ErrorInfo |
||
|
BOOL |
– |
xSetError |
|||||
|
L_IE1P_SeverityLevel |
– |
eSeverity |
|||||
|
WORD |
– |
wErrorId |
|||||
|
L_IE1P_Reaction |
– |
eReaction |
|||||
|
L_IE1P_Group |
– |
eGroup |
|||||
|
|
|
|
|
|
|
|
|
Inputs
|
Name Datentyp |
Information/possible settings |
|
|---|---|---|
|
ModuleHandler L_IMHP_IModuleHandler |
Defines the assignment of error messages to a module. Functions can be grouped in the software by the ModuleHandler. For example, certain functions can be assigned to machine modules. By connecting the ModuleHandler to the FB L_IE1P_SetError, the errors can be assigned to the machine module. If the ModuleHandler input is not connected, the transmitted errors are assigned to the "Application" component. |
|
|
Errorhandler L_IE1P_IErrorHandler |
Connection of the function block instance of a component in which the error reaction is to be executed. The following types can currently be connected:
|
|
|
wTextRefID WORD |
Text lists ID of the set error numbers
If a 0 or 0x2C00 is specified, an error with the text list ID 0x2C00 is generated. This ID is reserved for Lenze. This means that the FAST Motion error generated from the L_IE1P_Error enum |
|
|
xSetError BOOL |
FALSE ä TRUE |
Trigger errors with the properties attached to eSeverity, wErrorId, eReaction and eGroup. |
|
TRUE |
The triggered error cannot yet be acknowledged. |
|
|
eSeverity |
Severity / error reaction of the error |
|
|
wErrorID WORD |
16 Bit error event number
|
|
|
eReaction L_IE1P_Reaction |
Reaction to be triggered with the error This input is only evaluated for errors with the severities Warning,Warning_Lock, Fault_Log and Fault. |
|
|
eGroup |
Group membership of the error By assigning an error to a group, these errors are made known to a certain group of users.
Tip Further information can be found in the section "Settings for the FAST_MachineErrorManager node" in the Lenze Engineering Tool "PLC Designer" customer manual. Further information can be found in the description of the Lenze Engineering Tool "PLC Designer" : |
|
Outputs
|
Name Datentyp |
Value/meaning |
|
|---|---|---|
|
xError BOOL |
TRUE |
An error has occured. For details see eErrorID . Output or display of all errors occurring in the axis see xAxisError or eAxisErrorID . |
|
eErrorID L_IE1P_Error |
If xError = TRUE: Error number for the error that occurred within the FB. Reference Manual " FAST Technology Modules ": Here you will find information on error or warning messages. Note: There is a distinction between:
|
|
|
scErrorInformation L_IE1P_ErrorInfo |
Status information that the error was triggered. | |