beautypg.com

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

Page 382

background image

Chapter 28 4-Channel Pulse Interface (Mode 1) Motion Control API | PCI-DMC-A01 / PCI-DMC-B01

28-4

Revised March, 2012

Example

U16 CardNo=0;
U16 NodeID =1;
U16 SlotID = 0;
I32 Dist = 1280000;
U16 StrVel = 1000, MaxVel =12800;
F64 Tacc=0.1, Tdec=0.1;
U16 m_curve = 1;
U16 m_r_a = 0;

/* RM04PI MODE1 carries out motion displacement in relative coordinates with T-curve
velocity cross-section*/
I16 status= _DMC_01_rm_04pi_md1_start_move (CardNo, NodeID, SlotID, Dist, StrVel,

MaxVel, Tacc, Tdec, m_curve, m_r_a);

This manual is related to the following products: