MCA_CamGetInterpolationPosition (FB)
FUNCTION_BLOCK MCA_CamGetInterpolationPosition
This function block gives an interpolation result, according to the referenced camtable, for the given master position.
- Mode
The positions will be used as absolute positions, offset and scaling will NOT be considered.
The block will not check if the cam table is still active.
Note
User can utilize CAM editor in Automation builder to generate Cam table (MC_PProfile) automatically. For more details refer to Automation builder help.
- InOut:
Scope
Name
Type
Comment
Input
EnableBOOLActivate the function block
Master_PositionLREALMaster position for cam table
Output
ValidBOOLFALSE if either of the table is not valid, or master position outside the range
Interpolation_PointLREALGives the interpolated position
Inout
CamTableIDPrepared by MC_CamTableSelect and used with MC_CamIn or MCA_CamInDirect