ADLINK PCI-8164 User Manual

Page 247

Advertising
background image

Function Library

235

@ Description

_8164_get_position():
Reads the feedback position counter value. Note that this value
has already been processed by the move ratio. If the move ratio is
0.5, than the value read will be twice as the counter value. The
source of the feedback counter is selectable by the function
_8164_set_feedback_src() to be external EA/EB or pulse

output of 8164.

_8164_set_position():
Changes the feedback position counter to the specified value.
Note that the value to be set will be processed by the move ratio. If
move ratio is 0.5, then the set value will be twice as the given
value.

_8164_get_command():
Reads the value of the command position counter. The source of
the command position counter is the pulse output of the 8164.

_8164_set_command():
Changes the value of the command position counter.

_8164_get_error_counter():
Reads the value of the position error counter.

_8164_reset_error_counter():
Clears the position error counter.

_8164_get_general_counter():
Read the value of the general counter.

_8164_set_general_counter():
Sets the counting source of and change the value of general
counter. By default, the source is pulse input.

_8164_get_target_pos():
Reads the value of the target position recorder. The target position
recorder is maintained by the card software driver. It records the
position to settle down for current running motion.

_8164_reset_target_pos():

Advertising