Escolar Documentos
Profissional Documentos
Cultura Documentos
,17(5)$&(
*8,'(
August, 2001
7$%/(2)&217(176
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Chapter 1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
I/O Ports and Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
The Software Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
DIGIT.INF and PLOT.INF Information Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
.INF File Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Chapter 2Digitizers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Installation on PCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Verify Data Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Flow Chart 1Establish Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Run M650ED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Flow Chart 2Run M650ED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
DIGIT.INF File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Setting Up Your Port on UNIX Workstations . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
On the SUN Workstation: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
On the SGI Workstation: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
DIGIT.INF Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
MineSight Device Configuration Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
Alteck AC 30 Datatab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
Alteck AC 90C Datatab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
CalComp 2000 Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
CalComp 9000 Series (Talos) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
CalComp 9001 Series (Talos) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22
CalComp 9100 Series (Data Format 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
CalComp 9100 Series (Data Format 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
Old Style 9100 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
New Style 9100Menu On Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
CalComp Drawing Board II . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-26
CalComp Drawing Board III, Model 34480 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-27
CalComp Drawing Board III . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-28
CalComp 9500 Series (Data Format 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-29
Geographics Drafting Board Digitizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-30
GTCO 5A and 5LA Series (16 button cursor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-31
GTCO 5A and 5LA Series (4 button cursor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32
IBM 5084 Model 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-33
Kurta Digipad Series I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-34
Kurta Digipad Series III . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-35
Numonics 224 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-36
Numonics 1224 and 2400 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-37
Summagraphics Microgrid Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-38
Summagraphics Summasketch Series (500 lpi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-38
Summagraphics Summasketch Series III Professional . . . . . . . . . . . . . . . . . . . . . . . 2-38
Chapter 3Plotters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Verify the Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Run M122V1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
PLOT.INF File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
PLOT.INF Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Setting up Your Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
On the PC: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
On the SUN Workstation: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
On the SGI Workstation: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
MineSight Device Configuration Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
CalComp 906 PCI Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
CalComp 907 PCI Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
Hewlett Packard
HPGL or HPGL/2 Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
Bruning-Zeta
GML Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Setting Up Pen Palettes for HPGL/2 Plotting . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
In Regular Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
Run the Procedure and Create a Deferred Plot File . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
Run pentab.dat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
In Advanced Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
Matching screen and plot colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
Match Plot Colors to Screen Colorspentab.med . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
Match Screen Colors to Plotter Colorscolor.tab . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
Appendix ATechnical Support Telephone Numbers . . . . . . . . . . . . . . . . . . . . . . . . 4-i
Toll Free Technical Support Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-i
FAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-i
E-mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-i
Appendix BUsing Wintab32 in MineSight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-i
Preface
Please note that MEDEXE is an environmental variable that points to the directory where the
MineSight program files are located. On Windows NT platforms, WINEXE is a common
name for this directory.
Also, MineSight does not support USB (Universal Serial Bus) ports at this time.
i-1
i-2
Chapter 1Digitizers
Chapter 1Overview
One of the most difficult phases of installing any software system is interfacing with the
hardware devices (plotters and digitizers). This short guide is designed to help relieve the
frustration that often accompanies this phase.
The first step is to examine your hardware to make sure that you can physically make all the
necessary connections. We recommend that the plotter be connected via network or via the
parallel port. You will need a serial cable to connect to digitizers and possibly to your plotter.
This cable must have the proper connectors to match your exact equipment combination.
As you work to set up your digitizer and plotter, you may experience a situation that is
different from the one described in this Device Interface Guide. If this happens to you, follow
the steps below:
1. Reread the guide to make sure you have followed the steps given.
2. Repeat the steps and record exactly what you have done and what has happened during
each step. You will need to supply this information to Mintecs Technical Support
personnel.
3. For PCs, run winmsd, choose File$Save Report, and toggle ON the All Tabs and Complete
options. Send this report to Mintecs Technical Support group.
4. When you reach the point of being able to duplicate the error you experienced, call
Mintecs Technical Support for assistance (see Appendix A for Technical Support
telephone numbers).
5. Have the Computer and digitizer or plotter available for testing during your telephone
conversation with Mintec personnel.
The path that the wires take within the cable is as important as the connectors themselves. This
guide is not designed to explain the intricacies of serial communication, but there are several
points that should be made.
Data actually flows in only two of the wires. These are numbered 2 and 3.
In order for data to flow, these wires (pins) must be connected to the appropriate
pins on both hardware devices. Sometimes you will need to connect 2-2 and 3-3.
This is called a straight through cable. Other cases require connecting 2-3 and
3-2. This is known as a crossover cable. Often an adapter is used to convert the
9-pin to a 25-pin connector. These adapters (called pigtails) are usually
crossover connections, but occasionally they are straight through connections. Be
sure to check which type you have. A null modem is also a crossover connection.
The rest of the pins communicate the current state of the ports on both the
computer and the hardware device. The MineSight device drivers do not use these
pins, except where noted in the diagram below.
The following diagram shows a general wiring scheme for most MineSight device
drivers. The Zeta plotter driver is the only exception. Note that this is a generalized
schematic and that, in 99% of the cases, more simple cables can be used. If you are
already using a cable with other software and it does not match the diagram below,
try it with MineSight. Chances are very good that it will work with no changes.
Also, if you plan to use other software with the device, configure the cable for the
other software. Other packages usually place more constraints on the cable design.
On PCs, the serial ports must be configured in the standard manner. If the configuration of
the serial ports is not standard, MineSight will not recognize it. You can change the address
and IRQ by entering the Control Panel (click on the Start button, then on Settings), and then
clicking on the Ports icon $ Settings $ Advanced. Below is a table of the standard IRQs and
Addresses for COM1 and COM2.
COM1 COM2
Serial port 1 Serial port 2
Address 03F8-03FE 02F8-02FE
IRQ 4 3
These ports must not be under the control of a driver program that does not use the driver,
such as wintab.exe. If a driver is in control of the port, then Windows NT will not allow other
software (such as MineSight) to access the port. Similarly, the port cannot be dedicated as a
pointing device if it is to be available to MineSight. If the tablet is configured as a pointing
device, then it cannot be used as a digitizing device.
To disable wintab, enter the Control Panel and select Devices. Use the slider bar to get to the
"W" listing, click wintab to select it and click on the HW Profiles button, then on the Disable
button. Also, check for ccntdrv in the Services icon under the Control Panel. Reboot Windows
NT, log in, start Hyperterminal and digitize a test point.
Note that AutoCAD does not need to use wintab. AutoCAD has drivers for most digitizers
and can be configured to use the AutoCAD ADI digitizer driver. Using the ADI driver
removes the WINTAB/MineSight conflict.
With this key information you are ready to look at the second step for interfacing
hardwarethe software interface.
This parameter is used for plotters connected to the serial port only:
Communications Schemethe mode in which data is transmitted. MineSight uses
ACK/NAK for CalComp devices; direct control and XON/XOFF must be set to
off. Direct control and XON/XOFF are used for HP devices.
Chapter 2Digitizers
Recommendations
CalComp Series 9100 and CalComp-compatible digitizers are recommended for use with
MineSight. Because most of our clients use these digitizer models, Mintecs Technical Support
group has accumulated a large bank of information on how they interface with MineSight
programs. Other digitizer models are also supported by MineSight. In general, MineSight
expects ASCII point data from the digitizer.
Device configuration tables are included for every supported model. Additional information
from the Technical Support data bank is provided where it is known.
Installation on PCs
Connect an RS232 cable from COM1 or COM2 to the digitizer. ICOMM=0 corresponds to
port1 and ICOMM=1 corresponds to port2 in the DIGIT.INF file.
Digitizers are commonly used to input data in the initial stages of a project. Therefore, the
digitizer driver is often configured before the plotter.
2. Once data is flowing between the computer and the digitizer, make any necessary
changes to the DIGIT.INF file and try running the M650ED program.
Next, Hyperterminal will request a telephone number. Leave these spaces blank and
enter only the communications port that the digitizer is using.
2. From the COM Properties window, select the baud rate, data bits, parity, stop bits and
flow control that correspond to your anticipated digitizer settings. Check Hardware for
Flow Control.
4. If data appears on the screen, you have successfully established communication and
you can skip to the next section. If the computer screen is blank, then you are using the
wrong cable configuration or the wrong communications parameters, or the digitizer
is not sending data. Continue with the remaining steps.
5. Recheck the switch settings on the digitizer and the current communications
parameters that Hyperterminal is using.
6. Make sure Hyperterminal is using the correct COM port. Try changing the port to
COM1 or COM2, or look at the back of the computer.
7. Check the cable for problems in the continuity of the data lines. If at this time you still
see no data on the computer screen, swap pins 2 and 3 in the cable by adding a null
modem adapter to your cable configuration and try again. A null modem adapter has
a 2-3 pin crossover and is included with MineSight.
8. If the data that appears on the screen is not in the expected format, ensure that the
communications parameters are identical for Hyperterminal and your digitizer. Once
these values match, you should see the data on the computer screen exactly as it is
received from the digitizer. The format MineSight expects is given by the value in the
ITYPE files in DIGIT.INF.
9. Make note of the communications parameter values for use with the DIGIT.INF
program.
10. Move to your MEDEXE directory and use a text editing program to update the
communications parameters in your DIGIT.INF file. Refer to Flow Chart 1 for more
information.
Run M650ED
The M650ED program is an interactive VBM editor. One of the capabilities of this program
is digitizing directly into a VBM File 25. We will use this program to test the digitizer setup.
In order to do so, we need a VBM File 25 with which to perform the test. Step One is to
initialize one of these files.
On the first
panel, enter
the name of
your VBM
File 25. Click
Next
Fill in the second panel as pictured below. Click Next. M650ED will open.
2. Now that you are in M650ED, you need to get into digitizer mode. Click on the digitizer
icon. The digitizer icon is in the upper right portion of the screen. Then click
on Digitizer On. You will be asked if the digitizer is connected; answer Yes.
4. The setup should be complete. Test the setup by clicking on Test Point and then clicking
on a point with known coordinates on the digitizer. The coordinates will appear on the
screen. If these coordinates are correct, click Exit. If the coordinates are incorrect, redo
the four-point setup.
5. To digitize more test points, go to menu strip 2 by clicking on the 2" in the lower right
corner, and click on New Feature. Enter a feature code and plane number (these can
be anything because you will not be saving this data). Now digitize a few points. You
should see a line appearing on the screen. If this is the case, then your digitizer is set up
correctly.
DIGIT.INF File
Purpose
DIGIT.INF contains information used by all MineSight programs that interface with a
digitizer. This data determines which device driver the program will use, and how the program
will communicate with the digitizer.
Location
Your primary copy of DIGIT.INF should be located in the MEDEXE directory, but you may
also copy it to your project directories. If you do, that copy will be used before the one located
in MEDEXE. For sites with multiple projects or more than one digitizer, this method ensures
that the appropriate DIGIT.INF file is used. If no copy is found, you will be asked to accept
or reject the default parameters. These default parameters can be found in the Device
Configuration Tables.
Structure
DIGIT.INF is an ASCII file composed of seven lines. Print two copies of this file, one for your
project book, and one to put on the digitizer. Once you have the digitizer working correctly,
this file needs no further attention. If, however, you obtain a new digitizer or change the
emulation of your current one, the parameters in the DIGIT.INF file will need to be updated.
Use a text editing program to change the copy in the MEDEXE directory, then copy the new
file to all directories where this file exists.
Line 7 of DIGIT.INF is used to modify the default format of the digitizer output. If line 7 is
blank, the default is used. The default format is listed in each sample DIGIT.INF. The form
of the optional format must be the same as that of the default. For example, the default formats
of the data sent from the digitizer assume that the digitizer is using Imperial coordinates.
When the digitizer is set up to use Metric coordinates, the output from the digitizer normally
has more digits for the X and Y coordinates. In order to provide support for digitizers using
Metric coordinates, MineSight allows the width of the coordinate field to be changed.
For example, the default format from the CalComp 9100 digitizer using the Data Format 3 and
Imperial coordinates is:
cmxxxxxyyyyy
which has one column for the digitizer puck key that is pressed, one column for the type of
output (d for discrete), and five columns each for the X and Y coordinates.
The CalComp 9100 digitizer using the Data Format 3 and Metric coordinates is:
cmxxxxxxyyyyyy
which has one column for the digitizer puck key that is pressed, one column for the type of
output (d for discrete), and six columns each for the X and Y coordinates.
The formats are FORTRAN statements and have specific structures. Normally, the only
change would be to the number of digits used to specify the X and Y coordinates.
The optional format can change the number of characters in each field, but cannot change the
order of the fields. For example, the CalComp 9100 series (format 3), which is itype 9, has a
default format of:
A1, 1X, 2I5
2I7, 3X, A1
or
I6,I6, 1X,A1
2. In order for the digitizer to work with M650ED, you need to have a file called
DIGIT.INF in your project directory or in MEDEXE.
3. Check to which connection on the SUN interface the digitizer is connected. For a
single interfaced device, it is usually ttya or ttyb; for a device connected to a
multiplexer, it may have a name of ttyy##, where ## is the number of the connection
to the MUX box.
Typically, the command that user root uses to make these links looks like this:
ln -s /dev/ttyy08 /dev/digitizer
where ttyy08 is the device name for the serial port to which a digitizer is connected. The
permissions for the softlink must be read/write/execute for everyone. To check these
permissions, type the following command:
ls -l digitizer
As user root:
ln -s /dev/ttyd2 /dev/digitizer
DIGIT.INF Codes
The following two tables list the codes used in the DIGIT.INF filethe MineSight device
driver codes, baud rate codes, parity codes, and communications port codes.
Alteck AC 30 Datatab
Default Parameters Typical DIGIT.INF File Data Format
Device Code 8 8 / itype Standard Set (FMT)
1. CbsXXXXXbsYYYYY<cr>(<lf>)
Baud Rate 1200 4 / baud rate 2. CsXXXXXsYYYYY<cr>(<lf>)
3. C,sXXXXX,SYYYYY<cr>(<lf>)
Parity Odd 1 / parity 4. CbXXXXXbYYYYY<cr>(<lf>)
5. CSsXXXXXSYYYYY<cr>(<lf>)
Data Bits 7 7 / data bits
6. rsXXXXXsYYYYYt
7. SF,sXXXXX,sYYYYY<cr>(<lf>)
Stop Bits 2 2 / stop bits
8. Binary Format (6 Bytes)
Communications COM1 0 / icomm Alternate Set
port
1. CXXXXXbYYYYY<cr>(<lf>)
Optional Format A1, 2(1X,I5) 2. CXXXXXYYYYYb<cr>(<lf>)
3. XXXXX,YYYYY,C<cr>(<lf>)
4. CbXXXXXbYYYYY<cr>(<lf>)
5. CSXXXXXYYYYY<cr>(<lf>)
6. SXXXXXbYYYYYC<cr>(<lf>)
7. Binary Format (5 Bytes)
8. Binary Format (8 Bytes)
where:
b = blank s = sign
X = x value Y = y value
C = cursor key code 0-9, A-F (16 codes)
r = ASCII STX t = ASCII ETX
S = Status (U or D)
<cr> = return <lf> = line feed
Rate Step Res. Baud #, FORTRAN format Switch Settings - Altek AC30
(S2 - 6,7,8)
2 .005 .001" 110 (1) A1,2X,I5,2X,I5 ON ON ON
5 .010 .002" 300 (2) A1,1X,I5,1X,I5 ON ON OFF
10 .025 .004" 600 (3) A1,2X,I5,2X,I5 ON OFF ON
14 .050 .005" 1200 (4) A1,IX,I5,1X,I5 ON OFF OFF
20 .1 .010" 2400 (5) A1,2X,I5,1X,I5 OFF ON ON
25 .150 .1mm 4800 (6) 2X,I5,1X,I5,A1,1X OFF ON OFF
50 .200 .02mm 9600 (7) 1X,A1,2X,I5,2X,I5 OFF OFF ON
100 .250 N/A 19200 (8) BINARY OFF OFF OFF
1 2 3 4 5 6 7 8
S1 On
Of
f
(10) Rate/Increm Resolution Line Menu
(0.001") Feed
1 2 3 4 5 6 7 8
S2 On
Of
f
NOT (1200) Baud Rate (4) Format
USED
JUMPE A* B C D JUMPE A D
R H1 R H2 B E
C F
* NOTE: Install if cursor is pre-7/30/85 (check serial
number).
For models #23120-9, Mode Parity Baud Rate Format Data Rate Resolution
1 2 3 4 5 6 7 8
SW1
U
D
Note:
To emulate a 9100/Data Format 1 digitizer, set the device code to 13 and the baud rate to 7
(9600 baud).
Interface BoardSW1
O
SW1
C
Parity - Odd 1 7 9600 Baud Rate
Stop Data
Bit Bits
Set 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
up On
Off
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Bank On
A Off
Pt Mode Increment Prom Data Rate Resolution Format LF Data
pt bits
Bank On
B
Off
9600 baud Parity
See your Drawing Board documentation for full descriptions of all switch settings.
For CalComp 9X00, Mode Parity Baud Rate Format Data Rate Resolution
models #23360, 23480, P R T M P 7/8 1 2 3 1 2 3 1 2 3 4 LF 1 2 3 1 2 3
23600 U
D
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Bank On
A Off
Pt Mode Increment Pro Data Rate - 125 Resolution - Format - CalComp 9100-3 LF Stop
mpt pps 1000 lpi bits
Bank On
B Off
9600 baud Parity - odd
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Bank On
A Off
Pt Mode Increment Pro Data Rate - 125 Resolution - Format LF Stop
mpt pps 1000 lpi bits
Bank On
B Off
9600 baud Parity
Bank On
C Off
CR
Area 1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 17
1 0 1 2 3 4 5 6
On
Off
Point Mode Resolution 1270 lpi Format (9100 Format 3)
Area 2 On
Off
9600 Baud 7 Data Parity - Odd 1 Stop TX pin Line Port Echo
Bits Bit 2 Feed
This setup emulates a CalComp 9100 and, as with the 9100, the setup must be saved as User1
(the default).
1 2 3 4 5 6 7 8
S1 On
Off
9600 Baud Parity Odd Stop Data
Bits Bits
S2 On
Off
See GTCO documentation for a full description of all
switch settings.
S3 On
Off
See GTCO documentation for a full description of all
switch settings.
cxxxxxsyyyyy<cr>(<lf>)
Parity None 0 / parity where
c = cursor key code
Data Bits 8 8 / data bits x = x digitizer coordinate
s = space
y = y digitizer coordinate
Stop Bits 1 1 / stop bits <cr> = carriage return
<lf> = line feed
Communications COM1 0 / icomm
port
Optional Format A1,I5,1X,I5
For the four-button format, change the S3 switch 5 to OFF. The other switch settings remain
the same.
Numonics 224
Default Parameters Typical DIGIT.INF File Data Format
Device Code 3 3 / itype Variable, single, and multiple cursor
button modes are supported.
Baud Rate 1200 4 / baud rate Single button - Each string must
consist of the digitizer X coordinate
Parity Even 2 / parity
followed by a separator, the digitizer
Data Bits 7 7 / data bits Y coordinate, and the end of string
character. Valid separators include
Stop Bits 1 1 / stop bits the space and comma characters.
Communications COM1 0 / icomm Multiple button - Each string must
port
consist of the cursor code followed by
a separator, the digitizer X
coordinate followed by a separator,
Optional Format n/a / blank line the digitizer Y coordinate, and the
end of string character. Valid
separators include the space and
comma characters.
Chapter 3Plotters
Recommendations
Mintec recommends that the plotter be connected to the computer via Ethernet or a parallel
cable. This type of connection is many times faster than a serial connection. If the plotter is
connected by one of these recommended connections, you can create deferred plots, then use
the copy or network print command to send the deferred plot to the plotter. In this method,
the PLOT.INF information file is used to define the page size, model number, and step size.
Installation
The installation of a plotter is a two-step process.
1. Verify the setup of the PLOT.INF file and the plotter switch settings.
2. Check the switch settings on the plotter and refer to the plotter operations manual for
their meanings. Compare them with the parameters listed for your plotter in the Device
Configuration Tables. Make any necessary changes.
3. Edit the PLOT.INF file to make sure that the parameters in the information file are
correct. Make any necessary changes (e.g., copy PLOT.HP to PLOT.INF for HPGL and
HPGL/2; copy PLOT.907 to PLOT.INF for CalComp).
Run M122V1
You will need a MineSight run file for program M122V1. If you do not have plotting run files
available on a project directory, you will find a number of M122V1 run files on the MSOP,
MSUG sample project (this was optional in your installation). The run files are named
RUN122.ext, where ext is a variable file name extension. The run file should contain some
simple plot commands such as LINE, BORDR, GRID and LABEL.
1. Move to the directory that contains the M122V1 run file and type the command:
M122V15
This will begin the M122V1 program using the appropriate driver for your plotter.
2. When the program begins, it prompts you for a run file. Enter the appropriate name.
The map size will appear.
3. The program then displays the driver it is using and the communications parameters
it will employ. You can choose either to exit at this point or to continue plotting. If any
of the above information is incorrect, you must exit the program or it will freeze.
4. If the program shows the wrong communication parameters, change to the MEDEXE
directory and use a text editing program to update the parameters in PLOT.INF. Copy
the updated file to all directories where this file exists.
5. When the map and communications parameters are correct, plot the map or create a
deferred plot. If the plotter responds to the computer commands and all looks good,
your setup is complete. If not, continue through the next steps very carefully.
6. If the plot has the wrong size, check the MAP line in the run file to be sure that the
appropriate X and Y values have been entered. Also check the PLOT.INF file to see if
the appropriate step size has been used. If the map has other problems with
appearance, check your run and report files to make sure all the plot commands are
valid.
7. If you get a Fortran error or any error message on the computer screen, the problem
is most likely in the communications parameters. Check the parameters in PLOT.INF
very carefully against those found on the plotter and in the plotter manual. If the
program still does not work after making any necessary modifications, call Mintec for
help.
8. If the program freezes the computer and the plotter does not respond, the problem is
most likely in the cable or the plotter itself. First, make sure that the plotter is properly
connected to the computer, is initialized, and is ready to accept plot commands. If the
program continues to freeze the computer, try swapping pins 2 and 3 in the cable. If the
plotter still does not respond, call Mintec for further assistance.
9. If you have exhausted these solutions, you will need to use a breakout box. The
breakout box has LEDs that display the changing voltages in the cable wires. With this
box, you can decide if your cable needs to be rewired and if any data is passing to the
plotter or back to the computer. This information is essential to further debugging
efforts.
Note:
Most HP plotters using HPGL can use a maximum of 8 pens; those using HPGL/2 can use up
to 256 pens. Exceptions to the set available with MineSight are:
Location
Your primary copy of PLOT.INF should be located in the MEDEXE directory, but you may
copy it to your project directories also. If you do, that copy will be used before the one located
in MEDEXE. For sites with multiple projects or more than one plotter, this method ensures
that the appropriate PLOT.INF file is used. If no copy is found, you will be asked to select a
set of communications parameters. These default parameters can be found in the Device
Configuration Tables.
You must, however, have the appropriate executable for your plotter. The plotting programs
have a unique executable version for each plotting device. When MineSight is installed, the
unique version for your plotting device is installed under the common name M122V1.EXE. For
example, the M122V1 version used for plotting on a Hewlett Packard plotter is in the
installation files as M122H2.EXE, but is copied to your MEDEXE directory as M122V1.EXE.
Structure
PLOT.INF is an ASCII file composed of 12 lines. Once the plotter is working correctly, this
file needs no further attention. If, however, you obtain a new plotter or change the emulation
of your current one, the parameters in the PLOT.INF file will need to be updated. Use a text
editing program to change the file in the MEDEXE directory, then copy the new file to all
directories where PLOT.INF exists.
If you obtain a second plotter, the procedure will be different. In this case, change the
PLOT.INF parameters in the project directory copy of the file using your text editor. Copy this
file to any directory that will use the second plotter.
**These settings are not relevant if the plotter is connected to computer network via Ethernet
or parallel cable**
Lines 1 and 7-12 are important because they define that it is a plotter that is being employed,
and they also define the page size and step size.
PLOT.INF Codes
The following table lists the codes used in the PLOT.INF filethe MineSight device driver
codes, baud rate codes, parity codes, and communications port codes.
On the PC:
Connect an RS232 cable from COM1 or COM2 to the plotter. COM1 corresponds to port 0
in the PLOT.INF file. COM2 corresponds to port 1.
Typically, the command that user root uses to make these links looks like this:
ln -s /dev/ttyy07 /dev/plotter
where ttyy07 is the device name for the serial port to which a plotter is connected. The
permissions for the softlink must be read/write/execute for everyone. To check these
permissions, type the following command:
ls -l plotter
and it must return something similar to the following:
As user root:
ln -s /dev/ttyd2 /dev/plotter
Note:
The step size in the PLOT.INF file should match the step size of the plotter.
Note:
The step size in the PLOT.INF file should match the step size of the plotter.
Series # Switches
1051 0 1 1 1
1055 1 0 0 0
9x5, 104x,
107x 1 1 0 0
S4 On
Off
Character framing End of message character
S5 On
Off
Full/half duplex Ack/ Not used
Nak
S6 On
Off
Sync character No dbl
sync
Hewlett Packard
HPGL or HPGL/2 Language
Default Parameters Typical* PLOT.INF
Bruning-Zeta
GML Language
Default Parameters Typical* PLOT.INF
2 ______ 3 2 ______ 2
3 ______ 2 3 ______ 3
4 ______ 4 4 ______ 4
5 ______ 5 5 ______ 5
6 ______ 20 6 ______ 6
7 ______ 7 7 ______ 7
8 ______ 8 8 ______ 8
20 ______ 6 20 ______ 20
22 ______ 22 22 ______ 22
Software handshake with checksum Hardware handshake without checksum
In Regular Procedures
Defining the pen palette in regular procedures is a two-step process.
1. Run the procedure and create an HPGL/2 deferred plot file.
2. Run the procedure pentab.dat to insert the pen palette into the deferred HPGL/2 plot
file. If a pen definition file doesnt already exist, this procedure can be used to create
one.
Pentab.dat can create an external pen definition file and insert it into your HPGL-2 deferred
plot file, which will control the colors and widths of any pens specified in the plot file (up to
32 pens). This will override the plotters current palette settings.
Considerations:
HPGL-2 deferred plot files must already exist in the project directory.
Under DOS and Windows NT operating systems, a text editing program must be in
your path statement.
Plotters palette must be set to Software Palette.
In the advanced procedures, check the box Use/Create a pen definition file?, as shown in the
center of the figure below. This check box is just below the part of the panel that asks which
M122 program to use. (Red lettering means there is pop-up help.)
Choose to use an existing pen definition file, or define new pen colors and let the procedure
write a new pen definition file. To use an existing pen definition file, the file must already exist
in your local project subdirectory. If you choose to let the procedure write a new pen definition
file, a new file will be created in the directory where you are working.
Warning: If you want to use an existing pen definition file, you must check the box Use an
existing pen definition file? Otherwise, a new file will be created and the old file of the same
name will be overwritten. As always, we recommend you keep a backup copy of your existing
pen definition file.
1) match the plot colors to the colors that appear on your screen; or
2) match your screen colors to the plotters colors
When using an advanced plotting procedure, indicate that you wish to use the pentab.med pen
definition file and the procedure will automatically insert the pen palette information in the
HPGL/2 deferred plot that was created through the procedure.
MineSight uses 15 default colors, which are defined in the file pentab.med (defines plotter
colors) and color.tab (defines screen colors). These default colors are:
1 = Black 9 = Cyan
2 = Green 10 = Light Green
3 = Blue 11 = Light Red
4 = Red 12 = Light Blue
5 = Magenta 13 = Light Magenta
6 = Brown 14 = Light Yellow
7 = Cyan 15 = Dark Grey
8 = Light Grey
If you are creating a deferred plot, you can use the color.tab file directly by including the
file as File 30 on the names line of your M122H2 run file, and setting IOP32=1. If IOP32=0,
File 30 will be treated as a pentab.dat format file.
Chile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123-020-2154
Peru . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 001800-533-6337
FAX
(520) 325-2568
E-mail
ts@mintec.com
Introduction
Since its introduction in 1998, MineSight 2.0 has undergone continual refinement and en-
hancement. This workshop will explore tools and features that have been added or signifi-
cantly improved since the 1999 Mintec Seminar. Although the basic functionality of MineSight
2.0 is unchanged, there have been additions to the icon bars and menus designed to make
your work easier and more convenient than ever. It is now possible to perform certain func-
tions, such as triangulation, without requiring an open object to store the data, resulting in a
substantial reduction of machine resources. New features for importing and exporting greatly
increase the ease with which data can be transferred between projects. New CAD tools such
as Line Extend and the Surface Intersector Tool provide greater flexibility in design work. This
extended workshop will explore these and other new tools and features, explaining their func-
tions and providing practical examples of their use.
New Tools
Digitizer
MineSight 2.5 can interface directly with Mintec supported digitizer tablets. You can now
digitize maps or other data directly into MineSight 2.5 Geometry Objects. MineSight sup-
ports any digitizer that has a Wintab driver.
Plan
B. Pick either a 2-point or a 4-point setup type. The default is 4-points, as this gives
better definition.
C. Clear any unintentional points in the digitizer buffer by clicking the Clear All
button, then digitize the 2 or 4-control points.
D. Type in the associated X, Y coordinates of the control points. Note that the label
of the X, Y coordinates change with the orientation of the map.
E. Click Calc Offsets to place the digitized data into your project area.
F. Digitize a test point.