WriteData
Calculates the entire cam table from a new set of data points.
Syntax
Definition:
METHOD WriteData : UDINT
VAR_INPUT
SourceAddress : Pointer To MotionFunctionPoint;
NumberOfPoints : UDINT;
Periodic : BOOL;
ContinuityRequirement : EContinuity;
END_VAR
Inputs
|
Name |
Type |
Description |
|---|---|---|
|
SourceAddress |
Pointer To MotionFunctionPoint |
Pointer to the new set of data points. |
|
NumberOfPoints |
UDINT |
Number of data points in the source array. |
|
Periodic |
BOOL |
TRUE for a periodic cam table. |
|
ContinuityRequirement |
EContinuity |
Minimum continuity requirement. The higher the requirement, the stricter the point validation. |
Return value
UDINT