IF_TargetManager - RemoveFirstTarget (Method)
Type: |
Method |
Available as of: |
V1.0.0.0 |
Versions: |
Current version |
Delete the first target.
The target that is located the furthest on the target belt is deleted from the list of all targets.
Output |
Data type |
Description |
---|---|---|
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_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
ExecutionAborted |
76 |
No target could be found. |
Enumeration name: |
NoTargetExisting |
Enumeration value: |
76 |
Description: |
No target could be found. |
Issue |
Cause |
Solution |
---|---|---|
- |
No target exists. |
It must be made sure that a target is defined. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The foremost target has been deleted successfully.