
Mint v4 PC Programming Guide
viii
MN1278 05.2001
3.3.2 A Visual Basic Tutorial. ......................................................................27
3.4 Borland Delphi 5.0 ..................................................................................31
PC Based Motion Control ........................................................35
4.1 Limitations of PC based applications ......................................................37
4.2 Events and Interrupt Control on NextMove PCI ......................................38
4.2.1 Writing and Installing an Interrupt Handler .........................................38
4.2.2 Event Control Functions.....................................................................42
4.2.3 Interrupting the Host from a Mint Program ( DPR Events ).................43
4.2.4 Handling Events Using the ActiveX Control........................................43
NextMove PCI and Non-Microsoft Operating Systems..........45
5.1 How to Recognise the NextMove PCI. ....................................................46
5.2 Host Accessible Hardware on NextMove PCI. ........................................46
5.3 The CSimplePCI class............................................................................46
5.3.1 The CMySimplePCI Example. ............................................................47
5.3.2 Functions Required by the Overloaded Class. ...................................47
5.3.3 Files to Include in a CSimplePCI Derived Class Project. ....................49
Appendix 1: DPR Map ..............................................................51
6.1 NextMove PCI DPR Map ........................................................................51
6.2 NextMove PC DPR Map .........................................................................54
6.3 Status and Control Registers..................................................................56
6.4 Axis Data ................................................................................................59
6.5 I/O Data ..................................................................................................61
6.6 Comms Array..........................................................................................62
6.7 Immediate Comand Mode.......................................................................62
6.8 Pseudo Serial Interface ..........................................................................63
6.9 Special Functions Registers ...................................................................64