L_MC4P_TeachCoordinateSystem
This FB serves to teach position and orientation of a PC by means of the robot kinematics. Teaching is done in three steps:
- Teaching the basis of the coordinate system
- Teaching the position and direction of the x-axis
- Teaching the position of the y- axis and z-axis by means of a point in the positive x/y quadrant
This is an administrative FB as no motion command is generated.
|
|
|
|
L_MC4P _TeachCoordinateSystem |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
AXES_GROUP_KIN |
- |
|
AxesGroup |
xDone |
|
- |
BOOL |
|
BOOL |
- |
|
xExecute |
xBusy |
|
- |
BOOL |
|
BOOL |
- |
|
xStepConfirm |
eNextStep |
|
- |
L_MC4P_TeachCoordinateSystemSteps |
|
L_MC4P_CoordSystem |
- |
|
eCoordSystem |
xError |
|
- |
BOOL |
|
|
|
|
|
eErrorID |
|
- |
L_IE1P_Error |
|
|
|
|
|
|
|
|
|
Inputs
|
Name Data type |
Information/possible settings |
|
|---|---|---|
|
AxesGroup AXES_GROUP_KIN |
axes group reference |
|
|
xExecute BOOL |
FALSE ä TRUE |
Start execution of the function block.
|
|
xStepConfirm BOOL |
This input enables the user to acknowledge the execution of action step displayed via the eNextStep output. |
|
|
FALSE ä TRUE |
Step has been carried out. |
|
|
eCoordSystem |
Selection of the coordinate system to be used:
|
|
Outputs
|
Name Data type |
Value/meaning |
|
|---|---|---|
|
xDone BOOL |
TRUE |
Processing is completed. |
|
xBusy BOOL |
TRUE |
Processing is running. |
|
eNextStep |
Display of the next step |
|
|
xError BOOL |
TRUE |
An error has occurred. For details see eErrorID . |
|
eErrorID |
If xError = TRUE: Error number for the error that has occurred.
|
|
Execute teaching