Chapter 38 Limit Reversal API | PCI-DMC-A01 / PCI-DMC-B01
38-2 Revised March, 2012
38.1 _ DMC_01_rm_04pi_set_MEL_polarity
FORMAT
I16 PASCAL _DMC_01_rm_04pi_set_MEL_polarity (U16 CardNo, U16 NodeID, U16 SlotID
U16 inverse)
Purpose
Reverses direction of negative 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 negative limit
I16 status = _DMC_01_rm_04pi_set_MEL_polarity (CardNo, NodeID, SlotID, inverse);