beautypg.com

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

Page 202

background image

Chapter 9 Point to Point Motion Control Packet Protocol API | PCI-DMC-A01 / PCI-DMC-B01

9-2

Revised March, 2012

9.1 _DMC_01_set_sdo_driver_speed_profile

FORMAT

I16 PASCAL _DMC_01_set_sdo_driver_speed_profile (U16 CardNo, U16 NodeID,
U16 SlotID, U32 MaxVel, F64 acc, F64 dec)


Purpose

Sets the speed profile for packet protocol.


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

MaxVel

U32

Pulses per

second

Maximum velocity parameter

acc F64

Second

Specified

acceleration

time

dec

F64

Second

Specified deceleration time


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 MaxVel =1000000;
F64 acc=0.1;
F64 dec=0.1;
I16 status= _DMC_01_set_sdo_driver_speed_profile (CardNo, NodeID, SlotID, MaxVel, acc,
dec);


This manual is related to the following products: