beautypg.com

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

Page 217

background image

Chapter 11 Velocity Motion Control Packet Protocol API | PCI-DMC-A01 / PCI-DMC-B01

Revised March, 2012

11-3

11.2 _DMC_01_set_velocity

FORMAT

I16 PASCAL _DMC_01_set_velocity (U16 CardNo, U16 NodeID, U16 SlotID,I32 rpm)


Purpose

Starts velocity motion control.


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

rpm

I32

Number

Actual torque is 1/10 of this variable (RPM)


Example

U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
I32 rpm =-1000; //In this case, motion is counterclockwise so actual value of torque is |-1000| /
10 => 100RPM

I16 status= _DMC_01_set_velocity (CardNo, NodeID, SlotID, rpm);

This manual is related to the following products: