ADLINK PCI-8102 User Manual

Page 170

Advertising
background image

Function Library

159

PCI-8102

This function is used to change 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 given value.

_8102_get_command:

This function is used to read the value of the command position
counter. The source of the command position counter is the pulse
output of the 8102.

_8102_set_command:

This function is used to change the value of the command position
counter.

_8102_get_error_counter:

This function is used to read the value of the position error coun-
ter.

_8102_reset_error_counter:

This function is used to clear the position error counter.

_8102_get_general_counter:

This function is used to read the value of the general counter.

_8102_set_general_counter:

This function is used to set the counting source of and change the
value of general counter (By default, the source is pulser input).

_8102_get_target_pos:

This function is used to read the value of the target position
recorder. The target position recorder is maintained by the 8102
software driver. It records the position to settle down for current
running motion.

_8102_reset_target_pos:

This function is used to set new value for the target position
recorder. It is necessary to call this function when home return
completes, or when a new feedback counter value is set by func-
tion _8102_set_position().

_8102_get_res_distance:

Advertising