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
CardNo
NodeID
SlotID
NewSpeed
sec
Description
T-Curve
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);
Revised March, 2012
Chapter 18 1-Axis Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
Unit
U16
Number Unit
U16
Number Unit
U16
Number Unit
Pulses per
I32
second
F64
Second
Figure 18.3 Changing the velocity parameter
Description
CardNo is between 0~15
Node ID
Slot ID
Velocity parameter to be changed
Specified acceleration/deceleration time for
velocity change.
S-Curve
18-7