SMC_TRAFO_Gantry2Tool1 (FB)ΒΆ
FUNCTION_BLOCK SMC_TRAFO_Gantry2Tool1
Reverse transformations for gantry systems with tool offset. The tool is approximated by a line.
Note
For detailed information on transformations see overview to SM_Trafo_POUs.
- InOut:
Scope
Name
Type
Comment
Input
piTarget vector position (x,y), ouptput of interpolator
dOffsetXLREALAdditional offset for X-axis
dOffsetYLREALAdditional offset for Y-axis
dAlphaLREALAngle indicating orientation of tool, can be calculated by use of SMC_CalcDirectionFromVector
dToolALREALTool size = distance( set position) - (machine position)
Output
dxLREALResulting position for X-axis
dyLREALResulting position for Y-axis