beautypg.com

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

Page 67

background image

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

Revised March, 2012

3-45

5) Set Servo Motor Power ON/OFF(servo on/servo off)

Figure 3.65

Click on the “SVON” button to execute the following procedure:

rt = _DMC_01_ipo_set_svon(gDMCCardNo, NodeID, SlotID , ON_OFF);

// ON_OFF: 0 – Servo Power OFF; 1 – Servo Power ON

6) Click on the “Move” button to start executing continuous interpolation motion

The following procedures ➀~➇ will realize the continuous interpolation motion
shown in Fig. 3.60. t

rt = _DMC_01_start_ta_move_xy(gDMCCardNo, gLine2, gSlot2, 0, edge, 0,
radius, 0.1, 0);

// Deceleration set to 0

rt = _DMC_01_start_ta_arc_xy(gDMCCardNo, gLine2, gSlot2, radius, edge, 90,
0, radius, 0, 0);

// Acceleration and deceleration set to 0

rt = _DMC_01_start_ta_move_xy(gDMCCardNo, gLine2, gSlot2, edge + radius,
edge + radius, 0, radius, 0, 0);

// Acceleration and deceleration set to 0

rt = _DMC_01_start_ta_arc_xy(gDMCCardNo, gLine2, gSlot2, edge + radius,
edge, 90, 0, radius, 0, 0);

// Acceleration and deceleration set to 0

rt = _DMC_01_start_ta_move_xy(gDMCCardNo, gLine2, gSlot2, edge +
radius*2, 0, 0, radius, 0, 0);

// Acceleration and deceleration set to 0

rt = _DMC_01_start_ta_arc_xy(gDMCCardNo, gLine2, gSlot2, edge + radius, 0,
90, 0, radius, 0, 0);

// Acceleration and deceleration set to 0

.

rt = _DMC_01_start_ta_move_xy(gDMCCardNo, gLine2, gSlot2, radius, 0 -
radius, 0, radius, 0, 0);

// Acceleration and deceleration set to 0

rt = _DMC_01_start_ta_arc_xy(gDMCCardNo, gLine2, gSlot2, radius, 0, 90, 0,
radius, 0, 0.1);

// Acceleration set to 0

This manual is related to the following products: