beautypg.com

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

Page 194

background image

Chapter 8 Using SDO Protocol API | PCI-DMC-A01 / PCI-DMC-B01

8-8

Revised March, 2012

8.4 _DMC_01_set_pdo_mode

FORMAT

I16 PASCAL _DMC_01_set_pdo_mode (U16 CardNo, U16 NodeID, U16 SlotID, U16 Enable)


Purpose

Sets the use of CANopen protocol (PDO or SDO).


Parameters

Name

Data Type

Unit

Description

CardNo U16

Number

Unit CardNo is between 0~15

NodeID

U16

Number Unit Node ID

SlotID

U16

Number Unit Slot ID

Enable

U16

Selection

0: PDO: DisablePDO, use SDO
1: PDO: enable PDO


Example

U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0; //If Slot ID is set to 0, then the Slave is a servo drive
U16 Enable=1;

I16 status= _DMC_01_set_pdo_mode (CardNo, NodeID, SlotID, Enable);

This manual is related to the following products: