ADLINK PCI-8164 User Manual
Page 259

Function Library
247
CompType: Selection of type of comparator
X
CompType =1, + Soft Limit
X
CompType =2, -Soft Limit
X
CompType =3, Error Counter Comparator Value
X
CompType =4, General Comparator Value
X
CompType =5, Trigger Output Comparator Value
cmp_sts: status of comparator
SelectSrc: The comparing data source
X
SelectSrc =0, disable auto compare
X
SelectSrc =1, use FIFO
X
SelectSrc =2, compare function on RAM
X
SelectSrc =3, compare table on RAM
Start: Start point of compare function
End: End point of compare function
Interval: Interval of compare function
TableArray: Array of comparing data
Size: Size of table array
Device: Selection of reload device for comparator data
X
Device =0, RAM for axis2,3 of card, outputting pulses to
DO0,1
X
Device =1, FIFO for axis 0,1 of card, outputting pulses to
CMP0,1
Res_dist: The remaining distance from the compare point. After
comparison, the original target position is ignored, and the axis will
keep moving the Res_dist.
Bit
Meaning
0
+Softlimit On
1
-SoftLimit On
2
Error counter comparator On
3
General comparator On
4 Trigger comparator On (for 0 , 1 axis only)