beautypg.com

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

Page 231

background image

Chapter 13 Using PDO Protocol API | PCI-DMC-A01 / PCI-DMC-B01

Revised March, 2012

13-5

13.4 _DMC_01_buf_dwell

FORMAT

I16 PASCAL _DMC_01_buf_dwell (I16 CardNo, U16 NodeID, U16 SlotID, I32 dwell_cnt)


Purpose

The interval time between two motion commands.


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

dwell_cnt

I32

Frequency

Dwell buffer interval (Delay time is 2 x dwell_cnt
+ 2)


Example

U16 CardNo=0; U16 NodeID =1; U16 SlotID=0;
I32 dwell_cnt=3; //If dwell_cnt has a value of 0 then delay time is 4 ms; In this example, the
value is 3 so delay time is 2*3+2=8ms
I16 status=_DMC_01_buf_dwell (CardNo, NodeID, SlotID, dwell_cnt);


This manual is related to the following products: