This FB serves to parameterise a coordinate transformation between MCS and PCS for an axes group.
- This is an administrative FB as no motion command is generated.
|
Note!
Observe the following when using 4D kinematics: If a motion is programmed via a product coordinate system (e.g. target position given in PCS_4: MC_MoveLinearAbsolute1.CoordSystem := L_MC4P_CoordSystem.PCS_4), the z axis must be aligned to or opposed to the z axis of the WCS! See also: Special handling of 4D kinematics |
|
|
|
|
MC_SetCoordinateTransform |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
AXES_GROUP_REF |
- |
|
AxesGroup |
Done |
|
- |
BOOL |
|
BOOL |
- |
|
Execute |
Done |
|
- |
BOOL |
|
L_MC4P_CoordSystem |
- |
|
CoordSystem |
Busy |
|
- |
BOOL |
|
MC_COORD_REF |
- |
|
CoordTransform |
Active |
|
- |
BOOL |
|
|
|
|
|
Error |
|
- |
BOOL |
|
|
|
|
|
ErrorID |
|
- |
L_IE1P_Error |
|
|
|
|
|
|
|
|
|
Inputs
|
Name Data type |
Information/possible settings |
|
|---|---|---|
|
AxesGroup AXES_GROUP_REF |
axes group reference |
|
|
Execute BOOL |
FALSE รค TRUE |
Accept parameter of the coordinate system to the axes group. |
|
CoordSystem |
Selection of the coordinate system, the transformation of which is to be parameterised:
|
|
|
CoordTransform MC_COORD_REF |
Reference to the coordinate transformation (including parameters) |
|
Outputs
|
Name Data type |
Value/meaning |
|
|---|---|---|
|
Done BOOL |
TRUE |
Processing successfully completed. |
|
Busy BOOL |
TRUE |
Processing is running. |
|
Active BOOL |
TRUE |
The command of the FB is currently executed.
|
|
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