Piecewise curve generation.
The piesewise curve uses 5th degree polynomial interpolation between positions. The 5th degree polynomial has 6 unknowns so in order to solve it we need 6 data values.
For a profile consisting of 2 points these are
Point 1 position, point 1 speed, point 1 acceleration
Point 2 position, point 2 speed, point 2 acceleration
For profiles consisting of more segments, interpolation is done per-segment (the above is applied for each segment).
Position, speed and acceleration values at control points are supplied by the user. Defaults for speed and acceleration are zero, but could be changed to the desired values.
In case the user would like to have part of the profile with linear motion (constant speed) he could change the point type to “Line Start” or use the “Insert Line” view mode to draw a straight line in the view. This could be achieved manually by having the same speed and acceleration values at two consecutive points, but it’s preferred to use the “Line Start” – “Line End” pair.
Please note at the below graphics the speed and acceleration curves between the second and third points- they’re constant.
Related Articles
MOVELINK and CAMBOX following DPOS
CAMBOX, MOVELINK, PICKLINK, FLEXLINK can all use bit 13 of the 'link options' parameter to use DPOS
AN-321 Linearization of rotary cutter
When operating a rotating knife to cut thick or rigid materials, it is necessary to keep the knife blade at a constant linear speed to match the material being fed under the cutter This document describes the construction of a compensating cam ...
Moving CAM CSV/Text File to TABLE or VR's location
The example attached is a Trio basic program that will extract the numerical values of each text file line and move the values into a TABLE or VR array. The program moves the data from the controllers on board memory but can be adjusted to move data ...
Using ADDax too add a 200mS sine wave to a motion.
The simplest sine generator is the MOVECIRC. It controls 2 axes but each axis is doing a sine or cosine. BASE(0,10) ' put the second axis up out of the way. MOVECIRC(0,0,10,0,0) ' do a sine of amplitude 10 Use the SPEED parameter to set the ...
Is it possible to create a directory on the SD card using a variable?
Yes it is. ' create a new directroy on the SD card DIM dirname AS STRING(20) dirname = "folder1" FILE "MD" dirname folder_number = 3 dirname = "Folder" + STR(folder_number, 0) FILE "MD" dirname dir d Volume is MCCARD Volume Serial Number is ...