beautypg.com

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

Page 252

background image

Chapter 17 Software Limit API | PCI-DMC-A01 / PCI-DMC-B01

17-2

Revised March, 2012

17.1 _DMC_01_set_soft_limit

FORMAT

I16 PASCAL _DMC_01_set_soft_limit (U16 CardNo, U16 NodeID, U16 SlotID, I32 PLimit,
I32 NLimit)


Purpose

Sets reference values for software positive/negative limits.


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

PLimit

I32

Number

Value of positive software limit

NLimit I32

Number

Value

of negative software limit


Example

U16 CardNo=0;
U16 NodeID =1;
U16 SlotID =0;
I32 PLimit =8000;
I32 NLimit =2000;

I16 status= _DMC_01_set_soft_limit (CardNo, NodeID, SlotID, PLimit, NLimit);

This manual is related to the following products: