Assembly and Commissioning Instructions Servo amplifier D1-N  15.10.2015 
 
 
The D1-N servo drive amplifier supports the proprietary 
 protocol via 
both USB and the EtherCAT interface.  
The 
  handles communication and control between the PC and drive 
controller. 
A detailed description of this library and how to use it can be found in a separate 
document called 
 and can be downloaded from www.hiwin.de. Alternative-
ly, contact the technical support team at HIWIN (see section 2.9). 
This library can run on Microsoft Visual C++, Visual Basic and LabView applications 
and can be installed with the following operating systems: Windows 
95/98/2000/XP/Win7. 
The MPI library consists of 4 files:  
•  mpi.lib 
•  mpi.dll 
•  canlib32.dll 
•  mpint.h. 
Additional software called 
 must be installed for devices which are to be 
controlled via EtherCAT. This is open-source software that can be downloaded 
from 
http://www.winpcap.org. 
 
 
 
 
Features of the MPI library 
-  Communication settings (port number baud rate, USB/EtherCAT) . 
-  Simultaneous exchange of data with several communication ports , each of 
which is connected to a D1-N. 
-  Multitasking support 
Several tasks can be undertaken via the DLL interface with a minimum la-
tency period. 
-  Troubleshooting 
-  Read / write any variable / array in D1-N with 64-bit support 
-  Run PDL functions / PDL programs