Type: |
Method |
Available as of: |
V1.0.0.0 |
Versions: |
Current version |
This chapter provides information on:
By calling up the method, a parameter can be adapted to influence the control loop of the Lexium P Robot axes.
To get the valid range for a control loop parameter, refer to the minimum and maximum values by calling the method GetControlLoopParameter().
ET_RobotPSeriesComponent.AxesAll corresponds to ET_RobotPSeriesComponent.AxisA, ET_RobotPSeriesComponent.AxisB and ET_RobotPSeriesComponent.AxisC.
Input |
Data type |
Description |
---|---|---|
i_etName |
Type of control loop parameter. |
|
i_etComponent |
Component of the Lexium P Robot. |
|
i_lrValue |
LREAL |
Value for the control loop parameter i_etName and for the component i_etComponent. |
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 |
ControlLoopParameterSet |
58 |
The control loop parameter is set. |
OK |
Ok |
0 |
Successful |
ExecutionAborted |
RobotNotInitialized |
89 |
The robot is not initialized. |
InputParameterInvalid |
ControlLoopParameterInvalid |
59 |
The control loop parameter is invalid. |
InputParameterInvalid |
ParameterOutOfRange |
30 |
The parameter is out of range. |
InputParameterInvalid |
RobotPSeriesComponentInvalid |
28 |
The Lexium P Robot component is invalid. |
Enumeration name: |
ControlLoopParameterInvalid |
Enumeration value: |
59 |
Description: |
The control loop parameter is invalid. |
Issue |
Cause |
Solution |
---|---|---|
Setting the control loop parameter was unsuccessful. |
The value at the input i_etName is invalid. |
Ensure that at the input i_etName a valid control loop parameter has been transferred. |
Enumeration name: |
ControlLoopParameterSet |
Enumeration value: |
58 |
Description: |
The control loop parameter is set. |
Setting the control loop parameter was successful.
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Successful |
Method was called successfully.
Enumeration name: |
ParameterOutOfRange |
Enumeration value: |
30 |
Description: |
The parameter is out of range. |
Issue |
Cause |
Solution |
---|---|---|
Setting the control loop parameter was unsuccessful. |
The value at the input i_lrValue is invalid. |
At the input i_lrValue a value within the range must be transferred. Call method GetControlLoopParameter to read the minimum and maximum values. |
Enumeration name: |
RobotNotInitialized |
Enumeration value: |
89 |
Description: |
The robot is not initialized. |
Issue |
Cause |
Solution |
---|---|---|
Setting the control loop parameter was unsuccessful. |
The robot is not initialized. |
Ensure that the robot has been initialized successfully. |
Enumeration name: |
RobotPSeriesComponentInvalid |
Enumeration value: |
28 |
Description: |
The Lexium P Robot component is invalid. |
Issue |
Cause |
Solution |
---|---|---|
Setting the control loop parameter was unsuccessful. |
The value at the input i_etComponent is invalid. |
Ensure that at the input i_etComponent a valid component has been transferred. |