beautypg.com

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

Page 308

background image

Chapter 20 2-Axis Arc Interpolation Motion Control API | PCI-DMC-A01 / PCI-DMC-B01

20-20

Revised March, 2012

Description

Figure 20.3


Example

U16 CardNo=0;
U16 NodeIDArray[2]={1,2};
U16 SlotID[2]={0, 0};
I32 Center_X =25000;
I32 Center_Y =25000;
I32 StrVel=0;
I32 MaxVel=50000;
I32 End_x=50000;
I32 End_y=50000;
I16 Dir=1; //This value is 1, indicating a clockwise arc interpolation.
F64 Tacc=0.1;
F64 Tdec=0.1;

I16 status= _DMC_01_start_tr_arc3_xy (CardNo, NodeIDArray, SlotID, Center_X, Center_Y,
End_x, End_y,Dir, StrVel, MaxVel, Tacc, Tdec);

This manual is related to the following products: