Delta Electronics PCI-DMC-A01 Computer Hardware User Manual


 
Chapter 34 Multi-Axis Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
34-4 Revised March, 2012
34.2 _ DMC_01_liner_speed_master
FORMAT
I16 PASCAL _ DMC_01_liner_speed_master (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
When setting the multi-axis (Line2, Line3, Multi_Axis) motion velocity, the original motion
velocity setting (Mode=0) is for velocity while (Mode=1) has velocity set as the component
velocity speed for the axis with the greatest travel (Once the Master axis is configured, the
velocities for other axes will be automatically calculated based on the value of the Master
axis).
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
Mode U16 Selection
0: Velocity (Default setting).
1: Maximum component velocity for axis with
longest travel.
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 Mode=1;
I16 status = _ DMC_01_liner_speed_master (CardNo, NodeID, SlotID, Mode);