Chapter 38 Limit Reversal API | PCI-DMC-A01 / PCI-DMC-B01
38-4 Revised March, 2012
38.3 _ DMC_01_rm_04pi_set_PEL_polarity
FORMAT
I16 PASCAL _DMC_01_rm_04pi_set_PEL_polarity (U16 CardNo, U16 NodeID, U16 SlotID
U16 inverse)
Purpose
Reverses direction of positive limit.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Selection Node ID
SlotID U16 Number Unit Slot ID
Inverse U16 Selection data
0: Positive
1: Negative
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 Inverse=1; /Reverse direction of positive limit
I16 status = _DMC_01_rm_04pi_set_PEL_polarity (CardNo, NodeID, SlotID, inverse);