beautypg.com

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

Page 102

background image

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

3-80

Revised March, 2012

8) Set the new velocity, deceleration time and enable position change for new position.

Figure 3.110

New Vel item: Set new velocity. API function's argument variable “NewSpeed”.
sec item:
Set acceleration/deceleration time. API function's argument variable
“sec”.
PCh item: Enable position change.

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

Figure 3.111

Click on the “POWERON” 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

10) Start motion control (using point to point motion control as an example)

Figure 3.112

Click on the “” or “” button to execute the following procedure:

rt = _DMC_01_rm_04pi_md1_start_move (CardNo, NodeID, SlotID, Dist, StrVel,
MaxVel, Tacc, Tdec, m_curve, m_r_a);

// Carry out motion displacement

This manual is related to the following products: