FB_SmartInfeedModuleDiagSource
FB_SmartInfeedModuleDiagSource - General Information
|
Type: |
Function Block |
|
Available as of: |
V1.0.0.0 |
|
Inherits from: |
- |
|
Implemented: |
- |
|
Versions: |
Current version |
Output of the additional interface of the FB_SmartInfeedModule in a prompt of Diagnostics
To diagnose the template project with Diagnostics, this POU provides the variables in the additional interface of all SmartInfeed modules as a diagnostic source. It lists all modules, starting with the main machine. For each SmartInfeed module, the entire additional interface of this module is output.
|
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 |
|
|
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 GD.ET_Diag.Ok equates an error message. |
|
|
q_etDiagExt |
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 with the DiagManager |
|
|
iq_stMachineItf |
Interface of the main machine |
|
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
|---|---|---|---|
|
OK |
102 |
The data was successfully written. |
|
|
OK |
5 |
The POU is disabled. |
|
|
OK |
99 |
Waiting for communication |
|
|
OK |
96 |
Waiting for the diagnostic manager to be ready |
|
|
OK |
98 |
Waiting for registration of the diagnostic source |
|
|
OK |
97 |
Waiting until POU is switched off |
|
|
OK |
100 |
Data are being written into the file. |
|
|
InputParameterInvalid |
23 |
Indeterminable command. |
|
|
InputParameterInvalid |
101 |
The file is invalid. |
|
|
UnexpectedProgramBehavior |
34 |
An unintended error has been detected during execution. |
|
Enumeration name: |
CmdUnknown |
|
Enumeration value: |
23 |
|
Description: |
Indeterminable command. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
An incorrect communication structure has been applied at the iq_stComStructure input. |
At the iq_stComStructure input, the same structure must be applied that was transferred to TPL.FB_DiagnosticsManager at the iq_stComStructure input. |
|
Enumeration name: |
DataSuccessfullyWritten |
|
Enumeration value: |
102 |
|
Description: |
The data was successfully written. |
The diagnostic data was successfully written.
|
Enumeration name: |
Disabled |
|
Enumeration value: |
5 |
|
Description: |
The POU is disabled. |
The function block is deactivated, it executes no actions whatsoever. i_xEnable and q_xActive have the value FALSE.
|
Enumeration name: |
FileIdInvalid |
|
Enumeration value: |
101 |
|
Description: |
The file is invalid. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
An incorrect communication structure has been applied at the iq_stComStructure input. |
At the iq_stComStructure input, the same structure must be applied that was transferred to TPL.FB_DiagnosticsManager at the iq_stComStructure input. |
|
Enumeration name: |
UnexpectedFeedback |
|
Enumeration value: |
34 |
|
Description: |
An unintended error has been detected during execution. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
An error has been detected in the internal execution. |
Please inform your Schneider Electric representative about this detected error. |
|
Enumeration name: |
WaitForCommunication |
|
Enumeration value: |
99 |
|
Description: |
Waiting for communication |
The diagnostic source is ready and is waiting for commands of the diagnostic manager.
WaitUntilDiagnosticsManagerReady
|
Enumeration name: |
WaitUntilDiagnosticsManagerReady |
|
Enumeration value: |
96 |
|
Description: |
Waiting for the diagnostic manager to be ready |
The diagnostic source is waiting for the diagnostic manager to be ready.
|
Enumeration name: |
WaitUntilDiagSourceRegistered |
|
Enumeration value: |
98 |
|
Description: |
Waiting for registration of the diagnostic source |
Waiting until the diagnostic source has been registered with the diagnostic manager.
|
Enumeration name: |
WaitUntilDisabled |
|
Enumeration value: |
97 |
|
Description: |
Waiting until POU is switched off |
The function block is disabled.
|
Enumeration name: |
WritingToFile |
|
Enumeration value: |
100 |
|
Description: |
Data are being written into the file. |
The diagnostic data are being written.