6 point table movement, Point table movement, 1 point table parameter setup – ADLINK PCI-8258 User Manual
Page 201: Example, 溆堐忳≽ 溆堐⍫㔠姕
Motion Control Theory
187
PCI-8254 / PCI-8258
• Example:
4.10.6 Point Table Movement
The controller features two point table which contains 50 buffer
points respectively. You may enjoy point table functions of large
amount of points and free from any practical limits by monitoring
the usages status of buffer point space and reloading these 50
buffer point space repetitively.
With the controller's point table movement function you may get
continuous movement in multi-sections with relevant function.
Available commands in point table movements are straight line,
arc, and spiral interpolation and dwell. The instruction command
covers digital output and VAO table switch which can be used to
program application relevant requirements.
4.10.6.1
Point Table Parameter Setup
There are three groups of point table parameters:
a Movement parameter setup
b Instruction command setup
c Set movement command to point table
#include
"APS168.h"
#include
"APS_define.h"
#include
"ErrorCodeDef.h"
void
simultaneous_move_example()
{
//This
exampleshowshowtoexecuteasimultaneousmove
I32
option=
0x100
;
//bit8=1
I32
return_code=0;
I32dimension=2;
I32
axis_array[2]={0,1};
return_code=APS_ptp(0,option,10000,0);//axis0 姕⭂䁢妠䘤┇≽㧉⺷
return_code=APS_ptp(1,option,20000,0);//axis1 姕⭂䁢妠䘤┇≽㧉⺷
return_code=APS_move_trigger(dimension,axis_array);//䘤↢妠䘤妲嘇嬻axis0&1⎴㗪┇≽
}
溆堐忳≽
溆堐⍫㔠姕⭂