The method GetRotativeConveyor is used to retrieve the information on a rotative conveyor previously stored inside the internal list of the function block.
Access: PUBLIC
Input |
Data type |
Description |
---|---|---|
i_etSystemId |
An ID used to unequivocally identify a conveyor. Admissible values are in the range SERT.ET_SystemEntity.Conveyor1... SERT.ET_SystemEntity.Conveyor30.. |
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. |
Data type |
Description |
---|---|
ST_RotativeConveyorEntityData |
Refer to ST_RotativeConveyorEntityData. |
q_etDiag |
q_etDiagExt |
Enumeration value of q_etDiagExt |
Description |
---|---|---|---|
Ok |
OK |
0 |
Ok |
InputParameterInvalid |
ConveyorIdInvalid |
145 |
A provided conveyor ID is invalid. |
InputParameterInvalid |
ConveyorIdUnknown |
133 |
A provided conveyor ID is invalid. |
Enumeration name: |
ConveyorIdInvalid |
Enumeration value: |
145 |
Description: |
A provided conveyor ID is invalid. |
Issue |
Cause |
Solution |
---|---|---|
A conveyor has not been retrieved successfully from the list. |
i_etSystemIfd contains an invalid value. |
Ensure that the conveyor ID is in the range ROB.ET_CoordinateSystem.Conveyor1...ROB.ET_CoordinateSystem.Conveyor30. |
Enumeration name: |
ConveyorIdUnknown |
Enumeration value: |
133 |
Description: |
A provided conveyor ID is invalid. |
Issue |
Cause |
Solution |
---|---|---|
A conveyor has not been retrieved successfully from the list. |
i_etSystemId contains an invalid ID. |
Ensure that the conveyor ID refers to a previously configured conveyor. |