Delta Electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC-A01 User Manual
Page 261
Chapter 18 1-Axis Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012
18-7
18.6 _DMC_01_v_change
FORMAT
I16 PASCAL _DMC_01_v_change (U16 CardNo, U16 NodeID, U16 SlotID, I32 NewSpeed,
F64 sec)
Purpose
Replaces the current motion velocity with a new velocity value.
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.
Description
Figure 18.3 Changing the velocity parameter
Example
U16 CardNo=0;U16 NodeID =1, SlotID=0;
I32 NewSpeed=3000;
F64 sec=0.1;
I16 status= _DMC_01_v_change (CardNo, NodeID, SlotID, NewSpeed, sec);
T-Curve S-Curve