Chapter 7
Contoured Moves
©
National Instruments Corporation
7-3
Contoured Move Algorithm
Figure 7-2.
Contoured Move Algorithm
Clear the buffer that stores
contoured move points
Start Motion
Configure the buffer
on the device
Perform Measurements
(Optional)
Set Operation Mode
Specify absolute or
relative contouring
Check the buffer on the device
Number of points consumed
Write Buffer
Write remaining points
to onboard buffer
Write Buffer
Write the array of points and the
number of points you are writing
Restore Operation Mode
Set operation mode back to absolute
position to clear contouring data
•
Set the Buffer Type as Position
•
Total Points
is the total number of
countoured points you want to load
•
Buffer Size
is the size of the buffer you
want to create on the device
•
Set
Old Data Stop
to TRUE if you do
not want old data to be used
•
Requested Interval
is the time interval
between points
Loop Waiting for Move Complete
Update Contoured Data (Optional)