Delta Electronics PCI-DMC-B01 Computer Hardware User Manual


 
Chapter 18 1-Axis Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
18-4 Revised March, 2012
18.3 _DMC_01_start_ta_move
FORMAT
I16 PASCAL _DMC_01_start_ta_move(U16 CardNo, U16 NodeID,U16 SlotID, I32 Dist,
I32 StrVel, I32 MaxVel, F64 Tacc, F64 Tdec)
Purpose
Motion displacement using absolute coordinates with T-curve velocity cross-section.
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
Dist I32
Number of
pulses
Specified distance in absolute coordinates
StrVel I32
Pulses per
second
Starting velocity
MaxVel I32
Pulses per
second
Maximum velocity
Tacc F64 Second Specified acceleration time
Tdec F64 Second Specified deceleration time
Example
U16 CardNo=0, NodeID =1, SlotID=0;
I32 Dist=100000;
I32 StrVel=0, MaxVel=50000;
F64 Tacc=0.1, Tdec=0.1;
I16 status= _DMC_01_start_ta_move (CardNo, NodeID, SlotID, Dist, StrVel, MaxVel, Tacc,
Tdec);