MC_ReadCoordinateTransform (FB)¶
FUNCTION_BLOCK MC_ReadCoordinateTransform
This function block reads the coordinate transformation that is configured between the world coordinate system (WCS) and a product coordinate system (PCS_1, PCS_2) or machine coordinate system (MCS).
If a dynamic coordinate system is queried, its current value is returned.
Bemerkung
The returned coordiante system is not necessarily the same that is used by the active movement. Instead, the returned coordinate system is the one that is effective for new movements.
- InOut:
Scope
Name
Type
Comment
Inout
AxisGroupReference to a group of axis
Input
EnableBOOLGets the coordinate transformation of the axis group continuously while enabled
CoordSystemWhich coordinate transformation is to be read. Allowed values are PCS_1, PCS_2, and MCS.
Output
ValidBOOLTRUEif valid outputs are availableBusyBOOLThe FB is not finished
ErrorBOOLSignals that an error has occurred within the function block
ErrorIDSMC_ERRORError identification
CoordTransformThe coordinate transformation