Delta Electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC-A01 User Manual
Page 216
Chapter 11 Velocity Motion Control Packet Protocol API | PCI-DMC-A01 / PCI-DMC-B01
11-2
Revised March, 2012
11.1 _DMC_01_set_velocity_mode
FORMAT
I16 PASCAL _DMC_01_set_velocity_mode (U16 CardNo, U16 NodeID, U16 SlotID,
F64 Tacc,F64 Tdec)
Purpose
Sets the velocity motion control parameter profile.
Parameters
Name
Data Type
Unit
Description
CardNo U16
Number
Unit
CardNo is between 0~15
NodeID
U16
Number Unit
Node ID
SlotID
U16
Number Unit
Slot ID
Tacc
F64
Second
Specified acceleration time
Tdec
F64
Second
Specified deceleration time
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
F64 Tacc=0.1, Tdec=0.1;
/* Set velocity mode parameter (value for acceleration and deceleration time)) */
I16 status = _DMC_01_set_velocity_mode (CardNo, NodeID, SlotID, Tacc, Tdec);