FB_TemplateStaticStructureDiagSource
FB_TemplateStaticStructureDiagSource - General Information
Type: |
Function Block |
Available as of: |
1.1.2.0 |
Inherits from: |
- |
Implemented: |
- |
Access restriction: |
PUBLIC |
Diagnostic source that outputs the data of the default interfaces of all modules
Input |
Data type |
Description |
---|---|---|
i_xEnable |
BOOL |
A rising edge FALSE -> TRUE activates the POU, a falling edge TRUE -> FALSE deactivates the POU. A deactivated POU does not execute any actions. |
i_xDiagQuit |
BOOL |
A rising edge FALSE -> TRUE acknowledges pending exceptions of the POUs. Exceptions occurring during initialization can only be acknowledged by disabling the POUs. |
Output |
Data type |
Description |
---|---|---|
q_xActive |
BOOL |
TRUE: The POU is active and has to be executed further. FALSE: The POU is inactive. |
q_xReady |
BOOL |
TRUE: The POU is ready to operate and accepts user commands. FALSE: The POU is not ready to accept user commands. |
q_etDiag |
General, library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to an error message. |
|
q_etDiagExt |
ET_DiagExt |
POU-specific output on the diagnostic. q_etDiag = GD.ET_Diag.Ok -> status message q_etDiag <> GD.ET_Diag.Ok -> error message |
q_sMsg |
STRING(80) |
Event-triggered message which gives more detailed information on the diagnostic state. |
Input/Output |
Data type |
Description |
---|---|---|
iq_stComStructure |
Communication structure between FB_DiagnosticsManager and diagnostic sources |
|
iq_stMachineItf |
ST_StandardModuleInterface |
Pointer on the default interface structure to be output |