Type: |
Method |
Available as of: |
V2.19.0.0 |
Versions: |
Current version |
This chapter provides information on:
By calling up the method, the drive handed over at input i_ifDrive is used to configure a drive mapping for OrientationZ.
The drive handed over at input i_ifDrive is configured as ROB.ET_RobotComponent.AxisD for the robot and the OrientationZ (ROB.ET_RobotComponent.OrientationZ) is then mapped to AxisD.
For further information, refer to the methods ROB.IF_RobotConfiguration.AddDrive (see Robotic, Library Guide), ROB.IF_RobotConfiguration.MapComponentToDrive (see Robotic, Library Guide), SER.IF_RobotPSeries.SetControlLoopParameter (see SchneiderElectricRobotics, Library Guide), SER.IF_RobotPSeries.GetControlLoopParameter (see SchneiderElectricRobotics, Library Guide), and SER.IF_RobotPSeriesCalibration (see SchneiderElectricRobotics, Library Guide)
Input |
Data type |
Description |
---|---|---|
i_ifDrive |
SystemConfigurationItf.IF_Drive |
Drive of a rotational axis. |
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 |
11 |
There is no rotational axis required. |
|
OK |
0 |
Ok |
|
ExecutionAborted |
24 |
The fourth axis is already configured. |
|
ExecutionAborted |
6 |
The robot is not initialized. |
|
InputParameterInvalid |
4 |
The drive is invalid. |
Enumeration name: |
DriveInvalid |
Enumeration value: |
4 |
Description: |
The drive is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The configuration of OrientationZ was unsuccessful |
The interface transferred at the input i_ifDrive is invalid. |
Ensure that the transferred interface is an interface of a valid drive. The following interfaces have to be implemented by the drive object:
|
Enumeration name: |
FourthAxisAlreadyConfigured |
Enumeration value: |
24 |
Description: |
The fourth axis is already configured. |
Issue |
Cause |
Solution |
---|---|---|
The configuration of OrientationZ was unsuccessful |
A method to configure the fourth axis was already called successfully. |
Call only one of the methods InitializeRotationalAxis or InitializeOrientationZ. |
Call the method InitializeOrientationZ only once. |
Enumeration name: |
NoRotationalAxisRequired |
Enumeration value: |
11 |
Description: |
There is no rotational axis required. |
Configuring the rotational axis is not necessary.
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The configuration of the rotational axis for OrientationZ was successful.
Enumeration name: |
RobotNotInitialized |
Enumeration value: |
6 |
Description: |
The robot is not initialized. |
Issue |
Cause |
Solution |
---|---|---|
The configuration of OrientationZ was unsuccessful |
The Lexium P Robot is not initialized. |
Call the method InitializeRobot before calling the method InitializeOrientationZ. |