Chapter 4 Control API | PCI-DMC-A01 / PCI-DMC-B01
4.2
Function Description
Hardware Initialization API
_DMC_01_open
_DMC_01_close
_DMC_01_get_CardNo_seq
_DMC_01_pci_initial
_DMC_01_get_card_version
Interface API
_DMC_01_initial_bus
_DMC_01_start_ring
_DMC_01_get_device_table
_DMC_01_get_node_table
_DMC_01_check_card_running
_DMC_01_reset_card
_DMC_01_check_nodeno
_DMC_01_get_master_connect_status
_DMC_01_get_mailbox_Error
_DMC_01_get_mailbox_cnt
_DMC_01_get_dsp_cnt
_DMC_01_set_dio_output
_DMC_01_get_dio_output
_DMC_01_get_dio_input
_DMC_01_get_cycle_time
_DMC_01_initial_bus2
_DMC_01_motion_cnt
Servo Drive Parameter Read/Write API
_DMC_01_read_servo_parameter
_DMC_01_write_servo_parameter
Use SDO protocol API
_DMC_01_check_canopen_lock
_DMC_01_get_canopen_ret
_DMC_01_set_pdo_mode
_DMC_01_send_message
4-2
Table 4.2
Initialize system resources when program is run
Release all system resources
Get the number of all PCI-DMC-A01 interface cards
on the system
Initialize this PCI card
Get motion card version
Initialize external bus
Start ring communication
Get device table
Get node table
Check to see if card is running
Reset selected card
Check to see if node already exists
Get the connection status between the Master Card
and expansion module
Get number of MailBox errors
Get MailBox counter value
Get Interrupt counter value
Set GPIO output pin status
Get GPIO output pin status
Get GPIO input pin status
Get current cycle time for finding/checking devices
Initialize all external bus
Get MailBox and DSP counter values
Read servo drive parameter
Write servo drive parameter
Under SDO mode. check to see if next command
can be executed
Get data returned by CANOPEN (SDO related data)
Set to use CANopen protocol (PDO or SDO)
Send SDO command message to data buffer
Revised March, 2012