beautypg.com

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

Page 274

background image

Chapter 18 1-Axis Motion Control API | PCI-DMC-A01 / PCI-DMC-B01

18-20

Revised March, 2012

A

Figure 18.8 Mode = 1 change to new speed

Figure 18.9 Mode = 2 change to new speed ratio


Example

U16 CardNo=0; U16 NodeID =1, SlotID=0, Mode=0;
I32 NewSpeed=3000;
F64 sec=0.1;

I16 status= _DMC_01_feedrate_overwrite (CardNo, NodeID, SlotID, Mode, NewSpeed, sec);


A

Starting at point A, set NewSpeed to

15000.
Speed now 200%, or double the original
from now on including the buffer

A

Starting at point A, set NewSpeed to 200.

Speed now 200%, or double the original
from now on for all commands including
those in the buffer.

This manual is related to the following products: