beautypg.com

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

Page 458

background image

Chapter 35 Buffer Operation API | PCI-DMC-A01 / PCI-DMC-B01

35-2

Revised March, 2012

35.1 _DMC_01_set_trigger_buf_function

FORMAT

I16 PASCAL _DMC_01_set_trigger_buf_function (I16 CardNo, U16 NodeID, U16 SlotID,
U16 enable)


Purpose

Uses servo drive DI3 (SLD) to trigger Motion command.


Parameters

Name

Data Type

Unit

Description

CardNo I16

Number

Unit

CardNo is between 0~15

NodeID

U16

Number Unit

Node ID

SlotID

U16

Number Unit

Slot ID

enable

U16

Selection

0: Execute any motion command in buffer
1: Use to DI to trigger motion command in
buffer


Example

I16 CardNo=0
U16 NodeID=1, SlotID=0;
U16 enable=1; //Enable this functionTrigger DI3 (SLD) to get motion command in buffer

I16 status = _DMC_01_set_trigger_buf_function (CardNo, NodeID, SlotID, enable);

This manual is related to the following products: