FB_AxisModuleDiagSource - General Information
Type: |
Function Block |
Available as of: |
V1.1.6.0 |
Inherits from: |
- |
Implemented: |
- |
Versions: |
Current version |
Output of the additional interface of the FB_AxisModule in a prompt of Diagnostics
To diagnose the template project with Diagnostics, this POU provides the variables in the additional interface of all Axis modules as a diagnosis source. It lists all modules, starting with the main machine. For each Axis 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 |
A rising edge FALSE -> TRUE quitts an active exception of the POU. |
i_xPrintCamData |
BOOL |
TRUE: The data of the defined Cam tables are included int the output data of diagnostics. FALSE: The data of the defined Cam tables are excluded of the output data of diagnostics, e. g. because of data privacy protection reasons. |
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 diagnosis A value unequal GD.ET_Diag.Ok equates an error message. |
|
q_etDiagExt |
POU-specific output on the diagnosis 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 |
153 |
The data was successfully written. |
|
OK |
104 |
The POU is disabled. |
|
OK |
152 |
Waiting for communication |
|
OK |
149 |
Waiting for the diagnosis manager to be ready |
|
OK |
151 |
Waiting for registration of the diagnosis source |
|
OK |
150 |
Waiting until POU is switched off |
|
OK |
154 |
Data are being written into the file. |
|
InputParameterInvalid |
2 |
Unknown command. |
|
InputParameterInvalid |
155 |
The file is invalid. |
|
UnexpectedProgramBehavior |
82 |
A POU returns an unexpected value. |
Enumeration name: |
CmdUnknown |
Enumeration value: |
2 |
Description: |
Unknown command. |
Issue |
Cause |
Solution |
---|---|---|
- |
A wrong 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: |
153 |
Description: |
The data was successfully written. |
The diagnosis data was successfully written.
Enumeration name: |
Disabled |
Enumeration value: |
104 |
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: |
155 |
Description: |
The file is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
A wrong 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: |
82 |
Description: |
A POU returns an unexpected value. |
Issue |
Cause |
Solution |
---|---|---|
- |
An error occurred in the internal execution. |
Please inform the support team about this error. |
Enumeration name: |
WaitForCommunication |
Enumeration value: |
152 |
Description: |
Waiting for communication |
The diagnosis source is ready and is waiting for commands of the diagnosis manager.
WaitUntilDiagnosticsManagerReady
Enumeration name: |
WaitUntilDiagnosticsManagerReady |
Enumeration value: |
149 |
Description: |
Waiting for the diagnosis manager to be ready |
The diagnosis source is waiting for the diagnosis manager to be ready.
Enumeration name: |
WaitUntilDiagSourceRegistered |
Enumeration value: |
151 |
Description: |
Waiting for registration of the diagnosis source |
Waiting until the diagnosis source has been registered with the diagnosis manager.
Enumeration name: |
WaitUntilDisabled |
Enumeration value: |
150 |
Description: |
Waiting until POU is switched off |
The function block is going to disabled.
Enumeration name: |
WritingToFile |
Enumeration value: |
154 |
Description: |
Data are being written into the file. |
The diagnosis data are being written.