56
•
Operation Theorem
For user who want to compare multiple data continuously with the
comparator
The method of building comparison tables is also provided as shown in
the following
1. U16 _8132_Build_Comp_Table(U16 axis, I32 *table, I16 Size);
I32 *table: an one dimension array pointer for compare positions
I16 Size: Total amount of position compare points ( Maximum=1024)
2. U16 _8132_Set_Comp_Table(U16 axis, U16 logic);
U16 logic: enable/disable position compare table
( 0 for disable, 1 for enable )
Here are two examples of using position comparison functions.
The first example is typically in the application of machine vision.
In this application the table is controlled by the motion command and the
CCD Camera is controlled by the position comparison output of PCI-8132.
The image of moving object can be get in this way easily.
t
v
1
2
3
4
5
6
CCD
Camera
Содержание PCI-8132
Страница 1: ...PCI 8132 2 Axes Servo Stepper Motion Control Card User s Guide ...
Страница 2: ......