OverwriteData
Overwrites data points from index StartIndex to StartIndex + NumberOfPoints - 1 and recalculates the modified cam table segments. The first valid index is 1.
Syntax
Definition:
METHOD OverwriteData : UDINT
VAR_INPUT
SourceAddress : Pointer To MotionFunctionPoint;
NumberOfPoints : UDINT;
StartIndex : UDINT;
END_VAR
Inputs
|
Name |
Type |
Description |
|---|---|---|
|
SourceAddress |
Pointer To MotionFunctionPoint |
Pointer to the new data points to write. |
|
NumberOfPoints |
UDINT |
Number of points to overwrite. |
|
StartIndex |
UDINT |
Index of the first point to overwrite. |
Return value
UDINT
Further information
The property allows writing or overwriting a defined data range of the cam plate.
Notice | |
Property damage due to modifying an active cam plate coupling This method can also be called while a cam plate is active. Valid changes are applied synchronously to the cam plate and may result in setpoint jumps. To switch cam plates at a specific time or position, the following steps are recommended:
|