User guide

62
6000 Series Programmer's Guide
Visual C++
Sample
Applications
Source code for sample Windows applications are provided for each DLL. (For additional
information, refer to the README.TXT files in the respective sub-directory.)
WN956000.DLL
- Directory is MA6000\Drivers\win95
- Windows 95 (32-bit) application is called “Mawin95”
- For details about each source file, refer to the README.TXT file.
- The application must be compiled using the 32-bit version of Visual C++.
NT6400.DLL
- Directory is MA6000\Drivers\nt35
- Windows NT 3.5 application is called “Motarcnt”
- For details about each source file, refer to the README.TXT file.
- The application must be compiled using the 32-bit version of Visual C++.
WIN6400.DLL
- Directory is MA6000\Drivers\win31
- Windows 3.1 application is called “Oppanel”
- The application is an operator panel that allows you to start and stop motion on
each axis. Also, it continuously displays motion and limit status.
- You can compile the Oppanel application using the Microsoft C compiler (6.0 and
above) and the Microsoft Windows SDK.
- Source files: Make File........... OPPANEL.MAK
Code Files.......... OPPANEL.C
...................................... OPPANEL.H
...................................... OPPANEL.HH
...................................... WIN6400.H
Resource Files..... OPPANEL.RC
...................................... OPPANEL.DLG
...................................... OPPANEL.ICO
...................................... EOTLIMIT.ICO
...................................... HOMLIMIT.ICO
...................................... NOLIMIT.ICO
Link Files .......... OPPANEL.LNK
...................................... OPPANEL.DEF
Library Files....... WIN6400.DLL
...................................... WIN6400.LIB
...................................... METER.DLL *
...................................... NT6400.DLL
Executable File.... OPPANEL.EXE
* METER.DLL provides a meter dialog for the 6000 operating system
download process via osload. If this DLL is not present, an hourglass
will appear during the download of the 6000 operating system.
Motion OCX Toolkit™
(bus-based products only)
TO ORDER
To order the Motion
OCX Toolkit, contact
your local Automation
Technology Center
(ATC) or distributor.
The Motion OCX Toolkit provides 32-bit Ole Custom Controls (OCXs) designed to run under
Windows 95 or Windows NT. Controls include:
Communications Shell — control basic communication with the 6000 product, including
interrupt handling and sending/receiving files.
Fast-Status Polling — poll the 6000 product's fast status register (see page 43 for
description of fast status area).
Terminal — terminal emulator.
The OCX controls can be used with Visual Basic 4.0, Delphi 2.0. Visual C++ 4.x, or any 32
bit development environment that can contain OCX controls.
For more information, refer to the Motion OCX Toolkit User Guide.