FB_RobotSSeries - SetPositionLimitAxis (Method)
|
Type: |
Method |
|
Available as of: |
V2.4.1.0 |
|
Versions: |
Current version |
This chapter provides information on:
oTask
Set limits for the valid range of axis positions.
By calling the method, the valid range of the axis of a Lexium S Robot can be adapted.
To disable the functionality:
oThe values can be set to the default values (see hardware manual).
oThe values can be set to values greater than the default values.
oThe values can be set to i_lrMinValue = i_lrMaxValue = 0.0.
|
Input |
Data type |
Description |
|---|---|---|
|
i_etComponent |
Component of the Lexium S Robot. Valid values are: oET_RobotSSeriesComponent.AxisA oET_RobotSSeriesComponent.AxisB |
|
|
i_lrMinValue |
LREAL |
Minimum limit for the valid range of an axis. |
|
I_lrMaxValue |
LREAL |
Maximum limit for the valid range of an 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 |
0 |
Ok |
|
|
InputParameterInvalid |
30 |
The parameter is out of range. |
|
|
InputParameterInvalid |
94 |
The Lexium S Robot component is invalid. |
|
Enumeration name: |
Ok |
|
Enumeration value: |
0 |
|
Description: |
Ok |
The request to change the limits of an axis was successful.
|
Enumeration name: |
ParameterOutOfRange |
|
Enumeration value: |
30 |
|
Description: |
The parameter is out of range. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
The request to change the limits of an axis was unsuccessful. |
The value transferred at the input i_lrMinValue is greater than or equal to the value transferred at the input i_lrMaxValue. |
Ensure that the value transferred at the input i_lrMaxValue is greater than the value transferred at the input i_lrMinValue. |
|
Enumeration name: |
RobotSSeriesComponentInvalid |
|
Enumeration value: |
94 |
|
Description: |
The Lexium S Robot component is invalid. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
The request to change the limits of an axis was unsuccessful. |
The value transferred at the input i_etComponent was indeterminable. |
Ensure that a valid value of ET_RobotSSeriesComponent is transferred at the input i_etComponent. |