MCA_CamGetInterpolationPosition (FB)

FUNCTION_BLOCK MCA_CamGetInterpolationPosition

This function block gives an interpolation result, according to the referenced camtable, for the given master position.

../../../../../../_images/plcopen.png
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

Enable

BOOL

Activate the function block

Master_Position

LREAL

Master position for cam table

Output

Valid

BOOL

FALSE if either of the table is not valid, or master position outside the range

Interpolation_Point

LREAL

Gives the interpolated position

Inout

CamTableID

MC_Cam_Id

Prepared by MC_CamTableSelect and used with MC_CamIn or MCA_CamInDirect