MCA_CamGetInterpolationValues (FB)
FUNCTION_BLOCK MCA_CamGetInterpolationValues
This function block gives an interpolation result, according to the referenced camtable, for the given master position, based on Scaling and Offset (Master and Slave) .
- Mode
The positions will be used as absolute positions.
The block will not check if the cam table is still active.
- InOut:
Scope
Name
Type
Initial
Comment
Input
EnableBOOLActivate the function block
Master_PositionLREALMaster position for cam table
MasterOffsetLREAL0
Master Offset
SlaveOffsetLREAL0
Slave Offset
MasterScalingLREAL1
Applicable Master scaling
SlaveScalingLREAL1
Applicable Slave Scaling
Output
ValidBOOLFALSE if either of the table is not valid, or master position outside the range
Interpolation_PointLREALGives the interpolated position
InterpolatedVelLREALGives the interpolated velocity
InterpolatedAccLREALGives the interpolated Acceleration
Inout
CamTableIDPrepared by MC_CamTableSelect or MCA_CamStructureSelect and used with MC_CamIn or MCA_CamInDirect
MasterMaster Axis
SlaveFollower Axis