Installing the microsoft version – Rockwell Automation 6008-SI IBM PC I/O SCNNR 6008-SI User Manual
Page 32

Chapter 4
Programming Overview
4-5
This section provides installation suggestions. Feel free to modify this
procedure according to your own configuration.
We recommend that you make backup copies of the distribution disks and
keep the originals in a safe place, away from your computer and away
from stray magnetic fields.
Please make sure that your compiler is installed according to Microsoft’s
instructions before you follow the procedure below.
If you have a:
Then:
3.5Ćinch floppyĆdisk drive
Write protect the supplied 720K diskette (or your backup copy) by
sliding the write-protect tab so that a hole shows through the
diskette casing. Insert the diskette in your diskette drive.
5.25Ćinch floppyĆdisk drive Write protect the supplied 360K diskette labeled `Microsoft C
version' (or your backup copy) by applying a standard adhesive foil
write-protect tab. Insert the diskette in your diskette drive.
In the command examples below, we assume you’re using the a: drive, so
please substitute b: if appropriate. We also assume that your hard disk is
drive c: –– again, please substitute another drive letter if appropriate.
There are two main approaches: either copy the scanner’s include file and
libraries into the directories with the compiler–supplied files, or copy the
scanner files into the work directory where you’ll be developing software.
Method 1: Scanner files in same directories as compiler files
1.
Change to the root directory for the compiler. If you used Microsoft’s
default installation of C 6.00, the command is:
for Microsoft C 6.0:
cd \c600
If you have an earlier version of Microsoft C, or installed Microsoft
C 6.0 to a non–default directory, the proper cd command depends on
the directory you chose when you installed the compiler.
2.
Copy the header file and libraries, like this:
copy a:h_6008si.h c:include
copy a:6008si?m.lib c:lib
You’ll see five libraries copied, for the small, compact, medium,
large, and huge memory models.
3.
Create your development directory using the md command, and
change to that directory by using the cd command.
Installing the Microsoft
Version