FB_RobotPSeriesParameters - OptionalEquipment (Method)
Type: |
Method |
Available as of: |
V1.0.0.0 |
Versions: |
Current version |
This chapter provides information on:
oTask
Add optional equipment to a Lexium P Robot.
By calling up the method optional equipment can be added to the robot selected in InitializeRobot.
The configured optional equipment can be verified with the property rateOptionalEquipment.
Input |
Data type |
Description |
---|---|---|
i_etOptionalEquipment |
ET_OptionalEquipment |
Select the optional equipment. |
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 |
0 |
Ok |
|
ExecutionAborted |
6 |
The robot is not initialized. |
|
ExecutionAborted |
2 |
The robot type is invalid. |
|
InputParameterInvalid |
8 |
The optional equipment is invalid. |
|
InputParameterInvalid |
7 |
The optional equipment is indeterminable. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The configuration of the optional equipment was successful.
Enumeration name: |
OptionalEquipmentInvalid |
Enumeration value: |
8 |
Description: |
The optional equipment is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The configuration of the optional equipment was unsuccessful. |
The value transferred at the input i_etOptionalEquipment is invalid. |
Ensure that an element of the enumeration type ET_OptionalEquipment other than ET_OptionalEquipment.None is transferred. |
Enumeration name: |
RobotNotInitialized |
Enumeration value: |
6 |
Description: |
The robot is not initialized. |
Issue |
Cause |
Solution |
---|---|---|
The configuration of the optional equipment was unsuccessful. |
The Lexium P Robot is not initialized. |
Call the method InitializeRobot, and if required the method InitializeRotationalAxis, before calling the method OptionalEquipment. |
Enumeration name: |
RobotTypeInvalid |
Enumeration value: |
2 |
Description: |
The robot type is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The configuration of the optional equipment was unsuccessful. |
The initialized robot type by the method InitializeRobot is invalid for the selected optional equipment. |
The configured robot type does not support the selected optional equipment. |
Enumeration name: |
UnknownOptionalEquipment |
Enumeration value: |
7 |
Description: |
The optional equipment is indeterminable. |
Issue |
Cause |
Solution |
---|---|---|
The configuration of the optional equipment was unsuccessful. |
The value transferred at the input i_etOptionalEquipment is indeterminable. |
Ensure that an element of the enumeration type ET_OptionalEquipment is transferred. |