IF_RobotPSeriesCalibration - WriteEncoderRotationalAxis (Method)
Type: |
Method |
Available as of: |
V1.0.0.0 |
Versions: |
Current version |
This chapter provides information on:
oTask
Write encoder of the rotational axis.
By calling up the method the encoder of the rotational axis is written to the value of i_lrValue.
For additional information, refer to the chapter Calibration.
Input |
Data type |
Description |
---|---|---|
i_lrValue |
LREAL |
Value of the encoder that it should have at the end of the calibration. |
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 |
55 |
Calibration is already executing. |
|
ExecutionAborted |
32 |
The program call is unavailable. |
|
ExecutionAborted |
12 |
The robot is active. |
|
ExecutionAborted |
61 |
The rotational axis is invalid. |
|
ExecutionAborted |
11 |
The drives are virtual. |
Enumeration name: |
CalibrationAlreadyExecuting |
Enumeration value: |
55 |
Description: |
Calibration is already executing. |
Call calibration method was unsuccessful
Calibration is already executing.
Enumeration name: |
MissingProgramCall |
Enumeration value: |
32 |
Description: |
The program call is unavailable. |
Issue |
Cause |
Solution |
---|---|---|
Call calibration method was unsuccessful |
The program SR_SlowCyclicExecution is not called in a cyclic task. |
Ensure that the program SR_SlowCyclicExecution is called in a cyclic task. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The calibration method was called successfully.
Enumeration name: |
RobotIsActive |
Enumeration value: |
12 |
Description: |
The robot is active. |
Issue |
Cause |
Solution |
---|---|---|
Call calibration method was unsuccessful. |
Robot is active. |
Ensure that the robot is not active while calling calibration method. |
Enumeration name: |
RotationalAxisInvalid |
Enumeration value: |
61 |
Description: |
The rotational axis is invalid. |
Issue |
Cause |
Solution |
---|---|---|
Call calibration method was unsuccessful. |
Rotational axis is invalid. |
Ensure that a rotational axis has been configured. |
Enumeration name: |
VirtualDrives |
Enumeration value: |
11 |
Description: |
The drives are virtual. |
Issue |
Cause |
Solution |
---|---|---|
Call calibration method was unsuccessful. |
Calibration method can not be executed with virtual drives. |
Ensure that the robot is configured with physical drives. |