FC_AllSubModulesInException - General Information
Type: |
Function |
Available as of: |
V1.0.4.0 |
Determines whether all submodules report an exception.
The function checks if all subordinate modules have set their exception output via StandardModuleInterface.
Input |
Data type |
Description |
---|---|---|
i_udiNumberOfSubModules |
UDINT |
Number of submodules in the field at the i_pstSubModulesItf input. |
i_pstSubModulesItf |
POINTER TO ST_StandardModuleInterface |
Field of the default interfaces of the subordinate modules. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General, library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to an error message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Error message |
Data type |
Description |
---|---|
BOOL |
TRUE: All submodules detect an error FALSE: Not all submodules detect an error |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
InputParameterInvalid |
97 |
The pointer SubModulesItf is invalid |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
Feedback value is determined successfully.
Enumeration name: |
PointerSubModulesItfInvalid |
Enumeration value: |
97 |
Description: |
The pointer SubModulesItf is invalid |
Issue |
Cause |
Solution |
---|---|---|
- |
The input i_pstSubModulesItf is set to zero |
The input i_pstSubModulesItf has to be connected to the address of the array which holds the submodule interface structures. |