4 general purpose counter, General purpose counter – ADLINK PCI-8164 User Manual

Page 132

Advertising
background image

120

Operation Theory

4.4.4 General purpose counter

The general purpose counter is very versatile and may be any of
the following:

1. Pulse output – as a command position counter

2. Pulse input – as a feedback position counter

3. Manual Pulse input – Default status.

4. Clock – an accurate timer (9.8 MHz)

The default setting of the general purpose counter is set to manual
pulse. (Refer to section 4.1.9 for a detailed explanation of manual
pulsing). To change the source type, use the function
_8164_set_general_counter(). To obtain the counter status,

use the function _8164_get_general_counter().
Related function:

X

_8164_set_general_counter(),
_8164_get_general_counter(): Refer to section 6.15

The table below summarizes all functions used for the different
counter types.

Advertising