SMC_TRAFOF_GantryCutter2 (FB)ΒΆ
FUNCTION_BLOCK SMC_TRAFOF_GantryCutter2
Forward transformation for two-dimensional gantries with a cutter knife. The rotation axis is controlled in such a way that the knife is aligned along the path tangent.
Note
For more information see Gantry Cutter. For detailed information on transformations see overview to SM_Trafo_POUs.
- InOut:
Scope
Name
Type
Initial
Comment
Inout
DriveXAXIS_REF_SM3Reference to axis X
DriveYAXIS_REF_SM3Reference to axis Y
DriveRAXIS_REF_SM3Reference to rotation axis
Input
dOffsetXLREALOffset x-position. Similar to SMC_TRAFO_Gantry2
dOffsetYLREALOffset y-position. Similar to SMC_TRAFO_Gantry2
dOffsetRLREALOffset of rotation axis
iDirectionRINT1
Direction of rotation
minXLREALMinimum x-position limiting move range (for visualization purpose)
maxXLREALMaximum x-position limiting move range (for visualization purpose)
minYLREALMinimum y-position limiting move range (for visualization purpose)
maxYLREALMaximum y position limiting move range (for visualization purpose)
Output
dxLREALX-coordinate of resulting position
dyLREALY-coordinate of resulting position
drLREALRotation of resulting position in degrees
dnxLREALX-coordinate of normed position
dnyLREALY-Coordinate of normed position.
ratioLREALRatio x-interval / y-interval
dnOffsetXLREALX-coordinate of normed offset position
dnOffsetYLREALY-Coordinate of normed offset position.