Delta Electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC-A01 User Manual
Page 266
Chapter 18 1-Axis Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
18-12
Revised March, 2012
18.9 _DMC_01_start_ta_move_2seg
FORMAT
I16 PASCAL _DMC_01_start_ta_move_2seg(U16 CardNo, U16 NodeID,U16 SlotID, I32 Dist,
I32 Dist2, I32 StrVel, I32 MaxVel, I32 MaxVel2, F64 Tacc, F64 Tsec, F64 Tdec)
Purpose
2nd motion displacement using absolute coordinates with T-curve velocity cross-section.
※Motion Buffer will be cleared before this function is executed.
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
Absolute coordinates for first segment
Dist2
I32
Number of
pulses
Absolute coordinates for second segment
StrVel
I32
Pulses per
second
Starting velocity
MaxVel
I32
Pulses per
second
Maximum velocity for first segment
MaxVel2
I32
Pulses per
second
Maximum velocity for second segment
Tacc
F64
Second
Specified acceleration time
Tsec
F64
Second
Acceleration/deceleration time when switching
from first segment to second segment
Tdec
F64
Second
Deceleration time
Example
U16 CardNo=0, NodeID =1, SlotID=0;
I32 Dist=500000, Dist2=500000
I32 StrVel=1000;
I32 MaxVel=10000, MaxVel2=30000;
F64 Tacc=0.1;
F64 Tsec=0.1;
F64 Tdec=0.1;
I16 status= _DMC_01_start_ta_move_2seg (CardNo, NodeID, SlotID, Dist, Dist2, StrVel,
MaxVel, MaxVel2, Tacc, Tsec, Tdec);