beautypg.com

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

Page 399

background image

Chapter 28 4-Channel Pulse Interface (Mode 1) Motion Control API | PCI-DMC-A01 / PCI-DMC-B01

Revised March, 2012

28-21

28.11 _DMC_01_rm_04pi_md1_v_change

FORMAT

I16 PASCAL _DMC_01_rm_04pi_md1_v_change (U16 CardNo, U16 NodeID, U16 SlotID,
I32 NewSpeed, F64 sec)


Purpose

Replaces the current velocity with a new velocity value under RM04PI Mode 1.
※Please refer to section 18.6 “_DMC_01_v_change” for details.


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

NewSpeed

I32

Pulses per

second

Velocity parameter to be changed

sec F64

Second

Specified acceleration/deceleration time for
velocity change.


Example

U16 CardNo=0, NodeID =1, SlotID=0;
I32 NewSpeed=3000;
F64 sec=0.1;
I16 status= _ DMC_01_rm_04pi_md1_v_change (CardNo, NodeID, SlotID, NewSpeed, sec);

This manual is related to the following products: