Delta Electronics PCI-DMC-B01 Computer Hardware User Manual


 
Chapter 6 Interface API | PCI-DMC-A01 / PCI-DMC-B01
6-10 Revised March, 2012
6.16 _DMC_01_initial_bus2
FORMAT
I16 PASCAL _DMC_01_initial_bus2 ( )
Purpose
Initializes all external buses.
Parameters
Function has no parameters.
Example
I16 status= _DMC_01_initial_bus2 ( );
6.17 _DMC_01_motion_cnt
FORMAT
I16 PASCAL _DMC_01_motion_cnt (U16 CardNo, U16 NodeID, U16 SlotID,
U16 *pc_mc_cnt, U16 *dsp_mc_cnt)
Purpose
Retrieves MailBox and DSP counter values.
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
pc_mc_cnt U16* Number MailBox Command count on PC
dsp_mc_cnt U16* Number Command count that DSP got from MailBox
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 pc_mc_cnt;
U16 dsp_mc_cnt;
I16 status= _DMC_01_motion_cnt (CardNo, NodeID, SlotID, &pc_mc_cnt, &pc_mc_cnt);