FC_InitReactionTranslationMode
FC_InitReactionTranslationMode - General Information
|
Type: |
Function |
|
Available as of: |
V1.0.4.0 |
Initializes the configuration of the reaction translation for the FB_ExceptionHandler function block.
The function sets the mode of the reaction translation for all submodules to the ET_ReactionTranslationMode.None default value.
Using translation modes contains examples for the use.
|
Input |
Data type |
Description |
|---|---|---|
|
i_udiNumberOfSubModules |
UDINT |
Number of submodules of the node. |
|
i_petReactionTranslationMode |
POINTER TO ET_ReactionTranslationMode |
Pointer onto configuration structure of the translation modes. |
|
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 |
0 |
Ok |
|
|
InputParameterInvalid |
66 |
The number of submodules is outside the specified range |
|
|
InputParameterInvalid |
146 |
The pointer ReactionTranslationMode 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 |
Initialization of the configuration of the reaction translation modes was successful.
PointerReactionTranslationModeInvalid
|
Enumeration name: |
PointerReactionTranslationModeInvalid |
|
Enumeration value: |
146 |
|
Description: |
The pointer ReactionTranslationMode is invalid |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
An invalid value was applied at the i_petReactionTranslationMode input. |
A valid memory address unequal 0 has to be transferred to the i_petReactionTranslationMode input. |