beautypg.com

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

Page 39

background image

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

Revised March, 2012

3-17

Input Node ID and check the “Timer” checkbox to enable motion status display
NodeID item: API function's argument variable “NodeID”.
Timer Checkbox: Check to display the motion status. Uncheck to disable display.

3) Enter the values for acceleration/deceleration time and rotations per minute (RPM)

Figure 3.27

Tacc item API function's argument variable “Tacc”.
Tdec item: API function's argument variable “Tdec”.
RPM item: API function's argument variable “rpm”.
※Actual RPM is 10% of rpm variable.

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

Figure 3.28

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

5) Velocity Motion Control

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

/* Set velocity mode parameter (value for acceleration and deceleration time)) */

rt = _DMC_01_set_velocity_mode(gDMCCardNo, NodeID, SlotID, Tacc, Tdec);

/* Start velocity mode motion */

rt = _DMC_01_set_velocity(gDMCCardNo, NodeID, SlotID, rpm);

// If value of RPM is greater than 0 then drive motor rotates clockwise. if value is less
than 0 then rotates counterclockwise.

Press the “STOP” button to execute velocity stop or not.

/* Set whether to stop velocity motion control. If stop value is 1 then velocity motion
stops. */

rt = _DMC_01_set_velocity_stop(gDMCCardNo, NodeID, SlotID, stop);

This manual is related to the following products: