14 position control and counters – ADLINK PCI-8102 User Manual

Page 169

Advertising
background image

158

Function Library

6.14 Position Control and Counters

@ Name

_8102_get_position – Get the value of feedback

position counter

_8102_set_position – Set the feedback position

counter

_8102_get_command – Get the value of command

position counter

_8102_set_command – Set the command position

counter

_8102_get_error_counter – Get the value of

position error counter

_8102_reset_error_counter – Reset the position

error counter

_8102_get_general_counter – get the value of

general counter

_8102_set_general_counter – Set the general

counter

_8102_get_target_pos – Get the value of target

position recorder

_8102_reset_target_pos – Reset target position

recorder

_8102_get_res_distance – Get remaining pulses

accumulated from motions

_8102_set_res_distance – Set remaining pulses

record

@ Description

_8102_get_position:

This function is used to read the feedback position counter value.
Note that this value has already been processed by the move ratio
setting by _8102_set_move_ratio(). If the move ratio is 0.5, than
the value of position will be twice. The source of the feedback
counter is selectable by the function _8102_set_feedback_src() to
be external EA/EB or internal pulse output of 8102 .

_8102_set_position:

Advertising