beautypg.com

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

Page 172

background image

Chapter 5 Hardware Initialization API | PCI-DMC-A01 / PCI-DMC-B01

5-4

Revised March, 2012

5.4 _DMC_01_pci_initial

FORMAT

I16 PASCAL _DMC_01_pci_initial (U16 CardNo)


Purpose

Initializes this PCI card.


Parameters

Name

Data Type

Unit

Description

CardNo U16

Number

Unit CardNo is between 0~15


Example

U16 CardNo = 0;
_DMC_01_pci_initial (CardNo);

5.5 _DMC_01_get_card_version

FORMAT

I16 PASCAL _DMC_01_get_card_version (U16 CardNo, U16 *ver)


Purpose

Retrieves the motion card version.


Parameters

Name

Data Type

Unit

Description

CardNo U16

Number

Unit CardNo is between 0~15

Ver

U16*

Number

Motion card version data.
0X6x is PCI_DMC_A01
0X7x is PCI_DMC_B01

※PCI_DMC_A01 Motion Card Version 0x64 now provides GPIO with Input x 8/Output x
4.


Example

U16 CardNo = 0;
U16 ver;

_ DMC_01_get_card_version (CardNo,&ver);

This manual is related to the following products: