beautypg.com

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

Page 218

background image

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

11-4

Revised March, 2012

11.3 _DMC_01_set_velocity_stop

FORMAT

I16 PASCAL _DMC_01_set_velocity_stop (U16 CardNo,U16 NodeID,U16 SlotID,U16 stop)


Purpose

Stops 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

stop

U16

Selection

0: Maintain current velocity motion status
1: Stop velocity motion


Example

U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 stop=1;
I16 rpm=2000; // /In this case, motion is clockwise so actual value of torque is |2000| / 10 =>
200RPM

/* Start velocity motion */
I16 status= _DMC_01_set_velocity (CardNo, NodeID, SlotID, rpm);
/* Stop current velocity motion */
status = _DMC_01_set_velocity_stop (CardNo, NodeID, SlotID, stop);


This manual is related to the following products: