Delta Electronics PCI-DMC-A01 Programming Manual page 402

High-speed pci 12-axis motion control card
Hide thumbs Also See for PCI-DMC-A01:
Table of Contents

Advertisement

Chapter 28 4-Channel Pulse Interface (Mode 1) Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
28.14 _DMC_01_rm_04pi_md1_get_soft_limit_status
 FORMAT
I16 PASCAL _DMC_01_rm_04pi_md1_get_soft_limit_status (U16 CardNo, U16 NodeID,
U16 SlotID ,U16* NLimit_status,U16* PLimit_status)
 Purpose
Retrieves current 4-axis software limit contact status under RM04PI Mode 1.
 Parameters
Name
Data Type
CardNo
NodeID
SlotID
NLimit_status
PLimit_status
 Example
U16 CardNo=0; U16 NodeID =1, SlotID=0;
U16 NLimit_status, PLimit_status;
I16 status = _DMC_01_rm_04pi_md1_get_soft_limit_status(CardNo, NodeID, SlotID ,
&NLimit_status, &PLimit_status);
// If there is contact with negative software limit, NLimit_status returns 1; Return 0
otherwise
// If there is contact with positive software limit, PLimit_status returns 1; Return 0
otherwise
28-24
Unit
U16
Number Unit
U16
Number Unit
U16
Number Unit
U16*
Number Unit
U16*
Number Unit
Description
CardNo is between 0~15
Node ID
Slot ID
Return contact status of negative software limit
Return contact status of positive software limit
Revised March, 2012

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-dmc-b01

Table of Contents