162
•
Function Library
pulse output via CMP and an interrupt (event_int_status , bit 12) will
also be sent to host PC. If _7443_set_auto_compare is used, then
comparing value set by this function will be ignored automatically.
Note: it is applicable only for first two axes in every PPCI7443 card.
_7443_set_trigger_type():
This function is used to set the trigger output mode.
In hardware A2 version, it is used for setting the output pulse as one
shot or constant on.
In hardware A3 version, it is used for setting the output pulse as
normal high or normal low.
_7443_check_compare_data():
This function is used to get current comparing data of designated
comparator.
_7443_check_compare_status():
This function is used to get status of all comparator. When some
comparator comes into existence, the relative bit of cmp_sts will
become ‘1’, otherwise ‘0’.
_7443_set_auto_compare():
This function is used to set the comparing data source of trigger
comparator. The source can be either a function or a table.
_7443_build_compare_function():
This function is used to build comparing function by defining the start
/ end point and interval. There is no limitation on the max number of
comparing data. It will automatically load a final point after user’s end
point. That is (end point + Interval x total points ) x move ratio
Note: Please turn off all interrupt function, when triggering is
running.
_7443_build_compare_table():
This function is used to build comparing table by defining data array.
The size of array is limited to 1024, when using RAM mode.
Note: Please turn off all interrupt function, when triggering is
running.
_7443_cmp_v_change():
This function is used to setup comparator velocity change function. It
is in fact a V_change function but acts when general comparator
comes into existence. When this function is issued, the parameter
“CmpAction” of _7443_set_general_comparator() must be set ‘3’.
The compare data is also set by _7443_set_general_comparator().
While, the remain distance, the compare point’s velocity , the new
velocity
and
the
acceleration
time
are
set
by
_7443_cmp_v_change().
_7443_set_enable_inp():
This function is used to setup latched signal
Summary of Contents for PPCI7443
Page 1: ...PPCI7443 Advanced 4 Axes Servo Stepper Motion Control Card User s Guide Version 2 00...
Page 2: ......
Page 6: ......
Page 8: ......
Page 42: ...34 Single Connections...
Page 82: ...74 Operation Theorem _7443_set_home_config _7443_home_move Refer to section 6 9...
Page 108: ......
Page 118: ......