L_IE1P_ReadActualSeverity
The FB L_IE1P_ReadActualSeverity can be used to determine the error status (highest priority severity and reaction) of a module and its directly subordinate modules.
Based on the returned status (severity/reaction), it can be decided in the parent module whether a further reaction for the status machine or via FB L_IE1P_SetError must be derived from it.
See also chapter Automatic Forwarding Mechanisms for Errors
Controlled/subordinate modules include all components that have been registered directly as a child (via SetParent) to the module. Only the next level is taken into account.
|
|
|
|
L_IE1P_ReadActualSeverity |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
BOOL |
– |
xEnable |
xBusy |
– |
BOOL |
||
|
L_IMHP_IModuleHandler |
– |
ModuleHandler |
xError |
– |
BOOL |
||
|
BOOL |
– |
xDisableSubModules |
eErrorID |
– |
L_IE1P_Error |
||
|
eSeverity |
– |
L_IE1P_SeverityLevel |
|||||
|
eReaction |
– |
L_IE1P_Reaction |
|||||
|
sAffectedModuleName |
– |
String |
|||||
|
AffectedModuleHandler |
– |
L_IMHP_IModuleHandler |
|||||
|
xErrorActive |
– |
BOOL |
|||||
|
xWarningActive |
– |
BOOL |
|||||
|
SeverityStatus |
– |
L_IE1P_SeverityStatus |
|||||
|
ReactionStatus |
– |
L_IE1P_ReactionStatus |
|||||
|
|
|
|
|
|
|
|
|
Inputs
|
Name Datatype |
Info/ setting options |
|
|---|---|---|
|
xEnable BOOL |
TRUE |
Activate readout of error information |
|
Modulehandler L_IMHP_IModuleHandler |
Definition of the affiliation of error messages to a module. When this input is connected, the errors generated for the module are displayed at the outputs. If the ModuleHandler input is not connected, the errors of the "Application" component are acknowledged. The "Application" component contains error messages that were sent with an FB L_IE1P_SetError or L_IE1P_SetErrorSingle without a ModuleHandler connected. |
|
|
xDisableSubmodules BOOL |
TRUE |
Errors of subordinate machine modules with the component type MachineModule or GeneralMachineModule are not taken into account. |
Outputs
|
Name Datatype |
Value/ Description |
|
|---|---|---|
|
xBusy BOOL |
TRUE |
The FB is processed |
|
xError BOOL |
TRUE |
An error occurred during the processing of the FB. Details see eErrorID . |
|
eErrorID L_IE1P_Error
|
If xError = TRUE: Error number for the error that occurred within the FB.
|
|
|
eSeverity L_IE1P_Severity |
Severity of the current error |
|
|
eReaction L_IE1P_Reaction |
Commissioned reaction of the current error Note: The reaction that was requested with FB L_IE1P_SetErrprSingle at input eRection is displayed 1:1. The resulting reaction from the severity level is not taken into account. |
|
|
sAffectedModuleName STRING |
Name of the module in which the highest priority error occurred. |
|
|
AffectedModuleHandler L_IMHP_IModuleHandler |
ModuleHandler of the module in which the highest priority error occurred. |
|
|
xErrorActive BOOL |
TRUE |
The reported event is an error (collection bit for the severity reported at the eSeverity output). |
|
xWarningActive BOOL |
TRUE |
The reported event is a warning (collection bit for the severity reported at the eSeverity output). |
|
SeverityStatus L_IE1P_SeverityStatus |
Collective message of all currently active severities of the module connected via the ModuleHandler input (incl. the directly subordinate modules) |
|
|
ReactionStatus L_IE1P_ReactionStatus |
Collective message of all currently active reactions of the module connected via the ModuleHandler input (incl. the directly subordinate modules) |
|
Query the status of a single module)
In order to obtain status information from children connected to a module.
The FB L_IE1P_ReadActualSeverity provides a method to assign the numbers of the child modules to the actual modules. Before using the method, the FB must already have been called in this application cycle.
|
|
|
|
ReadChildSeverity |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
WORD |
– |
wChild |
ReadChildSeverity |
– |
BOOL |
||
|
eSeverity |
– |
L_IE1P_SeverityLevel |
|||||
|
eReaction |
– |
L_IE1P_Reaction |
|||||
|
sChildName |
– |
String |
|||||
|
ChildModuleHandler |
– |
L_IMHP_IModuleHandler |
|||||
|
|
|
|
|
|
|
|
|
ReadActualSeverity-Konfiguration 1
-
ModuleHandler = MM_Winding
-
xDisableSubModules = FALSE
The Severites of the following modules are evaluated
MM_Winding
TM 20.1
-
There is an automatism for Lenze FBs that errors from AxisRef 20.1 and Inverter 20.1 are automatically forwarded to the TM 20.1.
MM_InfeedWinding
-
Only events that were triggered with SetErrorMM_InfeedWinding.
-
Events from TM30.1, TM30.2 are not automatically forwarded, only if they were sent via SetErrorMM_InfeedWinding for the MM_InfeedWinding.
MM_OutfeedWinding
-
Only events that were triggered with SetErrorMM_OutfeedWinding.
-
Events from TM31.1, TM31.2 are not automatically forwarded, only if they were sent via SetErrorMM_OutfeedWinding for the MM_OutfeedWinding.
ReadActualSeverity-Konfiguration 2
-
ModuleHandler = MM_Winding
-
xDisableSubModules = TRUE
The Severites of the following modules are evaluated
MM_Winding
TM 20.1
-
There is an automatism for Lenze FBs that errors from AxisRef 20.1 and Inverter 20.1 are automatically forwarded to the TM 20.1.