Type: |
Method |
Available as of: |
V.2.16.2.0 |
Versions: |
Current version |
This chapter provides information on:
The method is used to verify whether a certain coordinate is within the work envelope of the robot.
Input |
Data type |
Description |
---|---|---|
i_stCoordinate |
SE_Math.ST_Vector3D |
Coordinate to be verified. |
i_stOrientation |
SE_Math.ST_Vector3D |
Orientation to be verified. |
i_etCoordinateSystem |
ROB.ET_CoordinateSystem |
Coordinate system to which the coordinate i_stCoordinate refers. Valid values:
|
i_etArmConfiguration |
ROB.ET_ArmConfiguration |
Arm configuration for the coordinate to be verified. |
i_udiToolId |
UDINT |
ID of the tool. Valid values are >0. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
POU-specific output for 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 additional information on the diagnostic state. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
Ok |
0 |
Successful |
InputParameterInvalid |
ArmConfigurationInvalid |
121 |
The arm configuration is invalid. |
InputParameterInvalid |
CoordinateSystemInvalid |
119 |
The coordinate system is invalid. |
InputParameterInvalid |
CoordinateSystemNotConfigured |
120 |
The coordinate system is not configured. |
InputParameterInvalid |
OrientationInvalid |
122 |
The orientation is invalid. |
InputParameterInvalid |
ToolNotConfigured |
132 |
The tool is not configured. |
Enumeration name: |
ArmConfigurationInvalid |
Enumeration value: |
121 |
Description: |
The arm configuration is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The verification if the position was in the work envelope was unsuccessful. |
The value transferred at the input i_etArmConfiguration is invalid. |
At the input i_etArmConfiguration, the value must be ROB.ET_ArmConfiguration.Left or ROB.ET_ArmConfiguration.Right. For further information, refer to ROB.ET_ArmConfiguration. |
Enumeration name: |
CoordinateSystemInvalid |
Enumeration value: |
119 |
Description: |
The coordinate system is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The verification if the position was in the work envelope was unsuccessful. |
The value transferred at the input i_etCoordinateSystem is invalid. |
A valid value must be transferred at the input i_etCoordinateSystem. Valid values are:
For further information, refer to ROB.ET_CoordinateSystem. |
Enumeration name: |
CoordinateSystemNotConfigured |
Enumeration value: |
120 |
Description: |
The coordinate system is not configured. |
Issue |
Cause |
Solution |
---|---|---|
The verification if the position was in the work envelope was unsuccessful. |
The coordinate system selected at the input i_etCoordinateSystem is not configured. |
Configure the selected coordinate system. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Successful |
The verification if the position was in the work envelope was successful.
Enumeration name: |
OrientationInvalid |
Enumeration value: |
122 |
Description: |
The orientation is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The verification if the position was in the work envelope was unsuccessful. |
The value transferred at the input i_stOrientation is invalid. |
At the input i_stOrientation, the value for lrX and lrY must be equal to 0.0. |
Enumeration name: |
ToolNotConfigured |
Enumeration value: |
132 |
Description: |
The tool is not configured. |
Issue |
Cause |
Solution |
---|---|---|
The verification if the position was in the work envelope was unsuccessful. |
The tool selected with the input i_udiToolId is not configured. |
Configure the tool with the tool ID. |