This FB reads the parameters of the Cartesian transformation between MCS and the selected PCS.
- This is an administrative FB as no motion command is generated.
|
|
|
|
MC_ReadCartesianTransform |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
AXES_GROUP_REF |
- |
|
AxesGroup |
Valid |
|
- |
BOOL |
|
BOOL |
- |
|
ENABLE |
Busy |
|
- |
BOOL |
|
L_MC4P_CoordSystem |
- |
|
CoordSystem |
TransX |
|
- |
LREAL |
|
|
|
|
|
TransY |
|
- |
LREAL |
|
|
|
|
|
TransZ |
|
- |
LREAL |
|
|
|
|
|
RotAngle1 |
|
- |
LREAL |
|
|
|
|
|
RotAngle2 |
|
- |
LREAL |
|
|
|
|
|
RotAngle3 |
|
- |
LREAL |
|
|
|
|
|
Error |
|
- |
BOOL |
|
|
|
|
|
ErrorID |
|
- |
L_IE1P_Error |
|
|
|
|
|
|
|
|
|
Inputs
|
Name Data type |
Information/possible settings |
|
|---|---|---|
|
AxesGroup AXES_GROUP_REF |
axes group reference |
|
|
ENABLE BOOL |
TRUE |
Output parameters of the Cartesian transformation continuously. |
|
CoordSystem |
Selection of the coordinate system, the transformation of which is to be output: PCS_1 ... PCS_16: Product Coordinate System (1 ... 16) |
|
Outputs
|
Name Data type |
Value/meaning |
|
|---|---|---|
|
Valid BOOL |
TRUE |
Valid values are applied to the FB outputs. |
|
Busy BOOL |
TRUE |
Processing is running. |
|
TransX/Y/Z LREAL |
X/Y/Z component of the transformation |
|
|
RotAngle1...3 LREAL |
A/B/C component of the transformation |
|
|
Error BOOL |
TRUE |
An error has occurred. For details see ErrorID . |
|
ErrorID |
If Error = TRUE: Error number for the error that has occurred.
|
|
Coordinate systems and transformations