ADLINK PCI-8164 User Manual

Page 252

Advertising
background image

240

Function Library

@ Description

_8164_set_ltc_logic:
Sets the logic of the latch input. This function is applicable only for
last two axes in every 8164 card.

_8164_get_latch_data:
After the latch signal arrived, this function reads the latched value
of counters.

_8164_set_soft_limit:
Sets the soft limit value .

_8164_enable_soft_limit, _8164_disable_soft_limit:
Enable/disable the soft limit function. Once enabled, the action of
soft limit will be exactly the same as physical limit.

_8164_set_error_counter_check:
Enables the step losing checking facility. By giving a tolerance
value, the card generates an interrupt (event_int_status , bit 10)
when position error counter exceed tolerance.

_8164_set_general_comparator:
Sets the source and comparing value for the general comparator.
When the source counter value reached the comparing value, the
8164 will generate an interrupt (event_int_status , bit 11).

_8164_set_trigger_comparator:
Sets the comparing method and value for the trigger comparator.
When the feedback position counter value reaches the comparing
value, the card generates a trigger and a pulse output via CMP and

an interrupt (event_int_status, bit 12) is sent to the host computer.
If _8164_set_auto_compare is used, then the comparing value set
by this function is ignored automatically.

Note: it is applicable only for first two axes in every 8164 card.

Advertising