Chapter 34 Multi-Axis Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
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
CardNo
NodeID
SlotID
Mode
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 Mode=1;
I16 status = _ DMC_01_liner_speed_master (CardNo, NodeID, SlotID, Mode);
34-4
Unit
U16
Number Unit
U16*
Number Unit
U16*
Number Unit
U16
Selection
Description
CardNo is between 0~15
Node ID
Slot ID
0: Velocity (Default setting).
1: Maximum component velocity for axis with
longest travel.
Revised March, 2012