Input |
Data type |
Description |
---|---|---|
i_stData |
Structure containing the data on the target generator to add. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
GD.ET_Diag |
General library-independent statement on the diagnostic. A value unequal to ET_Diag.Ok corresponds to a diagnostic message. |
q_etDiagExt |
POU-specific output on the diagnostic:
|
|
q_sMsg |
STRING(80) |
Event-triggered message that gives additional information on the diagnostic state. |
q_etDiag |
q_etDiagExt |
Enumeration value of q_etDiagExt |
Description |
---|---|---|---|
Ok |
OK |
0 |
Ok |
ExecutionAborted |
MaxNumberOfTargetGeneratorExceeded |
170 |
The maximum number of configurable target generators is reached. |
InputParameterInvalid |
TargeGeneratorIDInvalid |
171 |
A provided target generator ID is invalid. |
InputParameterInvalid |
TargetGeneratorIDDuplicated |
172 |
A target generator entity already exists with the same ID. |
InputParameterInvalid |
OrientationConventionInvalid |
38 |
Invalid orientation convention. |
InputParameterInvalid |
TargetGeneratorNameInvalid |
173 |
The name assigned to a target generator entity is invalid. |
Enumeration name: |
MaxNumberOfTargetGeneratorExceeded |
Enumeration value: |
170 |
Description: |
The maximum number of configurable target generators is reached. |
Issue |
Cause |
Solution |
---|---|---|
A target generator has not been added to the list. |
It is not possible to add a new target generator since the maximum number of target generators has been reached. |
Ensure not to add more than SERT.Gc_udiMaxNumberOfTargetGenerators target generators to the function block. |
Enumeration name: |
TargetGeneratorIdInvalid |
Enumeration value: |
171 |
Description: |
A provided target generator ID is invalid. |
Issue |
Cause |
Solution |
---|---|---|
A target generator has not been added to the list. |
i_stData.etSystemId contains an invalid value. |
Ensure that the tracking system ID is in the range ET_SystemEntity.TargetGenerator1...ET_SystemEntity.TargetGenerator30. |
Enumeration name: |
TargetGeneratorIdDuplicated |
Enumeration value: |
172 |
Description: |
A target generator entity already exists with the same ID. |
Issue |
Cause |
Solution |
---|---|---|
A target generator has not been added to the list. |
The function block already contains a target generator with the same ID. |
Ensure that every ID assigned to the target generators is unique. |
Enumeration name: |
OrientationConventionInvalid |
Enumeration value: |
38 |
Description: |
Invalid orientation convention. |
Issue |
Cause |
Solution |
---|---|---|
A target generator has not been added to the list. |
i_stData.stBasePose.etOrientationConvention contains an invalid orientation convention value. |
Ensure that the orientation convention has one of the following values:
|
Enumeration name: |
TargetGeneratorNameInvalid |
Enumeration value: |
173 |
Description: |
The name assigned to a target generator entity is invalid. |
Issue |
Cause |
Solution |
---|---|---|
A target generator has not been added to the list. |
i_stData.sName contains an empty string or a target generator with the same string has already been assigned. |
|