ADLINK PCI-8164 User Manual

Page 133

Advertising
background image

Operation Theory

121

Counter

Description

Counter

Source

Function

Function

description

Command

Counts the

number of

output

pulses

Pulse output

_8164_set_command

Set a new

value for com-

mand position

_8164_get_command

Read current

command posi-

tion

Feedback

counts the

number of

input pulses

EA/EB or

Pulse output

_8164_set_pls_iptmo

de

Select the input

modes of EA/

EB

_8164_set_feedback

_src

Set the

counters input

source

_8164_set_position

Set a new

value for feed-

back position

_8164_get_position

Read current

feedback posi-

tion:

Position

error

Counts the

error

between

command

and feed-

back pulse

EA/EB and

Pulse output

_8164_get_error_cou

nter

Gets the posi-

tion error

_8164_reset_error_c

ounter

Resets the

position error

counter

General

Purpose

General

Purpose

counter

Pulse output

EA/EB man-

ual pulse

CLK/2.

_8164_set_general_c

ounter

Set a new

counter value

_8164_get_general_c

ounter

Read current

counter value

Advertising