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.
Note
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
AxisGroup
Reference to a group of axis
Input
Enable
BOOL
Gets the coordinate transformation of the axis group continuously while enabled
CoordSystem
Which coordinate transformation is to be read. Allowed values are PCS_1, PCS_2, and MCS.
Output
Valid
BOOL
TRUE
if valid outputs are availableBusy
BOOL
The FB is not finished
Error
BOOL
Signals that an error has occurred within the function block
ErrorID
SMC_ERROR
Error identification
CoordTransform
The coordinate transformation