SMC_TRAFOV_Gantry2 (FB)ΒΆ
FUNCTION_BLOCK SMC_TRAFOV_Gantry2
Reverse transformation for two-dimensional portal systems taking into account the path velocity and path direction as control variables for the axis.
- InOut:
Scope
Name
Type
Comment
Input
piTarget position vector (x,y), ouput of interpolator. SMC_POSINFO
dVelLREALPath velocity, output of interpolator
vSMC_VECTOR3DTangent path vector, output of interpolator
dOffsetXLREALAdditional offset of x-axis
dOffsetYLREALAdditional offset of y-axis
Output
dxLREALX-coordinate of resulting position
dvxLREALX-coordinate of resulting velocity
dyLREALY-coordinate of resulting position
dvyLREALY-Coordinate of resulting velocity