168 Function Library
There are 4 latch triggering source. By using this function, user
can choose the event source to latch counters’ data.
_8102_set_ltc_logic:
This function is used to set the logic of the latch input.
_8102_get_latch_data:
After the latch signal arrived, the function is used to read the
latched value of counters.
@ Syntax
C/C++(Windows 2000/XP)
I16 _8102_set_trigger_logic(I16 AxisNo, I16
Logic);
I16 _8102_set_error_comparator(I16 AxisNo, I16
CmpSrc, I16 CmpMethod,
I32 Data);
I16 _8102_set_general_comparator(I16 AxisNo, I16
CmpSrc, I16 CmpMethod,
I16 CmpAction, I32 Data);
I16 _8102_set_trigger_comparator(I16 AxisNo, I16
CmpSrc, I16 CmpMethod,
I32 Data);
I16 _8102_set_latch_source(I16 AxisNo, I16
ltc_src);
16 _8102_set_ltc_logic(I16 AxisNo, I16
ltc_logic);
I16 _8102_get_latch_data(I16 AxisNo, I16
CounterNo, F64 *Pos);
Visual Basic (Windows 2000/XP)
B_8102_set_trigger_logic(ByVal AxisNo As Integer,
ByVal Logic As Integer) As Integer
B_8102_set_error_comparator(ByVal AxisNo As
Integer, ByVal CmpSrc As Integer, ByVal
CmpMethod As Integer, ByVal Data As Long) As
Integer
B_8102_set_general_comparator(ByVal AxisNo As
Integer, ByVal CmpSrc As Integer, ByVal
CmpMethod As Integer, ByVal CmpAction As
Integer, ByVal Data As Long) As Integer
B_8102_set_trigger_comparator(ByVal AxisNo As
Integer, ByVal CmpSrc As Integer, ByVal