beautypg.com

Delta Electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC-A01 User Manual

Page 156

background image

Chapter 4 Control API | PCI-DMC-A01 / PCI-DMC-B01

4-2

Revised March, 2012

4.2 Function

Description

Table 4.2

Hardware Initialization API

_DMC_01_open

Initialize system resources when program is run

_DMC_01_close

Release all system resources

_DMC_01_get_CardNo_seq Get

the

number

of all PCI-DMC-A01 interface cards

on the system

_DMC_01_pci_initial

Initialize this PCI card

_DMC_01_get_card_version

Get motion card version

Interface API

_DMC_01_initial_bus

Initialize external bus

_DMC_01_start_ring

Start ring communication

_DMC_01_get_device_table

Get device table

_DMC_01_get_node_table

Get node table

_DMC_01_check_card_running Check

to see if card is running

_DMC_01_reset_card

Reset selected card

_DMC_01_check_nodeno

Check to see if node already exists

_DMC_01_get_master_connect_status

Get the connection status between the Master Card
and expansion module

_DMC_01_get_mailbox_Error

Get number of MailBox errors

_DMC_01_get_mailbox_cnt

Get MailBox counter value

_DMC_01_get_dsp_cnt Get

Interrupt counter value

_DMC_01_set_dio_output

Set GPIO output pin status

_DMC_01_get_dio_output Get GPIO output pin status
_DMC_01_get_dio_input

Get GPIO input pin status

_DMC_01_get_cycle_time

Get current cycle time for finding/checking devices

_DMC_01_initial_bus2

Initialize all external bus

_DMC_01_motion_cnt Get

MailBox and DSP counter values

Servo Drive Parameter Read/Write API

_DMC_01_read_servo_parameter Read servo drive parameter
_DMC_01_write_servo_parameter

Write servo drive parameter

Use SDO protocol API

_DMC_01_check_canopen_lock

Under SDO mode. check to see if next command
can be executed

_DMC_01_get_canopen_ret

Get data returned by CANOPEN (SDO related data)

_DMC_01_set_pdo_mode

Set to use CANopen protocol (PDO or SDO)

_DMC_01_send_message

Send SDO command message to data buffer

This manual is related to the following products: