Syntax – ADLINK PCI-8164 User Manual

Page 254

Advertising
background image

242

Function Library

The compare data is also set by
_8164_set_general_comparator(), while the remain dis-

tance, compare point’s velocity, new velocity, and acceleration
time are set by _8164_cmp_v_change().
_8164_force_cmp_output:
Ouputs trigger pulses from CMP without comparing position.
Meanwhile, only axis 0 and axis 1 can use this function.

_8164_set_rotary_counter:
Sets the counter of axis as a rotary (ring) counter. Once it is set as
a rotary counter, the value will be reset upon the condition
matched.

@ Syntax

C/C++ (DOS, Windows 95/98/NT)

I16 _8164_set_ltc_logic(I16 AxisNo_2or3, I16

ltc_logic);

I16 _8164_get_latch_data(I16 AxisNo, I16 LatchNo,

F64 *Pos);

I16 _8164_set_soft_limit(I16 AxisNo, I32 PLimit,

I32 NLimit);

I16 _8164_disable_soft_limit(I16 AxisNo);
I16 _8164_enable_soft_limit(I16 AxisNo, I16

Action);

I16 _8164_set_error_counter_check(I16 AxisNo, I16

Tolerance, I16 On_Off);

I16 _8164_set_general_comparator(I16 AxisNo, I16

CmpSrc, I16 CmpMethod, I16 CmpAction, F64
Data);

I16 _8164_set_trigger_comparator(I16 AxisNo, I16

CmpSrc, I16 CmpMethod, F64 Data);

I16 _8164_set_trigger_type(I16 AxisNo, I16

TriggerType);

I16 _8164_check_compare_data(I16 AxisNo, I16

CompType, F64 *Pos);

I16 _8164_check_compare_status(I16 AxisNo, U16

*cmp_sts);

I16 _8164_set_auto_compare(I16 AxisNo ,I16

SelectSrc);

Advertising