Delta Electronics PCI-DMC-A01 Computer Hardware User Manual


 
Chapter 18 1-Axis Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 18-5
18.4 _DMC_01_start_sa_move
FORMAT
I16 PASCAL _DMC_01_start_sa_move(U16 CardNo, U16 NodeID,U16 SlotID, I32 Dist,
I32 StrVel, I32 MaxVel, F64 Tacc, F64 Tdec)
Purpose
Carries out motion displacement using absolute coordinates with S-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=30000;
F64 Tacc=0.1, Tdec=0.1;
I16 status= _DMC_01_start_sa_move (CardNo, NodeID, SlotID, Dist, StrVel, MaxVel, Tacc,
Tdec);