Chapter 13 Using PDO Protocol API | PCI-DMC-A01 / PCI-DMC-B01
13-6 Revised March, 2012
13.5 _DMC_01_set_group
FORMAT
I16 PASCAL _DMC_01_set_group (U16 CardNo, U16* NodeID,U16* SlotID,
U16 NodeID_Num, U16 enable)
Purpose
Sets a group.
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
NodeID_Num U16 Number Group number
Enable U16 Number Unit
0: Clear group.
1: Set as group.
Example
U16 CardNo=0;
U16 NodeID[4] ={1,3,5};
U16 SlotID[4]={0,0,0};
U16 NodeID_Num=3; //Set 3 cards in the same group.
U16 enable=1;
I16 status=_DMC_01_set_group (CardNo, NodeID, SlotID, NodeID_Num, enable);