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
example
shows
how
to
execute
a
simultaneous
move
I32
option
=
0x100
;
//bit
8
=
1
I32
return_code
=
0;
I32
dimension
=
2;
I32
axis_array[2]
=
{
0,
1
};
return_code
=
APS_ptp(
0,
option,
10000,
0
);
//axis
0
姕⭂䁢妠䘤┇≽㧉⺷
return_code
=
APS_ptp(
1,
option,
20000,
0
);
//axis
1
姕⭂䁢妠䘤┇≽㧉⺷
return_code
=
APS_move_trigger(
dimension,
axis_array
);
//
䘤↢妠䘤妲嘇嬻
axis
0
&
1
⎴㗪┇≽
}
溆堐忳≽
溆堐⍫㔠姕⭂
Содержание PCI-8254
Страница 2: ...ii Revision History Revision Date Description 2 00 2014 08 13 First release ...
Страница 8: ...viii Table of Contents Important Safety Instructions 209 Getting Service 211 ...
Страница 12: ...xii List of Figures ...
Страница 14: ...xiv List of Tables ...
Страница 24: ...10 Introduction ...
Страница 54: ...40 Getting Start with The Installation ...
Страница 78: ...64 Signal Connection ...
Страница 111: ...Motion Control Theory 97 PCI 8254 PCI 8258 MCP2 Bode plot page ...
Страница 165: ...Motion Control Theory 151 PCI 8254 PCI 8258 Example Figure 4 55 Continuous interpolation examples ...
Страница 222: ...208 Motion Control Theory ...