beautypg.com

Delta Electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC-A01 User Manual

Page 57

background image

Chapter 3 Operating Principles | PCI-DMC-A01 / PCI-DMC-B01

Revised March, 2012

3-35

2-axis arc interpolation using interpolation method 2 (Arc2).

rt = _DMC_01_start_sa_arc2_xy(gDMCCardNo, gArcNode, gSlot2, arc2_end_x,
arc2_end_y, arc2_angle, StrVel, MaxVel, acc, dec);

// Arc interpolation motion using absolute coordinates under the S-curve velocity
cross-section

rt = _DMC_01_start_ta_arc2_xy(gDMCCardNo, gArcNode, gSlot2, arc2_end_x,
arc2_end_y, arc2_angle, StrVel, MaxVel, acc, dec);

// Arc interpolation motion using absolute coordinates under the T-curve velocity
cross-section

rt = _DMC_01_start_sr_arc2_xy(gDMCCardNo, gArcNode, gSlot2, arc2_end_x,
arc2_end_y, arc2_angle, StrVel, MaxVel, acc, dec);

// Arc interpolation motion using relative coordinates under the S-curve velocity
cross-section

rt = _DMC_01_start_tr_arc2_xy(gDMCCardNo, gArcNode, gSlot2, arc2_end_x,
arc2_end_y, arc2_angle, StrVel, MaxVel, acc, dec);

// Arc interpolation motion using relative coordinates under the T-curve velocity
cross-section

2-axis arc interpolation using interpolation method 3 (Arc3):
rt = _DMC_01_start_sa_arc3_xy(gDMCCardNo, gArcNode, gSlot2, arc3_cen_x,
arc3_cen_y, arc3_end_x, arc3_end_y, arc3_dir, StrVel, MaxVel, acc, dec);

// Arc interpolation motion using absolute coordinates under the S-curve velocity
cross-section

rt = _DMC_01_start_ta_arc3_xy(gDMCCardNo, gArcNode, gSlot2, arc3_cen_x,
arc3_cen_y, arc3_end_x, arc3_end_y, arc3_dir, StrVel, MaxVel, acc, dec);

// Arc interpolation motion using absolute coordinates under the T-curve velocity
cross-section

rt = _DMC_01_start_sr_arc3_xy(gDMCCardNo, gArcNode, gSlot2, arc3_cen_x,
arc3_cen_y, arc3_end_x, arc3_end_y, arc3_dir, StrVel, MaxVel, acc, dec);

// Arc interpolation motion using relative coordinates under the S-curve velocity
cross-section

rt = _DMC_01_start_tr_arc3_xy(gDMCCardNo, gArcNode, gSlot2, arc3_cen_x,
arc3_cen_y, arc3_end_x, arc3_end_y, arc3_dir, StrVel, MaxVel, acc, dec);

// Arc interpolation motion using relative coordinates under the T-curve velocity
cross-section

7) Stop motion

Figure 3.53

This manual is related to the following products: