Input |
Data type |
Description |
---|---|---|
i_uiVisionId |
UINT |
Vision ID of the header. |
i_udiProtocolIndex |
UDINT |
Protocol index of the header. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
ET_DiagExt |
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 that gives more detailed information on the diagnostic state. |
q_etDiag |
q_etDiagExt |
Enumeration value of q_etDiagExt |
Description |
---|---|---|---|
Ok |
Ok |
0 |
Ok |
ExecutionAborted |
HeaderDataAlreadySet |
30 |
Header data already set. |
InputParameterInvalid |
ProtocolIndexRange |
26 |
Protocol index is out of range. |
VisionIdRange |
25 |
Vision ID is out of range. |
Enumeration name: |
HeaderDataAlreadySet |
Enumeration value: |
30 |
Description: |
Header data already set. |
Issue |
Cause |
Solution |
---|---|---|
Header data already set. |
The header data was already set. |
Verify that the header data is not set twice. Send the data before setting the header data again. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Success |
Status message: Setting the header data of the vision protocol was successful.