MotionFunctionPoint

Defines a cam table point with its interpolation function type and boundary conditions.

Syntax

Definition:

TYPE MotionFunctionPoint :
STRUCT
    FunctionType      : EMotionFunctionType;
    MasterPosition    : LREAL;
    SlavePosition     : LREAL;
    SlaveVelocity     : LREAL;
    SlaveAcceleration : LREAL;
    SlaveJerk         : LREAL;
    SymmetryRatio     : LREAL;
    Ignored           : BOOL;
END_STRUCT
END_TYPE

Parameters

Name

Type

Default

Description

FunctionType

EMotionFunctionType

Undefined

Interpolation function used for the segment starting at this point.

MasterPosition

LREAL

#Invalid

Master cam position at this point.

SlavePosition

LREAL

#Invalid

Slave cam position at this point.

SlaveVelocity

LREAL

#Ignore

Slave velocity boundary condition at this point. Set to #Ignore for automatic calculation (given by interpolation).

SlaveAcceleration

LREAL

#Ignore

Slave acceleration boundary condition at this point. Set to #Ignore for automatic calculation (given by interpolation).

SlaveJerk

LREAL

#Ignore

Slave jerk boundary condition at this point. Set to #Ignore for automatic calculation (given by interpolation).

SymmetryRatio

LREAL

#Ignore

Normalized position of the inflection point within the segment starting at this point, inside the open interval (0, 1); #Ignore gives the same profile as 0.5. Only used by rest-to-rest segments and ignored for others, for Linear and CubicSpline, and at the last point. A rest-to-rest segment with a value outside (0, 1) is rejected as an invalid data point.

Ignored

BOOL

false

If TRUE, this point is skipped during cam table compilation.

Further information

The MotionFunctionPoint data structure describes an interpolation point of a cam plate.

Version information

  • TwinCAT Standard >= v3.1.4026.23.1
  • TF5550 MC3 Camming >= v4.0.6 (includes TF5500 MC3 Base >= v4.0.6)