SMC_TRAFOF_5Axes (FB)ΒΆ
FUNCTION_BLOCK SMC_TRAFOF_5Axes
The forward transformation function block computes the tool center point coordinates from the axis positions.
Note
For detailed information on transformations see Overview to SM_Trafo_POUs.
- InOut:
Scope
Name
Type
Comment
Inout
DriveXAXIS_REF_SM3Axis X
DriveYAXIS_REF_SM3Axis Y
DriveZAXIS_REF_SM3Axis Z
DriveInclAXIS_REF_SM3Orientation inclination
DriveAziAXIS_REF_SM3Orientation azimuth
Input
dOffsetXLREALOffset value X
dOffsetYLREALOffset value Y
dOffsetZLREALOffset value Z
dOffsetInclLREALOffset value inclination
dOffsetAziLREALOffset value azimuth
dToolLREALLength of the tool
minXLREALMinimal display area of axis X for visualization
maxXLREALMaximal display area of axis X for visualization
minYLREALMinimal display area of axis Y or visualization
maxYLREALMaximal display area of axis Y for visualization
minZLREALMinimal display areas of axis Z for visualization
maxZLREALMaximal display area of axis Z for visualization
Output
dxLREALPosition of the tool correction point (TCP) in X
dyLREALPosition of the tool correction point (TCP) in Y
dzLREALPosition of the tool correction point (TCP) in Z
dAzimuthLREALOrientation or the tool in spherical coordinate azimuth
dInclinationLREALOrientation or the tool in spherical coordinate inclination
daLREALOrientation of the tool in vector coordinate a
dbLREALOrientation of the tool in vector coordinate b
dcLREALOrientation of the tool in vector coordinate c