Chapter 6 Interface API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 6-5
6.7 _DMC_01_check_nodeno FORMAT
I16 PASCAL _DMC_01_check_nodeno(U16 CardNo, U16 NodeID,U16 SlotID,U16* exist)
Purpose
Checks to see if the node already exists.
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
exist U16* Selection 0: Node ID does not exist
1: Node ID exists
Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID =0; //If Slot ID is set to 0, then the Slave is a servo drive
U16 exist =0;
I16 status= _DMC_01_check_nodeno (CardNo, NodeID, SlotID, &exist);