SMC_CamTableEvaluate (FUN)ΒΆ

FUNCTION SMC_CamTableEvaluate : BOOL

This function evaluates a cam table at a given master position. It returns the respective slave position and its derivatives with respect to the master position.

The function returns TRUE if the evaluation succeeded.

InOut:

Scope

Name

Type

Comment

Input

CamTable

MC_CAM_REF

The cam table

MasterPosition

LREAL

The master position where the cam table should be evaluated

Return

SMC_CamTableEvaluate

BOOL

Output

SlavePosition

LREAL

The cam slave position with respect to the master position

SlaveVelocity

LREAL

The cam slave velocity with respect to the master position

SlaveAcceleration

LREAL

The cam slave acceleration with respect to the master position

SlaveJerk

LREAL

The cam slave jerk with respect to the master position

ErrorID

SMC_ERROR

Error identification if the function returns FALSE.