Chapter 34 Multi-Axis Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
34-2 Revised March, 2012
34.1 _DMC_01_multi_axes_move FORMAT
I16 PASCAL _DMC_01_multi_axes_move(U16 CardNo,U16 AxisNum, U16* NodeID,
U16* SlotID, I32 *DistArrary, I32 StrVel, I32 MaxVel, F64 Tacc, F64 Tdec,U16 m_curve,
U16 m_r_a)
Purpose
Sets motion control for more than 2 axes.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
AxisNum U16 Number Unit Axis ID
NodeID U16* Number Unit Node ID
SlotID U16* Number Unit Slot ID
DistArrary I32*
Number of
pulses array Motion to be executed by each axis
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
m_curve U16 Selection 1: T-curve
2: S-curve
m_r_a U16 Selection
0: Relative motion displacement
1: Absolute motion displacement