beautypg.com

Chapter 39 compare api – Delta Electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC-A01 User Manual

Page 487

background image

Chapter 39 Compare API | PCI-DMC-A01 / PCI-DMC-B01

Revised March, 2012

39-1

Chapter 39 Compare API

Table 39.1

Function Name

Description

_DMC_01_set_compare_channel_position

Set new Channel Position

_DMC_01_get_compare_channel_position

Read current Channel position

_DMC_01_set_compare_ipulse_mode

Set input phase mode for pulse
interface module

_DMC_01_set_compare_channel_direction

Set Channel pulse direction

_DMC_01_set_compare_channel_trigger_time

Set Trigger enable time

_DMC_01_set_compare_channel_one_shot

Set Trigger to one-time enable

_DMC_01_set_compare_channel_source Compare

source

_DMC_01_channel0_position_cmp

Set Compare Type to Compare1

_DMC_01_channel1_output_enable Set

Compare2 output to enable/disable

_DMC_01_channel1_output_mode

Compare2 output mode

_DMC_01_channel1_get_io_status

Read Compare2 status

_DMC_01_channel1_set_gpio_out

Set GPIO output pin status

_DMC_01_channel1_position_compare_table

Set Compare2 to standard Compare
data

_DMC_01_channel1_position_compare_table_level

Set Compare2 to custom Compare
data

_DMC_01_channel1_position_compare_table_cnt

Read Compare counter

_DMC_01_set_compare_channel_polarity

Set Compare polarity

_DMC_01_channel0_position_cmp_by_gpio Set

Compare trigger to GPIO control

_DMC_01_channel1_position_re_compare_table

Use previous Compare condition
and-execute Channel1 Compare again

_DMC_01_channel1_position_re_compare_table_level

Use previous Compare condition
and-execute Channel1 Compare
(Level mode) again

This manual is related to the following products: