Delta Electronics PCI-DMC-B01 Computer Hardware User Manual


 
Chapter 19 2-Axis Linear Interpolation Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
19-2 Revised March, 2012
19.1 _DMC_01_start_tr_move_xy
FORMAT
I16 PASCAL _DMC_01_start_tr_move_xy(U16 CardNo, U16* NodeID,U16* SlotID, I32 DisX,
I32 DisY, I32 StrVel, I32 MaxVel, F64 Tacc, F64 Tdec)
Purpose
2-axis linear interpolation motion using relative coordinates with T-curve velocity
cross-section.
When setting StrVel, make sure that its value is smaller than MaxVel.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit
Node ID of card used for motion displacement
along X-axis and Y-axis
NodeIDArray U16* Number Unit
Holds Node ID sets used for linear
interpolation
NodeIDArray[0] holds the 1st set of Node ID
NodeIDArray[1] holds the 2nd set of Node ID
SlotID U16* Number Unit Slot ID
DisX I32 Number of pulses
Relative path parameter for motion of Node
ID on X-axis
DisY I32 Number of pulses
Relative path parameter for motion of Node
ID on Y-axis
StrVel I32 Pulses per second Starting velocity parameter
MaxVel I32 Pulses per second Maximum velocity parameter
Tacc F64 Second Specified acceleration time
Tdec F64 Second Specified deceleration time