FC_DelSegProfile - General Information
|
Type: |
Function |
|
Available as of: |
V1.0.3.0 |
|
Versions: |
Current version |
Delete a segment profile.
This function deletes a segmented profile generated by FC_LoadSegProfile.
|
Output |
Data type |
Description |
|---|---|---|
|
q_etDiag |
General library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to an diagnostic message. |
|
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Diagnostic message |
|
|
q_sMsg |
STRING[80] |
Event-triggered message which gives more detailed information on the diagnostic state. |
|
Input/Output |
Data type |
Description |
|---|---|---|
|
iq_stSegProfile |
Here, the variable used by FC_LoadSegProfile is transferred. This variable contains the IDs of the created profiles. |
|
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
|---|---|---|---|
|
OK |
0 |
Ok |
|
|
InputParameterInvalid |
134 |
The SegId is invalid. |
|
|
InputParameterInvalid |
135 |
The SegProfileId is invalid. |
|
|
UnexpectedProgramBehavior |
116 |
The profile is already in use. |
|
|
UnexpectedProgramBehavior |
1 |
An unintended detected error occurred during execution. |
|
Enumeration name: |
Ok |
|
Enumeration value: |
0 |
|
Description: |
Ok |
The profile has been deleted successfully.
|
Enumeration name: |
ProfileAlreadyInUse |
|
Enumeration value: |
116 |
|
Description: |
The profile is already in use. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
The motion profile is already in use. |
Verify the motion data. |
|
Enumeration name: |
SegIdInvalid |
|
Enumeration value: |
134 |
|
Description: |
The SegId is invalid. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
A profile segment does not exist. |
Verify the segment Ids iq_stSegProfile.adiSegId[ ]. Verify the flags iq_stSegProfile.axProfileLoaded[ ]. Verify the number of segments iq_stSegProfile.diNoOfSeg. |
|
Enumeration name: |
SegProfileIdInvalid |
|
Enumeration value: |
135 |
|
Description: |
The SegProfileId is invalid. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
The profile to be deleted does not exist. |
Verify the profile Id iq_stSegProfile.diSegProfileId. |
|
Enumeration name: |
UnexpectedFeedback |
|
Enumeration value: |
1 |
|
Description: |
An unintended detected error occurred during execution. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
An error occurred in the internal execution. |
Please inform the support team about this error. |