Initializes the configuration of the reaction translation for the FB_ExceptionHandler function block.
The function deletes all jobs in the array of the ST_ReactionTranslationJobs data structure.
Using translation modes contains examples for use.
Input |
Data type |
Description |
---|---|---|
i_udiNumberOfSubModules |
UDINT |
Number of submodules of the node. |
i_pstReactionTranslationJobs |
POINTER TO ST_ReactionTranslationJobs |
Pointer onto configuration structure of the reaction translation. |
Output |
Data type |
Description |
---|---|---|
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 -> diagnostic message |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
Ok |
0 |
Ok |
InputParameterInvalid |
NumberOfSubModulesRange |
66 |
The number of submodules is outside the specified range |
InputParameterInvalid |
PointerReactionTranslationJobsInvalid |
144 |
The pointer ReactionTranslationJobs is invalid |
Enumeration name: |
NumberOfSubModulesRange |
Enumeration value: |
66 |
Description: |
The number of submodules is outside the specified range |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred at the i_udiNumberOfSubModules input. |
The value at the input i_udiNumberOfSubModules must be >=0. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The initialization of the configuration of the reaction translation was successful.
Enumeration name: |
PointerReactionTranslationJobsInvalid |
Enumeration value: |
144 |
Description: |
The pointer ReactionTranslationJobs is invalid |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was applied at the i_pstReactionTranslationJobs input |
A valid memory address unequal 0 has to be transferred to the i_pstReactionTranslationJobs input. |