beautypg.com

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

Page 434

background image

Chapter 31 Slave Data API | PCI-DMC-A01 / PCI-DMC-B01

31-2

Revised March, 2012

31.1 _DMC_01_get_devicetype

FORMAT

I16 PASCAL _DMC_01_get_devicetype (I16 CardNo, U16 NodeID, U16 SlotID,
U32 *DeviceType, U32 *IdentityObject)


Purpose

Retrieves slave device type.


Parameters

Name

Data Type

Unit

Description

CardNo I16

Number

Unit

CardNo is between 0~15

NodeID

U16

Number Unit

Node ID

SlotID

U16

Number Unit

Slot ID

DeviceType

U32*

Number

Slave device type (see Notes on the following
page for details)

IdentityObject U32*

Number Object dictionary code for device


Example

I16 CardNo=0, NodeID=1, SlotID=0;
U32 DeviceType, IdentityObject;
I16 status = _DMC_01_get_devicetype (CardNo, NodeID, SlotID, &DeviceType,

&IdentityObject);


This manual is related to the following products: