SMC_TRAFOV_Gantry3 (FB)ΒΆ
FUNCTION_BLOCK SMC_TRAFOV_Gantry3
Reverse transformation for three-dimensional portal systems. It takes 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), output of interpolator.
dVelLREALVelocity
vSMC_VECTOR3DVector of the current tangent, output of interpolator
dOffsetXLREALAdditional offset for the x-axis
dOffsetYLREALAdditional offset for the y-axis
dOffsetZLREALAdditional offset for the z-axis
Output
dxLREALResulting target position for the x-axis
dvxLREALResulting target velocity for the x-axis
dyLREALResulting target position for the y-axis
dvyLREALResulting target velocity for the y-axis
dzLREALResulting target position for the z-axis
dvzLREALResulting target velocity for the z-axis.