beautypg.com

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

Page 460

background image

Chapter 36 Interrupt API | PCI-DMC-A01 / PCI-DMC-B01

36-2

Revised March, 2012

36.1 _DMC_01_ set_int_factor

FORMAT

I16 PASCAL _DMC_01_set_int_factor (U16 CardNo, U16 NodeID, U16 int_factor)


Purpose

Sets interrupt mode.


Parameters

Name

Data Type

Unit

Description

CardNo U16

Number

Unit

CardNo is between 0~15

NodeID

U16

Number Unit

Node ID

int_factor U16

Selection

There are 8 modes in total:
1. Normal Stop
2. Next Buffer
3. Acceleration End
4. Deceleration Start
5. Sdo Finish (unavailable)
6. DMC Cycle Start
7. RM04PI-FIFO
8. User Defined (unavailable)


Example

U16 CardNo=0;
U16 NodeID=1;
U16 int_facter=1; //Normal Stop

I16 status = _DMC_01_set_int_factor (CardNo, NodeID, int_factor);

This manual is related to the following products: