Delta Electronics PCI-DMC-A01 Computer Hardware User Manual


 
Chapter 3 Operating Principles | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 3-29
6) Start motion control with linear interpolation in 2 or 3 axes
Click on the “” or ““ button to execute the following procedure:
2-axis linear interpolation:
rt = _DMC_01_start_sa_move_xy(gDMCCardNo, gLine2, gSlot2, Distance,
Distance, StrVel, MaxVel, acc, dec);
//// Linear interpolation motion using absolute coordinates with S-curve velocity
cross-section
rt = _DMC_01_start_ta_move_xy(gDMCCardNo, gLine2, gSlot2, Distance,
Distance, StrVel, MaxVel, acc, dec); //// Linear interpolation motion using absolute
coordinates with T-curve velocity cross-section
rt = _DMC_01_start_sr_move_xy(gDMCCardNo, gLine2, gSlot2, Distance,
Distance, StrVel, MaxVel, acc, dec);
//// Linear interpolation motion using relative coordinates with S-curve velocity
cross-section
rt = _DMC_01_start_tr_move_xy(gDMCCardNo, gLine2, gSlot2, Distance, Distance,
StrVel, MaxVel, acc, dec); //// Linear interpolation motion using relative coordinates
with T-curve velocity cross-section
3-axis linear interpolation:
rt = _DMC_01_start_sa_move_xyz(gDMCCardNo, gLine3, gSlot3, Distance,
Distance, Distance, StrVel, MaxVel, acc, dec);
//// Linear interpolation motion using absolute coordinates with S-curve velocity
cross-section
rt = _DMC_01_start_ta_move_xyz(gDMCCardNo, gLine3, gSlot3, Distance,
Distance, Distance, StrVel, MaxVel, acc, dec);
//// Linear interpolation motion using absolute coordinates with T-curve velocity
cross-section
rt = _DMC_01_start_sr_move_xyz(gDMCCardNo, gLine3, gSlot3, Distance,
Distance, Distance, StrVel, MaxVel, acc, dec);
//// Linear interpolation motion using relative coordinates with S-curve velocity
cross-section
rt = _DMC_01_start_tr_move_xyz(gDMCCardNo, gLine3, gSlot3, Distance,
Distance, Distance, StrVel, MaxVel, acc, dec);
//// Linear interpolation motion using relative coordinates with T-curve velocity
cross-section