Chapter 28 4-Channel Pulse Interface (Mode 1) Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
28.13 _DMC_01_rm_04pi_md1_set_soft_limit
FORMAT
I16 PASCAL _DMC_01_rm_04pi_md1_set_soft_limit(U16 CardNo, U16 NodeID,U16 SlotID,
I32 PLimit, I32 NLimit,U16 Enable)
Purpose
Enables/disables software limit under RM04PI Mode 1.
Parameters
Name
Data Type
CardNo
NodeID
SlotID
PLimit
NLimit
Enable
Example
U16 CardNo=0; U16 NodeID =1, SlotID=0;
I32 PLimit=5000, NLimit=-5000;
U16 Enable=1;
I16 status = _DMC_01_rm_04pi_md1_set_soft_limit (CardNo, NodeID, SlotID, PLimit, NLimit,
Enable);
Revised March, 2012
Unit
U16
Number Unit
U16
Number Unit
U16
Number Unit
I32
Number Unit
I32
Number Unit
U16
Selection
Description
CardNo is between 0~15
Node ID
Slot ID
Value of positive software limit
Value of negative software limit
0: Disable software limit
1: Enable software limit
28-23