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
DriveX
AXIS_REF_SM3
Reference to axis X
DriveY
AXIS_REF_SM3
Reference to axis Y
DriveR
AXIS_REF_SM3
Reference to rotation axis
Input
dOffsetX
LREAL
Offset x-position. Similar to SMC_TRAFO_Gantry2
dOffsetY
LREAL
Offset y-position. Similar to SMC_TRAFO_Gantry2
dOffsetR
LREAL
Offset of rotation axis
iDirectionR
INT
1
Direction of rotation
minX
LREAL
Minimum x-position limiting move range (for visualization purpose)
maxX
LREAL
Maximum x-position limiting move range (for visualization purpose)
minY
LREAL
Minimum y-position limiting move range (for visualization purpose)
maxY
LREAL
Maximum y position limiting move range (for visualization purpose)
Output
dx
LREAL
X-coordinate of resulting position
dy
LREAL
Y-coordinate of resulting position
dr
LREAL
Rotation of resulting position in degrees
dnx
LREAL
X-coordinate of normed position
dny
LREAL
Y-Coordinate of normed position.
ratio
LREAL
Ratio x-interval / y-interval
dnOffsetX
LREAL
X-coordinate of normed offset position
dnOffsetY
LREAL
Y-Coordinate of normed offset position.