0% found this document useful (0 votes)
108 views178 pages

M500

Memoria MS

Uploaded by

Daviquin Hurpe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
108 views178 pages

M500

Memoria MS

Uploaded by

Daviquin Hurpe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 178

MineSight

Proprietary Software: Mintec, inc. COMPOSITE DATA OPERATONS

COMPOSITE DATA OPERATIONS

MineSight 500-Series Programs There are two primary MineSight programs used to calculate
drillhole composites:
The MineSight 500-series programs are used to create, update,
manipulate and display the drillhole composite File 8 (sorted M501V1 - composites within regular elevations
composites) and File 9 (unsorted composites).
M501SM - composites within variable elevations (seams)
A composite is the weighted average of a set of samples that fall for each drillhole
within a defined boundary. This boundary may be a bench or
a seam. The weighting factor is usually the sample length, but M501V1 uses the table of elevations stored in the PCF to
in some cases it may also include the sample specific gravity. determine which portions of each drillhole fall within each
vertical bench. The averages are computed using the actual
Composites are used in the interpolation of the deposit model length between the elevations of a bench as the usual weighting
instead of samples because they factor. This table of elevations is entered with and maintained
by M101V1. An option within M501V1 allows you to select a
Provide a mining basis for modeling separate item stored in File 11 (e.g., specific gravity) to be used
as an additional weighting factor. M501V1 requires that the
Reduce the amount of data used composite type BENCH is specified when initializing File 9.

Provide uniform support for geostatistics M501SM uses a seam code (integer values) to control the
compositing process rather than a table of elevations. All
The mining basis for an open pit operation is the bench height drillhole data with the same code is averaged into a single
which is defined by a set of elevations at the toe of each bench. composite using sample lengths as the weighting factor. An
The mining basis for an underground operation is the stoping optional geologic item may be used to select specified types
height or height to be drawn in relatively short term mining of material for the composite averages. M501SM requires that
operations. These heights are also defined by a set of elevations. the composite type SEAM is specified when initializing File 9.
The mining basis for a stratiform deposit is usually the height of
the seam which is defined by elevations at the top and bottom You also have the option to enter composites which have been
of the mining unit at each point in the deposit. calculated either manually or with another program. This data
is loaded into the composite Data Files with M500V1.
The general functions of the 500-series programs are:
When composites are calculated with M501V1 or M501SM,
Calculate composites from intervals an explicit linkage is created between File 12 and File 9. The
drillhole identifier and survey data are stored in File 12 but not
Load existing composites in File 9. Some 500-series programs refer to this data so you
should be careful that the relationship between Files 9 and 12 is
Edit and list composite values
not altered once M501V1 (or M501SM) has been run.
Interactive update of selected composite data
When composites are loaded with M500V1, a reference to File
Standard and user specified reports for file data 12 is not normally maintained. Therefore, you will not be able
to run some 500-series programs on the loaded File 9.
Preparation of composite maps in plan or section using
a plotter or a printer

Sort composites to optimize interpolation

Point interpolation and kriging to select the best value


extension technique

Summarize bench composites

Revised: 09-December-06 Page 500-i


MineSight
COMPOSITE DATA OPERATIONS Proprietary Software: Mintec, inc.

Program Summaries M508V1 - User Interface for Composite Files

M500V1 - Load Composites into MineSight Data Files This program accesses a user-coded subroutine for special
calculations and reports from the composite Data File. Calculated
This program is used to load composite or blasthole data into a values may be stored into the composite data file.
MineSight Data File. The composites may be computed outside
MineSight or created by program M507V1. M516V1 - Cross-Section of Composite Data (M122)

M501SM - Compute Seam Composites from Drillhole Data This program creates an M122 plot file for 2-D composite cross-
sections defined by two end points.
This program is used to compute weighted averages for grades
and quality parameters within predefined seams. M516V2 - Cross-Section of Composite Data (M122, without
dh traces)
M501V1 - Compute Bench Composites from Drillhole Data
This program creates an M122 plot file for a 2-D cross-section
This program is used to compute weighted average grades for displaying composite intervals without drillhole traces and
fixed vertical intervals (benches). labels.

M502V1 - Update Composites (Batch Run) M517V1 - Load VBM Codes to Assay or Composite Files

This program updates composites in a batch run by matching This program loads VBM feature codes to files 8, 9, or 11.
the elevation of the input with the composite file to find which
interval to update within a drillhole. M522V1 - Analyze Drillhole Spacing

M503V1 - List Composite Files This prgram accesses the composite data and computes average
drillhole spacing by bench based on a given search radius.
This program lists the composite data files. The data selection
and the order of data output from M503V1 may be specified. M523V1 - Decluster Composite Data

M504V1 - Bench Plan (M122) of Composite Data This program accesses the composite Data File and computes
the declustered composite values using the cell declustering
This program is used to prepare an M122 plot file from the technique.
composite data. Multiple items of data may be selected for
output and placed at any desired position around the location M524V1 - Point Validation for Interpolation Techniques
of each composite.
This program interpolates each composite from its neighbors
M505V1 - Addition of Codes to Composite Files by kriging and distance weighting, and then summarizes the
differences from the known values.
This program allows the addition of geologic or mining codes
to the composite Data File from ASCII input or an existing M525TS - Interactive Evaluation of Point Validation
assay file.
This program is used to evaluate point validation results from
M506V1 - Sort Composite Data File M524V1. The Program outputs a statistical analysis of the data
and histograms for specified items.
This program sorts the composite data from M501V1 and
M501SM by increasing northings (or eastings) and creates the M500-Technical Section
sorted composite data file, File 8.
Calculation of Composites
M507V1 - Extract Composite Data
Notes for M508V1 Driver Program
This program creates a sequential ASCII file from the composite
data file. Access to MSTorque Composite Set Data

M508RP - Special Project Calculations

This program accesses a MineSight routine to perform


arithmetic calculations using RPN (Reverse Polish Notation)
logic specified in the run file. Calculated values may be stored
into File 9.

Page 500-ii Revised: 16-July-12


MineSight
Proprietary Software: Mintec, inc. COMPOSITE DATA OPERATONS

Procedure Summary To Create File 9 interpolation as visually determined from the plan and
Composites cross-section maps?

1. List the PCF with M101V1 and check the toe elevations 10. Have the plan and cross-section maps from the M504
if calculating bench composites or check the seam names and M516 programs been compared with any manually
and codes if calculating seam composites. prepared maps?

2. Initialize File 9 using M102TS. Select the correct type of 11. Have engineers/geologists closely associated with the
compositeBENCH if M501V1 is to be used or SEAM project checked the composite data?
if M501SM is to be used.
12. Have engineers/geologists closely associated with the
3. Set up the appropriate run file for M501V1 or M501SM. project been consulted for their views and opinions
concerning:
4. Test the composite calculations by running the program
for just a few drillholes. any unreliable data or drillhole data not to be used?

5. Make a full production run with the program. any portions of the data that are different from the
majority?
6. Add additional data to the composites (i.e. geology
codes) with M505V1, M508V1 or M508RP. any differences in sample size, type or recovery?

7. List the composite file with M503V1. any special characteristics not indicated by grades?

8. Plot bench maps or cross-sections with M504V1 and


M516V1.

9. Sort the composite data and create File 8 with M506V1.

Checks To Be Performed On M501V1


Composites
1. Are drillhole collar elevations okay?

2. Is the survey data being retrieved correctly?

3. Are coordinates of composites okay? Have check


calculations been made?

4. Are the drillhole depth and length for each composite


okay?

5. Are there lengths within benches that are not equal to the
bench height other than at the top and bottom of the hole?

6. Are there assay intervals above the maximum elevation


or below the minimum elevation?

7. Missing data? Abnormal composite grades?

8. Did the compositing process obscure grades in areas with


sharp distinctions which may not be realistic for mining
purposes?

9. Is the 3-D distribution of composite values sufficient for

Revised: 09-December-06 Page 500-iii


MineSight
COMPOSITE DATA OPERATIONS Proprietary Software: Mintec, inc.

Suggestions For Bench Composite Items Other items of use to certain projects:

Each M501V1 drillhole composite to be stored in File 9 must SPGR - the specific gravity of rock
have the following items of information with the stated labels
after a regular M102TS run: REC% - the percent recovery of core

REF# - the drillhole reference number assigned by M201V1 TRUE - the true interval length corrected for dip

EAST - the easting of the composite (default = midpoint)

NORTH - the northing of the composite (default = midpoint)

ELEV. - the elevation of the composite (default = toe)

Labels REF#, EAST, NORTH and ELEV. must not be changed.

The following items should be useful for most projects:

LNGTH - the actual vertical or horizontal length of the


drillhole that was composited

FROM - the drillhole distance at the crest of the bench

DEPTH - the drillhole distance at the toe of the bench

All projects should have at least one assay value, e.g.

TCU% - the total copper grade

ACU% - the acid soluble grade

SCU% - the sulfide copper grade

MOLY - the molybdenum (MoS2) grade

AU:OZ - the gold grade (oz/ton, g/tonne)

AG:OZ - the silver grade

EQUIV - the equivalent grade value

Many projects will need geologic items, e.g.

ROCK - the code describing rock type

ALTN - the code describing alteration type

ATYP - the alteration intensity

FALT - the code describing fault location

MNRL - the code describing mineralization

MIN% - the % volume of mineralization

STRC - the code describing structure

ZONE - the code describing zones (ore bodies)

Page 500-iv Revised: 09-December-10


MineSight
Proprietary Software: Mintec, inc. COMPOSITE DATA OPERATONS

Suggestions For Seam Composite Items


Each M501SM drillhole composite to be stored in File 9 must
have the following items of information with the stated labels:

REF# - the drillhole reference number assigned by M201V1

EAST - the easting at the midpoint of the composite

NORTH - the northing at the midpoint of the composite

ZTOP - the elevation at the top of the seam

ZBOT - the elevation at the bottom of the seam

THICK - thickness of the seam

SEAM - integer seam codes

Labels REF#, EAST, and NORTH must not be changed.

The following items should be useful for most projects:

FROM - the drillhole distance at the beginning of the seam

-TO- - the drillhole distance at the end of the seam

Coal projects normally have proximate and/or ultimate analyses,


such as:

BTU - heating value

ASH - percent ash

MOIST - percent moisture

VOLAT - percent volatiles

FIXED - percent fixed carbon

SULF - percent total sulfur

Many seam projects will need either physical or mechanical


parameters, such as:

WASTE - within seam thickness of waste

PRTNG - between seam thickness of waste

SPGR - specific gravity

HARDG - Hardgrove grindability index

FSI - free swelling index

ROOF - geologic code for roof lithology

FLOOR - geologic code for floor lithology

Revised: 09-December-06 Page 500-v


MineSight
COMPOSITE DATA OPERATIONS Proprietary Software: Mintec, inc.

Page 500-vi Revised: 09-December-10


MineSight
Proprietary Software: Mintec, inc. M500V1-LOAD COMPOSITES INTO MINESIGHT FILES

M500V1 LOAD COMPOSITES


INTO MINESIGHT DATA FILES
PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS
This program is used to load composite or blasthole data into a Program M500V1 will read composite data from the run file or
MineSight Data File. The composites may be computed outside a separate file and then load MineSight Data Files 9 and 12, 9
MineSight or created by program M507V1. only or 8 only. This allows you to use composites that have
been generated outside of MineSight. You may also create an
PROGRAM FLOW DIAGRAM ASCII file of composites from MineSight (with M507V1),
modify them and load them back into the composite files with
RUN FILE: M500V1.

- Composite labels The composite data that is loaded should have the following
- Area selection variables present:
- Composites (optional)
DH-IDENT - drillhole identifier. Must be no more than 10
characters. System defined format is 10A1.

EAST - easting of composite. Format is user defined.

INPUT: CALCS: NORTH - northing of composite. Format is user defined.

- Load composites into


ELEV. - elevation of composite. Format is user defined.
- PCF
- ASCII file of File 9 and 12 OR
composites File 8 or 9 only The coordinate variables may be the coordinates of the composite
(optional) toe, composite midpoint or composite crest. Composites that
are generated by MineSight (with M501V1) are stored using
toe coordinates and the default for plotting and interpolation
routines is the toe coordinates. Therefore, there may be some
advantage in storing toes rather than midpoints.
OUTPUT:
Other data such as grades, geology or seam codes may be loaded
- Survey File 12 for each composite. Data fields that will not be stored must be
- Composite File 9 skipped over with an nX format specification on the FMT1 line
- Printer Output file
in the run file.

If File 12 is loaded at the same time as File 9 (IOP4=0), the


coordinates of the first composite for each hole are stored as the
collar location in File 12. If File 12 has already been loaded, it
will be overwritten if IOP2=1. If IOP2=0, the collar information
will be appended to any existing data in File 12. The data stored
to file 12 are: DHID, collar location, and pointers to composites
in file 9. This file 12 should not be used to retrieve drillhole
geometry.

Input data fields that are blank will be read by the program as
0.0. Input data that is less than the minimum value for the item
will be stored by the program as missing values. Input data that
is greater than the maximum value for the item will be truncated
to the maximum value.

Input elevations equal to -99999 will be set equal to the default


elevation (PAR1). Use a -1 to indicate a blank when entering
alphanumeric item data in free format.

Revised: 13-Sept-05 Page 500-1


MineSight
M500V1-LOAD COMPOSITES INTO MINESIGHT FILES Proprietary Software: Mintec, inc.

Page 500-2 Revised: 13-Sept-05


MineSight
Proprietary Software: Mintec, inc. M500V1 - LOAD COMPOSITES INTO MINESIGHT FILES

M500V1- LOAD COMPOSITES INTO MINESIGHT FILES

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-500V1 10=filename 12=filename 9 (or 8)=filename;


MEDS-500V1 19=filename 3=filename
where

MEDS-500V1 (must be the first 10 columns)


10= the name of the PROJECT CONTROL FILE
12= the name of the SURVEY FILE
9= the name of the COMPOSITE FILE OR
8= the name of the SORTED COMPOSITE FILE
19= the name of the Sequential Input File (if IOP5=1)
3= the name of the PRINTER OUTPUT FILE

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g., ABC)

IOP1 = N09 FIRST COMPOSITE DATA UNIT TO BE STORED


IOP2 = N12 FIRST SURVEY DATA UNIT TO BE STORED
IOP3 = -1 USE ALL DHS REGARDLESS OF X,Y LOCATION
= 0 USE DHS WITHIN PROJECT LIMITS
= 1 USE DHS WITHIN SPECIFIED BOUNDARY

NOTE: If IOP3=1, the specified boundaries can be in a separate file. Use one of the following command
lines:

CMD = INCL LOCPT FILE filename (to include points within the boundary) OR
CMD = EXCL LOCPT FILE filename (to exclude points within the boundary)

IOP4 = -1 LOAD FILE 9 COMPOSITES ONLY


= 0 LOAD FILE 9 COMPOSITES AND FILE 12 COLLARS
= 1 LOAD FILE 8 COMPOSITES ONLY

NOTE: If IOP4=-1 or 1, omit the 12 = filename in the names line.

IOP5 = 0 IF COMPOSITES ARE IN THIS RUN FILE


= 1 IF COMPOSITES ARE IN A SEPARATE FILE

IOP6 = 0 IF DH-IDENT IS A 10-COLUMN ALPHANUMERIC


= 1 IF DH-IDENT IS A NUMERIC REF# VALUE

NOTE: 1) If IOP6 = 1, the first PUT09 item must be REF#.


2) IOP6 = 1 cannot be used when storing data into file 12 (IOP4 = 0)

Revised: 11-May-01 Page 500 -3


MineSight
M500V1 - LOAD COMPOSITES INTO MINESIGHT FILES Proprietary Software: Mintec, inc.

IOP13 = 1 STORE DHID INTO FILE 9/8

NOTE: 1) Used only if IOP6 = 0


2) By default, DHID items assumed to be DHID1 and DHID2. To override default, use commands:

ITMn = DHID1 label -AND-


ITMn = DHID2 label

PAR1 = DEFAULT ELEVATION (DEFAULT = PCF MINIMUM)

PUT09 = LABELS OF DATA TO BE INPUT WITH M500V1 (if IOP4 = 0 or -1)


-OR-
PUT08 = LABELS OF DATA TO BE INPUT WITH M500V1 (if IOP4 = 1)

FMT1 = FORMAT FOR INPUT DATA (FOR FREE FORMAT, SET FMT1= (*))

NOTE: The first field for the input data must be DH-IDENT and must be specified as 10A1 in FMT1. If
IOP6 = 1, then the first field must be 10X.

ITM1 = label LOCZ

NOTE: An item to be used for composite elevation.


Optional for 3DBM projects (default elevation item is ELEV.)
Required for GSM projects. (e.g. ZTOP).

ITMn = label LOCX


ITMn = label LOCY

NOTE: Optional items to override EAST and NORTH items for composites eastings and northings.

ITMn = DHID1 label


ITMn = DHID2 label

NOTE: Optional items to override default DHID1 and DHID2 labels. Used only if IOP13 = 1.

END

4. BOUNDARY POINT LINES (if IOP3 = 1)

If the specified boundaries are to be added at the end of the run file rather than a separate file, then use the following format:

Easting Northing (in free-field format)

where 0 0 ends the input or input ends on end-of-file. Boundary points must close. The maximum number of boundary points
allowed is 2000.

5. COMPOSITE DATA TO BE LOADED TO FILE (if IOP5 = 0)

DH-IDENT EAST NORTH ELEV. values

corresponding to the format specified by the FMT1 line. Data with a completely blank DH-IDENT will be ignored. The M500V1
run ends on end-of-file.

Page 500-4 Revised: 11-May-01


MineSight
Proprietary Software: Mintec, inc. M500V1 - LOAD COMPOSITES INTO MINESIGHT FILES

M500V1 SAMPLE RUN FILE


MEDS-500V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT;
MEDS-500V1 3=RPT500.LA 19=DAT500.IA
** STORE COMPOSITE DATA FOR SAMPLE PROJECT **

USR = ABC

IOP1 = 1 1 / 1ST LOC TO STORE IN FILE 9; FILE 12


IOP3 = -1 / -1=NO BOUNDARY,0=PCF BOUNDARY, 1=SPECIFIED BOUNDARY
IOP4 = 0 / -1=LOAD FILE 9, 0=LOAD FILES 9 & 12, 1=LOAD FILE 8
IOP5 = 1 / 0=COMPS IN THIS RUN FILE, 1=COMPS IN EXTERNAL FILE

PUT09 = EAST NORTH ELEV. LNGTH T-CU MOLY EQCU / ITEMS TO STORE

FMT1 = (5X,10A1,4F10.1,3F8.3) / FORMAT FOR INPUT

END

M500V1 SAMPLE INPUT


10 SM-010 12750.0 13250.0 4350.0 16.5 0.000 0.000 0.000
10 SM-010 12750.0 13250.0 4300.0 50.0 0.000 0.000 0.000
10 SM-010 12750.0 13250.0 4250.0 50.0 0.255 0.012 0.315
10 SM-010 12750.0 13250.0 4200.0 50.0 0.368 0.018 0.458
10 SM-010 12750.0 13250.0 4150.0 50.0 0.368 0.018 0.458
10 SM-010 12750.0 13250.0 4100.0 50.0 0.373 0.018 0.463
10 SM-010 12750.0 13250.0 4050.0 50.0 0.383 0.019 0.478
10 SM-010 12750.0 13250.0 4000.0 50.0 0.379 0.019 0.474
10 SM-010 12750.0 13250.0 3950.0 50.0 0.394 0.019 0.489
10 SM-010 12750.0 13250.0 3900.0 50.0 0.405 0.020 0.505
10 SM-010 12750.0 13250.0 3850.0 50.0 0.409 0.021 0.514
10 SM-010 12750.0 13250.0 3800.0 50.0 0.414 0.021 0.519
10 SM-010 12750.0 13250.0 3750.0 50.0 0.431 0.022 0.541
10 SM-010 12750.0 13250.0 3700.0 50.0 0.433 0.022 0.543
10 SM-010 12750.0 13250.0 3650.0 50.0 0.417 0.021 0.522
10 SM-010 12750.0 13250.0 3600.0 50.0 0.424 0.021 0.529
10 SM-010 12750.0 13250.0 3550.0 50.0 0.434 0.022 0.544
10 SM-010 12750.0 13250.0 3500.0 50.0 0.446 0.023 0.561
10 SM-010 12750.0 13250.0 3450.0 50.0 0.451 0.023 0.566
10 SM-010 12750.0 13250.0 3400.0 50.0 0.445 0.022 0.555
10 SM-010 12750.0 13250.0 3350.0 50.0 0.448 0.022 0.558
10 SM-010 12750.0 13250.0 3300.0 50.0 0.457 0.022 0.567
10 SM-010 12750.0 13250.0 3250.0 50.0 0.472 0.024 0.592
10 SM-010 12750.0 13250.0 3200.0 50.0 0.457 0.022 0.567
10 SM-010 12750.0 13250.0 3150.0 50.0 0.478 0.024 0.598
10 SM-010 12750.0 13250.0 3100.0 50.0 0.493 0.025 0.618
10 SM-010 12750.0 13250.0 3050.0 50.0 0.473 0.023 0.588
10 SM-010 12750.0 13250.0 3000.0 50.0 0.506 0.026 0.636
10 SM-010 12750.0 13250.0 2950.0 50.0 0.492 0.024 0.612
| | | | | | | |
DH-IDENT EAST NORTH ELEV. LNGTH T-CU MOLY EQCU

Revised: 11-May-01 Page 500 -5


MineSight
M500V1 - LOAD COMPOSITES INTO MINESIGHT FILES Proprietary Software: Mintec, inc.

HOW TO DEBUG AN M500V1 RUN


1. A common error is a mismatch between the FMT1 line and the PUT09 line in the run file. Make sure you have specified
enough format fields to account for all items on the PUT09 line. Dont forget to specify the first format field as 10A1 for
the DH-IDENT. Check that your format matches the data that is being read in.

2. M500 ERROR IN COORDINATES

will appear if you have not specified the standard coordinate items EAST, NORTH and ELEV. on the PUT09 or PUT08
line.

3. You should take care when loading File 9 and File 12 simultaneously. If you have already loaded File 12 (with
M201V1), you may either overwrite File 12 (if IOP2=1 and IOP4=0) or append to it (if IOP2=0 and IOP4=0).

4. If you are loading File 8, you should sort the input file on one of the coordinates (northing, easting or elevation) prior to
running M500V1. The file can be sorted with your computer systems sort routine.

5. Also check the MineSight error messages in the Appendix.

Page 500-6 Revised: 11-May-01


MineSight
Proprietary Software: Mintec, inc. M501SM-COMPUTE SEAM COMPOSITES

M501SM COMPUTE SEAM


COMPOSITES FROM DRILLHOLE DATA

PROGRAM SUMMARY The items to be composited are specified using ITMn commands
in the run file. The correspondence between the File 11 items
This program is used to compute weighted averages for grades (assays) and the File 9 items (composites) is also specified on
and quality parameters within predefined seams. the ITMn lines.

PROGRAM FLOW DIAGRAM Specific drillholes can be selected by using File 12 data unit
numbers. By default, all drillholes in File 12 will be composited.
RUN FILE: A maximum of 14,999 drillholes can be composited in a single
run. Multiple runs must be used when the drillhole database
- Quality & composite
labels exceeds this limit.
- Compositing parameters
- Seam table Any drillhole interval that has been deleted from File 11 (with
M202TS) will be ignored by M501SM.

NOTE: M501SM has a limitation on the total number of values


that can be handled for any one drillhole, which is:

INPUT: CALCS: (#Quality Parameters to composite)*(# seams) < 1000

- PCF - Composite quality M501SM establishes a linkage between File 9 and File 12. The
- Files 11 & 12 parameters over seams number of composite data units for a drillhole is stored with the
- Limit by litho code
collar data in File 12 (in items #CMPS and LOC09). There is
also a linkage between File 11 and File 12. The number of assay
data units for a drillhole are stored in File 12 (in items #INTS
and LOC11).

You should be careful when recompositing data. You should


OUTPUT: set IOP1=0, IOP2=0, and IOP3=1 when rerunning M501SM to
make sure that the composite items for all drillholes in File 12
- Composite File 9
are updated.
- Printer Output file
Seam Splitting (Secondary Composite Code)

In some cases, a single seam may contain internal parting of


sufficient size to justify splitting the main seam into subseams.
To split a seam, a split code must be stored in File 11 along with
the main seam code. Splitting is specified in the M501SM run
Manually check the M501SM seam composites for completeness file with the line:
and any abnormal values. See the Introduction Section for other
checks to be performed. Additional data may be added with ITMn = SPLIT label-09 label-11
M505V1, M508RP or M508V1. or
ITMn = SPLIT DUMMY label-11
REQUIREMENTS AND CONSIDERATIONS
If you specify label-09, the SPLIT code from File 11 will be
M501SM uses a seam code to control compositing rather than a stored in File 9.
table of elevations. All drillhole data with the same code is
Internally, M501SM seam codes are renumbered using the
averaged into a single composite, using sample lengths as the
following scheme:
weighting factor. An optional geologic item may be used to
select specified types of material for the composite averages. seam code = (seam code x 10) + split code

However, this new seam code is not stored in File 9.

Revised: 6-June-01 Page 501SM-1


MineSight
M501SM-COMPUTE SEAM COMPOSITES Proprietary Software: Mintec, inc.

Handling Different Partings Handling Different Sampling

There are two types of parting as shown below.

The diagram above shows different types of sampling within a


seam:

1. Seam is fully sampled with one or more assays.


In this case, FROM and -TO- represent the top and
bottom of the seam so the sample define the seam.
Examples 1, 1a, and 1b in the diagram illustrate this type
With Type 1 (internal length), a separate item is used (e.g., of sampling. Example 1 is a single sample across the full
PART) in both File 11 and File 9. The input drillhole data must seam and examples 1a and 1b are multiple samples
contain the measured PART. Use the following commands: across the full seam.

IOP7 = 0 2. Seam is partially sampled with one or more samples.


ITMn = WASTE PART PART In this case, FROM and -TO- do not represent the top and
bottom of the seam. Examples 2, 2a, and 2b in the
Note: Second PART is a File 11 item. diagram illustrate this type of sampling. Example 2 is a
single sample representing part or most of the seam.
With Type 2 (separate, measured intervals), a separate parting Examples 2a and 2b are multiple samples which
item is set up in File 9 only, but File 11 must have a litho code. represent part or most of the seam.
Use the following commands:
3. Seam physically splits with one or more samples
IOP7 = 1 / single litho Examples 3a and 3b illustrate this type of sampling.
IOP8 = n / n=litho code for coal
ITMn = WASTE PARTI See the Sample File Section for further information on handling
TMn = LIMIT LITHO different sample types.

Note: The seam code on the waste interval must match that of
the coal. LITHO is a File 11 item.

Both Type 1 and Type 2 can exist in the same deposit. Use the
following commands:

IOP7 = 1
IOP8 = n
ITMn = WASTE PART PART
ITMn = LIMIT LITHO

Note: Second PART is a File 11 item. LITHO is a File 11 item.

Page 501SM-2 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M501SM-COMPUTE SEAM COMPOSITES

M501SM - COMPUTE SEAM COMPOSITES

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS501SM 10=filename 11=filename 12=filename;


MEDS501SM 9=filename 19=filename 3=filename
where

MEDS501SM (must be the first 10 columns)


10= the name of the PROJECT CONTROL FILE
11= the name of the ASSAY FILE
12= the name of the SURVEY FILE
9= the name of the output COMPOSITE FILE
19= the name of the optional Seam Definitions File
3= the name of the PRINTER OUTPUT FILE

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text information that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & freefield format)

USR = USER INITIALS (e.g. ABC)

IOP1 = M12 FIRST SURVEY DATA UNIT TO RETRIEVE (default = 1)


IOP2 = N12 LAST SURVEY DATA UNIT TO RETRIEVE (default = last survey stored)

IOP3 = M09 FIRST DATA UNIT LOCATION TO STORE COMPOSITES IN FILE 9


= 0 STORE COMPOSITES AT END OF FILE
= 1 FOR THE FIRST RUN OR TO REWRITE THE FILE

NOTE: When rewriting File 9 (IOP3=1), recalculate all composites (IOP1;IOP2=0).

IOP4 = 0 FOR SPLITS


(Optional secondary compositing code)
= 1 FORCE OUTPUT OF NONEXISTENT SEAMS
(Generate a 0.0 length composite for a missing seam)
= 2 SET ZTOP/ZBOT TO SEAM ABOVE FOR NONEXISTENT SEAMS
= 3 SAME AS 2 BUT ALSO ADD MISSING SEAMS AT END OF DH
= 4 ADD NONEXISTENT SEAMS TO DHS WITHOUT ANY SEAMS

IOP5 = OPTION TO INPUT TABLE OF SEAM CODES FOR RUN


= 0 IF SEAMS 1 THROUGH IOP6 ARE TO BE COMPOSITED
= 1 READ TABLE OF SEAM CODES

IOP6 = NUMBER OF SEAMS TO BE COMPOSITED (default = NZ from PCF)


= 2 SET 2TOP/8BOT TO SEAM ABOVE FOR NONEXISTENT SEAMS
= 3 SAME AS 2, BUT ALSO ADD MISSING SEAMS AT END OF DH

Revised: 7-June-01 Page 501SM-3


MineSight
M501SM-COMPUTE SEAM COMPOSITES Proprietary Software: Mintec, inc.

IOP7 = SPECIFY LITHOLOGY CODES TO DEFINE TYPES OF MATERIAL TO BE


INCLUDED IN COMPOSITE AVERAGES
= 0 IF ALL LITHO TYPES ARE TO BE USED
= n THE NUMBER OF LITHO CODES SPECIFIED AS IOP8, ETC.

NOTE: Use only with ITMn = LIMIT label-11 or ITMn = LITHO label-11.

IOP8 - n= LITHO CODES TO LIMIT FILE 11 DATA USED TO COMPUTE AVERAGES


(FOR QUALITY PARAMETERS).

NOTE: Enter one IOP per litho code.

The ITM commands below allow you to control the compositing calculations in several different ways. The items for SEAM,
LNGTH and ZTOP are required for all M501SM runs.

ITMn = SEAM label-09 label-11 Seam code to control run; required

ITMn = SPLIT label-09 label-11 Optional split code; store split code in File 9

ITMn = SPLIT DUMMY label-11 Optional split code; do not store split code in File 9

ITMn = Q.P. label-09 label-11 1st quality parameter to composite


ITMn = Q.P. label-09 label-11 2nd quality parameter to composite
.
.
ITMn = Q.P. label-09 label-11 Last quality parameter to composite; max=40

ITMn = LNGTH label-09 label-11 Store dh length (LNGTH) or THICK vertical thickness
(THICK); required, label-11 is optional. If specified, it is
usually - AI -. If omitted, uses FROM and -TO- from File 11.
ITMn = ZTOP label-09 Store top elevation of seam; required.

ITMn = ZBOT label-09 Store bottom elevation of seam; optional.

Optional coordinates
ITMn = XBOT label-09 Store easting & northing of bottom of seam. Must specify
ITMn = YBOT label-09 both together.

ITMn = WASTE label-09 label-11 Store waste thickness; optional. Label-09 may be
or PART used alone.

ITMn = LIMIT label-11 Item from File 11 to limit intervals used to compute
or LITHO quality parameter averages; optional. Also use IOP7.

ITMn = WASTE label-09 label-11 EXCL


Store waste thickness and non-assayed seam intervals,
OR optional
ITMn = WASTE label-09 DUMMY EXCL Store non-assayed seam intervals as waste, optional

ITMn = READ SEAM FROM TO Read seam definitions from File 19, optional.

ITMn = WT501 label-11 Additional weighting factor for composite calculations,


e.g., specific gravity; optional.

ITMn = DEPTH label-09 Store DEPTH to seam in File 9; optional.

Page 501SM-4 Revised: 7-June-01


MineSight
Proprietary Software: Mintec, inc. M501SM-COMPUTE SEAM COMPOSITES

ITMn = #INTS label-09 Q.P. VALUE Store the number of Q.P./ore intervals within each seam;
optional.

To store DHID in file 9 enter two item lines:

ITMn = DHID1 label9


ITMn = DHID2 label9

NOTE: 1) You MUST enter both items to store DHID.


2) Those items must be initialized with min = max = 0 and precision 1.

END

4. SEAM CODES TO BE COMPOSITED (if IOP5=1)

Seam codes will be input at 10 per line in freefield format. Enter multiple lines, as necessary, to match the number of seams
specified by IOP6.

Revised: 7-June-01 Page 501SM-5


MineSight
M501SM-COMPUTE SEAM COMPOSITES Proprietary Software: Mintec, inc.

M501SM SAMPLE RUN FILE #1


COAL-501SM 10=COAL10.DAT 11=COAL11.DAT 12=COAL12.DAT;
COAL-501SM 9=COAL09.DAT 3=RPT501.LA
** COMPOSITE DRILLHOLE DATA INTO COAL SEAMS

USR = ABC

COM
COM DH COMPOSITE FUNCTION
COM
COM* COMPS SEAM THICKNESS & QUALITY

IOP1 = 1 00 / SURVEY FILE LIMITS


IOP3 = 1 / N=STORE AT NTH DATA UNIT IN FILE 9
IOP5 = 1 / 1=READ TABLE OF SEAM CODES; 0=PCF SEAMS
IOP6 = 3 / N=NUMBER OF SEAMS; 0=DEFAULT TO PCF
IOP7 = 0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>
IOP8 = 0 0 0 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS

COM SIMPLE SEAM DEFINITION WITHOUT SPLIT LINE


ITM1 = SEAM SEAM SEAM

COM QUALITY DATA TO BE AVERAGED


ITM2 = Q.P. MOIST MOIST
ITM3 = Q.P. ASH ASH ITM4 = Q.P. SULF SULF
ITM5 = Q.P. BTU BTU

ITM6 = LNGTH LNGTH -AI-


ITM7 = ZTOP ZTOP
ITM8 = ZBOT ZBOT
ITM9 = DEPTH DEPTH
ITM10 = DZBOT -TO-

I-O = 0

END
10 20 30

Page 501SM-6 Revised: 7-June-01


MineSight
Proprietary Software: Mintec, inc. M501SM-COMPUTE SEAM COMPOSITES

M501SM SAMPLE RUN FILE #2


COAL-501SM 10=COAL10.DAT 11=COAL11.DAT 12=COAL12.DAT; 3COAL-501SM
9=COAL09.DAT 3=RPT501.LA
** COMPOSITE DRILLHOLE DATA INTO COAL SEAMS

COM USE LITHOLOGY CODES TO LIMIT COMPOSITING

USR = ABC

COM* COMPS SEAM THICKNESS & QUALITY


IOP1 = 1 00 / SURVEY FILE LIMITS
IOP3 = 1 / N=STORE AT NTH DATA UNIT IN FILE 9
IOP5 = 1 / 1=READ TABLE OF SEAM CODES; 0=PCF SEAMS
IOP6 = 3 / N=NUMBER OF SEAMS; 0=DEFAULT TO PCF
IOP7 = 6 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>
IOP8 = 1 2 3 4 5 6 / LITHO CODES TO BE USED IN AVG Q.P. CALCS

COM SIMPLE SEAM DEFINITION WITHOUT SPLIT LINE


ITM1 = SEAM SEAM SEAM

COM QUALITY DATA TO BE AVERAGED


ITM2 = Q.P. MOIST MOIST
ITM3 = Q.P. ASH ASH
ITM4 = Q.P. SULF SULF
ITM5 = Q.P. BTU BTU

ITM6 = LNGTH LNGTH -AI-


ITM7 = ZTOP ZTOP I
TM8 = ZBOT ZBOT
ITM9 = DEPTH DEPTH
ITM10 = LITHO CODE

I-O = 0

END
10 20 30

Revised: 7-June-01 Page 501SM-7


MineSight
M501SM-COMPUTE SEAM COMPOSITES Proprietary Software: Mintec, inc.

HOW TO HANDLE DIFFERENT TYPES OF SAMPLING


Sample Drillhole Data #1: All Drillhole Intervals Defined

X-col Y-col Z-col Azi Dip Length

77-012 17026. 14999. 1059.6 0.0 -90.0 219.1


77-012
77-012 0.00 2.40 2.40 1 0 0 0.00 0.00 0.00 0.00
77-012 2.40 126.00 123.6 2 0 0 0.00 0.00 0.00 0.00
77-012 126.00 134.00 8.00 3 0 0 0.00 0.00 0.00 0.00
77-012 134.00 154.10 20.10 4 10 12399 11.34 6.12 0.74 0.00
77-012 154.10 177.80 23.70 5 0 0 0.00 0.00 0.00 0.00
77-012 177.80 184.60 6.80 4 20 10499 9.57 7.64 0.73 0.12
77-012 184.60 203.00 18.40 6 0 0 0.00 0.00 0.00 0.00
77-012 203.00 204.20 1.20 4 30 9836 10.02 8.59 0.37 0.00
77-012 204.20 204.60 0.40 7 30 3115 15.05 20.02 2.11 0.00
77-012 204.60 208.40 3.80 4 30 9901 10.51 8.21 0.42 0.00
77-012 208.40 219.10 10.70 8 0 0 0.00 0.00 0.00 0.00
| | | | | | | | | |
FROM -TO- -AI- RK SM BTU MOIST ASH SULF PART
<Quality Parameters >

If your sample data resembles the example above, the following options are available to you.

To average the quality paramters for each seam

IOP7 = 0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>IOPn


IOP8 = 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS
ITMn = WASTE PART / OPTIONAL ITEM TO DEFINE PARTINGS

HOLE# EAST NORTH ZTOP ZBOT BTU SEAM PART LNGTH FROM -TO-
77-012 17026.0 14999.0 925.6 905.5 12399 10. 0.00 20.1 134.0 154.1
77-012 17026.0 14999.0 881.8 875.0 10499 20. 0.00 6.8 177.8 184.6
77-012 17026.0 14999.0 856.6 851.2 9384 30. 0.00 5.4 203.0 208.4

To average the quality parameters for each seam and store the parting thickness

IOP7 = 0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>IOPn


IOP8 = 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS
ITMn = WASTE PART PART / OPTIONAL ITEM TO DEFINE PARTINGS

HOLE# EAST NORTH ZTOP ZBOT BTU SEAM PART LNGTH FROM -TO-
77-012 17026.0 14999.0 925.6 905.5 12399 10. 0.00 20.1 134.0 154.1
77-012 17026.0 14999.0 881.8 875.0 10499 20. 0.12 6.8 177.8 184.6
77-012 17026.0 14999.0 856.6 851.2 9384 30. 0.00 5.4 203.0 208.4

Page 501SM-8 Revised: 7-June-01


MineSight
Proprietary Software: Mintec, inc. M501SM-COMPUTE SEAM COMPOSITES

To average the quality parameters only for certain lithologies in each seamand treat the remainder of each seam as parting

IOP7 = 1 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>IOPn


IOP8 = 4 / LITHO CODES TO BE USED IN AVG Q.P. CALCS
ITMn = LIMIT LITHO / OPTIONAL CODE TO DEFINE COAL INTERVALS
ITMn = WASTE PART / OPTIONAL ITEM TO DEFINE PARTINGS

HOLE# EAST NORTH ZTOP ZBOT BTU SEAM PART LNGTH FROM -TO-
77-012 17026.0 14999.0 925.6 905.5 12399 10. 0.00 20.1 134.0 154.1
77-012 17026.0 14999.0 881.8 875.0 10499 20. 0.00 6.8 177.8 184.6
77-012 17026.0 14999.0 856.6 851.2 9885 30. 0.40 5.4 203.0 208.4

To read the top and bottom of each seam from another file

COAL-501SM 19=CTSEAM.MOD

IOP7 = 0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>IOPn


IOP8 = 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS
ITMn = WASTE PART PART / OPTIONAL ITEM TO DEFINE PARTINGS
ITMn = READ SEAM FROM TO / OPTION FILE OF SEAM DEFINITIONS

FILE CTSEAM.MOD
77-012 134.10 154.50 10
77-012 177.70 184.50 20
77-012 203.00 208.40 30

HOLE# EAST NORTH ZTOP ZBOT BTU SEAM PART LNGTH FROM -TO-
77-012 17026.0 14999.0 925.5 905.1 12399 10. 0.00 20.4 134.1 154.5
77-012 17026.0 14999.0 881.9 875.1 10499 20. 0.12 6.8 177.7 184.5
77-012 17026.0 14999.0 856.6 851.2 9384 30. 0.40 5.4 203.0 208.4

Revised: 7-June-01 Page 501SM-9


MineSight
M501SM-COMPUTE SEAM COMPOSITES Proprietary Software: Mintec, inc.

Sample Drillhole Data #2: Coal Intervals Only


X-col Y-col Z-col Azi Dip Length
77-012 17026. 14999. 1059.6 0.0 -90.0 219.1
77-012
77-012 134.00 154.10 20.10 10 12399 11.34 6.12 0.74 0.00
77-012 177.80 184.60 6.80 20 10499 9.57 7.64 0.73 0.12
77-012 203.00 204.20 1.20 30 9836 10.02 8.59 0.37 0.00
77-012 204.60 208.40 3.80 30 9901 10.51 8.21 0.42 0.00
FROM -TO- -AI- SM BTU MOIST ASH SULF PART
< Quality Parameters >

If your sample data resembles the example above, the following options are available to you.

To store partings inside each assay interval and store any portion of a seamnot assayed as parting

IOP7 = 0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>IOPn


IOP8 = 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS
ITMn = WASTE PART PART EXCL / OPTIONAL ITEM TO DEFINE PARTINGS

HOLE# EAST NORTH ZTOP ZBOT BTU SEAM PART LNGTH FROM -TO-
77-012 17026.0 14999.0 925.6 905.5 12399 10. 0.00 20.1 134.0 154.1
77-012 17026.0 14999.0 881.8 875.0 10499 20. 0.12 6.8 177.8 184.6
77-012 17026.0 14999.0 856.6 851.2 9885 30. 0.40 5.4 203.0 208.4

To only store any portion of a seam not assayed as partings

IOP7 = 0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>IOPn


IOP8 = 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS
ITMn = WASTE PART DUMMY EXCL / OPTIONAL ITEM TO DEFINE PARTINGS

HOLE# EAST NORTH ZTOP ZBOT BTU SEAM PART LNGTH FROM -TO-
77-012 17026.0 14999.0 925.6 905.5 12399 10. 0.00 20.1 134.0 154.1
77-012 17026.0 14999.0 881.8 875.0 10499 20. 0.00 6.8 177.8 184.6
77-012 17026.0 14999.0 856.6 851.2 9885 30. 0.40 5.4 203.0 208.4

Page 501SM-10 Revised: 7-June-01


MineSight
Proprietary Software: Mintec, inc. M501SM-COMPUTE SEAM COMPOSITES

M501SM SAMPLE RUN FILE #3


COAL-501SM 10=COAL10.DAT 11=COAL11.DAT 12=COAL12.DAT;
COAL-501SM 9=COAL09.DAT 19=CTSEAM.MOD 3=RPT501.LA
* COMPOSITE SEAMS USING CTSEAM.MOD DEFINITION FILE

USR = ABC

COM
COM SEAM COMPOSITE FUNCTION
COM

IOP1 = 1 00 / SURVEY FILE LIMITS


IOP3 = 1 / N=STORE AT NTH DATA UNIT IN FILE 9
IOP4 = 1 / 1=OUTPUT NON-EXISTENT SEAMS
IOP5 = 0 / 1=READ TABLE OF SEAM CODES; 0=PCF SEAMS
IOP6 = 3 / N=NUMBER OF SEAMS; 0=DEFAULT TO PCF
IOP7 = 0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>
IOP8 = 0 0 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS

COM BASIC SEAM DEF (NO SPLIT CODE)


ITM1 = SEAM SEAM SEAM
ITM2 = LNGTH LNGTH -AI-
ITM3 = ZTOP ZTOP
ITM4 = ZBOT ZBOT
ITM5 = DEPTH FROM
ITM6 = DZBOT -TO-

COM QUALITY DATA TO BE AVERAGED


ITM7 = Q.P. BTU BTU / 1ST VALUE TO COMPOSITE
ITM8 = Q.P. SULFR SULFR / 4TH VALUE TO COMPOSITE
ITM9 = WASTE PART PART / OPTION ITEM TO DEFINE PARTINGS
ITM10 = READ SEAM FROM TO / OPTIONAL FILE OF SEAM DEFINITIONS

I-O = 1

END

Revised: 7-June-01 Page 501SM-11


MineSight
M501SM-COMPUTE SEAM COMPOSITES Proprietary Software: Mintec, inc.

M501SM SAMPLE FILE OF SEAM DEFINITIONSCTSEAM.MOD


77-006 182.90 204.20 10
77-006 227.40 233.10 20
77-006 250.70 256.20 30
77-012 134.10 154.50 10
77-012 177.70 184.50 20
77-012 203.00 208.40 30
77-013 10.50 31.40 10
77-013 43.00 50.40 20
77-013 69.40 74.80 30
77-015 32.50 50.30 10
77-015 70.90 78.50 20
77-015 95.80 101.10 30
78-004 118.50 136.40 10
78-004 159.20 166.30 20
78-004 189.30 194.80 30
78-005 85.90 104.00 10
78-005 127.30 134.70 20
78-005 156.30 161.80 30
79-004 194.90 213.50 10
79-004 236.50 242.70 20
79-004 262.20 267.80 30
79-008 7.60 32.10 10
79-008 32.10 39.90 20
79-008 57.70 63.60 30
79-009 81.90 94.90 10
79-009 114.70 121.90 20
79-009 146.50 150.50 30

Page 501SM-12 Revised: 7-June-01


MineSight
Proprietary Software: Mintec, inc. M501SM-COMPUTE SEAM COMPOSITES

HOW TO DEBUG AN M501SM RUN


1. ** READ ERROR ON COLLAR DATA **

This error message will appear if there is some problem with File 12.

2. ** READ ERROR ON ASSAY DATA **

This error message will appear if there is some problem with File 11.

3. ** M501AS ERROR: TOO MANY SEAMS

will appear if more than 1000 composites are assigned for one hole.

4. ** M501AS ERROR: INVALID TYPE = xxx

will appear if an incorrect File 11 item is selected for compositing.

5. ** Q.P.S WILL NOT BE COMPOSITED

will appear if no items were selected for compositing.

6. **M501AS: NO COMPOSITING CODE **

will appear if a composite control code was not specified (ITMn = SEAM label-09 label-11).

7. **M501AS: NO ZTOP ITEM ENTERED

will appear if the line ITMn = ZTOP label-09 is missing from your run file.

8. Manually check composite calculations:

Spot check coordinate calculations

Check for abnormally high average values

Check for missing composite values

9. If IOP7 and IOP8 are specified (lithology limit), then also use ITMn = LITHO label-11.

10. The MAXIMUM number of drillholes (14999) has been exceeded.All subsequent drillholes will be ignored.

Remaining drillholes may be composited in subsequent runs by setting IOP1 to 15000 (or 30000, 45000, etc.) and
setting IOP3=0.

11. Also check the MineSight error messages in the Appendix.

Revised: 7-June-01 Page 501SM-13


MineSight
M501SM-COMPUTE SEAM COMPOSITES Proprietary Software: Mintec, inc.

Page 501SM-14 Revised: 7-June-01


MineSight
Proprietary Software: Mintec, inc. M501V1-COMPUTE BENCH COMPOSITES FROM DRILLHOLE DATA

M501V1 COMPUTE BENCH COMPOSITES


FROM DRILLHOLE DATA

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M501V1 is used to compute weighted average grades To calculate composites, M501V1 uses the table of bench
(composites) for fixed vertical intervals (benches). elevations stored in the PCF to determine which portions of
each drillhole fall within each vertical bench. This table of
PROGRAM FLOW DIAGRAM elevations is created by M101V1. The composites are calculated
as the length weighted average of all samples that will fall within
RUN FILE: the bench. An additional weighting factor such as specific gravity
- DH selection may also be specified.
- Assay & composite labels
- Compositing parameters The items to be composited are specified using ITMn commands
- Toe elevations table in the run file. The correspondence between the File 11 items
(assay) and File 9 items (composites) is also specified on the
ITMn lines.

Specific drillholes can be selected by the File 12 data unit


numbers. By default, all drillholes in File 12 will be composited.
INPUT: CALCS:
Drillholes can also be selected by rectangular area or by an
- PCF - Divide assay intervals for
- Files 11 & 12 elevation table
irregular boundary.
- Calculate weighted
average Any drillhole interval that has been deleted from File 11 (with
- Calculate midpoint coords M202FS) will be ignored by M501V1.
- Record DH distances
The composite northing and easting coordinates are calculated
at the bench midpoint. The composite elevation is taken at the
bench toe.
OUTPUT:
M501V1 is limited to a total of 500 items for both assay and
- Composite File 9 composite files, including limiting items, geology matching items,
- Printer Output File
etc in a single run.

M501V1 establishes a linkage between File 9 and File 12. The


number of composite data units for a drillhole are stored with
this collar information in File 12 (in items #CMPS and LOC09).
There is also a linkage between File 11 and File 12. The number
of assay data units for a drillhole are stored in File 12 (in items
Manually check the M501V1 bench composites for #INTS and LOC11). You should be careful when recompositing
completeness and any abnormal values. See the Introduction data. Set IOP1;IOP2=0 and IOP3=1 when rerunning M501V1
Section on other checks to be performed. Additional data may to make sure that the composite items for all the drillholes in
be added with M505V1, M508RP, or M508V1. File 12 are updated.

Revised: 28-May-09 Page 501-1


MineSight
M501V1-COMPUTE BENCH COMPOSITES FROM DRILLHOLE DATA Proprietary Software: Mintec, inc.

FIXED LENGTH COMPOSITES NOTE: To add geologic codes to the intervals, include these two
lines in M505V1 run-file.
MineSight can calculate composites in several different ways.
You can composite to equal-height bench intervals, variable- PAR2 = ** / Downhole composite length
height bench intervals, between top and bottom of a coal seam, (must match PAR10 in M501V1)
between hangingwall and footwall of a vein, or by fixed length
from the collar of the drillhole. ITMn = DZBOT DEPTH

Program M501SM calculates seam composites. Vein composites / The keyword is DZBOT and the
are calculated usually by a special routine or by M501SM. label can be -to-, depth, from, etc.,
M501V1 calculates bench composites and fixed-length BUT IT MUST MATCH the label
composites. used in M501V1.
(for this example it is -TO-)
If you are calculating bench composites, horizontal drillholes
present a problem because they do not cross the bench toe or To store the coordinates of the composite endpoints, add the
crest. In this case, the drillhole is composited in fixed lengths following line to the run file:
from the collar. The length is set with PAR10.
CMD = COORD xtop ytop ztop xbot ybot zbot
To determine whether a drillhole is horizontal or vertical (for
compositing purposes), use the dip angle as the limiting angle Where:
(actually PAR4 is the sine of the dip angle). Any drillhole with a
xtop, etc are the appropriate File 9 item labels (in this specified
dip less than the limiting angle is treated as a horizontal drillhole.
order.) In this case the midpoint elevation is stored in the File 9
If you use fixed-length composites, make sure you use the proper item elev..
options in M505V1 and M516V1. For M501V1 and M620V1,
the programs will work without the ZMID options but may give
slightly different results. The options for M505V1 and M516V1 You can optionally merge small composite intervals to the
are needed for the programs to work. previous composite. The options include merging all small
composites to the previous composite, or merging only small
Please note that all the options for fixed length composites are
composites at the end of the drillhole to the previous composite.
in the menu system.
These options are specified using IOP14=1 or 2, together with a
NOTE: To compute just fixed length composites with M501V1. PAR12 threshold value.
Use these four lines in the run-file.

IOP11 = 1 /1=Composite fixed length


composites from collar

PAR10 = ** / Downhole composite length


(** = user supplied value)

ITMn = DEPTH label 9


/The keyword is DEPTH and the
label can be -to- depth, from, etc.

ITMn = ZMID label 9


/ Store the composite midpoint
elevation. The keyword is ZMID.
Typically the label is elev.

NOTE: To do bench compositing and fixed length compositing


in one pass, use IOP11=2. In this case, the data will be composited
by bench, if the sine of the drillhole angle is greater than PAR4,
and the data will be composited by fixed length, if the sine of the
drillhole angle is less than or equal to PAR4.

IOP11 = 2 /2=Composite both by bench & fixed


length.

Page 501-2 Revised: 28-May-09


MineSight
Proprietary Software: Mintec, inc. M501V1-COMPUTE BENCH COMPOSITES

M501V1COMPUTE BENCH COMPOSITES

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-501V1 10=filename 11=filename 12=filename;


MEDS-501V1 9=filename 3=filename
where

MEDS-501V1 (must be the first 10 columns)


10= the name of the PROJECT CONTROL FILE
11= the name of the ASSAY FILE
12= the name of the SURVEY FILE
9= the name of the output COMPOSITE FILE
3= the name of the PRINTER OUTPUT FILE

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g., ABC)

IOP1 = M12 FIRST SURVEY DATA UNIT TO RETRIEVE (default = 1)


IOP2 = N12 LAST SURVEY DATA UNIT TO RETRIEVE (default = last survey stored)

IOP3 = M09 FIRST DATA UNIT TO STORE COMPOSITES IN FILE 9


= 0 STORE COMPOSITES AT THE END OF FILE
= 1 FOR THE FIRST RUN OR TO REWRITE FILE

NOTE: When rewriting File 9 (IOP3=1), recalculate all composites (IOP1; IOP2=0).

IOP4 = AREA SELECTION FOR X,Y RUN


= -1 COMPOSITE ALL DHS REGARDLESS OF X,Y LOCATION
= 0 COMPOSITE DHS WITHIN COORDINATE LIMITS, PAR5-PAR8
= 1 COMPOSITE DHS WITHIN A SPECIFIED BOUNDARY

NOTE: If IOP4 = 1, the specified boundaries can be in a separate file. Use one of the following command
lines:

CMD = INCL LOCPT FILE filename (to include points within the boundary) -OR-
CMD = EXCL LOCPT FILE filename (to exclude points within the boundary)

IOP5 = BENCH TOE ELEVATIONS TO BE USED


= -1 CALCULATE A TABLE OF TOE ELEVATIONS FOR RUN FROM
PAR1, 2 & 3 BELOW
= 0 USE PCF TABLE OF TOE ELEVATIONS
= n NUMBER OF TOE ELEVATIONS TO READ FROM TABLE AT
END OF RUN FILE

Revised: 11-May-01 Page 501-3


MineSight
M501V1-COMPUTE BENCH COMPOSITES Proprietary Software: Mintec, inc.

IOP6 = 1 PRINT DETAILS OF COMPOSITE CALCULATIONS


= 0 STANDARD OUTPUT

IOP8 = 0 OUTPUT ALL COMPOSITES, EVEN IF LENGTH IS 0.0 (default)


= 1 OMIT ANY COMPOSITE IF ALL GRADES ARE MISSING
= 2 LIST COMPOSITES ONLY IF THEY ARE WITHIN SELECTED RANGE

IOP9 = 0 USE VERTICAL OR HORIZONTAL LENGTH AS WEIGHT (default)


= 1 USE SLOPE LENGTH AS WEIGHT

NOTE: Slope length will be stored as well. Alternative command is:


ITMn = SLOPE label-09

IOP10 = 1 OUTPUT ADDITIONAL DEBUG INFORMATION

IOP11 = 0 COMPOSITE BY BENCH (Default)


= 1 CALCULATE FIXED LENGTH COMPOSITES FROM COLLAR
= 2 COMPOSITE BOTH BY BENCH (if sine of drillhole angle >PAR4) AND FIXED LENGTH (if sine of
drillhole angle =<PAR4).

NOTE: Specify length with PAR10.

IOP12 = 0 CALCULATE FIXED LENGTH COMPOSITES WITHOUT REGARD TO GEOL ITEM


= 1 HONOR GEOL CODES FOR FIXED LENGTH COMPOSITES (See ITMn=GEOL)
i.e., composites cannot span different geology zones

IOP13 = 1 STORE DHID IN THE COMPOSITE FILE

NOTE: By default, DHID items are assumed to be: DHID1 and DHID2. To override the default
DHID labels, use ITMnn lines.

IOP14 = 0 NO MERGING OF COMPOSITES


= 1 MERGE ALL SMALL COPMOSITES BELOW PAR12 THRESHOLD TO PREVIOUS COMPOSITE
= 2 MERGE ONLY SMALL COMPOSITE AT END FO DRILLHOLE TO PREVIOUS COMPOSITE IF
BELOW PAR12 THRESHOLD

PAR1 = MAXIMUM ELEVATION OF RUN (default = PCF 30)

PAR2 = MINIMUM ELEVATION OF RUN (default = PCF 29)

NOTE: PAR1 and PAR2 are used only if IOP5 is not equal to 0.

PAR3 = BENCH HEIGHT FOR RUN (default = PCF 31)


PAR4 = SINE OF THE LIMITING ANGLE (default = (DZ/SQRT (DX**2 + DZ**2)))

NOTE: If you chose a non-default limiting angle, then you must remember to include this value in your
M505V1 (PAR1) and M516V1 (PAR13) run files. See the Technical Section for more information.

PAR5 = MINIMUM EASTING


PAR6 = MAXIMUM EASTING
PAR7 = MINIMUM NORTHING
PAR8 = MAXIMUM NORTHING

NOTE: Use PAR5-8 only if IOP4 = 0. If PAR5-8 are not specified (i.e., PAR5 = PAR6 = 0.0 and/or PAR7
= PAR8 = 0.0), then values are retrieved from the PCF by default.

Page 501-4 Revised: 24-Oct-04


MineSight
Proprietary Software: Mintec, inc. M501V1-COMPUTE BENCH COMPOSITES

PAR10 = OPTIONAL BLOCK SIZE FOR HORIZONTAL COMPOSITES OR DOWNHOLE


COMPOSITE LENGTH (If IOP11=1)

PAR11 = DEFAULT VALUE OF WEIGHTING FACTOR (used if weighting item is used, default=0).

PAR12 = COMPOSITE MERGE THRESHOLD LENGTH (default=0).

NOTE: If PAR12 > 0, then the value of PAR12 will the the threshold used to determine whether to merge
a composite to a previous composite.

Item commands to control compositing:

ITMn = GRADE label-09 label-11 First assay to composite


ITMn = GRADE label-09 label-11 Second assay to composite

ITMn = GRADE label-09 label-11 Last assay to composite

ITMn = THICK label-09 (of first grade) Store vertical composite length (or weight if WT501 command is used)

NOTE: For 3-D rotated models, vertical length is counted in the model Z direction.

ITMn = SLOPE label-09 (of first grade) Store slope composite length (or weight if WT501 command is used)

ITMn = SLOPE DUMMY (of first grade) Print but do not store composite length

NOTE: Only one (THICK label-09 , SLOPE label-09 OR SLOPE DUMMY) may be selected per run.

ITMn = DIST label-09 Store vertical (if THICK) or slope (if SLOPE) composite length of the
first grade item regardless of whether the WT501 command is specified.

NOTE: Normally the SLOPE or THICK command stores the length of the first grade item. However, a
WT501 command overrides this and instead stores the weight. The DIST command acts
independently of WT501 and always stores the length of the first grade item.

ITMn = DEPTH label-09 Store depth to end of composite interval

NOTE: Reference will be to the toe of the bench in which the drillhole terminates.

ITMn = DEPTH DUMMY Print depth to end of composite interval

ITMn = WT501 label-11 To use an additional weighting factor in comp.


calculations, i.e. specific gravity.
Total weight (Length x additional weight) will be
stored in File 9 if WT501 item is not composited.

ITMn = ZMID label-09 Store opt. midpoint elevation

ITMn = GEOL label11 Geology code item to control compositing of fixed length
composites; a new composite is started each time the
geology item changes value.

Revised: 24-Oct-04 Page 501-5


MineSight
M501V1-COMPUTE BENCH COMPOSITES Proprietary Software: Mintec, inc.

Optional line to store composite endpoints:

CMD = COORD xtop ytop ztop xbot ybot zbot

Optional line to override controlling Z-item (item to be used as composite elevation)

CMD = ZCRD label-09

Optional Data Selection by RANGE, OMIT, or TABLE:

ITMn = label-11 RANGE min-value max-value


ITMn = label-11 OMIT min-value max-value
ITMn = label-11 TABLE list of values

Optional labels for DHID items (if different from DHID1 and DHID2):

ITMn = DHID1 label-09


ITMn = DHID2 label-09

FMT1 = FORMAT TO READ ARRAY OF TOE ELEVATIONS (If IOP5 > 0)

END

4. BOUNDARY POINT LINES (if IOP4=1)

If the specified boundaries are to be added at the end of the run file rather than a separate file, then use the following format:

Easting Northing (in free-field format)

where 0 0 ends the input or input ends on end-of-file. Boundary points must close. The maximum number of boundary points allowed
is 2000.

5. TOE ELEVATIONS TABLE (If IOP5>0)

The number of values per line and their format are specified by the FMT1 line.

Page 501-6 Revised: 24-Oct-04


MineSight
Proprietary Software: Mintec, inc. M501V1-COMPUTE BENCH COMPOSITES

M501V1 SAMPLE RUN FILE #1


MEDS-501V1 10=SAMP10.DAT 11=SAMP11.DAT 12=SAMP12.DAT;
MEDS-501V1 9=SAMP09.DAT 3=RPT501.LA
** COMPOSITE DRILLHOLE DATA ** FIXED LENGTH

USR = ABC
IOP1 = 10 / M12 & N12 LIMITS
IOP3 = 1 / START LOCATION FOR COMPOSITES IN FILE 9
IOP4 = -1 / 0=COMPOSITE DH IN PCF LIMIT; -1=ALL DHS; 1=SPECIAL BOUND
IOP5 = 0 / 0=PCF TOES;N=READ TABLE;-1=CALC. A TABLE
IOP6 = 0 / 0=STD. OUTPUT; 1=PRINT DETAILS OF COMPOSITE CALCULATION
IOP8 = 1 / 1=DO NOT OUTPUT 0 LENGTH COMPS
IOP11 = 1 / 1=CALCULATE FIXED LENGTH

PAR1 = 300 / ZMAX


PAR2 = -200 /ZMIN
PAR3 = 8 / DZ
PAR10 = 5 / LENGTH

ITM1 = THICK LNGTH


ITM2 = DEPTH -TO-
ITM3 = GRADE GOLD GOLD
ITM4 = ZMID ELEV.

END

M501V1 SAMPLE RUN FILE #2


MEDS-501V1 10=SAMP10.DAT 11=SAMP11.DAT 12=SAMP12.DAT;
MEDS-501V1 9=SAMP09.DAT 3=RPT501.LB
** COMPUTE COMPOSITE DATA FOR SAMPLE PROJECT **

USR = ABC

IOP1 = 10 /FIRST AND LAST SURVEY DATA UNITS FROM FILE 12


IOP3 = 1 / START LOCATION FOR COMPOSITES IN FILE 9
IOP4 = -1 / -1= NO BOUNDARY, 0= PCF BOUNDARY, 1= SPECIAL BOUND
IOP5 = 0 / 0=PCF TOES;N=READ TABLE;-1=CALC. A TABLE
IOP6 = 0 / 0= STD. OUTPUT, 1= PRINT DETAILS
IOP8 = 2 / 0= PRINT ALL COMPOSITES, 1= PRINT ONLY NON-ZERO LENGTH COMPOSITES
COM / 2= LIST ONLY WITHIN SELECTED RANGE

ITM1 = GRADE T-CU T-CU / COMPOSITE TOTAL COPPER


ITM2 = GRADE MOLY MOLY / COMPOSITE MOLY
ITM3 = GRADE ROCK ROCK /COMPOSITE ROCK
ITM4 = THICK LNGTH / STORE VERT THICKNESS IN LNGTH ITEM
ITM5 = DEPTH DHTOE / STORE DEPTH TO TOE OF COMPOSITE
ITM6 = ROCK RANGE 3 4
COM TO USE THIS OPTION ITM3= GRADE ROCK ROCK MUST BE PRESENT
END

Revised: 11-May-01 Page 501-7


MineSight
M501V1-COMPUTE BENCH COMPOSITES Proprietary Software: Mintec, inc.

M501V1 SAMPLE RUN FILE #3


MEDS-501V1 10=SAMP10.DAT 11=SAMP11.DAT 12=SAMP12.DAT;
MEDS-501V1 9=SAMP09.DAT 3=RPT501.LC
** COMPOSITE WITHIN BOUNDARY AND OVER CALCULATED TOE TABLE **

USR = ABC

IOP1 = 00 / STARTING AND ENDING COLLAR IN FILE 12


IOP3 = 1 / START LOCATION FOR COMPOSITES IN FILE 9
IOP4 = 1 / 0=COMPOSITE DH IN PCF LIMIT
COM -1=ALL DHS; 1=SPECIAL BOUND
IOP5 = -1 / 0=PCF TOES;N=READ TABLE;-1=CALC. A TABLE
IOP6 = 1 / PRINT DETAILS OF COMPOSITE CALCULATION
IOP8 = 0 / 0 = OUTPUT ALL COMPS.
COM 1 = OMIT COMP IF ALL ASSAYS MISSING

PAR1 = 4000 / MAXIMUM ELEVATION TO COMP


PAR2 = 2000 / MINIMUM ELEVATION TO COMP
PAR3 = 100 / BENCH HEIGHT TO COMP

ITM1 = GRADE T-CU T-CU / COMPOSITE TOTAL COPPER


ITM2 = GRADE ROCK ROCK / COMPOSITE ROCK CODES
ITM3 = GRADE MOLY MOLY / COMPOSITE MOLY
ITM4 = THICK LNGTH / STORE VERT THICKNESS IN LNGTH ITEM
ITM5 = DEPTH DHTOE / STORE DEPTH TO TOE OF COMPOSITE

I-O = 1 / TYPE A LINE FOR EACH DH

CMD = INCL LOCPT FILE BOUND.PTS / FILE OF BOUNDARY POINTS


END

Page 501-8 Revised: 11-May-01


MineSight
Proprietary Software: Mintec, inc. M501V1-COMPUTE BENCH COMPOSITES

HOW TO DEBUG AN M501V1 RUN


1. ?M501V1: ERROR. You need a GEOL code to use IOP12.

You need to specify a file 11 GEOLOGY item in order to use IOP12.

2. ?M501V1: ERROR. Nothing stored for file 12.


Run M104TS with LIST to check the number of data inits.

The PCF thinks your file 12 is empty. If this is not true, use M104TS to see how many data units are stored in file 12.
You may have to rebuild your file 12.

3. ?M501V1: ERROR reading collar data for K12= 13.

Theres some problem with your file 12 at survey 13. Use M202FS to view the offending drillhole.

4. ?M501V1: WARNING. DH SM-020 extends below PCF minimum. Ignoring rest of hole.
To composite entire hole, use IOP5 = -1 and PARs 1-3

Drillhole SM-202 will only be composited to the bottom of the PCF. If you want to composite the entire hole, you
should redefine the elevation limits of your program run by using PAR1 and PAR2.

5. ?M501V1: WARNING. DH SM-020 extends outside the PCF .


To composite entire hole, use IOP5 = -1 and PARs 1-3

Drillhole SM-202 will only be composited to the bottom of the PCF>. If you want to composite the entire hole, you
should redefine the elevatiopn limits of your program fun by using PAR1 and PAR2.

6. M501V1: WARNING. DH SM-020 extends outside the limits defined by PAR1 and PAR2.
Part of this hole will not be composited.

You have redefined the z limits of your program run using PAR1 and PAR2 but drillhole SM-020 still exceeds these
limits. The above message only occurs when I-O is greater than zero.

7. ?M501V1: FMT1 has not been specified.

If IOP5 is greater than zero you need to specify a FORMAT for reading the array of toe elevations.

8. ?M501V1: WARNING. No LENGTH item in run file.

You have not specified a THICK or SLOPE length item in which to store the composite length.

9. ?M501V1: ERROR. Only 1 length item is allowed: SLOPE THICK .

Remove one of these items from your run file.

Revised: 11-May-01 Page 501-9


MineSight
M501V1-COMPUTE BENCH COMPOSITES Proprietary Software: Mintec, inc.

10. You may check the internal calculations in M501V1 to verify results or to determine what assay intervals are being used
(IOP6=1). The following is a listing for vertical composites:

DRILLHOLE SM-022 K12# 27 VERT. DIST= 0.9781 * SLOPE

FROM -TO- ZTOP ZBOT ASSAY # S-DIST S-PROD


0.0 20.0 4331.30 4311.74 0.000 6 19.56 0.000
20.0 40.0 4311.74 4300.00 0.000 6 31.30 0.000
20.0 40.0 4300.00 4292.17 0.000 7 7.83 0.000
40.0 60.0 4292.17 4272.61 0.000 7 27.39 0.000
60.0 80.0 4272.61 4253.05 0.000 7 46.95 0.000
80.0 100.0 4253.05 4250.00 0.850 7 50.00 42.500
80.0 100.0 4250.00 4233.49 0.850 8 16.51 14.038
100.0 120.0 4233.49 4213.92 0.860 8 36.08 30.862
120.0 140.0 4213.92 4200.00 0.860 8 50.00 42.835
120.0 140.0 4200.00 4194.36 0.860 9 5.64 4.851

where
FROM & -TO- are the File 11 drillhole distances
ZTOP = elevation at FROM distance
ZBOT = elevation at -TO- distance

ASSAY = first value of interval from File 11, T-CU


# = bench reference number
S-DIST = sum of the vertical distances within bench #
S-PROD = sum of ASSAY * Vertical distance

The average value for bench #8 at ELEV. = 4200 is:

Avg. T-CU = S-PROD / S-DIST = 42.835 / 50.0 = 0.8567

Whenever there are two lines printed for the same drillhole interval (i.e., 80.0 - 100.0), it means that this interval has been split
between two benches as shown under the bench # column.

The actual vertical interval which is used as the weighting factor is the difference ZTOP - ZBOT. Slope distance = TO - FROM.

The composites for the data above are:

HOLE# UNIT# EAST NORTH ELEV. T-CU MO LNGTH DEPTH

SM-022 1 12753.3 12449.8 4300. 0.000 .000 31.3 32.


SM-022 2 12762.0 12449.4 4250. 0.052 .002 50.0 83.
SM-022 3 12772.6 12448.8 4200. 0.857 .042 50.0 134.
SM-022 4 12783.2 12448.3 4150. 0.845 .042 50.0 185.

Page 501-10 Revised: 11-May-01


MineSight
Proprietary Software: Mintec, inc. M501V1-COMPUTE BENCH COMPOSITES

11. The following is a listing for horizontal composites:

DRILLHOLE SM-050 K12# 44 HORZ. DIST=0.9976 * SLOPE

FROM -TO- DIST1 DIST2 ASSAY # S-DIST S-PROD


0.0 20.0 0.00 19.95 0.000 1 19.95 0.000
20.0 40.0 19.95 39.90 0.000 1 39.90 0.000
40.0 60.0 39.90 59.85 0.000 1 59.85 0.000
60.0 80.0 59.85 79.81 0.000 1 79.81 0.000
80.0 100.0 79.81 99.76 0.400 1 99.76 7.981
100.0 120.0 99.76 100.00 0.410 1 100.00 8.080
100.0 120.0 100.00 119.71 0.410 2 19.71 8.080
120.0 140.0 119.71 139.66 0.380 2 39.66 15.662
140.0 160.0 139.66 159.61 0.400 2 59.61 23.642
160.0 180.0 159.61 179.56 0.430 2 79.56 32.221
180.0 200.0 179.56 199.51 0.420 2 99.51 40.601
200.0 220.0 199.51 200.00 0.400 2 100.00 40.796
200.0 220.0 200.00 219.46 0.400 3 19.46 7.786
220.0 240.0 219.46 239.42 0.430 3 39.42 16.365
240.0 260.0 239.42 259.37 0.420 3 59.37 24.744
260.0 280.0 259.37 279.32 0.450 3 79.32 33.722
280.0 300.0 279.32 299.27 0.460 3 99.27 42.900
300.0 320.0 299.27 300.00 0.450 3 100.00 43.229

where
FROM & -TO- are the File 11 drillhole distances
DIST1 = horizontal distance at FROM
DIST2 = horizontal distance at -TO-

ASSAY = first value of interval from File 11, T-CU


# = composite interval #
S-DIST = sum of the horizontal distances in interval #
S-PROD = sum of ASSAY * horizontal distance

The composites for the data above are:

HOLE# UNIT# EAST NORTH ELEV. T-CU MO LNGTH


SM-050 1 11751.7 22299.7 4250. 0.081 .004 100.0
SM-050 2 11755.2 22399.2 4200. 0.408 .021 100.0
SM-050 3 11758.7 22498.6 4200. 0.432 .022 100.0
SM-050 4 11762.2 22598.1 4200. 0.460 .023 100.0
SM-050 5 11765.6 22697.5 4200. 0.486 .024 100.7

12. Also check the MineSight error messages in the Appendix.

Revised: 11-May-01 Page 501-11


MineSight
M501V1-COMPUTE BENCH COMPOSITES Proprietary Software: Mintec, inc.

Page 501-12 Revised: 11-May-01


MineSight
Proprietary Software: Mintec, inc. M502V1-ADD GRADES TO EXISTING FILE 9 COMPOSITES

M502V1 ADD GRADES TO EXISTING


FILE 9 COMPOSITES

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M502V1 adds grades to an existing composite file (File9). The M502V1 provides a way to update composites in a batch run.
data must be in real numbers. Values in the input replace existing values for specified items
in File 9.
PROGRAM FLOW DIAGRAM
The program limits are:
RUN FILE:
- Composite selection Maximum of 50 grades
- Item selection Maximum of 525,000 drillholes
- Area selection Maximum of 400 composites/drillhole

The drillhole name and an elevation item are matched to find


the composite that should be updated. Either an elevation or
distance to the end of the composite may be used to match the
input to the stored composite.

INPUT: CALCS: For OCS projects, there probably is only one record per blasthole
so a very large tolerance can be used to allow the ELEV to get
- PCF - Select data and generate
- File 9 composite report
updated. For example, the bh data gets loaded without the
- File 12 coordinates as they are not yet available or the coordinates were
initially wrong. Later on, when the proper coordinates are
available the east, north, and elev can all be updated.

OUTPUT:

- Printer Output file

Revised: 20- April-00 Page 502-5


MineSight
M502V1-ADD GRADES TO EXISTING FILE 9 COMPOSITES Proprietary Software: Mintec, inc.

Page 502-6 Revised: 20- April-00


MineSight
Proprietary Software: Mintec, inc. M502V1-ADD GRADES TO EXISTING FILE 9

M502V1-ADD GRADES TO EXISTING FILE 9

RUN FILE OPERATION

1. NAMES LINE (must be the first line entered)

MEDS-502V1 10=filename 9=filename 12=filename;


MEDS-502V1 19=filename 3=filename 29 =filename
where

MEDS-502V1 (must be the first 10 columns)


10= the name of the PROJECT CONTROL FILE
9= the name of the COMPOSITE FILE
12= the name of the SURVEY FILE
19= the name of the OPTIONAL INPUT FILE (if IOP4=1)
3= the name of the PRINTER OUTPUT FILE
29= the name of the MISSING DRILLHOLES FILE (optional)

NOTE: File 29 will contain the names of any selected drillholes that are not found in File 9. The missing
drillhole names are always listed on the screen and in the report file.

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g. ABC)

IOP1 = M12 FIRST SURVEY DATA UNIT TO ACCESS


IOP2 = N12 LAST SURVEY DATA UNIT TO ACCESS

IOP4 = 0 INPUT DATA IS IN RUN FILE


= 1 INPUT DATA IS IN SEPARATE FILE

IOP5 = 0 MATCHING TOE ITEM WILL NOT BE UPDATED


= 1 UPDATE MATCHING TOE ITEM

NOTE: Use IOP5=1 to update the value of the toe item. For example, in OCS projects, it is common to have
only one record per blasthole, and a very large tolerance can be used to allow the ELEV (toe item) to be
updated. If IOP5=1 is used, the toe item has to be first on the ITM1=VALUE label-09 list.

PAR1 = OPTIONAL TOLERANCE FOR MATCHING TOE ELEVATIONS


BETWEEN FILE 9 AND INPUT (default = 0.01)

FMT1 = FORMAT FOR INPUT DATA

NOTE: All grade items must have real format. If FMT1 is not specified, free-field format is assumed.

ITMn = VALUE label-09

NOTE: A maximum of nine grade items are allowed.

Revised: 24-October-03 Page 502-7


MineSight
M502V1-ADD GRADES TO EXISTING FILE 9 Proprietary Software: Mintec, inc.

ITMn = ELEV label-09


NOTE: ELEV is used to specify the item to match the File 9 composite intervals against the input.

Optional data selection by RANGE or OMIT


ITMn = label-09 RANGE min-value max-value
ITMn = label-09 OMIT min-value max-value

END
4. INPUT DATA FILE (if IOP4=0)

DH-IDENT elev. value1 value2, etc.


where

DH-IDENT = the drillhole identification (10 column alphanumeric)


elev. = the elevation item to match the File 9 composite intervals
value1 = the first grade item
value2 = the second grade item
.
.
value9 = the ninth grade item

A maximum of nine grade items is allowed. The grade items must be in real numbers.

Page 502-8 Revised: 3-November-03


MineSight
Proprietary Software: Mintec, inc. M502V1-ADD GRADES TO EXISTING FILE 9

M502V1 SAMPLE RUN FILE #1


MEDS-502V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT;
MEDS-502V1 3=RPT502.LA 29= DH502.DAT
** UPDATE BENCH COMPOSITES IN FILE 9 **

USR = ABC
IOP1 = 100 / REF. #S FOR FILE 12 DHS TO BE LISTED
IOP4 = 0 / 0=DATA FOLLOWS END LINE; 1=DATA IN FILE 19

PAR1 = 0.00 / TOLERANCE FOR MATCHING ITEM

COM COMPOSITE ITEMS ORDER FOR OUTPUT REPORT


ITM1 = VALUEGOLD
ITM2 = VALUEROCK
ITM3 = ELEVELEV./ ITEM TO BE MATCHED

FMT1 = (10A1, 2F8.3, F5.0)

I-O = 2

END

SM-001 4300.0 0.002 1.


SM-001 4250.0 0.003 1.
SM-001 4200.0 0.004 1.
SM-001 4150.0 0.005 1.
SM-001 4100.0 0.006 1.
SM-001 4050.0 0.007 1.
SM-001 4000.0 0.008 1.
SM-001 3950.0 0.009 1.
SM-001 3900.0 0.010 1.
SM-001 3850.0 0.011 1.
SM-002 4300.0 0.002 2.
SM-002 4250.0 0.003 2.
SM-002 4200.0 0.004 2.
SM-002 4150.0 0.005 2.
SM-002 4100.0 0.006 2.
SM-002 4050.0 0.007 2.
SM-002 4000.0 0.008 2.
SM-002 3950.0 0.009 2.
SM-002 3900.0 0.010 2.
SM-003 4300.0 0.002 2.

HOW TO DEBUG AN M502V1 RUN


1. When specifying the format (FMT1), make sure you have assigned a format field for DH-IDENT.

2. Remember all grade items must be real numbers.

3. Check the MineSight error messages in the Appendix.

Revised: 20-April-00 Page 502-9


MineSight
M502V1-ADD GRADES TO EXISTING FILE 9 Proprietary Software: Mintec, inc.

Page 502-10 Revised: 20-April-00


MineSight
Proprietary Software: Mintec, inc. M503V1 LIST COMPOSITE FILES

M503V1 LIST COMPOSITE FILES

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M503V1 lists the composite data files. The data selection and Composite Files 8 or 9 can be listed with program M503V1.
the order of data output from the program may be specified. Listings should always be made after program runs of M502TS
and M508V1, so that changes to the data cam be checked closely
PROGRAM FLOW DIAGRAM to other programs. File 9 data can be dumped to an ASCII file
for editing or loading to another File 9.
RUN FILE:

- Composite selection M503V1 is used to list specified portions of composites in File


- Item selection 8 or 9. It can be run three ways:
- Area selection
List File 9 with DH-IDENTS retrieved from File 12. File 12
must have been updated (M501V1, M501SM) or created
(M500V1) at the same time as File 9.

List File 9 with data unit numbers on the report. No reference is


made to File 12.
INPUT: CALCS:
- PCF List File 8 with data unit numbers on the report. No reference is
- Select data and generate
- File 8 or 9 composite report made to File 12.
- File 12 (optional)
The data retrieval function is controlled by the GET09 command
line as shown in the sample run file. Data selection can be made
through the use of Range, Omit or Table command lines and by
specifying a point boundary (see IOP3).

OUTPUT:

- Printer Output File


- Optional ASCII Output File
- Optional output in csv
format

Revised: 24-August-09 Page 503-1


MineSight
M503V1 LIST COMPOSITE FILES Proprietary Software: Mintec, inc.

Page 503-2 Revised: 24-August-09


MineSight
Proprietary Software: Mintec, inc. M503V1-LIST COMPOSITE FILES

M503V1-LIST COMPOSITE FILES

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-503V1 10=filename 9(or 8)=filename 12=filename;


MEDS-503V1 3=filename 19=filename
where

MEDS-503V1 (must be the first 10 columns)


10= the name of the PROJECT CONTROL FILE
9= the name of the COMPOSITE FILE OR
8= the name of the SORTED COMPOSITE FILE
12= the name of the SURVEY FILE(If IOP4=0; do not use with File 8)
3= the name of the PRINTER OUTPUT FILE
19= the name of the ASCII output file (optional - use with IOP7=1)

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS(e.g. ABC)

IOP1 =M12 FIRST SURVEY DATA UNIT TO ACCESS (if IOP4=0) or


=M08 or 9 FIRST COMPOSITE DATA UNIT TO ACCESS (if IOP4=1)

IOP2 =N12 LAST SURVEY DATA UNIT TO ACCESS (if IOP4=0) or


=N08 or 9 LAST COMPOSITE DATA UNIT TO ACCESS (if IOP4=1)

IOP3 = -1 LIST ALL DHS REGARDLESS OF X,Y LOCATION


= 0 LIST DHS WITHIN PROJECT LIMITS
= 1 LIST DHS WITHIN SPECIFIED BOUNDARY

NOTE: If IOP3=1, the specified boundaries can be in a separate file. Use one of the following
command lines:

CMD = INCL LOCPT FILE filename (to include points within the boundary) or
CMD = EXCL LOCPT FILE filename (to exclude points within the boundary)

IOP4 = 0 ACCESS FILES 12 AND 9 TO PRINT DH-IDENTS


= 1 ACCESS FILE 9 OR FILE 8 WITHOUT FILE 12 (DH-IDENT will not appear on report)
= 2 ACCESS FILES 12 AND 8 TO PRINT DH-IDENTS

NOTE: Do not use IOP4 = 0 or 2 if composites were loaded with M500V1 and File 12 was not
created.

IOP5 = -1 OMIT DELETED COMPOSITES FROM LIST


= 0 DENOTE DELETED COMPOSITES ON LIST
= 1 LIST COMPOSITES THAT HAVE BEEN DELETED

Revised: 24-August-09 Page 503-3


MineSight
M503V1-LIST COMPOSITE FILES Proprietary Software: Mintec, inc.

IOP7 = 0 DO NOT DUMP COMPOSITES


= 1 DUMP COMPOSITES TO FILE 19 (ASCII)
= 2 DUMP COMPOSITES TO FILE 19 (ASCII) WITH HEADER

IOP8 = 0 USE IOPs 1 & 2 FOR DH SELECTION


= 1 USE DH LIST AFTER END LINE

IOP9 = 0, 1, 2, 3 NUMBER OF COORDINATE TRIPLETS TO OUTPUT IN MODEL COORDINATES.

NOTE:
(1) By default, the first coordinate triplet is in items EAST, NORTH and ELEV. (not the dot), the second in XTOP,
YTOP, and ZTOP, and the third in XBOT, YBOT and ZBOT. To override the items use CMD statements
(below).
(2) For non-rotated models IOP9 is ignored. For horizontally rotated models only X and Y coordinates are used to
convert to model coordinates (the elevation in model and project coordinates is the same in this case).

IOP13 = 1 DHIDs ARE STORED IN THE FILE 9/8

NOTE: Use if IOP4 = 1 to print DHIDs .


By default, DHID items assumed to be: DHID1 and DHID2. To override default, use
ITMn lines.

IOP15 = 0 OUTPUT IN SPACE DELIMITED FORMAT (see FMT1)


= 1 OUTPUT FILE 19 IN CSV FORMAT

GETn = LABELS OF ITEMS TO BE PRINTED (e.g., GET08 = EAST NORTH ELEV. T-CU MOLY)

NOTE: DO NOT SPECIFY the label for REF#.


99 items can be reported.

FMT1 = FORMAT FOR OUTPUT OF ASSAY DATA (optional)

NOTE: If you are using a FMT1 statement and IOP4=0 or 2, you must specify a field for DH-IDENT and
unit number. If IOP4=1, you must specify a field for REF# and unit number.

For example, if IOP4=0, FMT1 = (10A1,1X,I7,3F10.3,F8.3)


10A1,1X,I7 is mandatory for DH-IDENT and UNIT#; the rest corresponds to the GET line.

If IOP4=1, FMT1= (I7,1X,I7,3F10.3,F8.3)

Optional data selection by RANGE, OMIT or TABLE:

ITMn = label-09(-08) RANGE min-value max-value


ITMn = label-09(-08) OMIT min-value max-value
ITMn = label-09(-08) TABLE IOPm IOPn

Optional labels for DHID items (if different from DHID1 and DHID2) (if IOP13 = 1):

ITMn = DHID1 label-09


ITMn = DHID2 label-09

Page 503-4 Revised: 24-August-09


MineSight
Proprietary Software: Mintec, inc. M503V1-LIST COMPOSITE FILES

Optional commands to override coordinate items:


For the first coordinate triplet:
CMD = XCRD label-09 1
CMD = YCRD label-09 1
CMD = ZCRD label-09 1
For the second coordinate triplet:
CMD = XCRD label-09 2
CMD = YCRD label-09 2
CMD = ZCRD label-09 2
For the third coordinate triplet:
CMD = XCRD label-09 3
CMD = YCRD label-09 3
CMD = ZCRD label-09 3

END

4. BOUNDARY POINT LINES (if IOP3=1)

If the specified boundaries are to be added at the end of the run file rather than a separate file, use the following format:

Easting Northing (in free-field format)

where 0 0 ends the input or input ends on end-of-file. Boundary points must close. The maximum number of boundary points
allowed is 2000.

5. DRILLHOLE ID REQUEST LINES (if IOP8=1)

DH-IDENT

where DH-IDENT is the drillhole label, one per line.

M503V1 SAMPLE RUN FILE #1


MEDS-503V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT;
MEDS-503V1 3=RPT503.LA
** UNSORTED COMPOSITE LISTING WITH DH-IDENT FROM FILE 12 **

USR = ABC

IOP1 = 1 / START DH ON FILE 12


IOP2 = 43 / END DH ON FILE 12
IOP3 = -1 / -1=ALL DHS; 0=PCF DHS; 1=SPEC. DHS
IOP4 = 0 / LIST UNSORTED COMPOSITE FILE (9) WITH DH-IDENTS

GET09 = EAST NORTH ELEV. LNGTH T-CU MOLY EQCU DHTOE

END

Revised: 24-August-09 Page 503-5


MineSight
M503V1-LIST COMPOSITE FILES Proprietary Software: Mintec, inc.

M503V1 SAMPLE RUN FILE #2


MEDS-503V1 10=SAMP10.DAT 8=SAMP08.DAT RPT503.LB
** SORTED COMPOSITE LISTING WITH NO FILE 12 ACCESS **

USR = ABC

IOP1 = 1 / START DH ON F08


IOP2 = 833 / END DH ON FILE 08
IOP3 = -1 / -1=ALL DHS; 0=PCF DHS; 1=SPEC. DHS
IOP4 = 1 / LIST SORTED COMPOSITE FILE (FILE 8). NO DH-IDENTS

GET08 = EAST NORTH ELEV. LNGTH T-CU MOLY EQCU DHTOE

END

M503V1 SAMPLE RUN FILE #3


MEDS-503V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT;
MEDS-503V1 3=RPT503.LC
** UNSORTED COMPOSITE LISTING LIMITED BY BOUNDARY POINTS **

USR = ABC

IOP3 = 1 / -1=ALL DHS; 0=PCF DHS; 1=SPEC. DHS

GET09 = EAST NORTH ELEV. LNGTH T-CU MOLY EQCU DHTOE ROCK

ITM1 = EQCU RANGE 0.01 5.00 / LIMIT ON EQUIV COPPER

END

10000 10000 Boundary Lines


10000 13000
15000 13000
15000 10000
10000 10000

HOW TO DEBUG AN M503V1 RUN


1. When specifying a format (FMT1), make sure you have assigned format fields for DH-IDENT and data unit number if
IOP4=0, and REF# and data unit number if IOP4=1. You must also specify a format field for all items on the GET line.

2. If you limit the composite data by ITMn = label-09 RANGE, OMIT or TABLE, the label-09 (or 08) must be specified
on the GET line.

3. Check the MineSight error messages in the Appendix.

Page 503-6 Revised: 24-August-09


MineSight
Proprietary Software: Mintec, inc. M504V1-BENCH PLAN (M122) OF COMPOSITE DATA

M504V1 BENCH PLAN (M122) OF COMPOSITE DATA

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M504V1 is used to prepare an M122 plot file from the composite M504V1 is used to produce bench plans of composites that are
data. Multiple items of data may be selected for output and placed stored in File 8 or 9. These plans are used to check the composite
at any desired position around the location of each composite. data visually. An M122 plot file is created for each bench plotted.
Grid and map annotation must be set up independently from the
M504V1 can also do bench plots of blasthole data. More M504V1 run (in the M122 run file).
information can be found in the blasthole documentation.
Multiple data items (up to 20) are selected with ITMn commands
PROGRAM FLOW DIAGRAM in the run file. The location of labels relative to the composite
location can be specified in terms of inches. The composite
RUN FILE: values can also be plotted with different pens. The selection of
- DH Selection pens is based on a set of grade cutoffs on the first ITMn plotted.
- Items to plot
- Display options Data can be selected on File 8, 9 or 12 data unit numbers or on
a specific boundary. If you want to plot the DH-IDENT, then
you must access File 12. Data selection can also be made through
the use of Range, Omit or Table command lines.

M504V1 does not check for the possibility of overplotting. If a


graphics monitor is available, you may preview the plot to reveal
INPUT: CALCS: any conflicts before the final plot is made. The angle of
- PCF - Generate M122 plot annotation can be changed using PAR4 in the run file, or you
- File 8 or 9 commands for composite can manually edit the output file to resolve any conflicts.
bench plans

OUTPUT:

- M122 plot file


- Printer Output file

NOTE: The output file from M504V1 must be processed by


M122V1 to create a map.

Revised: 6-June-01 Page 504-1


MineSight
M504V1-BENCH PLAN (M122) OF COMPOSITE DATA Proprietary Software: Mintec, inc.

Page 504-2 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M504V1-BENCH PLAN (M122) OF COMPOSITE DATA

M504V1 BENCH PLAN (M122) OF COMPOSITE DATA

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-504V1 10=filename 9(or 8)=filename 12=filename;


MEDS-504V1 19=filename 3=filename
where

MEDS-504V1 (must be the first 10 columns)


10 = the name of the PROJECT CONTROL FILE
9 = the name of the COMPOSITE FILE
8 = the name of the SORTED COMPOSITE FILE
12 = the name of the OPTIONAL SURVEY FILE (If IOP6=1)
19 = the name of the OUTPUT FILE FOR M122 GRAPHICS
3 = the name of the PRINTER OUTPUT FILE

2. RUN INFORMATION LINE (max. of 80 characters)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g. ABC)

IOP1 = M08 FIRST SORTED COMPOSITE DATA UNIT TO ACCESS (if IOP6=1) OR
= M09 FIRST COMPOSITE DATA UNIT TO ACCESS (if IOP6=0) OR
= M12 FIRST SURVEY DATA UNIT TO ACCESS (if IOP6=1)
(default = 1)

IOP2 = N08 FIRST SORTED COMPOSITE DATA UNIT TO ACCESS (if IOP6=1) OR
= N09 LAST COMPOSITE DATA UNIT TO ACCESS (if IOP6=0) OR
= N12 LAST SURVEY DATA UNIT TO ACCESS (if IOP6=1)
(default = last data unit stored)

IOP3 = -1 USE COMPOSITES REGARDLESS OF X,Y LOCATION


= 0 USE COMPOSITES WITHIN PROJECT LIMITS
= 1 USE COMPOSITES WITHIN SPECIFIED BOUNDARY

NOTE: If IOP3=1, the specified boundaries can be in a separate file. Use one of the following command
lines:

CMD = INCL LOCPT FILE filename (to include points within the boundary) -OR-
CMD = EXCL LOCPT FILE filename (to exclude points within the boundary)

IOP4 = 0 BENCH PLAN OF COMPOSITES


= -1 BENCH PLAN OF BLASTHOLES

IOP6 = -1 ACCESS FILE 8 COMPOSITES ONLY


= 0 ACCESS FILE 9 COMPOSITES ONLY
= 1 ACCESS FILE 12 COLLARS, THEN FILE 9

NOTE: Do not use IOP6=1 if composites were stored with M500V1 and File 12 was not created.

Revised:24-July-01 Page 504-3


MineSight
M504V1-BENCH PLAN (M122) OF COMPOSITE DATA Proprietary Software: Mintec, inc.

IOP7 = 0 PLOT IN PROJECT COORDINATES


= 1 PLOT IN MODEL COORDINATES

NOTE: To use IOP7 = 1 for an inclined GSM project, you must specify a composite item for elevation
(e.g., ZTOP). Use CMD = ZCRD label-nn.

IOP8 = 1 DHID IS STORED IN FILE 8/9

NOTE: If IOP6 = 1, drill-hole IDs will be used from file 12 and IOP8 will be ignored.

IOP11 = NUMBER OF CALCOMP PLOT SYMBOL TO DENOTE COMPOSITE LOCATION (default=3)

IOP16 = -1 SELECT PEN# BASED ON FIRST VALUE, BUT DO NOT PLOT FIRST VALUE
= 0 PLOT GRADES
= 1 DO NOT PLOT GRADES. USE GRADES TO SELECT PEN# FOR SYMBOL.

PAR1 = TOE ELEVATION OF BENCH OR SEAM NUMBER TO BE DISPLAYED

PAR2 = SYMBOL HEIGHT (in inches) (default = 0.10)

PAR3 = SCALE OF M122 MAP (IN USER COORDINATES)


(default = 2.0 * DX from PCF)

PAR4 = ANGLE OF VALUE ANNOTATIONS (default = 0.0)

PAR5 = n PLOT ALL COMPOSITES FROM ELEVATION (PAR1) TO n UNITS ABOVE PAR1

PLT = CUTOFF VALUES TO CONTROL COLORING:

vmax1 vmax2 vmax3 vmax4 p1 p2 p3 p4


where

Value Color
0.0 x vmax1 p1
vmax1 x vmax2 p2
vmax2 x vmax3 p3
vamx3 x vmax4 p4
x max4 p1 - Set vmax4 to 999 (or higher than any grade) to avoid reverting to pen 1.

NOTE: P1, p2, p3 and p4 are optional pen numbers. Default is 1, 2, 3, 4. Cutoffs are applied to ITMn item
and should be stated in the same precision as the data.

For increased pen numbers, control of symbol #s and symbol size.

CMD = PLOT CUT V1 V2 V3 ... V15 (for cutoffs)


CMD = PLOT PEN V1 V2 V3 ... V16 (for pen numbers)
CMD = PLOT SYMBOL V1 V2 V3 ... V16 (for symbol numbers)

NOTE: The symbol numbers depend on your plotter, refer to the M122V1 documentation for symbol n
umbers and valid symbol sizes.

CMD = PLOT SYMSZ V1 V2 V3 ... V16 (for symbol size)

NOTE: Always list one more pen number, symbol number and symbol size than you have cutoffs. The
additional pen is for any material greater than the last cutoff.

Page 504-4 Revised: 24-July-01


MineSight
Proprietary Software: Mintec, inc. M504V1-BENCH PLAN (M122) OF COMPOSITE DATA

To specify an item for composite elevation in a GSM project

CMD = ZCRD label-09

Items to plot

ITMn = label-09 Fw.d xoffset yoffset height


ITMn = label-09 Fw.d xoffset yoffset height (optional)
ITMn = D.H.# A10xoffset yoffset height (optional)
where

Fw.d = the display format on the plot (i.e. F6.2)


xoffset = horizontal offset of the label from the plot symbol (in inches; may be negative)
yoffset = vertical offset of the label from the plot symbol (in inches; may be negative)
height = the height of the label (in inches)
D.H.# = specifies DH-IDENT to be plotted. Use a format of A10. Either IOP6 or IOP8 must be 1.

Optional items to post points at different EAST, NORTH items

ITMn = EAST label-09


ITMn = NORTH label-09
For example, use XBOT and YBOT for the location of the bottom of a geologic unit.

Optional data selection by RANGE, OMIT or TABLE

ITMn = label-09 RANGE min-value max-value


ITMn = label-09 OMIT min-value max-value
ITMn = label-09 TABLE IOPm IOPn

NOTE: Use label-08 for the above ITM commands when IOP6 = 1.

To override default item labels for DHID items (if IOP8 = 1), use commands:

ITMn = DHID1 label-09


ITMn = DHID2 label-09

END

4. BOUNDARY POINT LINES (if IOP3=1)

If the specified boundaries are to be added at the end of the run file rather than a separate file, then use the following format:

Easting Northing (in free-field format)

where 0 0 ends the input or input ends on end-of-file. Boundary points must close. The maximum number of boundary points
allowed is 2000.

5. ADDITIONAL BENCH/SEAM REQUEST LINES (optional)

filenametoe_elev.
where
filename= name of output M122 file
toe_elev.= elevation of composite to be selected or seam number

Revised:24-July-01 Page 504-5


MineSight
M504V1-BENCH PLAN (M122) OF COMPOSITE DATA Proprietary Software: Mintec, inc.

M504V1 SAMPLE RUN FILE #1


MEDS-504V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT;
MEDS-504V1 19=PLT504.PAA 3=RPT504.LA
** SET UP M122 PLOT COMMANDS FOR BENCH 3500 COMPS **

USR = ABC
IOP3 = 0 / USE COMPS WITHIN PCF BOUNDARY
IOP4 = 0 / OUTPUT M122 PLOT COMMANDS

PAR1 = 3500 / TOE ELEV


PAR2 = .05 / SYMBOL HEIGHT, INCHES
PAR3 = 1000 / DEFAULT = 2.0 X DX FROM PCF
PAR4 = 45.0 / ANGLE OF ANNOTATION

PLT = 0.04 0.50 1.00 / CUTOFFS FOR PEN CHANGE

ITM1 = T-CU F5.3 0.08 0.00 0.06 / PLOT TOTAL COPPER

END

M122V1 SAMPLE RUN FILE #1


MEDS-122V1 10=SAMP10.DAT 3=RPT122.LA
** PLOT OF BENCH 22 (ELEVATION 3500) T-CU VALUES **

USR = ABC

MAP = 9000 16000 1000 9000 16000 1000

END
BORDR 1 10000 15000 10000 15000 0
BORDR 1 10015 14985 10000 14985 0
GRID 1 10000 15000 10000 15000 1000
TICKS 1 10000 10000 10000 15000 1000 .08
TICKS 1 10000 15000 15000 15000 1000 .08
COORD 1 9700 10025 9700 15025 1000 .05 0 0 10000 1000
COORD 1 9975 15025 14975 15025 1000 .05 90 0 10000 1000
BORDR 1 10000 15000 9500 10000 0BORDR 1 10015 14985 9515 9985 0
LINE 1 13500 9500 13500 10000 0
LINE 1 13500 9800 15000 9800 0
LINE 1 15000 9600 13500 9600 0
LABEL 1 13910 9880 0 .04 17/WIDGET MINING CO.
LABEL 1 13850 9680 0 .04 20/BENCH 22 T-CU VALUES
LABEL 1 13910 9540 0 .04 17/SCALE: 1" = 1000
USERF PLT504.PAA
ENDOC

Page 504-6 Revised: 24-July-01


MineSight
Proprietary Software: Mintec, inc. M504V1-BENCH PLAN (M122) OF COMPOSITE DATA

M504V1 SAMPLE RUN FILE #2


MEDS-504V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT;
MEDS-504V1 19=PLT504.PAB 3=RPT504.LB
** SET UP M122 PLOT COMMANDS FOR BENCH COMPOSITES **

USR = ABC

IOP3 = 1 / -1=USE ALL COMPS; 0=USE PCF LIMITS; 1=USE SPECIFIED BOUNDARY FILE
IOP6 = 0 / 0=FILE #9 ONLY; 1=FILES #9 & #12
IOP11 = 1 / SYMBOL NUMBER FOR COMPOSITE LOCATION (default = 3)

COM -700 200-400 20025.4 / X1-X2, Y1-Y2, SCALE


PAR1 = 174 / TOE ELEV
PAR2 = .08 / SYMBOL HEIGHT, INCHES (DEFAULT = 0.10 INCHES)
PAR3 = 25.4 / MAP SCALE (DEFAULT = 2.0 X DX FROM PCF)
PAR4 = 0.0 / ANGLE OF VALUE ANNOTATION

PAR5 = 7.99
PLT = 0.02 0.05 .1 99999 1 2 3 4 / CUTOFFS FOR PEN CHANGE

ITM01 = GOLD F5.3.08 -0.12 .08


ITM02 = GOLD RANGE 0 999END-700 -400-700 200200 200200 -400-700 -4000.0 0.0

M504V1 SAMPLE RUN FILE #3


COAL-504V1 10=COAL10.DAT 9=COAL09.DAT 3=RPT504.LC;
COAL-504V1 19=PLT504.PAC 12=COAL12.DAT
* COMPOSITE PLAN MAP *

USR = ABC
IOP3 = -1 / USE ALL COMPOSITES
PAR1 = 10 / SEAM 1 ONLY
PAR2 = .1 1000 / SIZE OF SYMBOL, SCALE
ITM1 = SULF F5.2 -.2 -.07 .1 / PLOT SULFUR
ITM2 = D.H.# A10 -.3 .07 .1 / PLOT DH-IDENT
END

Revised:24-July-01 Page 504-7


MineSight
M504V1-BENCH PLAN (M122) OF COMPOSITE DATA Proprietary Software: Mintec, inc.

M122V1 SAMPLE RUN FILE #3


COAL-122V1 10=COAL10.DAT 3=RPT122.LC
** PLOT SULFUR COMPOSITES FROM SEAM 1 **

USR = ABC

MAP = 3000 21000 1000 5000 29000 1000

END
BORDR 1 4000 20000 6000 28000
LINE 1 4000 10000 20000 10000
LINE 1 20000 15000 4000 15000
LINE 1 4000 20000 20000 20000
LINE 1 20000 25000 4000 25000
LINE 1 5000 28000 5000 6000
LINE 1 10000 6000 10000 28000
LINE 1 15000 28000 15000 6000
BORDR 1 3000 21000 5000 29000 0
COORD 1 3400 9950 3400 26000 5000 .1 0 -1 10000 5000
COORD 1 5050 28100 20050 28100 5000 .1 90 -1 5000 5000
USERF PLT504.PAC
ENDOC

HOW TO DEBUG AN M504V1 RUN


1. If you wish to plot DH-IDENT, you must specify

ITMn = D.H.# A10 xoffset yoffset height

and set IOP6=1.

2. A common error is to incorrectly specify the output format for label plotting. If you do not specify a large enough format
field, asterisks will be plotted where a number greater than the format is plotted, i.e. plotting a number 1000.0 with a
format of F3.1.

3. Another error is to incorrectly specify the location of the plot label with the xoffset and yoffset. Run a test plot on a
small portion of the data to check the offset values.

4. Check the MineSight error messages in the Appendix.

Page 504-8 Revised: 24-July-01


MineSight
Proprietary Software: Mintec, inc. M505V1 - ADDITION OF CODES TO COMPOSITE FILES

M505V1-- ADDITION OFCODES TO


COMPOSITE FILES

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M505V1 allows the addition of geologic or mining codes to the M505V1 can be used to add or update geologic/mine codes in
composite data file from ASCII input or an existing assay file. File 9 in one of two ways:

PROGRAM FLOW DIAGRAM access Files 11 and 12, pick up the existing codes and
determine a code for the composite using a majority
rule, or
RUN FILE:
input a set of data containing drillhole lengths with
- Item to update appropriate codes and determine the majority code for
- Dh selection
each composite of a drillhole.

The drillhole lengths and codes can be in the run file or in an


external ASCII file.

M505V1 is normally used for projects with a PCF table of


numeric toe elevations (i.e. 3-D model projects). It can also be
INPUT: CALCS: used for seam composites if the From and -To- depths are stored.

- PCF - Add geology or mining Drillholes can be selected using the File 12 data unit numbers.
- File 9 (11, 12 opt.) codes to the Composite
- Optional ASCII input File
The item to be updated is specified on an ITMn line. If File 11
file
is used as the source of the geology codes, then a corresponding
item from File 11 should be specified.

M505V1 cannot be run for composites that do not have a tie to


File 12 (i.e. composites loaded with M500V1 with the File 12
option off).
OUTPUT:
- Update File 9
- Printer Output File

After you run M505V1, list the composite file with M503V1 to
document and check the codes inserted with this program.

Revised: 30- September-93 Page 505-1


MineSight
M505V1 - ADDITION OF CODES TO COMPOSITE FILES Proprietary Software: Mintec, inc.

Page 505-2 Revised: 30-September-93


MineSight
Proprietary Software: Mintec, inc. M505V1-ADDITION OF CODES TO COMPOSITE FILES

M505V1 - ADDITION OF CODES TO COMPOSITE FILES

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-505V1 10=filename 9=filename 11=filename;


MEDS-505V1 12=filename 19=filename 3=filename
where

MEDS-505V1 (must be the first 10 columns)


10= the name of the PROJECT CONTROL FILE
9= the name of the COMPOSITE FILE
11= the name of the ASSAY FILE (If IOP4 = -1)
12= the name of the SURVEY FILE (If IOP4 = 1)
19= the name of the Optional Input File
3= the name of the PRINTER OUTPUT FILE

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g. ABC)

IOP1 = M12 FIRST SURVEY DATA UNIT TO ACCESS (default = 1)


IOP2 = N12 LAST SURVEY DATA UNIT TO ACCESS (default = last survey stored)

IOP4 = -1 ACCESS FILE 11 GEOLOGY


= 0 IF GEOLOGIC DATA IS IN RUN FILE
= 1 IF GEOLOGIC DATA IS IN SEPARATE FILE

IOP5 = TYPE OF GEOLOGY ITEM


= 0 INTEGER; PREC = 1 (DEFAULT)
= 1 ALPHA; PREC = -1
= 2 REAL; PREC > 0

NOTE: Used with fixed format only.

PAR1 = SINE OF LIMITING VALUE (default=DZ / SQRT (DX**2 + DZ**2))

NOTE: 1) Must match value used in M501V1 for PAR4. See the 500 Technical Section.
2) Enter 1.0 in a case of length compositing

PAR2 = OPTIONAL BLOCK SIZE FOR HORIZONTAL COMPOSITES (default=DX)

NOTE: Must match value used in M501V1 for PAR10.

Revised: 20-May-02 Page 505-3


MineSight
M505V1-ADDITION OF CODES TO COMPOSITE FILES Proprietary Software: Mintec, inc.

ITMn = GEOL label-9 label-11


where
GEOL = Keyword that must be present
label-09 = File 9 item to receive the major geologic code
label-11 = File 11 item of source geologic codes. Label-11 will default to label-09 if it is not specified.
Only required if IOP4 = -1.

NOTE: Only one GEOL item per run.

ITMn = GEOL2 label-09

Optional item to store minor geologic code within each composite interval (i.e., store two codes for each
interval).

ITMn = GEOL% label-09

Optional item to store the percentage of the composite interval covered by the major geologic code.

FMT1 = FIXED FORMAT FOR INPUT DATA (if IOP4=0 or 1)


Example: (10A1,F4.0,I3)

NOTE: 1) Omit FMT1 or use (*) for free-format read.


2) If using fixed format make sure that format for geology item corresponds to IOP5 selection.
Use Iw if IOP5 = 0, Aw if IOP5 = 1, and Fw.d. if IOP5 = 2.

Drillhole depth item for 3-D composites

Used to calculate composite intervals below the PCF minimum.

ITMn = DZBOT label-09

NOTE: DZBOT must be used for 3-D (non-vertical) composites. The label-09 is the same item used as
DEPTH in M501V1. For fixed length composites (horizontal or near-vertical holes) the depth item is
usually -TO-.

Drillhole depth items for seam composites

ITMn = DZTOP label-09


ITMn = DZBOT label-09

NOTE: DZBOT can be used alone with sequential 3-D composites. There is no adequate way to back
calculate drillhole depths from seam composites, hence the drillhole depths must be available from
M501SM in order to run M505V1.

END

Page 505-4 Revised: 20-May-02


MineSight
Proprietary Software: Mintec, inc. M505V1-ADDITION OF CODES TO COMPOSITE FILES

4. GEOLOGIC DATA LINES FOR EACH DRILLHOLE (if IOP4=0)

DH-IDENT FROM CODE


where

DH-IDENT = a 10 character alphanumeric label


FROM = the distance at the start of the interval (must be left-justified and column width must be equal to the
maximum column width (i.e., 10A1)
CODE = a value for the geologic code.

NOTE: Alphanumeric codes are limited to 4 characters.

End input with a blank line. The Geologic Data Lines must match FMT1.

Revised: 20-May-02 Page 505-5


MineSight
M505V1-ADDITION OF CODES TO COMPOSITE FILES Proprietary Software: Mintec, inc.

M505V1 SAMPLE RUN FILE #1


MEDS-505V1 10=SAMP10.DAT 12=SAMP12.DAT 9=SAMP09.DAT;
MEDS-505V1 3=RPT505.LA
** SAMPLE RUN TO ADD GEOLOGY TO COMPOSITES

USR = ABC

IOP1 = 1 10 / FILE 12 LIMITS


IOP4 = 0 / GEOLOGY IS IN THIS FILE

ITM1 = GEOL ROCK


FMT1 = (10A1, F5.0, I3)

I-O = 1

END

SM-008 0.0 1
SM-008 80.0 2
SM-008 620.0 3
SM-008 1460.

SM-009 0.0 1
SM-009 81.0 3
SM-009 1260. 4
SM-009 1600.

Page 505-6 Revised: 20-May-02


MineSight
Proprietary Software: Mintec, inc. M505V1-ADDITION OF CODES TO COMPOSITE FILES

M505V1 SAMPLE RUN FILE #2


COAL-505V1 10=COAL10.DAT 9=COAL09.DAT 12=COAL12.DAT;
COAL-505V1 3=RPT505.LA
** LOAD QCODE TO SEAM COMPOSITES **

USR = ABC

COM THIS EXAMPLE RUN USES GEOLOGIC CODES FROM COLDDH.INA


COM LOADED INTO ITEM QCODE.

COM
COM DH GEOLOGY FUNCTION
COM

IOP1 = 1 00 / FILE 12 LIMITS


IOP4 = 0 / 0=GEOL IN RUN FILE; 1=GEOL IN AUX FILE

COM -
COM = (DH GEOL INPUT DATA) FMT1 = (10A1, F7.2, 14X, I3)
COM -

ITM1 = GEOL QCODE


ITM2 = DZTOP FROM
ITM3 = DZBOT -TO-

END
77-001 0.00 4.10 4.10 1 0
77-001 4.10 92.10 88.00 2 0
77-001 92.10 99.30 7.20 3 0

Revised: 20-May-02 Page 505-7


MineSight
M505V1-ADDITION OF CODES TO COMPOSITE FILES Proprietary Software: Mintec, inc.

M505V1 SAMPLE RUN FILE #3


MEDS-505V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT;
MEDS-505V1 3=RPT505.LC
** ADD GEOLOGY CODES TO COMPOSITES IN FILE 9 **

USR = ABC

COM
COM DH GEOL LOAD FUNCTION
COM
COM

IOP1 = 1 0 / STARTING & ENDING RECORD #S FOR FILE 12 ACCESS


IOP4 = 0 / 0=DATA IS IN RUNFILE; 1=DATA IS IN FILE 19
COM

ITM1 = GEOL ROCK / MAJOR GEOLOGY CODE STORED IN ROCK


ITM2 = GEOL2 ROCK2 / MINOR GEOLOGY CODE SOTRED IN ROCK2
ITM3 = GEOL% ROCK% / % OF COMPOSITE COVERED BY ROCK
ITM4 = DZBOT -TO- / USE COMPOSITE DEPTHS TO ZTOE

COM DATA IS DH-IDENT, FROM, CODE (INTEGER) READ IN FMT1


FMT1 = (10A1, F10.1, I4)

I-O = 2

END

SM-001 0.0 1
SM-001 62.5 2
SM-001 512.5 2

SM-002 0.0 1
SM-002 60.0 2
SM-002 468.8 2

SM-003 0.0 1
SM-003 75.1 2
SM-003 625.1 2

SM-020 0.0 1
SM-020 50.0 3
SM-020 1660.6 3

Page 505-8 Revised: 20-May-02


MineSight
Proprietary Software: Mintec, inc. M505V1-ADDITION OF CODES TO COMPOSITE FILES

HOW TO DEBUG AN M505V1 RUN


1. ** D.H. xxx NOT FOUND **

This error message will appear if a DH-IDENT specified in the input ASCII file does not exist in File 12.

2. ** P.C.F. TABLE DOES NOT CONTAIN TOE ELEVATIONS


M505V1 CANNOT BE USED FOR SEAMS WITHOUT DH DEPTHS

You can only run M505V1 for 3-D block model composites unless the FROM and -TO- depths are stored for each
composite.

3. Also check the MineSight error messages in the Appendix.

Revised: 20-May-02 Page 505-9


MineSight
M505V1-ADDITION OF CODES TO COMPOSITE FILES Proprietary Software: Mintec, inc.

Page 505-10 Revised: 20-May-02


MineSight
Proprietary Software: Mintec, inc. M506V1-SORT COMPOSITE DATA FILE

M506V1 SORT COMPOSITE DATA FILE

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M506V1 sorts the composite data in File 9 by increasing M506V1 is used to sort composites in File 9 prior to interpolation
northings (or eastings) and creates a sorted composite Data File with the M620-series programs. The efficiency of the
(File 8). It can also be used to sort any other item of data in interpolation routines will be improved if the composites are
File 9. sorted on northings. This program should be run after File 9 has
been loaded with all required grades and codes. The sorted
M102TS must be run prior to M506V1 to set up the descriptors composites will be loaded into File 8.
for File 8. To insure correct results, File 8 descriptors must be
exactly the same as File 9. Normally, the entire File 9 should be sorted (IOP1 & IOP2=0).
Set PAR1 and PAR2 to be outside the intended northing search
PROGRAM FLOW DIAGRAM limits for interpolation. For example:

RUN FILE: PAR1 = YMIN intended max. search distance


- Common selection PAR2 = YMAX + intended max. search distance
- Sort item
- Sort options
Initially M506V1 makes a coarse sort of the composites into
the increments determined by PAR1, PAR2, and PAR3. The
total number of increments cannot exceed the maximum number
of sort subintervals (1000 on the RM Fortran platform and 10,000
on all other platforms). If this number is exceeded, M506V1
increases PAR3 to reduce the increments. Each increment can
encompass at most 2000 composites on the RM Fortran platform
INPUT: CALCS:
and 75,000 on all other platforms.
- PCF - Sort File 9 on selected
- File 9 item (coordinate) If PAR3 cannot be adjusted to meet the above limits, then File 8
- Generate File 8 must be sorted in multiple runs. This can be accomplished using
IOP4, PAR1, and PAR2. If multiple runs must be made, the
order in which they are made and the choices for PAR1 and
PAR2 are important. The minimum value (PAR1) must be
greater than the maximum value (PAR2) in the previous run
file in order to:1)obtain a single data set sorted by increasing
value2)avoid duplicating composites in File 8The difference
OUTPUT:
between PAR1 in the current run and PAR2 from the previous
- File 8 run file is dictated by the precision of the sort item.
- Printer Output file
NOTE: This program should NOT be used for projects with
a rotated model.

Revised: 16-May-01 Page 506-1


MineSight
M506V1-SORT COMPOSITE DATA FILE Proprietary Software: Mintec, inc.

Page 506-2 Revised: 16-May-01


MineSight
Proprietary Software: Mintec, inc. M506V1SORT COMPOSITE DATA FILE

M506V1SORT COMPOSITE DATA FILE

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-506V1 10=filename 9=filename 8=filename;


MEDS-506V1 3=filename
where

MEDS-506V1 (must be the first 10 columns)


10= the name of the PROJECT CONTROL FILE
9= the name of the COMPOSITE FILE
8= the name of the SORTED COMPOSITE FILE
3= the name of the PRINTER OUTPUT FILE

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g. ABC)

IOP1 = M09 FIRST FILE 9 COMPOSITE DATA UNIT TO SORT (default = 1)


IOP2 = N09 LAST FILE 9 COMPOSITE DATA UNIT TO SORT (default = last composite stored)

IOP4 = M08 FIRST DATA UNIT IN FILE 8 TO STORE OUTPUT


= 0 APPEND TO EXISTING FILE
= 1 FOR INITIAL RUN OR TO REWRITE FILE

ITMn = label-09 type


where

label-09 = item to be sorted


type = INCR for increasing sort (default = INCR)
= DECR for decreasing sort

PAR1 = MINIMUM VALUE OF SORT ITEM (default = minimum value for item)
PAR2 = MAXIMUM VALUE OF SORT ITEM (default = YMAX)

PAR3 = INCREMENTS BETWEEN PAR1 & PAR2 (default = DY * 2)

NOTE: This default is only useful when sorting on Northing.Set PAR3 so that (PAR2 PAR1) / PAR3
(maximum number of sort subintervals)

Optional data selection by RANGE, OMIT or TABLE:

ITMn = label RANGE min-value max-value


ITMn = label OMIT min-value max-value
ITMn = label TABLE IOPm IOPn

END

Revised: 16-May-01 Page 506-3


MineSight
M506V1-SORT COMPOSITE DATA FILE Proprietary Software: Mintec, inc.

M506V1 SAMPLE RUN FILE #1


MEDS-506V1 10=SAMP10.DAT 9=SAMP09.DAT 8=SAMP08.DAT;
MEDS-506V1 3=RPT506.LA
** SORT SAMPLE COMPOSITE FILE **

USR = ABC

IOP1 = 10 / SORT ALL COMPOSITES


IOP4 = 1 / M08 (BEGINNING LOCATION TO STORE COMPS)

ITM1 = NORTH INCR / SORT BY INCREASING NORTHINGS


PAR1 = 10000.15000.20. / MIN MAX & INCR

END

M506V1 SAMPLE RUN FILE #2


COAL-506V1 10=SAMP10.DAT 9=SAMP09.DAT 8=SAMP08.DAT;
COAL-506V1 3=RPT506.LB
* SORT BENCH COMPOSITES - LIMIT DATA BY ROCK CODES

USR = ABC
IOP1 = 10 / M09N09; FIRST, LAST COMPS TO SORT

IOP4 = 1 / M08BEGINNING LOCATION TO STORE COMPS

ITM1 = NORTH INCR / SORT BY INCREASING NORTH

PAR1 = 10000.15000. / MIN MAX


PAR3 = 20 / INCR
COM = 1000015000 / PCF MIN-MAX NORTHINGS

ITM2 = ROCKTABLE2122
IOP21 = 24 / TABLE OF ROCK CODES

END

Page 506-4 Revised: 16-May-01


MineSight
Proprietary Software: Mintec, inc. M506V1SORT COMPOSITE DATA FILE

HOW TO DEBUG AN M506V1 RUN


1. ?M506V1of the xxx items in the RUNFILE
none was the item on which to sort

You have NOT entered a SORT item (e.g., ITM1=NORTH INCR)

2. %M506V1: WARNINGIOP4 exceeds the last data unit in FILE 8


Switching to APPEND mode.IOP4=xxx

The value you specified in IOP4 is larger than the number of composites currently stored in FILE8. The new composites
will be appended to FILE 8 (equivalent to specifying IOP4=0).

3. ?M506V1 . . . ERROR. Sort interval xxx has xxx points.


The maximum allowed is 2000 on the RM Fortran platform and 75,000 on all other platforms.
Try reducing PAR3.

Initially the composites are coarsely sorted into increments of length PAR3 (see requiremetns and considerations). If
PAR3 is not sufficiently small, the number of composites per increment is exceeded. Attempt to lessen the number of
composites per increment by reducing PAR3. Note that PAR3 must be greater than or equal to (PAR2PAR1)/
mamimum number of sort subintervals.

4. ?M506V1 . . . ERROR. The number of words required to store data for 1 composite is xxx.
This value is stressing the limits of the program. Reduce the value of PAR3 and try again.

You will sometimes get this message if your File 8 requires more than 10 words to store data for one composite even
though the number of composites per sort increment is less than the maximum. Determine the number of words needed
to store one data unit (M105TS). If, for example, you need 20 words, then divide your PAR3 in half. If you need 30
words, divide by three.

5. Check the MineSight error messages in the Appendix.

Revised: 16-May-01 Page 506-5


MineSight
M506V1-SORT COMPOSITE DATA FILE Proprietary Software: Mintec, inc.

Page 506-6 Revised: 16-May-01


MineSight
Proprietary Software: Mintec, inc. M507V1-EXTRACT COMPOSITE DATA

M507V1 EXTRACT COMPOSITE DATA

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M507V1 creates a sequential ASCII file from the composite Data that has already been composited into File 9 may be dumped
data file. into an ASCII file for several special purposes such as specialized
sorting, for use in other programs, or for transfer to other
PROGRAM FLOW DIAGRAM computers. Once data is in an ASCII file, special editing or
changes can be made with the editor on your computer system.
RUN FILE:
- DH selection You can specify the output format to the ASCII file with the
- Output format FMT1 line. The first two data fields output from M507V1
include the drillhole reference number (REF#) and the drillhole
identifier (DH-IDENT). The reference number should be given
an integer format specification (i.e., I5 or I7). The drillhole
identifier should be given a 10 character alphanumeric format
specification (i.e., 10A1).

The next two data fields output normally contain the EAST and
INPUT: CALCS: NORTH coordinates of the composite in whichever order you
- PCF - Select data specify on the GET line. However, if this data will be used in
- File 9 - Create ASCII file the interpolation with M620V1, EAST must precede NORTH.
- File 12 Output fields must be in EAST, NORTH, ELEV. order for use
in M236V2.

NOTE: Composites must have been loaded with the M501 series
of programs. Composites loaded with M500V1 cannot be
extracted.

OUTPUT:

- ASCII Output file


- Printer Output file
- Optional output in csv
format

Revised: 12-June-09 Page 507-1


MineSight
M507V1-EXTRACT COMPOSITE DATA Proprietary Software: Mintec, inc.

Page 507-2 Revised: 12-June-09


MineSight
Proprietary Software: Mintec, inc. M507V1-EXTRACT COMPOSITE DATA

M507V1-EXTRACT COMPOSITE DATA

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-507V1 10=filename 9=filename 12=filename;


MEDS-507V1 19=filename 3=filename
where

MEDS-507V1 (must be the first 10 columns)


10= the name of the PROJECT CONTROL FILE
9= the name of the COMPOSITE FILE
12= the name of the SURVEY FILE
19= the name of the ASCII Output File
3= the name of the PRINTER OUTPUT FILE

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g. ABC)

IOP1 = M12 FIRST SURVEY DATA UNIT TO BE ACCESSED (default = 1)


IOP2 = N12 LAST SURVEY DATA UNIT TO BE ACCESSED (default = last survey stored)

IOP3 = -1 USE ALL DHS REGARDLESS OF X,Y LOCATION


= 0 USE DHS WITHIN PROJECT LIMITS
= 1 USE DHS WITHIN SPECIFIED BOUNDARY

NOTE: If IOP3=1, the specified boundaries can be in a separate file. Use one of the following command lines:
CMD = INCL LOCPT FILE filename (to include points within the boundary) OR
CMD = EXCL LOCPT FILE filename (to exclude points within the boundary)

IOP5 = 0 OUTPUT COMPOSITES AS STORED


= 1 OUTPUT COMPOSITES WITH COLLAR COORDINATES(XCOL & YCOL)
= 2 OUTPUT COMPOSITE COORDINATES IN M236V2 FORMAT
= 3 OUTPUT COMPOSITE UNIT # IN ADDITION TO REF# AND DH-IDENT
= 4 OUTPUT IN DH-IDENT EAST NORTH ELEV FORMAT (for m500v1 input)
= 5 OUTPUT IN REF# EAST NORTH ELEV FORMAT (for m500v1 input)

NOTES: See also FMT1

1) Using IOP5=2, for rotated models ROW# is meaningless. An artificial grid is used to determine ROW#.
It is not used by M236V1.

2) If IOP5=3, the first three fields are REF#, DH-IDENT, and UNIT#.

3) Using IOP5=4 or IOP5=5, and generating a file for M500V1, then specify the first items as EAST NORTH ELEV.
(3DBM) or EAST NORTH ZTOP ZBOT (GSM) or if generating a file for M502V1, then specify the first item as
ELEV. (3DBM) or SEAM/ZONE/etc (GSM)

Revised: 2-September-09 Page 507-3


MineSight
M507V1-EXTRACT COMPOSITE DATA Proprietary Software: Mintec, inc.

IOP6 = 0 USE IOPs 1 & 2 FOR DH SELECTION


= 1 USE DH LIST AFTER END LINE

IOP7 = 0 DO NOT LIST COMPOSITES FOR DELETED SURVEYS


= 1 LIST COMPOSITES EVEN FOR DELETED SURVEYS

IOP8 = 0, 1, 2, 3 NUMBER OF COORDINATE TRIPLETS TO OUTPUT IN MODEL COORDINATES.

NOTES:

1) By default, the first coordinate triplet is in items EAST, NORTH and ELEV. (note the dot), the second in
XTOP, YTOP and ZTOP, and the third in XBOT, YBOT and ZBOT. To override the items use the CMD
statements below.

2) For non-rotated models IOP8 is ignored. For horizontally rotated models only X and Y coordinates are
used to convert to model coordinates (the elevation in model and project coordinates is the same in this
case).

IOP9 = 0 NO OUTPUT HEADER LINE IN FILE 19


= 1 OUTPUT HEADER LINE IN FILE 19

IOP10 = 0 OUTPUT IN SPACE DELIMITED FORMAT (see FMT1)


= 1 OUTPUT FILE 19 IN CSV FORMAT

GET09 = LABELS OF DATA TO BE DUMPED

Example: GET09 = EAST NORTH ELEV. label1 label2 ... labeln

If IOP5=2, only EAST, NORTH, ELEV., in that order, are allowed.

FMT1 = FORMAT FOR OUTPUT DATA

NOTE: See IOP5 output options. For:

IOP5=0, the order of the items in the output is: REF#, the DH-IDENT and every item on the GET line
Example: FMT1 = (I5, 1X, 10A1, nFw.d)

IOP5=1, the order of the items in the output is: REF# DH-IDENT XCOL YCOL and every item on the GET line
Example: FMT1 = (I5, 1X, 10A1, 2F12.3, nFw.d)

IOP5=2, the order of the items in the output is: REF# , every item on the GET line, ROW# DH-IDENT
Example: FMT1 = (I5, 1X, nFw.d, F7.0, 10A1)

IOP5=3, the order of the items in the output is: REF# DH-IDENT UNIT# and every item on the GET line
Example: FMT1 = (I5,1X,10A1,I7, nFw.d)

IOP5=4, the order of the items in the output is DH-IDENT and every item on the GET line
Example: (10A1,1X, 3F12.3, nFw.d)

IOP5=5, the order of the items in the output is REF# and every item on the GET line
Example: (I5,1X,3F12.3,nFw.d)

Page 507-4 Revised: 2-September-09


MineSight
Proprietary Software: Mintec, inc. M507V1-EXTRACT COMPOSITE DATA

Optional data selection by RANGE, OMIT or TABLE

ITMn = label-09 RANGE min-value max-value


ITMn = label-09 OMIT min-value max-value
ITMn = label-09 TABLE IOPm IOPn

NOTE: If IOP5=2, use RANGE to name the bench elevation on which polygons are to be generated, e.g.,
ITM01 = ELEV. RANGE 4300 4300.

Optional commands to override coordinate items:


For the first coordinate triplet:
CMD = XCRD label-09 1
CMD = YCRD label-09 1
CMD = ZCRD label-09 1
For the second coordinate triplet:
CMD = XTOP label-09 2
CMD = YTOP label-09 2
CMD = ZTOP label-09 2
For the third coordinate triplet:
CMD = XBOT label-09 3
CMD = YBOT label-09 3
CMD = ZBOT label-09 3

END

4. BOUNDARY POINT LINES (if IOP3=1)

If the specified boundaries are to be added at the end of the run file rather than a separate file, then use the following format:

Easting Northing (in free-field format)

where 0 0 ends the input or input ends on end-of-file. Boundary points must close. The maximum number of boundary points
allowed is 2000. Boundary point lines must preceed any drillhole request lines.

5. DRILLHOLE REQUEST LINES (if IOP6=1)

DH-IDENT

where DH-IDENT is the drillhole label, one per line. Drillhole request lines must follow any boundary point lines.

Revised: 2-September-09 Page 507-5


MineSight
M507V1-EXTRACT COMPOSITE DATA Proprietary Software: Mintec, inc.

M507V1 SAMPLE RUN FILE #1


MEDS-507V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT;
MEDS-507V1 3=RPT507.LA 19=DAT507.OA
** EXTRACT COMPOSITE DATA FROM FILE # 9 **

USR = ABC
IOP1 = 10 / FILE 12 LIMITS
IOP3 = 0 / DEFAULT TO PCF GEOMETRIC LIMITS
IOP4 = 19 / OUTPUT DATA TO FILE 19

GET09 = EAST NORTH ELEV. LNGTH T-CU MOLY EQCU

FMT1 = (I5, 1X, 10A1, 4F10.1, 3F8.3)

END

HOW TO DEBUG AN M507V1 RUN


1. You must specify the correct number of format fields on the FMT1 line to match what will be output. If IOP5=0 or 1, the
REF# and DH-IDENT will be written out and must be included at the beginning of the format statement. If IOP5=2,
REF# is output at the beginning of the line; ROW# and DH-IDENT are output at the end of the line. Include the
appropriate formats.

2. Check the MineSight error messages in the Appendix.

Page 507-6 Revised: 2-September-09


MineSight
Proprietary Software: Mintec, inc. M508RP-SPECIAL PROJECT CALCULATIONS

M508RP SPECIAL PROJECT CALCULATIONS

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M508RP accesses a MineSight routine to perform arithmetic To run M508RP, specify each calculation as an arithmetic
calculations using RPN (Reverse Polish Notation) logic specified expression in the run file. The calculations can access existing
in the run file. Calculated values may be stored into File 9/8 or items in File 9/8 (or 12) or an MSTorque database, and can also
12 (but not both), or into an MSTorque database. modify composite data stored in these files. An example use for
M508RP would be to compute an equivalent grade.
PROGRAM FLOW DIAGRAM
M508RP is an executable module that is provided by Mintec. It
If any values are to be stored in the composite file, you should is not linkable like M508V1.
make a backup copy of File 9 before running M508RP.
Arithmetic expressions are written as standard algebraic
RUN FILE: statements. For example, in the statement A=B + C, item A will
- Options and parameters be calculated as the sum of items B & C , where B & C must be
- Selection citeria retrieved from File 9/8 (or 12), the MSTorque database or were
Arithmetic expressions calculated in a previous expression. Each expression must be
contained within 80 columns, and each may contain a combined
maximum of 25 item names, real numeric constants, arithmetic
operators (+, -, *, **, /) and the following functions:

ABS ( ... ) : the absolute value


AINT( ... ) : the integer value
INPUT: CALCS: SQRT( ... ) : the square root
- PCF - Decode user equations
- File 9/8 - Select a drillhole ALOG( ... ) : the natural logarithm (base e)
- File 12 (optional) - Select a composite EXP ( ... ) : the exponential (the power of e)
or - Perform calculations
- MSTorque database - Optionally store data
SIN ( ... ) : the sine function, radian argument
COS ( ... ) : the cosine function, radian argument
TAN ( ... ) : the tangent function, radian argument

SIND( ... ) : the sine function, degree argument


OUTPUT:
COSD( ... ) : the cosine function, degree argument
- Updated File 9/ OR 12 TAND( ... ) : the tangent function, degree argument
or
- Updated MSTorque
ATAN( ... ) : the arctangent function
database
- Printer Output file DEG ( ... ) : convert radians to degrees

MIN ( ... , ... ) : the minimum of the given arguments


MAX ( ... , ... ) : the maximum of the given arguments

where ( ... ) indicates an argument as a constant, a variable or


Manually check the values reported by M508RP or run M503V1
an expression.
to list the values. CHECK THE RESULTS CAREFULLY.
To evaluate log to base 10, use the ratio: ALOG(x) / ALOG(10).

Data may be selected on the basis of coordinate location (see


IOP3) and through the use of standard Range, Omit or Table
command lines. REF# is a reserved item and cannot be used in
RANGE commands.

Revised: 16-July-12 Page 508RP-1


MineSight
M508RP-SPECIAL PROJECT CALCULATIONS Proprietary Software: Mintec, inc.

PROCEDURE SUMMARY FOR USE OF M508RP

1. Define the arithmetic expression(s) with reference to the


item labels of File 9/8 (or 12) or the MSTorque database.

2. Prepare the input run file, including I-O=2 for a listing of


all items to be used in the run.

3. You should make a copy of the composite file before


testing M508RP if data will be stored from the run.

4. Make a test run with program M508RP, using options


IOP1 and IOP2 (M12 and N12) to specify a small portion
of File 9/8 (or 12) or the MSTorque database. Check the
results.

5. When M508RP provides satisfactory results, make a full


production run setting IOP1 and IOP2 as appropriate and
I-O=0.

6. Check output for all drillholes closely, with lists and


maps.

IMPORTANT NOTE: If the M508RP run replaces existing


values in the composite file, there is no way to restore the original
file. Save a copy of the file (on disk or tape) before you begin
your M508RP run.

Page 508RP-2 Revised: 16-July-12


MineSight
Proprietary Software: Mintec, inc. M508RP-SPECIAL PROJECT CALCULATIONS

M508RP - SPECIAL PROJECT CALCULATIONS

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-508RP 10=filename 9(or 8 or 12)=filename 20=filename


MEDS-508RP 3=filename
where

MEDS-508RP (must be the first 10 columns)


10= the name of the PROJECT CONTROL FILE
9= the name of the COMPOSITE FILE OR TORQ for input from MSTorque
8= the name of the SORTED COMPOSITE FILE OR
12= the name of the SURVEY FILE
20= MSTorque information file (mstorq.inf), if 9=TORQ is used
3= the name of the PRINTER OUTPUT FILE

NOTE: To access the MSTorque database, use 9=TORQ and include an MSTorque info file (20=mstorq.inf). For information
about the MSTorque info file, please refer to the M500-Technical Section, Access to MSTorque Composite Set Data.

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g. ABC)

IOP1 = M12 FIRST SURVEY DATA UNIT TO ACCESS (default=1)


IOP2 = N12 LAST SURVEY DATA UNIT TO ACCESS (default=last survey stored)

NOTE: If File 12 is specified on the NAMES LINE, then IOP1 & IOP2 refer to File 12. If IOP5 0 or File 8/9 is
specified on the NAMES LINE, then IOP1 and IOP2 refer to that file.

IOP3 = -1 USE ALL DHS REGARDLESS OF X,Y LOCATION


= 0 USE DHS WITHIN PROJECT LIMITS
= 1 USE DHS WITHIN SPECIFIED BOUNDARY

NOTE: If IOP3=1, the specified boundaries can be in a separate file. Use one of the following command lines:

CMD = INCL LOCPT FILE filename (to include points within the boundary) OR
CMD = EXCL LOCPT FILE filename (to exclude points within the boundary)

IOP5 = -1 BYPASS ALL FILE 12 OPERATIONS


= 0 OMIT STORING ANY DATA FROM THE RPN ROUTINE INTO FILE 12 OR MSTORQUE
= 1 STORE DATA FROM THE RPN ROUTINE INTO FILE 12 (not allowed if 9=TORQ)

IOP6 = 0 OMIT STORING DATA FROM THE USER ROUTINE INTO FILE 9/8 OR MSTORQUE
= 1 STORE DATA FROM THE USER ROUTINE INTO FILE 9/8 OR MSTORQUE

NOTE: You cannot write to both File 12 and 9/8. If both IOP5 and IOP6 are 0 and there are UPD/PUT items,
the items will be calculated but not stored. If File 8 is selected, IOP5 is automatically set to -1.

Revised: 16-July-12 Page 508RP-3


MineSight
M508RP-SPECIAL PROJECT CALCULATIONS Proprietary Software: Mintec, inc.

GET09 (or 8 or 12)= LABELS OF ITEMS TO BE RETRIEVED FOR M508RP

PUT09 (or 8 or 12)= LABELS OF ITEMS TO BE STORED AFTER M508RP CALCULATIONS (if IOP6=1)

OUT09 (or 8 or 12)= LABELS OF ITEMS TO BE LISTED AFTER CALCULATIONS

Optional data selection by RANGE, OMIT or TABLE

ITMn = label-nn RANGE min-value max-value


ITMn = label-nn OMIT min-value max-value
ITMn = label-nn TABLE IOPm IOPn

NOTE: If you use File 12 Range Checking you MUST specify the File 12 item with a GET12 command. You
cannot range check on File 9(8) items in the same run. GET12, PUT12, OUT12 and label-12 are not allowed if
9=TORQ.

Optional lines for label substitution (see note in Section 5)

ITMn = label-nn UNDEF value

NOTE: GET/UPD items that are undefined values will be substituted by the UNDEF value before the
RPN expressions are evaluated. UPD/PUT/OUT items that are undefined will be substituted after the RPN
expressions have been evaluated. Undefined values that occur during RPN evaluation cause the result to be
undefined. CMD ALIAS IS is disabled for the TORQ option; there is no need for label substitution because
there are no restrictions for TORQUE label names.

CMD = label-09 ALIAS IS run-label

Ex: CMD = T-CU ALIAS IS TOTCU

END

4. BOUNDARY POINT LINES (If IOP3=1)

If the specified boundaries are to be added at the end of the run file rather than a separate file, then use the following format:

Easting Northing (in free-field format)

where 0 0 ends the input or input ends on end-of-file. Boundary points MUST close. The maximum number of boundary points
allowed is 2000.

5. ARITHMETIC EXPRESSION LINES (maximum=40 expressions)

EQUIV = TOTCU + MOLY * 5.0


.
.
NOTE: Item labels may not contain minus signs (-) since - is a valid operator. Item labels containing
embedded minus signs, such as T-CU, can be substituted using the ALIAS command line. Item labels cannot
appear on both sides of the = in the same equation. This can be avoided by using a temporary variable as
follows. This restriction does not apply if 9=TORQ.

TEMP = TOTCU

TOTCU = TEMP * 1.10

Page 508RP-4 Revised: 16-July-12


MineSight
Proprietary Software: Mintec, inc. M508RP-SPECIAL PROJECT CALCULATIONS

Specifying Attributes in m508rp expressions:

You do not need to enclose attributes with blanks and other special characters in quotes, however you may do so for better
readability. You may also use brackets. All three expressions below are valid:

New Attribute = Attribute-1 Attribute-2

[New Attribute] = [Attribute-1] [Attribute-2]

New Attribute = Attribute-1 Attribute-2

M508RP SAMPLE RUN FILE


MEDS-508RP 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT;MEDS-508RP 3=RPT508.
LA
* COMPUTE EQUIVALENT COPPER GRADE *

USR = ABC
IOP1 = 0 0 / FIRST AND LAST DATA UNITS FROM FILE 12

IOP3 = -1/ -1=NO BOUNDARY,0=PCF BOUNDARY,1=READ BOUNDARY

IOP6 = 1 / -1 = BYPASS ALL FILE 9 OPERATIONS; OR

COM 0 = ACCESS FILE 9 BUT DO NOT STORE BACK TO IT; OR


COM 1 = ACCESS FILE 9 & STORE BACK TO IT = PUT09 REQD

GET09 = T-CU MOLY / RETRIEVE GRADES

PUT09 = EQCU / STORE EQUIVALENT GRADE

CMD = T-CU ALIAS IS TOTCU

END
EQCU = TOTCU + MOLY*5.0

Revised: 16-July-12 Page 508RP-5


MineSight
M508RP-SPECIAL PROJECT CALCULATIONS Proprietary Software: Mintec, inc.

HOW TO DEBUG AN M508RP RUN


1. If I-O=2 is specified in the run file, MineSight routines will print a list of all the items in File 9 (or 8 or 12) followed by
the items to be used, in the form

**MEDITM: FILE SAMPnn.DAT PCF DESCRIPTORS ### ###


**MEDITM: ### REF #**MEDITM: ### FROM items in File n
**MEDITM: GET ITEM= 1 TOTCU (for the first example above)
**MEDITM: GET ITEM= 2 MOLY
**MEDITM: GET ITEM= 3 EQCU

The MEDITM information (I-O=2) should allow you to check the items of information that will be retrieved (GET
items) from File 9/8 or 12. CHECK IF ALL DESIRED ITEMS ARE LISTED.

2. If you make a mistake in entering the variable names in the equations specified in the run file, the calculations will be in
error: IF RESULTS ARE NOT CORRECT, PLEASE CHECK THE EQUATIONS SPECIFIED AND LABELS IN THE
RUN FILE.

3. If there is no PUT item, nothing will be stored in File 9/8 or 12. Set IOP6=1 and make sure you include a PUTnn
statement. If IOP6=1 and no PUTnn was included, the error message

%WARNING - NO PUTnn LABELS WERE ENCOUNTERED

will appear.

4. If M508RP values are stored in File 9 that are either above the PCF maximum or below the minimum, the error message

* FOR FILE filename


NUMBER OF USR508 VALUES ABOVE MAX = n
NUMBER OF USR508 VALUES BELOW MAX = n

will appear.

5. Also check the MineSight error messages in the Appendix.

Page 508RP-6 Revised: 16-July-12


MineSight
Proprietary Software: Mintec, inc. M508V1-USER INTERFACE FOR COMPOSITE FILES

M508V1 USER INTERFACE FOR COMPOSITE FILES

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M508V1 accesses a user-coded subroutine for special M508V1 calls a user-coded FORTRAN subroutine (USR508)
calculations and reports from the composite Data File. Calculated to define a geologic code, perform a specified data calculation,
values may be stored into the composite Data File. or modify the composite interval data previously stored in File
9. Examples of this would be to define a code indicating property
PROGRAM FLOW DIAGRAM ownership or to compute an equivalent grade.

RUN FILE: The user subroutine is called by the main routine (M508V1) a
number of times. A call is always made for initialization. The
- DH selection value of the argument NTRY, determines what action should
- Item selection
be taken in the subroutine:

NTRY=1 - Initialization

NTRY=2 - Process all DH intervals within specified surveys

NTRY=3 - Call at end of survey interval


INPUT: CALCS:
NTRY=4 - Call at end of each hole
- PCF - USR508 initialization
- File 9 - Select a DH and
- File 12 (optional) composite NTRY=5 - Call at end of run
- Perform user logic
- Optionally store data NTRY=6 - Same as NTRY=2 (second pass)

NTRY=7 - Same as NTRY=3 (second pass)

NTRY=8 - Same as NTRY=4 (second pass)


OUTPUT:
The drillhole reference number (IDHN) is also passed as an
- Updated File 9 argument from the main routine to the subroutine.
- Printer Output file
The composite file does not contain an item for the DH-IDENT.
If you require the DH-IDENT or the collar and survey data, you
must also access data in File 12. To avoid any access to File 12,
you must set IOP8=1.

Data can be selected on the basis of coordinate location and


through the use of Range, Omit or Table command lines. Data
Manually check the values reported from M508V1 or run can be read from or written to an ASCII file.
M503V1 to list the values. CHECK THE RESULTS
CAREFULLY.

Revised: 6-June-01 Page 508-1


MineSight
M508V1-USER INTERFACE FOR COMPOSITE FILES Proprietary Software: Mintec, inc.

Procedure Summary for Use of USR508 IMPORTANT NOTE: If the M508V1 run replaces existing
values in the composite file, there is no way to restore the original
1. Define the desired calculation and draw a flowchart. file. Save a copy of the file (on disk or tape) before you begin
your M508V1 run.
2. Code the subroutine; see the Technical Section
explaining the linkage between M508V1 and USR508. Please refer to the Technical 600 section for more information
Also see the sample subroutine in this section. about how to write MINESIGHT user subroutines.

3. Compile and test USR508 on a small portion of the


composite file (use IOP1 and IOP2). Make a copy of File
9 before testing the routine.

4. When the program runs and produces satisfactory results,


make a full production run.

5. Check output for all drillholes closely with list and maps.

Page 508-2 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M508V1-USER INTERFACE FOR COMPOSITE FILES

M508V1 USER INTERFACE FOR COMPOSITE FILES

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-508V1 10=filename 9=filename 12=filename;


MEDS-508V119=filename 3=filename
where

MEDS-508V1 (must be the first 10 columns)


10= the name of the PROJECT CONTROL FILE
9= the name of the COMPOSITE FILE
12= the name of the SURVEY FILE (if IOP8=0)
19= the name of the Output File from USR508 (if IOP6=1)
3= the name of the PRINTER OUTPUT FILE

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text information that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g. ABC)

IOP1 = M12 FIRST SURVEY DATA UNIT TO ACCESS (default = 1)

IOP2 = N12 LAST SURVEY DATA UNIT TO ACCESS (default = last survey stored)

IOP3 = -1 LIST ALL DHS REGARDLESS OF X,Y LOCATION


= 0 LIST DHS WITHIN PROJECT LIMITS
= 1 LIST DHS WITHIN SPECIFIED BOUNDARY

NOTE: If IOP3=1, the specified boundaries can be in a separate file. Use one of the following command lines:

CMD = INCL LOCPT FILE filename (to include points within the boundary) OR
CMD = EXCL LOCPT FILE filename (to exclude points within the boundary)

Revised: 6-June-01 Page 508-3


MineSight
M508V1-USER INTERFACE FOR COMPOSITE FILES Proprietary Software: Mintec, inc.

IOP4 = 0 CALL THE USER ROUTINE FOR EACH DRILLHOLE IN THE FOLLOWING ORDER:

NTRY=2 FOR ALL COMPOSITE INTERVALS WITHIN A SPECIFIED SURVEY INTERVAL


NTRY=3 FOR ALL SURVEY INTERVALS WITHIN A SPECIFIED DRILLHOLE
NTRY=4 AT THE END OF EACH DRILLHOLE
NTRY=5 END OF RUN

= 1 REPEAT THE PROCESS OF IOP4=0 AT THE END OF EACH DRILLHOLE

NTRY=6FOR COMPOSITES (same as NTRY=2)


NTRY=7FOR SURVEYS (same as NTRY=3)
NTRY=8FOR THE END OF HOLE (same as NTRY=4)

NOTE: NTRY refers to an argument that is passed to the USR508 subroutine from the M508V1 program (see
example subroutine listing that follows). The USR508 routine must test the NTRY argument and branch to the
appropriate section.

IOP5 = -1 BYPASS ALL OPERATIONS FOR FILE 12


= 0 OMIT STORING ANY DATA FROM THE USER ROUTINE INTO FILE 12
= 1 STORE DATA FROM THE USER ROUTINE INTO FILE 12

NOTE: If IOP5 = -1, File 12 is still required for the run to determine the location of the composite intervals.
Array B12 will contain valid data, but no calls for NTRY=3 or NTRY=7 are made.

If IOP5=1, use the following:

PUT12 = LABELS OF ITEMS TO BE STORED AFTER USR508 CALLS

IOP6 = -1 BYPASS ALL FILE 9 OPERATIONS


= 0 OMIT STORING ANY DATA FROM THE USER ROUTINE INTO FILE 9
= 1 STORE DATA FROM THE USER ROUTINE INTO FILE 9

NOTE: If IOP6 = -1, no call for NTRY=2 or NTRY=6 are made. If IOP6=1, specify PUT09 line.

IOP7 = -1 OPEN A SEQUENTIAL FILE FOR INPUT


= 0 OMIT OPENING A SEQUENTIAL ACCESS FILE
= 1 OPEN A SEQUENTIAL FILE FOR OUTPUT

IOP8 = 0 NORMAL ACCESS OF FILE 12


= 1 OMIT ANY ACCESS TO FILE 12

Page 508-4 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M508V1-USER INTERFACE FOR COMPOSITE FILES

GET09 (or 12) = LABELS OF ITEMS TO BE RETRIEVED FOR USR508

PUT09 (or 12) = LABELS OF ITEMS TO BE STORED IN FILE 9 (If IOP6=1 or IOP5=1)

PAR1-40 are available for use by the user in routine USR508.


IOP11-40 are available for use by the user in routine USR508.

Optional Data Selection by RANGE, OMIT or TABLE

ITMn = label-09 (or 12) RANGE min-value max-value


ITMn = label-09 (or 12) OMIT min-value max-value
ITMn = label-09 (or 12) TABLE IOPm IOPn

NOTE: You must specify label-09 on the GET09 line, or label-12 on the GET12 line. If you use File 12 Range
Checking you MUST specify the File 12 item with a GET12 command. You cannot range on File 11 and File 12
items in the same run.

END

4. BOUNDARY POINT LINES (if IOP3=1)

If the specified boundaries are to be added at the end of the run file rather than a separate file, then use the following format:

Easting Northing (in free-field format)

where 0 0 ends the input or input ends on end-of-file. Boundary points must close. The maximum number of boundary points
allowed is 2000.

Revised: 7-November-04 Page 508-5


MineSight
M508V1-USER INTERFACE FOR COMPOSITE FILES Proprietary Software: Mintec, inc.

M508V1 SAMPLE RUN FILE


MEDS-508V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT;
MEDS-508V1 3=SAM508.LA
** COMPUTE EQUIVALENT COPPER GRADE **

USR = ABC

IOP1 = 1 43 / DO SURVEYS 1 THROUGH END OF DATA


IOP3 = -1 / USE ALL DATA (NO GEOMETRIC LIMITS)
IOP4 = 0 / 0 = 1 PASS THROUGH DH DATA; 1 = MAKE 2 PASSES

IOP5 = -1 / -1 = BYPASS ALL FILE 12 OPERATIONS; OR


COM 0 = ACCESS FILE 12 BUT DO NOT STORE TO BACK TO IT OR
COM 1 = ACCESS FILE 12 & STORE BACK TO IT = PUT12 REQD

IOP6 = 1 / -1 = BYPASS ALL FILE 9 OPERATIONS; OR


COM 0 = ACCESS FILE 9 BUT DO NOT STORE TO BACK TO IT OR
COM 1 = ACCESS FILE 9 & STORE BACK TO IT = PUT09 REQD

IOP7 = 0 / -1 = OPEN A SEQUENTIAL ACCESS FILE FOR INPUT; OR


COM 0 = OMIT OPENING A SEQUENTIAL ACCESS FILE; OR
COM 1 = OPEN A SEQUENTIAL ACCESS FILE FOR OUTPUT

GET09 = T-CU MOLY / RETRIEVE GRADES


PUT09 = EQCU / STORE GRADE

PAR1 = 5. / FACTOR MO:T-CU VALUE RATIO

END

Page 508-6 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M508V1-USER INTERFACE FOR COMPOSITE FILES

EXAMPLE USR508 SUBROUTINE


NOTE: The user code in this subroutine is in bold print.
C
C SAMPLE SUBROUTINE TO CALCULATE EQUIVALENT COPPER GRADE
C
SUBROUTINE USR508 ( NTRY, IDHN )
C
C
C
C NTRY = 1 TO INITIALIZE ANY NEEDED PARAMETERS
C = 2 ENTRY TO USER SUBR FOR COMP. INTS WITHIN SPEC. SURVEYS
C = 3 ENTRY TO USER SUBR AT END OF EACH SURVEY
C = 4 ENTRY TO USER SUBR AT END OF EACH DH
C = 5 ENTRY TO USER SUBR AT END OF ENTIRE RUN
C = 6 SAME AS NTRY = 2 , 2ND PASS
C = 7 SAME AS NTRY = 3 , 2ND PASS
C = 8 SAME AS NTRY = 4 , 2ND PASS
C
C IDHN = DRILLHOLE REFERENCE NUMBER FROM FILE 12.
C
C
COMMON
& /SYS/ NAMES(80), RNID(20), IOP(40), PAR(40), IFMT(80),
& DAY(4), LALF(20), ICR, IPR, LCR, LPR, LINE,LLIM,
& IHS, NCMD, IRTYPE, IOLEV, RUNUMB, USER, LBTS,
& IPDP, IHEAD(8), NPAGE, NDOCL, LDOC(15,5)
& /BUF/ B12(1024), B09(1024)
& /F10/ PCF( 512), IAB10(20), I10,NW10, FLB(2,40), IPWD(40)
& /ITM/ ITM(3,99), NIC(5,40), ITEMS, NICNO, LWRD( 99),
& NBIT( 99), LBIT( 99), VMIN( 99), CODE( 99),
& ROND(99), VFCT( 99), MAXV( 99), RDAT( 99), IDAT( 99)
& /USR/ K09GET, L09GET, K09PAK, L09PAK, LOC09, J09, K09,
& L09, K12GET, L12GET, K12PAK, L12PAK, LOC12, J12,
& K12, L12
& /AUX/ MSK12, NBT12, KIO12, MAX12, MIN12, KIO09, MAX09,
& MIN09
C
C
GOTO (100, 500, 1000, 1500, 5000, 2500, 3000, 3500),
&NTRY
C
C
C NTRY = 1 : INITIALIZE USR508, AS NEEDED
C
100 CONTINUE
FACTR = PAR(1)
IBUG = IOP(11)
NDHS = 0
WRITE (LPR,110) FACTR
110 FORMAT (/ SAMPLE 508 FOR EQUIVALENT GRADE: FACTOR =, F8.3)
C
IF (IOLEV .LT. 2) RETURN
WRITE (LPR,120) K09GET, K09PAK
120 FORMAT (/ ** EQU508: 1ST GET =,I3, 1ST PUT =,I3/)
RETURN

Revised: 6-June-01 Page 508-7


MineSight
M508V1-USER INTERFACE FOR COMPOSITE FILES Proprietary Software: Mintec, inc.

C
C
C NTRY = 2 : PROCESS COMPOSITE INTERVAL DATA
C
500 CONTINUE
CU = RDAT(K09GET)
IF (CU .LE. 0) CU = 0.0
AM = RDAT(K09GET+1)
IF (AM .LE. 0) AM = 0.0
ECU = CU + FACTR * AM
RDAT(K09PAK) = ECU
C
IF (IBUG .GT. 0) WRITE(LPR,620)IDHN, CU, AM, ECU
620 FORMAT( DH REF# ,I6, CU =,F8.2, MO =,F8.3, EQCU =, F8.3)
RETURN
C
C
C NTRY = 3 : PROCESS END OF SURVEY
C
1000 CONTINUE
RETURN
C
C
C NTRY = 4 : PROCESS OR SUMMARIZE AT END OF DRILLHOLE
C
1500 CONTINUE
NDHS = NDHS + 1
RETURN
C
C
C NTRY = 6 : 2ND PASS FOR DH INTERVAL DATA
C
2500 CONTINUE
RETURN
C
C
C NTRY = 7 : 2ND PASS FOR END OF SURVEY
C
3000 CONTINUE
RETURN
C
C
C NTRY = 8 : 2ND PASS FOR END OF DH
C
3500 CONTINUE
RETURN
C
C
C NTRY = 5 : PROCESS OR SUMMARIZE AT END OF ENTIRE RUN
C
5000 CONTINUE
WRITE(LPR,5010) NDHS
5010 FORMAT(// END RUN # DHS = ,I3/)
RETURN
END

Page 508-8 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M508V1-USER INTERFACE FOR COMPOSITE FILES

HOW TO DEBUG AN M508V1 RUN


1. %M508V1: WARNING. There are no PUT12 items.

You have selected IOP5=1 but not specified any PUT12 items.

2. %M508V1: WARNING. There are no PUT09 items.

You have selected IOP6=1 but not specified any PUT09 items.

3. If IO=2 is specified in the run file, MineSight routines will print a list of all the items in File 9 followed by the items
to be used, in the form

**MEDITM: FILE SAMP09.DAT PCF DESCRIPTORS ### ###


**MEDITM: ### REF #
**MEDITM: ### FROM items in File 9
.
.
**MEDITM: GET ITEM = 1 TOTCU (for the first example above)
**MEDITM: GET ITEM = 2 MOLY
**MEDITM: PUT ITEM = 3 EQCU

The MEDITM information (IO = 2) should allow you to check the items of information that will be retrieved (GET
items) from File 9. Check if all desired items are listed.

4. If M508V1 values are stored in File 9 that are either above the PCF maximum or below the minimum, the error message

* FOR FILE filename


NUMBER OF USR508 VALUES ABOVE MAX = n
NUMBER OF USR508 VALUES BELOW MAX = n

will appear.

5. A test run should always be performed on a small portion of the drillhole data before actually storing any calculations.
Include an option in your USR508 logic to list enough values to be able to check the calculations.

6. If you want an input or output sequential file, you must specify a 19=filename on the NAMES LINE. IOP7 must be set
appropriately.

7. Also check the MineSight error messages.

Revised: 6-June-01 Page 508-9


MineSight
M508V1-USER INTERFACE FOR COMPOSITE FILES Proprietary Software: Mintec, inc.

Page 508-10 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M516V1-CROSS-SECTION OFCOMPOSITE DATA (M122)

M516V1 CROSS-SECTION OFCOMPOSITE DATA (M122)

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


This program creates an M122 plot file for 2-D composite cross- To generate a cross-section, two steps are required:
sections defined by two end points.
Run M516V1 to create the M122 plot commands
PROGRAM FLOW DIAGRAM
Run M122V1 to plot the section
RUN FILE:
Additional steps may be required to add special features such as
- DH selection
- Selection options title blocks, surface topography, etc. These extra features are
- Item selection brought together with the section plot commands when M122
is run. M516V1 does not detect overplotting on a drillhole by
other holes or closely space intervals. If overplotting does occur,
the M122 plot file can be edited to remove conflicts.

The program selects data within an area defined by two end


points and a perpendicular distance. The sections can be at any
INPUT: CALCS: orientation. Cutting planes on each side of the cross-section are
- PCF - Generate a file of M122 used to limit what drillhole data is selected. You may also select
- File 9 & 12 plot commands for data on the basis of File 12 unit numbers (IOP1 & IOP2).
processing by M122
You may also specify individual drillhole reference numbers
and depth ranges for each hole.

Composite intervals can be shaded and/or colored on grade


cutoffs, or as ticks or boxes on either side of the drillhole trace.

OUTPUT: Composite values can be labeled on either the right or left-hand


side of the drillhole trace.
- M122 Plot file
- Printer Output file There is an option for moving entire holes to avoid overplotting
(IOP19 & PAR9). File 9 values can be limited by the standard
Range, Omit or Table.

NOTE: Since the section can be at any azimuth through the


deposit, there is no convenient way to prepare any regular
coordinates specifying the location of each plot feature.
The output file from M516V1 must be processed with M122V1
to plot the map. Therefore, plot commands have an X coordinate that is measured
from the left-hand side of the plot in units of PAR7. The Y
coordinate is the actual elevation.

The M122V1 run file must specify an area that has X limits
from 0.0 to the section length in user units.

Revised: 6-June-01 Page 516-1


MineSight
M516V1-CROSS-SECTION OFCOMPOSITE DATA (M122) Proprietary Software: Mintec, inc.

Page 516-2 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-516V1 10=filename 9=filename 12=filename;


MEDS-516V1 3=filename
where

MEDS-516V1 (must be the first 10 columns)


10 = the name of the PROJECT CONTROL FILE
9 = the name of the COMPOSITE FILE
12 = the name of the SURVEY FILE
3 = the name of the PRINTER OUTPUT FILE

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g. ABC)

IOP1 = M12 FIRST SURVEY DATA UNIT TO ACCESS (default = 1)


IOP2 = N12 LAST SURVEY DATA UNIT TO ACCESS (default = last survey stored)

IOP4 = 0 IF CROSS-SECTION IS ESSENTIALLY E-W


= 1 IF CROSS-SECTION IS ESSENTIALLY N-S

IOP6 = STANDARD CALCOMP SYMBOL NUMBER (0-13) USED FOR DH COLLARS (default=6)

IOP7 = 0 PLOT REFERENCE LINES


= 1 OMIT REFERENCE LINES

IOP8 = 0 PLOT TICKS ON BORDER OF PLOT


= 1 OMIT TICKS ON BORDER OF PLOT

IOP9 = 0 DO NOT PLOT ADDITIONAL DHS


= 1 READ AND PLOT ADDITIONAL DHS BY REFERENCE NUMBERS
= 2 READ AND PLOT ADDITIONAL DHS BY LABEL (DH-IDENT)

NOTE: If IOP9 0, then only 1 section definition line is allowed.

NOTE: To exclude selected drillholes from the section, set IOP9-1 and put negative drillhole REF#s
on the DH selection lines.

IOP10 = 0 PLOT ALL SELECTED HOLES


= 1 PLOT ONLY THOSE HOLES SPECIFIED BY IOP9 (maximum of 50 holes)
IOP11 = 0 OUTPUT PLOT COMMANDS FOR THE FULL SECTION
= 1 OUTPUT PLOT COMMANDS FOR DH TRACE ONLY
= 2 OMIT DHCOL LABEL FROM PLOT

Revised: 16-May-01 Page 516-3


MineSight
M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122) Proprietary Software: Mintec, inc.

IOP12 = 1 DISPLAY WHETHER DH ENTERS OR EXITS SECTION VOLUME

IOP13 = SHADING FOR COMPOSITE INTERVAL


= 0 NO SHADING (default)
= 1 SPECIFY SHADE TYPES IN IOP31-34

NOTE: Used if PLT is specified or following CMD option.Shade types (0-7) are as follows:

0 = no shading within box


1 = shade box completely solid
2 = shade box @ 0 degrees to X-axis
3 = shade box @ 45 degrees to X-axis
4 = shade box @ 90 degrees to X-axis
5 = shade box @ 135 degrees to X-axis
6 = shade box @ 0 & 90 degrees to X-axis
7 = shade box @ 45 & 135 degrees to X-axis

IOP14 = BOX TYPE FOR COMPOSITE INTERVAL


= 0 STANDARD BOX(default; IOP18 indicates whether the box is on the right or left.)
= 1 SPECIFY BOX TYPES IN IOP35-38

NOTE: Used if PLT is specified or following CMD option.Box types (-1 through 5) are as follows:
-1 =no box
0 = box on right/left side of DH line (See IOP18)
1 = ticks on right side of DH line
2 = ticks on left & right side of DH line
3 = ticks on left side of DH line
4 = box on left & right side of DH line
5 = box on left side of DH line

IOP15 = -1 OMIT PLOTTING OF FIRST GRADE ITEM


= 0 PLOT VALUES
= 1 DO NOT PLOT VALUES (Use values & cutoffs to determine interval attributes.)

IOP16 = 0 PLOT DH LABEL (ON COLLAR PLOT) AT 90o


= 1 PLOT DH LABEL (ON COLLAR PLOT) AT 0o
= -1 OMIT DH LABEL FROM THE COLLAR PLOT

IOP17 = PEN# FOR DH LINES (default = 1)

IOP18 = 0 VALUES PLOTTED ON RIGHT SIDE OF DH LINE (default)


= 1 VALUES PLOTTED ON LEFT SIDE OF DH LINE

IOP19 = USED ONLY IF PAR9 IS SPECIFIED


= 0 PLOT THE HOLE CLOSEST TO THE SECTION LINE
= 1 PLOT THE LEFTMOST HOLE, THEN APPLY PAR9

IOP20 = -1 PLOT DH LABEL (ON COLLAR PLOT) AT THE END OF HOLE


= 0 PLOT DH LABEL (ON COLLAR PLOT) BY THE DH SYMBOL (default)
= 1 PLOT DH LABEL BETWEEN SECTION AND COLLAR PLOT TO AVOID OVERWRITING
= 2 PLOT DH LABEL ABOVE AND DRAW DASH LINE FROM DH LABEL TO SYMBOL
= 3 PLOT DH LABEL ABOVE AND PLOT DIP AND DEPTH OF HOLE WITH LABEL

NOTE: Not used if IOP16=-1

Page 516-4 Revised: 16-May-01


MineSight
Proprietary Software: Mintec, inc. M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

IOP21 = 0 USE SPECIFIED ITEM FORMATS ONE AFTER ANOTHER


= 1 INSERT ONE SPACE BETWEEN ITEMS

IOP22 = 1 APPLY PLT CUTOFFS TO ITM1 (default)


= N APPLY PLT CUTOFFS TO ITMn

IOP24 = 0 NO DOWNHOLE TICKS


= 1 (-1) PLOT THE DEPTH FROM COLLAR
= 2 (-2) PLOT THE DISTANCE FROM THE PLAN OF THE SECTION
= 3 (-3) PLOT THE ELEVATION
= 4 (-4) PLOT TICKS ONLY

NOTE: A positive number places the ticks on the right. A negative number places the ticks on the left.
PAR20 and PAR21 define the size and location of the ticks.

IOP25 = 0 USE DHCOL TO SHOW INTERSECTIONS WITH SECTION VOLUME


= 1 USE SYMBOL #1

IOP29 = PEN# FOR THE GRID LINES EASTING =CONST ON THE COLLAR PLOT (default =1)
IOP30 = PEN# FOR THE GRID LINES NORTHING = CONST ON THE COLLAR PLOT (default =1)

IOP31-34=SHADE TYPES FOR COMPOSITE INTERVAL (or use following CMD option)

NOTE: Cutoffs for shading correspond to PLT commands. You must set IOP13=1.

IOP35-38=BOX TYPES FOR COMPOSITE INTERVAL (or use following CMD option)

NOTE: Cutoffs for box type correspond to PLT command. You must set IOP14=1.

PAR1 = LENGTH OF LINE ON EACH SIDE OF DH PLOT INDICATING INTERSECTION OF DH WITH THE
SECTION (default=1.0")

PAR2 = OFFSET FROM ORIGIN (default=0.0)

NOTE: The resultant plot will have the beginning of the section shifted and the end of the section
truncated by the distance specified in PAR2.

PAR3 = MINIMUM Z (ELEVATION) OF CROSS-SECTION (default=Project ZMIN)

PAR4 = MAXIMUM Z (ELEVATION) OF CROSS-SECTION (default=Project ZMAX)

PAR5 = REFERENCE AXIS Z (default= (PAR3 + PAR4) / 2.0)

PAR6 = REFERENCE AXIS X (EASTING)(default=0.0)

PAR7 = X-SCALE PER INCH (required)


PAR8 = Z-SCALE PER INCH FOR COLLAR ELEVATION (required)

PAR9 = MINIMUM SEPARATION BETWEEN DH ON PLOT IN USER UNITS (default=0.0)

NOTE: If PAR9 is used, there will be no collar plot.

PAR10 = WIDTH OF DH ANNOTATION BOXES (in inches;default=0.1)

PAR11 = SIZE OF COLLAR PLOT SYMBOL (in inches) AND DH ANNOTATION (default=0.1)

PAR12 = HEIGHT (in inches) OF REFERENCE LINE PLOT FOR COLLAR PLOT (default = 5.0")

Revised: 16-May-01 Page 516-5


MineSight
M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122) Proprietary Software: Mintec, inc.

NOTE: If the reference line plot is not large enough to properly plot a drillhole location, the location
will be plotted on the border. To omit plot, set PAR12=-1.

PAR13 = SINE OF THE LIMITING ANGLE(default = (DZ/SQRT (DX**2 + DZ**2)))

NOTE: In case of length compositing use command line ITMn = DHTOE. (see below)

PAR14 = SIZE OF DH LABELS ON COLLAR PLOT (if IOP20>0;default = PAR11)

PAR15 = OFFSET OF COLLAR PLAN FROM SECTION (in plotter units;default = 0.5)

PAR16 = GRID SIZE (if PAR16 = 0.0 - No Grid)

PAR17 = STARTING GRID EASTING FOR COLLAR GRID LABELING (default = PCF21)

PAR18 = STARTING GRID NORTHING FOR COLLAR GRID LABELING (default = PCF22)

NOTE: PAR17 and PAR18 are for reference. The grid will go both directions from PAR17/PAR18.

PAR20 = LENGTH OF DOWNHOLE TICKS (default=0.1)

PAR21 = DISTANCE BETWEEN TICKS (default=50.0)

PLT = CUTOFF VALUES TO CONTROL COMPOSITE INTERVAL COLORING, SHADING OR BOXES:


vmax1 vmax2 vmax3 vmax4 p1 p2 p3 p4

where

Value Color Shading Box Type

0.0 # x < vmax1p1 IOP31 I O P 3 5


vmax1 # x < vmax2 p2 IOP32 I O P 3 6
vmax2 # x < vmax3 p3 IOP33 I O P 3 7
vamx3 # x < vmax4 p4 IOP34 I O P 3 8
x $ vmax4 p1 IOP34 IOP38

NOTE: P1, p2, p3 and p4 are optional pen numbers. default is 1, 2, 3, 4. If shading with PEN# 1, use 1 1
1 1. Cutoffs are applied to ITMn item and should be stated in the same precision as the data.

ITM1 = label-09 VALUE Fw.d (First value to plot)


.
.
ITMn = label-09 VALUE Fw.d (Sixth value to plot)

NOTE: Fw.d is the format of the plotted grade label. There must be at least one ITM input.

For increased pen numbers:


CMD = PLOT CUT V1 V2 V3 ... V15 (for cutoffs)
CMD = PLOT PEN V1 V2 V3 ... V16 (for pen numbers)
CMD = PLOT BOX V1 V2 V3 ... V16 (for box types)
CMD = PLOT SHADE V1 V2 V3 ... V16 (for shade patterns)

Page 516-6 Revised: 16-May-01


MineSight
Proprietary Software: Mintec, inc. M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

NOTE: Always list one more pen number than you have cutoffs. The additional pen, box and shade are
for any material greater than the last cutoff.

NOTE: IOP13 and IOP14 no longer need to be set to get the box and shade patterns from the above
commands. The existing PLT command and IOPs 13, 14, and 31-38 work exactly as before. However, if
both the PLT and/or IOP31-38 and the CMD commands are present in a run file, the CMD commands
will override the PLT and IOP31-38 commands.

Optional data selection by RANGE, OMIT or TABLE

ITMn = label-09 RANGE min-value max-value


ITMn = label-09 OMIT min-value max-value
ITMn = label-09 TABLE IOPm IOPn

NOTE: Item labels used in data selection must be specified in the plot ITMn lines above.

Plotting equal length downhole composites

ITMn = label-09 DHTOE

NOTE: Label-09 is the depth down the drillhole to the toe of the composite as computed in M501V1
using the command

ITMn = DEPTH label-09 * This option must also be used if you set IOP5= -1 in the
M501V1 run to create a table of bench toes.

To use this option, composites must be continuous. (In M501V1, IOP8 must be set to zero.) This item
must be specified if, for M501V1, the fixed length composites option was used (IOP11=1 in M501V1
run file). Bench composites can also be plotted using this command.

I-O = 1 OUTPUT CROSS-SECTION DEFINITION TO USER TERMINAL

END

4. SECTION DEFINITION LINE (free-field format)

X1 Y1 X2 Y2 search-dist. filename
where

X1 Y1 = left end of the cross-section


X2 Y2 = right end of the cross-section
search-dist. = perpendicular distance on each side of the line (X1,Y1) - (X2,Y2) within which drillhole data will be
accepted
filename = filename to be used by M516V1 to output M122 plot commands

5. OPTIONAL D.H. SELECTION LINE(S) (if IOP9=1 or 2)

REF# min-Z max-Z OR


DH-IDENT min-Z max-Z

where

REF# = drillhole reference number OR DH-IDENT = drillhole label


min-Z = minimum elevation within drillhole to plot (default = PAR3)
max-Z = maximum elevation within drillhole to plot (default = PAR4)

NOTE: If IOP9 = 0, multiple section definition lines are allowed.

Revised: 16-May-01 Page 516-7


MineSight
M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122) Proprietary Software: Mintec, inc.

M516V1 SAMPLE RUN FILE #1


MEDS-516V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT;
MEDS-516V1 3=RPT516.LA
EXTRACT T-CU DH VALUES FOR SECTION 12750N / PLOT ADDITIONAL DHS

USR = ABC

IOP1 = 00 / FILE 12 LIMITS


IOP4 = 0 / 0=E-W SECTION, 1=N-S SECTION
IOP7 = 0 / 0=PLOT REF LINES,1=NO REF LINES
IOP8 = 0 / 0=PLOT TICKS ON PLOT BORDER,1=NO TICKS
IOP9 = 2 / 2 READ DH LABELS; PLOT ADDITIONAL DHS
IOP11 = 0 / 0=PLOT FULL SECTION,1=PLOT DH COURSE ONLY

PAR3 = 2600 4600 3000 12000 / ZMIN ZMAX ZREF XREF


PAR7 = 500 500 / SCALES X AND Z
PAR10 = .05 / THICKNESS OF DH LINES
PAR11 = .05 / HEIGHT OF COLLAR PLOT SYMBOL
PAR12 = 2.0 / HEIGHT OF REF LINE PLOT

ITM1 = T-CU VALUE F4.2 / RETRIEVE TOTAL COPPER

END

10500 12750 14500 12750 100 PLT516.PAA Section Definition Line


SM-009 26004600 Drillhole Selection Lines
SM-010 26004600

M122V1 SAMPLE RUN FILE #1


MEDS-122V1 10=SAMP10.DAT 3=RPT122.LA
E-W CROSS SECTION AT 12750N - T-CU COMPOSITES - SCALE 1"=500

USR = ABC

MAP = 0 5000 500 1000 6000 500


PLT = .04

END
USERF PLT516.PAA
ENDOC

Page 516-8 Revised: 16-May-01


MineSight
Proprietary Software: Mintec, inc. M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

M516V1 SAMPLE RUN FILE #2


MEDS-516V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT;
MEDS-516V1 3=RPT516.LA
EXTRACT CU DH VALUES FOR CROSS SECTION

USR = ABC

IOP1 = 10 / FIRST AND LAST DH SURVEY RECORDS TO USE


IOP4 = 0 / 0=E-W SECTION, 1=N-S SECTION
IOP7 = 1 / 0=PLOT REFERENCE AXIS, 1=NO AXIS
IOP8 = 1 / 0=PLOT TICKS ON PLOT BORDER, 1=NO TICKS
IOP13 = 1 / 0=NO SHADING, 1=SHADING
IOP20 = 2 / 2=PLOT DH LABELS BELOW COLLAR PLOT
IOP31 = 0000 / SHADING TYPES

PAR1 = 0.1 / LENGTH OF LINE SHOWING WHERE DH INTERSECTS SECTION


PAR3 = -50300 / MINIMUM ELEVATION, MAXIMUM ELEVATION
PAR7 = 25.425.4 / SCALES X AND Z
PAR10 = .04 / THICKNESS OF DH LINES
PAR11 = .08 / HEIGHT OF COLLAR PLOT SYMBOL
PAR12 = 1.0 / HEIGHT OF REF LINE PLOT

PLT = 0.019 0.03 999 999999 1 2 3 4 / COLOR CUTOFFS AND PEN #S


ITM1 = GOLD VALUE F5.3
ITM2 = ROCK VALUE F3.0
ITM3 = TO DHTOE
END
-50 -300 -50 200 12.5 PLT516.PAB

Revised: 16-May-01 Page 516-9


MineSight
M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122) Proprietary Software: Mintec, inc.

HOW TO DEBUG AN M516V1 RUN


1. To get a basic section, specify at least a horizontal and vertical scale in the run file along with ITMn = label-09 VALUE
line. You must also have a Section Definition Line.

2. ?M516V1: ERROR. You MUST enter both X and Z codes in the run file.

You must enter non-zero values for PAR7 and PAR8.

3. ?M516V1: ERROR. Exceeded the maximum number of DHs for inclusion: 5000

You can add at most 5000 drillholes using the Optional Drillhole Selection Lines.

4. %M516V1: WARNING. DH XXXXX not found.

Drillhole XXXXX, which was specified using an Optional Drillhole Selection Line, was not found. Check the typing of
the drillhole.

5. ?M516V1: ERROR. There are no DHs on this section.

No drillholes were found within the search limits.

6. ?M516V1: ERROR. # of DH collars per section exceeds the maximum: 999

There is a maximum of 999 drillholes allowed per section.

7. ?M516V1: ERROR. No VALUE was entered.

You must enter at least one VALUE item with the command ITM1=label-09 VALUE Fw.d

8. Also check the MineSight error messages in the Appendix.

Page 516-10 Revised: 16-May-01


MineSight
Proprietary Software: Mintec, inc. M516V2-CROSS-SECTION OFCOMPOSITE DATA (M122)

M516V2 CROSS-SECTION OFCOMPOSITE DATA (M122)

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


This program creates an M122 plot file for a 2-D cross-section To generate a cross-section, two steps are required:
displaying composite intervals without drillhole traces and
labels. A section is a volume defined by its endpoint coordinates Run M516V2 to create the M122 plot commands
and a perpendicular distance from the section line.
Run M122V1 to plot the section
PROGRAM FLOW DIAGRAM
File 9 composites must have been loaded with labels for the
RUN FILE: X,Y,Z coordinates at the top of an interval and at the bottom of
- DH selection an interval, since File 12 is not accessed. Horizontal composites
- Section options will plot as a tick with a thickness of PAR10 and a label at 90o
- Item selection with the composite value.

Additional steps may be required to add special features such as


title blocks, surface topography, drillhole traces, etc. These extra
features are brought together with the section plot commands
when M122 is run.

INPUT: CALCS: M516V2 does not detect overplotting on a composite by other


composites or closely spaced intervals. If overplotting does
- PCF - Generate a file of M122
- File 9 plot commands for
occur, the M122 plot file can be edited to remove conflicts.
processing by M122
The program selects data within a volume defined by two end
points and a perpendicular distance. The sections can be at any
orientation. Only composite data within the section volume is
selected.

Composite intervals can be shaded and/or colored on grade


OUTPUT: cutoffs. Optionally, the composite intervals may be displayed
as ticks or boxes on either side of the drillhole trace.
- M122 Plot file
- Printer Output file
Composite values can be labeled on either the right or left hand
side of the drillhole trace.

File 9 values can be limited by the standard Range, Omit or


Table.

The output file from M516V2 must be processed with M122V1


to plot the map.

Revised: 6-June-01 Page 516-11


MineSight
M516V2-CROSS-SECTION OFCOMPOSITE DATA (M122) Proprietary Software: Mintec, inc.

NOTE: Since the section can be at any azimuth through the


deposit, there is no convenient way to prepare any regular
coordinates specifying the location of each plot feature.
Therefore, plot commands have an X coordinate that corresponds
to the distance from the beginning of the section. For example,
a section from 10000 E, 10000 N to 12598 E, 11500 N would
have plot commands with X coordinates in the range of 0.0 to
3000.0. The Y coordinates correspond to the actual elevations.

Therefore, the M122V1 run file must specify an area that has X
limits from 0.0 to the section length in user units. If additional
data with actual section coordinates is to be included on the
same plot, the M122 SHIFT command must be used.

File 9 should have been initialized with the following types of


coordinate items:

X1 min max precision /Start of composite Easting

Y1 " " " /Start of composite Northing

Z1 " " " /Start of composite Elevation

X2 " " " /End of composite Easting

Y2 " " " /End of composite Northing

Z2 " " " /End of composite Northing

East " " " /Midpoint of composite Easting

North " " " /Midpoint of composite Northing

Elev. " " " /Toe elevation of composite

Page 516-12 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M516V2-CROSS-SECTION OF COMPOSITE DATA (M122)

M516V2 - CROSS-SECTION OF COMPOSITE DATA (M122)

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-516V2 10=filename 9=filename 3=filename 12= filename


where

MEDS-516V2 (must be the first 10 columns)


12= the name of the SURVEY FILE (optional, used if IOP21 = 1)
10= the name of the PROJECT CONTROL FILE
9= the name of the COMPOSITE FILE
3= the name of the PRINTER OUTPUT FILE

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS

IOP1 = FIRST COMPOSITE LOCATION TO ACCESS

IOP4 = 0 IF CROSS-SECTION IS ESSENTIALLY E-W


= 1 IF CROSS-SECTION IS ESSENTIALLY N-S

IOP7 = 0 PLOT REFERENCE LINES


= 1 OMIT REFERENCE LINES

IOP8 = 0 PLOT TICKS ON BORDER OF PLOT


= 1 OMIT TICKS ON BORDER OF PLOT

IOP13 = SHADING FOR COMPOSITE INTERVAL


= 0 NO SHADING (default)
= 1 SPECIFY SHADE TYPES IN IOP31-34

NOTE: Used if PLT is specified or following CMD option. Shade types (0-7) are as follows:

0= no shading within box


1= shade box completely solid
2= shade box @ 0 degrees to X-axis
3= shade box @ 45 degrees to X-axis
4= shade box @ 90 degrees to X-axis
5= shade box @ 135 degrees to X-axis
6= shade box @ 0 & 90 degrees to X-axis
7= shade box @ 45 & 135 degrees to X-axis

IOP14 = BOX TYPE FOR COMPOSITE INTERVAL


= 0 BOX IS ON THE RIGHT (default)
= 1 SPECIFY BOX TYPES IN IOP35-38

NOTE: Used if PLT is specified or following CMD option. Box types (-1 through 5) are as follows:

Revised: 19-September-01 Page 516-13


MineSight
M516V2 - CROSS-SECTION OF COMPOSITE DATA (M122) Proprietary Software: Mintec, inc.

-1 = no box
0 = box on right side of DH line
1 = ticks on right side of DH line
2 = ticks on left & right side of DH line
3 = ticks on left side of DH line
4 = box on left & right side of DH line
5 = box on left side of DH line

IOP15 = 0 PLOT GRADES


= 1 DO NOT PLOT GRADES. USE GRADES TO SELECT DHINT PARAMETERS

IOP18 = 0 VALUES PLOTTED ON RIGHT SIDE OF LINE (default)


= 1 VALUES PLOTTED ON LEFT SIDE OF LINE

IOP21 = 0 DO NOT PLOT DHID (default)


= 1 PLOT DHID (This option plots DHID beside each selected interval), RETRIEVE DHID FROM FILE 12
= 2 PLOT DHID, RETRIEVE DHID FROM FILE 9 DIRECTLY

NOTE: 1) If you use IOP21 = 1 you must include:

File12 name on the first line of the run file


ITMn = REF# RANGE 1 999999

2) If you use IOP21 = 2:

The default labels for DHID items are lines DHID1 and DHID2. To override default, use
ITMn lines.

IOP22 = 0 PLOT DHID AT THE BEGINNING OF EACH HOLE


= 1 PLOT DHID AT EACH COMPOSITE INTERVAL

NOTE: Used only if IOP21 > 0.

IOP31-34 = SHADE TYPES FOR COMPOSITE INTERVAL (or use the following CMD option)

Cutoffs for shading correspond to PLT commands. Must set IOP13=1.

IOP35-38 = BOX TYPES FOR COMPOSITE INTERVAL (or use the following CMD option)

Cutoffs for box type correspond to PLT command. Must set IOP14=1.

PAR2 = OFFSET FROM ORIGIN (default=0.0)

PAR3 = MINIMUM Z (ELEVATION) OF CROSS-SECTION (default=PCF 29)

PAR4 = MAXIMUM Z (ELEVATION) OF CROSS-SECTION (default=PCF 30)

PAR5 = REFERENCE AXIS Z (default= (PAR3 + PAR4) / 2.0)

PAR6 = REFERENCE AXIS X (EASTING) (default=0.0)

PAR7 = X-SCALE PER INCH (required)


PAR8 = Z-SCALE PER INCH FOR COLLAR ELEVATION (required)

PAR10 = THICKNESS OF DH LINES (IN INCHES) (default=0.1)

PAR11 = SIZE OF COLLAR PLOT SYMBOL AND ANNOTATION (in inches) (default=0.1)

Page 516-14 Revised: 19-September-01


MineSight
Proprietary Software: Mintec, inc. M516V2-CROSS-SECTION OF COMPOSITE DATA (M122)

PLT = CUTOFF VALUES TO CONTROL COMPOSITE INTERVAL COLORING, SHADING OR BOXES:


vmax1 vmax2 vmax3 vmax4 p1 p2 p3 p4
where

Value Color Shading Box Type

0.0 # x < vmax1 p1 IOP31 I O P 3 5


vmax1# x < vmax2 p2 IOP32 I O P 3 6
vmax2# x < vmax3 p3 IOP33 I O P 3 7
vamx3# x < vmax4 p4 IOP34 I O P 3 8
x $ vmax4 p4 IOP34 IOP38

NOTE: P1, p2, p3 and p4 are optional pen numbers. Default is 1, 2, 3, 4. If shading with PEN# 1, use 1 1
1 1. Cutoffs are applied to ITMn item.

ITMn = FROM label-09 label-09 label-09 (required)


ITMn = TO label-09 label-09 label-09 (required)
ITMn = REF# RANGE 1 999999 (required of IOP1 = 1)
ITM1 = label-09 VALUE Fw.d (First value to plot)
.
.
ITMn = label-09 VALUE Fw.d (Sixth value to plot)

NOTE: There must be a FROM ITM with XYZ coordinate labels for top of interval, a TO ITM with XYZ
coordinate labels for bottom of interval, and at least one VALUE ITM input, any others are optional.
Fw.d is the format of the plotted grade label. If the XYZ labels for FROM and TO items are the same
composites will be plotted as points with grade values plotted at 90.

For increased pen numbers:

CMD = PLOT CUT V1 V2 V3 ... V16 (for cutoffs)


CMD = PLOT PEN V1 V2 V3 ... V16 (for pen numbers)
CMD = PLOT BOX V1 V2 V3 ... V16 (for box types)
CMD = PLOT SHADE V1 V2 V3 ... V16 (for shade patterns)

NOTE: IOP13 and IOP14 no longer need to be set to get the box and shade patterns from the above
commands. The existing PLT command and IOPs 13, 14, and 31-38 work exactly as before. However, if
both the PLT and/or IOP31-38 and the CMD commands are present in a run file, the CMD commands
will override the PLT and IOP31-38 commands.

Optional data selection by RANGE, OMIT or TABLE

ITMn = label-09 RANGE min-value max-value


ITMn = label-09 OMIT min-value max-value
ITMn = label-09 TABLE IOPm IOPn

NOTE: Item labels used in data selection must be specified in the plot ITMn lines above.

I-O = 1 OUTPUT CROSS-SECTION DEFINITION TO USER TERMINAL

Optional labels for DHID items (if different from DHID1 and DHID2):

ITMn = DHID1 label-09


ITMn = DHID2 label-09

END
Revised: 19-September-01 Page 516-15
MineSight
M516V2 - CROSS-SECTION OF COMPOSITE DATA (M122) Proprietary Software: Mintec, inc.

4. SECTION DEFINITION LINE (free-field format)

X1 Y1 X2 Y2 search-distance filename
where

X1, Y1 = left end of the cross-section


X2, Y2 = right end of the cross-section
search-dist. = perpendicular distance on each side of the line (X1,Y1) > (X2,Y2) within which drillhole data will be
accepted
filename = filename to be used by M516V2 to output M122 plot commands

Page 516-16 Revised: 19-September-01


MineSight
Proprietary Software: Mintec, inc. M516V2-CROSS-SECTION OF COMPOSITE DATA (M122)

M516V2 SAMPLE RUN FILE #1


MEDS-516V2 10=SAMP10.DAT 9=SAMP09.DAT 3=RPT516.LA2
* EXTRACT T-CU COMPS FOR SECTION 12750N (WITH SHADING) *

USR = ABC

IOP4 = 0 / 0=E-W SECTION, 1=N-S SECTION


IOP7 = 0 / 0=PLOT REF LINES, 1=NO REF LINES
IOP8 = 0 / 0=PLOT TICKS ON PLOT BORDER, 1=NO TICKS
IOP13 = 1 / 0=NO SHADING, 1=SHADING
IOP31 = 1 2 3 4 / SHADING TYPES

PLT = 0.3 0.6 0.9 1.2 1 1 1 1 / CUTOFFS AND PENS

PAR3 = 2600 4600 3000 12000 / ZMIN, ZMAX, ZREF, XREF


PAR7 = 500 500 / SCALES X AND Z
PAR10 = .05 / THICKNESS OF DH LINES
PAR11 = .05 / HEIGHT OF COLLAR PLOT SYMBOL

ITM1 = FROM EAST NORTH ELEV / TOP OF INTERVAL


ITM2 = TO EAST NORTH ELEV / BOTTOM OF INTERVAL
ITM3 = T-CU VALUE F4.2 / RETRIEVE TOTAL COPPER

END
10500 12750 14500 12750 100 PLT.PAA

M516V2 SAMPLE RUN FILE #2


MEDS-516V2 10=SAMP10.DAT 9=PLTP09.DAT 3=RPT516.LB
* EXTRACT GEOLOGY CODES FOR E-W SECTION *

USR = ABC
IOP4 = 0 / 0=E-W SECTION, 1=N-S SECTION
IOP7 = 0 / 0=PLOT REF LINE, 1=NO REF LINE
IOP8 = 0 / 0=PLOT TICKS ON BORDER, 1=NO TICKS
IOP18 = 1 / 0=PLOT ON RIGHT SIDE OF LINE, 1=PLOT ON LEFT SIDE OF LINE

PAR3 = 2600 4600 3000 12000 / ZMIN ZMAX ZREF XREF


PAR7 = 500 500 / SCALES X AND Z
PAR10 = .05 .05 / THICKNESS OF DH LINE, SYMBOL HEIGHT

ITM1 = FROM EAST NORTH ELEV / TOP OF INTERVAL


ITM2 = TO EAST NORTH ELEV / BOTTOM OF INTERVAL
ITM3 = ROCK VALUE F3.0 / ITEM TO PLOT AND FORMAT

END
10500 13200 14500 13200 100 PLT516.PAB

Revised: 19-September-01 Page 516-17


MineSight
M516V2 - CROSS-SECTION OF COMPOSITE DATA (M122) Proprietary Software: Mintec, inc.

M516V2 SAMPLE RUN FILE #3


MEDS-516V2 10=SAMP10.DAT 09=SAMP09.DAT 12=SAMP12.DAT;
MEDS-516V2 3=SAM516.LA
* EXTRACT T-CU VALUES FOR SECTION 1375N (PLOT DH LABELS) *

USR = ABC

IOP1 = 1 44 / FIRST AND LAST DATA UNITS FROM FILE 12


IOP4 = 0 / 0=E-W SECTION, 1=N-S SECTION
IOP7 = 0 / 0=PLOT REF LINE, 1=NO REF LINE
IOP8 = 0 / 0=PLOT TICKS ON BORDER, 1=NO TICKS
IOP9 = 0 / 0=DONT READ ADDITIONAL DHS, 1=READ ADDITIONAL DHS
IOP21 = 1 / 1=PLOT DH LABELS

PAR3 = 3900 4100 4000 12000 / ZMIN ZMAX ZREF XREF


PAR7 = 500 20 / SCALES X AND Z
PAR10 = .05 .05 / THICKNESS OF DH LINE, SYMBOL HEIGHT

ITM1 = T-CU VALUE F4.2 / ITEM TO PLOT AND FORMAT


ITM2 = FROM EAST NORTH ELEV. / REQUIRED XYZ COORD LABELS
ITM3 = TO EAST NORTH ELEV. / REQUIRED XYZ COORD LABELS
ITM4 = REF# RANGE 1 999999 / REQUIRED IF IOP21 = 1

END
10500 13750 14500 13750 100 PLT516.DAT

HOW TO DEBUG AN M516V2 RUN


1. To get a basic section you should specify at least a horizontal and vertical scale in the run file along with the
ITMn = label-09 VALUE line. You must also have a Section Definition Line.

2. *** # OF DH COLLARS FOR SECTION EXCEEDS MAXS

will occur if you have more than 250 drillholes on a section.

3. *** NO DRILLHOLES ON SECTION

will occur if no holes are found in the search limits.

4. *** ERROR: NO VALUE ENTERED **

will occur if the keyword VALUE does not appear on an ITM line.

5. Also check the MineSight error messages in the Appendix.

Page 516-18 Revised: 19-September-01


MineSight
Proprietary Software: Mintec, inc. M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

M517V1 LOAD VBM CODES TO ASSAY


OR COMPOSITE FILES

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


The program M517V1 loads VBM feature codes to Files 8,9 or M517V1 assigns codes to assay/composite intervals that are
11. projected inside VBM features.

PROGRAM FLOW DIAGRAM The program can use VBMs with any orientation (including
non-orthogonal).
RUN FILE:
- VBM planes selection
The program can automatically read VBM orientation from the
- Feature codes/equivalent VBM file (if you have a new VBM file). You can also specify
codes selection VBM orientation with IOP5.

You may use a constant range of influence for each VBM plane
(given by PAR11) setting IOP30 = -1. However, if you are
working with a set of parallel planes the program will
automatically take a volume of influence for each plane half-
way between planes. You also have an option (IOP30=1) to use
INPUT: CALCS: the space between two planes (i.e from one bench toe to the
next). PAR11 in these cases may be used as the maximum
- PCF - Calculate intersections of
- VBM File 25
allowed range of influence.
drillhole projections with
- File 8 or VBM features
- File 9 and optional - Load codes to File 8/9/11 Feature codes and equivalent (geologic) codes are generally
File 12 or entered after the END line in a run-file. However, you may
- Files 11 and 12 choose to consider all 3-digit left and right codes (IOP11=1).
By default (IOP11=0 and IOP12=0) codes are equivalenced to
3-digit right codes. If you choose IOP11=1 equivalent codes
should be entered in a run file. You may equivalence several
OUTPUT: feature codes to the same geologic code.
- Updated File 8 or 9 or 11
You also have an option (IOP12=1) to consider 6-digit codes as
- Printer Output file
codes on the right of the feature. In this case you must enter
equivalent codes in a run file.

Some assay/composite intervals will not have corresponding


codes. You may set the value for them using IOP22=1 and IOP23
as a default value.

Some codes may be unresolved. You may use IOP24=1 to assign


a specific values to such intervals.If several features coincide,
the program may not be able to determine the proper codes from
the left or from the right of the features. In this case, the code
will be equivalenced to the value IOP25 (default=-1) and will
be called unresolved code of type 1.If there are inconsistencies
in coding, i.e., features intersect and codes do not match, and
the proper code can not be determined, then such codes will be
assigned equivalent code IOP26 (default=-2) and called
unresolved of type 2. You have an option to equivalence feature
codes before sorting intersections (IOP19=1) or after (IOP19=0).

After running M517V1, plot the assay or composite and VBM


files using M216V1/M516V1 and M654V1 to verify that desired
codes were loaded correctly.

Revised: 6-June-01 Page 517-1


MineSight
M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES Proprietary Software: Mintec, inc.

Page 517-2 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

M517V1 - LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-517V1 10=filename 8,9 or 11=filename 12=filename;


MEDS-517V1 25=filename 3=filename 30=filename
where

10 = the name of the PROJECT CONTROL FILE


8 or 9 = the name of the COMPOSITE FILE
11 = the name of the ASSAY FILE
NOTE: Use only one of the files 8,9 or 11
12 = the name of the SURVEY FILE (Required if file 11 is chosen)
25 = the name of the VBM FILE
3= the name of the PRINTER OUTPUT FILE
30 = the name of an (optional) ASCII file with DH labels

2. RUN INFORMATION LINE

A single line of text that will be printed at the top of the printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g., ABC)

IOP1 = FIRST SURVEY OR FIRST COMPOSITE TO USE (default = 1)

IOP2 = LAST SURVEY OR LAST COMPOSITE TO USE (default=LAST SURVEY/COMPOSITE IN A FILE)

NOTE: If file 12 is used then IOP1 and IOP2 are the first and last surveys to use. If file 8 is used, or file 9 is
used directly, then IOP1 and IOP2 are the first and the last composites to access.

IOP3 = -1 NO BOUNDARY
= 0 LIMIT DHS TO PCF LIMITS
= 1 READ BOUNDARY FROM THE BOUNDARY FILE

NOTE: Used only if file 12 is used. Checks collars only or checks at beginnings of all surveys, depending on
IOP7. If IOP3=1 boundary file should be entered with one of the following commands:

CMD = INCL LOCPT FILE Filename (to include points within the boundary)
or
CMD = EXCL LOCPT FILE Filename (to exclude points within the boundary).

IOP4 = 0 USE FILE 9 WITH FILE 12


= 1 USE FILE 9 DIRECTLY

NOTE: Used only if file 9 is chosen

Revised: 6-June-01 Page 517-3


MineSight
M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES Proprietary Software: Mintec, inc.

IOP5 = 0 USE THE DEFAULT ORIENTATION FROM THE VBM


= 1 W-E
= 2 S-N
= 3 PLANAR
= 4 NON-ORTHOGONAL

NOTE: IOP5 must be > 0 if the VBM has no default orientation. The entered value of IOP5>0 will override the
default orientation.

IOP6 = 0 USE DRILLHOLES IN IOP1-IOP2 LIMITS


= 1 READ THE LIST OF DHS AFTER THE END LINE
= 2 READ THE LIST OF DHS FROM THE FILE 30
= -1 OMIT DHS SPECIFIED AFTER THE END LINE
= -2 OMIT DHS SPECIFIED IN THE FILE 30

NOTE: IOP6 must be 0 if IOP4=1 (no file 12)

IOP7 = 0 CHECK BEGINNINGS OF ALL SURVEYS AGAINST BOUNDARY


= 1 CHECK COLLARS ONLY

NOTE: Used if IOP3 is greater than or equal to 0.

IOP8 = 0 DO NOT CHECK EACH ASSAY/COMPOSITE AGAINST PAR4-PAR9 LIMITS


= 1 CHECK EACH ASSAY/COMPOSITE AGAINST PAR4-PAR9 LIMITS

IOP9 = 0 DO NOT USE DELETED DRILLHOLES AND SURVEYS


= 1 USE DELETED DRILLHOLES AND SURVEYS

IOP11 = -1 USE ALL FEATURES (do not enter any codes in the run file)
= 0 DO NOT READ EQUIVALENT CODES (use right code if 6-digit codes are entered)
= 1 READ EQUIVALENT CODES FROM THE RUN FILE

IOP12 = 0 EQUIVALENCE 3-DIGIT CODE (right code if 6-digit codes are entered)
= 1 EQUIVALENCE THE WHOLE 6-DIGIT CODE
= 2 TREAT LEFT CODES AS 0

NOTE: Equivalent codes must be an integer from 1 to 999. If IOP12=1 you must enter equivalent codes in the
run file (set IOP11=1).

IOP13 = 0 CHECK BOTH LEFT AND RIGHT CODES WHEN SELECTING FEATURES
= 1 CHECK FULL CODE ONLY

IOP15 = 0 VBM PLANES ARE SELECTED USING PAR1-PAR3


= 1 VBM PLANES ARE SPECIFIED AFTER THE END LINE
(PAR1-PAR3 are ignored in this case)

NOTE: If you use IOP15=1 you MUST use IOP30=-1 (constant distance of plane influence).

IOP19 = 0 EQUIVALENCE CODES AFTER SORTING INTERSECTIONS


= 1 EQUIVALENCE CODES BEFORE SORTING INTERSECTIONS

IOP22 = 0 DO NOT ASSIGN ANY CODE TO UNDEFINED ASSAYS/COMPOSITES


= 1 ASSIGN IOP23 CODE TO UNDEFINED ASSAYS/COMPOSITES

IOP23 = CODE TO ASSIGN TO UNDEFINED BLOCKS (DEFAULT = 0)

Page 517-4 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

IOP24 = 0 DO NOT ASSIGN ANY CODES TO UNRESOLVED BLOCKS


= 1 ASSIGN IOP25 AND IOP26 TO UNRESOLVED BLOCKS OF TYPES 1 AND 2

IOP25 = CODE TO ASSIGN TO UNRESOLVED BLOCKS OF THE FIRST TYPE (default = -1)
IOP26 = CODE TO ASSIGN TO UNRESOLVED BLOCKS OF THE SECOND TYPE (default = -2)

IOP30 = -1 USE CONSTANT SEARCH DISTANCE GIVEN BY PAR11 TO DETERMINE


RANGE OF INFLUENCE OF A VBM PLANE
= 0 GO HALF-WAY BETWEEN VBM PLANES, USE PAR11 AS MAX ALLOWED DISTANCE
= 1 GO FROM A PLANE TO THE NEXT ONE, USE PAR11 AS MAX ALLOWED DISTANCE

IOP31 = 0 COORDINATES OF THE COMPOSITE INTERVAL ARE TAKEN AT THE CENTER


OF THE INTERVAL
= 1 COORDINATES OF THE COMPOSITE INTERVAL ARE TAKEN THE TOE

NOTE: Used for files 8 and 9 either if file 12 is used, or if both top and bottom coordinates are entered.

IOP39 = 0 SPEEDY VERSION


= 1 TAKE EXTRA EFFORT TO FILL GAPS IN CODES

PAR1 = STARTING VBM PLANE


PAR2 = ENDING VBM PLANE

NOTE: If both PAR1 and PAR2 are 0 then all VBM planes will be taken.

PAR3 = INCREMENT FOR ENTERING VBM PLANES (DEFAULT = PLANE NUMBER PRECISION)

NOTE: If PAR3=0 and IOP15=0 all planes in PAR1-PAR2 limits will be taken)

PAR4 = MINIMUM EASTING (default = PCF VALUE)


PAR5 = MAXIMUM EASTING (default = PCF VALUE)
PAR6 = MINIMUM NORTHING (default = PCF VALUE)
PAR7 = MAXIMUM NORTHING (default = PCF VALUE)

PAR8 = MINIMUM ELEVATION (default = PCF VALUE)


PAR9 = MAXIMUM ELEVATION (default = PCF VALUE)

PAR10 = TOLERANCE FOR NORMALIZING FEATURES

PAR11 = MAX ALLOWED DISTANCE OF INFLUENCE (default = USE ALL SPACE BETWEEN PLANES)
IF IOP30=-1 THEN PAR11 IS USED AS DISTANCE OF INFLUENCE

PAR12 = PADDING BEFORE THE FIRST PLANE


PAR13 = PADDING AFTER THE LAST PLANE

PUTxx = ITEM (xx = 08, 09 or 11)

If file 8 is used or file 9 is used directly enter exactly one of the following two commands

CMD = COORD EAST NORTH ELEV


or
CMD = COORD XTOP YTOP ZTOP XBOT YBOT ZBOT

Revised: 6-June-01 Page 517-5


MineSight
M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES Proprietary Software: Mintec, inc.

If file 9 is used with file 12 enter the command

CMD = LENGT LNGTH -TO-

END

4. FEATURE CODES LINES (enter if IOP11 is greater than or equal to 0)

ncode
fcode1 ... fcodeN
where

ncode = number of feature codes entered


fcodes - feature codes (up to 20 codes per line)

5. EQUIVALENT CODES LINES (enter if IOP11 >0)

neqcode
eqcode1 ... eqcodeN
where

neqcode = number of equivalent codes enter


edeqcodes -equivalent codes (up to 20 codes per line); maximum of 50 distinct values of equivalent codes is allowed.

6. DRILLHOLE LABELS (enter if IOP6=1or IOP6=-1)

Free format, not more than 10 per line, lines should have at most 132 characters.Maximum allowed number of DHs is 5000.DH
labels entry ENDS with a BLANK LINE.(You may have blank lines before the start of DH label lines but not between DH label
lines.)

7. VBM PLANES LINES (enter if IOP15 is not 0)

Enter VBM plane numbers, one per line.If you have a non-orthogonal VBM and want to override orientation parameters, enter
themon the same line as a plane number.Order of orientation parameters: X-ref, Y-ref, Z-ref, azimuth, dip.

NOTE: If you are entering plane numbers there should not be anything in the run file except maybe some blank lines after the plane
numbers lines.

Page 517-6 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

M517V1 SAMPLE RUN FILE #1


MEDS-517V1 10=SAMP10.DAT 11=SAMP11.DAT 12=SAMP12.DAT 25=SAMP25.TOP;
MEDS-517V1 3=RPT517.LA
*LOAD CODES TO FILE SAMP11.DAT FROM VBM OUTLINES*

USR = abc /Wed Aug 28, 1996 3:50:48 PM MST

IOP1 = 0 /FIRST SURVEY


IOP2 = 0 /LAST SURVEY
IOP3 = 0 /BOUNDARY OPTION
IOP4 = 0 /0=USE FILE 9 WITH FILE 12; 1=USE FILE 9 DIRECTLY
IOP5 = 3 /VBM ORIENTATION: 0=USE VBM FILE,
COM 1=W-E, 2=S-N, 3=PLANAR, 4=NON-ORTHOGONAL
IOP6 = 0 /0 = USE SURVEYS IN IOP1-IOP2 LIMITS
IOP7 = 0 /0 = CHECK ALL SERVEYS AGAINST BOUNDARY
COM 1 = CHECK COLLARS ONLY
IOP8 = 1 /1 - CHECK EACH ASSAY AGAINST PAR4-PAR9 LIMITS
IOP11 = -1 /TYPE OF FEATURE CODES ENTRY (-1 - use all)
IOP12 = 2 /1=EQUIVALENCE THE WHOLE 6-DIGIT CODE
COM 2=TREAT ALL LEFT CODES AS 0
IOP13 = 0 /1=CHECK AGAINST FULL CODE ONLY
IOP30 = 0 / 0=USE VOLUME HALF-WAY BETWEEN PLANES
COM 1= USE VOLUME FROM A PLANE TO THE NEXT ONE
IOP31 = 0 /0=COORDINATES AT MIDPOINT; 1=COORDINATES AT TOE

PAR1 = 2600. /FIRST PLANE


PAR2 = 4600. /LAST PLANE
PAR3 = 50. /INCREMENT IN PLANE NUMBERS
PAR4 = 0. /XMIN (DEFAULT = PCF VALUE)
PAR5 = 0. /XMAX (DEFAULT = PCF VALUE)
PAR6 = 0. /YMIN (DEFAULT = PCF VALUE)
PAR7 = 0. /YMAX (DEFAULT = PCF VALUE)
PAR8 = 0. /ZMIN (DEFAULT = PCF VALUE)
PAR9 = 0. /ZMAX (DEFAULT = PCF VALUE)
PAR10 = 1. /TOLERANCE FOR NORMALIZING FEATURES
PAR11 = 0. /MAX ALLOWED THICKNESS
PAR12 = 25. /PADDING BEFORE THE FIRST PLANE
PAR13 = 25. /PADDING AFTER THE LAST PLANE

PUT11 = ROCK

END

Revised: 6-June-01 Page 517-7


MineSight
M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES Proprietary Software: Mintec, inc.

M517V1 SAMPLE RUN FILE #2


MEDS-517V1 10=SAMP10.DAT 9=SAMP09.DAT 25=SAMP25.SN;
MEDS-517V1 3=RPT517.LB
*LOAD CODES TO FILE SAMP09.DAT FROM VBM OUTLINES*

USR = ABC
IOP1 = 0 /FIRST SURVEY
IOP2 = 0 /LAST SURVEY
IOP3 = -1 /BOUNDARY OPTION
IOP4 = 1 /0=USE FILE 9 WITH FILE 12; 1=USE FILE 9 DIRECTLY
IOP5 = 2 /VBM ORIENTATION: 0=USE VBM FILE,
COM 1=W-E, 2=S-N, 3=PLANAR, 4=NON-ORTHOGONAL
IOP6 = 0 /USE SURVEYS IN IOP1-IOP2 LIMITS
IOP7 = 0 /0 = CHECK ALL SERVEYS AGAINST BOUNDARY
COM 1 = CHECK COLLARS ONLY
IOP8 = 0 /1 - CHECK EACH ASSAY AGAINST PAR4-PAR9 LIMITS
IOP11 = 1 /TYPE OF FEATURE CODES ENTRY (-1 - USE ALL)
IOP12 = 0 /1=EQUIVALENCE THE WHOLE 6-DIGIT CODE
COM 2=TREAT ALL LEFT CODES AS 0
IOP13 = 0 /1=CHECK AGAINST FULL CODE ONLY
IOP19 = 0 /1=EQUIVALENCE CODES BEFORE SORTING INTERSECTIONS
IOP30 = 0 /0=USE VOLUNE HALF-WAY BETWEEN PLANES
COM 1= USE VOLUME FROM A PLANE TO THE NEXT ONE
IOP31 = 1 /0=COORDINATES AT MIDPOINT; 1=COORDINATES AT TOE

PAR1 = 12250. /FIRST PLANE


PAR2 = 13750. /LAST PLANE
PAR3 = 100. /INCREMENT IN PLANE NUMBERS
PAR10 = 1. /TOLERANCE FOR NORMALIZING FEATURES
PAR11 = 0. /MAX ALLOWED THICKNESS (DEFAULT: USE ALL SPACE
COM BETWEEN PLANES
PAR12 = 50. /PADDING BEFORE THE FIRST PLANE
PAR13 = 50. /PADDING AFTER THE LAST PLANE

PUT09 = ROCK
CMD = COORD EAST NORTH ELEV

END
3
501 502 503
3
123

Page 517-8 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

M517V1 SAMPLE RUN FILE #3


MEDS-517V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT 25=SAMP25.SN;
MEDS-517V1 3=RPT517.LC
*LOAD CODES TO FILE SAMP09.DAT FROM VBM OUTLINES*

USR = ABC /WED AUG 28, 1996 4:04:42 PM MST

IOP1 = 0 /FIRST SURVEY


IOP2 = 0 /LAST SURVEY
IOP3 = 1 /BOUNDARY OPTION
IOP4 = 0 /0=USE FILE 9 WITH FILE 12; 1=USE FILE 9 DIRECTLY
IOP5 = 2/ VBM ORIENTATION: 0=USE VBM FILE,
COM 1=W-E, 2=S-N, 3=PLANAR, 4=NON-ORTHOGONAL
IOP6 = 0 /USE SURVEYS IN IOP1-IOP2 LIMITS
IOP7 = 0 /0 = CHECK ALL SERVEYS AGAINST BOUNDARY
COM 1 = CHECK COLLARS ONLY
IOP8 = 0 /1 - CHECK EACH ASSAY AGAINST PAR4-PAR9 LIMITS
IOP11 = 1 /TYPE OF FEATURE CODES ENTRY (-1 - USE ALL)
IOP12 = 0 /1=EQUIVALENCE THE WHOLE 6-DIGIT CODE
COM 2=TREAT ALL LEFT CODES AS 0
IOP13 = 0 /1=CHECK AGAINST FULL CODE ONLY
IOP19 = 0 /1=EQUIVALENCE CODES BEFORE SORTING INTERSECTIONS
IOP30 = 0 /0=USE VOLUNE HALF-WAY BETWEEN PLANES
COM 1= USE VOLUME FROM A PLANE TO THE NEXT ONE
IOP31 = 1 /0=COORDINATES AT MIDPOINT; 1=COORDINATES AT TOE
PAR1 = 0. /FIRST PLANE
PAR2 = 0. /LAST PLANE
PAR3 = 0. /INCREMENT IN PLANE NUMBERS
PAR10 = 1. /TOLERANCE FOR NORMALIZING FEATURES
PAR11 = 0. /MAX ALLOWED THICKNESS
PAR12 = 50. /PADDING BEFORE THE FIRST PLANE
PAR13 = 50. /PADDING AFTER THE LAST PLANE

PUT09 = ROCK

CMD = LENGT LNGTH DHTOE


CMD = INCL LOCPT FILE BNDRY.DAT

END
3
501 502 503
3
123

Revised: 6-June-01 Page 517-9


MineSight
M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES Proprietary Software: Mintec, inc.

Page 517-10 Revised: 6-June-01


MineSight
Proprietary Software: Mintec, inc. M522V1 - DRILLHOLE SPACING ANALYSIS

M522V1 DRILLHOLE SPACING ANALYSIS

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M522V1 will compute average drillhole spacing by bench based M522V1 uses point composite data to calculate average spacing
on a given search radius. of the drillholes. Best results are achieved if bench composites
are used instead of the fixed length composites. The analysis is
PROGRAM FLOW DIAGRAM based on the composite data found within the search radius on
each bench. The output in the report file consists of the number
RUN FILE: of composites used on each bench, the average value of the
item used, the mean weighted by the nearest distance, the mean
- Interpolation parameters
weighted by the average distance, the average distance to the
- Search distances or nearest hole, and the average distance of all the holes on that
ranges bench. Once all the benches are tabulated, the totals for all
- Controlling & limiting item benches are summarized.
labels

Detailed information for each composite data is written to an


ASCII output file specified in 30=<filename> in run file. The
information in this file is in the following order:
INPUT: CALCS:
Field 1. Ref# of the composite
- PCF - FInd composites within Field 2. East coordinate
- File 8 or File 9, or an search window Field 3. North coordinate
MSTorque composite - Match geology codes Field 4. Elevation
set - Apply limiting factor Field 5. No. of composites within the search window
- Calculate average
spacing Field 6. The actual value of the point
Field 7. The nearest distance
Field 8. The average distance
Field 9. The mid distance (nearest+farthest)/2
OUTPUT:
Field 10. Ratio1: nearest/avg distance
Field 11. Ratio2: nearest/max distance
- File 9 or MSTorque Field 12. Ratio3: average/max distance
database
- Optional Output file for
M525TS The ASCII output file can be evaluated by using the program
- Printer Output file
M525TS or by any spreadsheet program. The program
allows storage of any of the last six field values of this output
(See IOP17).

Revised: 23-May-13 Page 522-1


MineSight
M522V1 - DRILLHOLE SPACING ANALYSIS Proprietary Software: Mintec, inc.

Page 522-2 Revised: 23-June-13


MineSight
Proprietary Software: Mintec, inc M522V1-DRILLHOLE SPACING ANALYSIS

M522V1DRILLHOLE SPACING ANALYSIS

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-522V1 10=filename 8/9=filename 19=filename;


MEDS-522V1 30=filename 31=filename 3=filename
where

MEDS-522V1 (must be the first 10 columns)


10 = the name of the PROJECT CONTROL FILE
8 = the name of the SORTED COMPOSITE FILE (obsoleted) OR TORQ for input from MSTorque
9 = unsorted composite file
19 = the name of the Input File (if 8=CARD is used) OR MSTorque info file (if 8=TORQ is used
30 = the name of the Output File (for M525TS)
31 = the name of the SUMMARY FILE (output is in csv format)
3 = the name of the PRINTER OUTPUT FILE

Note: If 9 = filename is specified on the names line, then composite data will be retrieved from this
file 9. To access the MSTorque database, use 8=TORQ and include an MSTorque info file (e.g.,
19=mstorq.inf). For information about the MSTorque info file, please refer to the M500-Technical
Section, Technical Considerations for Interpolation.

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g., ABC)

IOP3 = BASIC SEARCH OPTION FOR COMPOSITES


= 0 FOR 2-D CIRCULAR SEARCH
= 1 FOR 3-D SPHERICAL SEARCH

IOP4 = OPTION TO MATCH BLOCK VS. COMPOSITE GEOLOGY


= 0 FOR NO GEOLOGIC MATCHING
= 1 MATCH 1 ITEM
= 2 MATCH 2 ITEMS

IOP6 = DISTANCES FOR ELLIPSOIDAL SEARCH
= 0 DISTANCES ARE KEPT IN ORIGINAL 3-D
= 1 DISTANCES ARE ADJUSTED DISTANCES BASED ON ANISOTROPY

NOTE: Use IOP6 with the CMD=SEARCH command.

IOP7 = MINIMUM NUMBER OF COMPOSITES FOR CALCULATION

NOTE: A block will not get interpolated if the number of nearby composites is <IOP7.

IOP11 = ROW NUMBER FOR EXTENDED OUTPUT FROM CALCULATIONS (debug)

IOP12 = 1 DO NOT USE COMPOSITES FROM THE SAME HOLE

Revised: 23-May-13 Page 522-3


MineSight
M522V1-DRILLHOLE SPACING ANALYSIS Proprietary Software: Mintec, inc.

IOP16 = MAXIMUM NUMBER OF POINTS TO BE USED FOR KRIGING (default=15; max=50)

IOP17 = CALCULATION TYPE TO STORE:


= 0 DO NOT STORE BACK TO FILE 8,9 OR MSTORQUE (if 8=TORQ)
= 1 THE NEAREST DISTANCE
= 2 THE AVERAGE DISTANCE
= 3 THE MID DISTANCE (NEAREST+FARTHEST)/2
= 4 RATIO1: NEAREST/AVG DISTANCE
= 5 RATIO2: NEAREST/MAX DISTANCE
= 6 RATIO3: AVERAGE/MAX DISTANCE (DEFAULT)

PAR1 = X-SEARCH DISTANCE


PAR2 = Y-SEARCH DISTANCE
PAR3 = Z-SEARCH DISTANCE (Default=0.1)

NOTE: PAR3 not used for SCAN1-D or SCAN2-D. However, still enter a small non-zero value (e.g. 0.1).

PAR4 = MAXIMUM 3-D DISTANCE FROM BOX CENTROID TO ACCEPT DATA


(DEFAULT=SQRT((PAR1)2 + (PAR2)2 + (PAR3)2)

PAR5 = MINIMUM DISTANCE TO ACCEPT COMPOSITES

NOTE: Anything less than PAR5 will not be included.

TO DEFINE WHICH ITEM TO USE, ADD THE FOLLOWING LINE:


ITMn = M522 label-09 CALC AVGD

TO STORE BACK TO FILE 9 (OR MSTORQUE), ADD THE FOLLOWING LINE:


ITMn = M522 label-09 STORE MODEL

OPTIONAL DATA SELECTION BY RANGE, OMIT OR TABLE:


ITMn = label-09 RANGE min-value max-value
ITMn = label-09 OMIT min-value max-value
ITMn = label-09 TABLE IOPm IOPn

OPTIONAL GEOLOGIC MATCHING:


ITMn = M522 label-09 MATCH MODEL

END
Area Selection Lines:
IX1 IX2 IY1 IY2 IZ1 IZ2
Columns Rows Levels

Page 522-4 Revised: 23-May-13


MineSight
Proprietary Software: Mintec, inc M522V1-DRILLHOLE SPACING ANALYSIS

M522V1 SAMPLE RUN FILE #1

MEDS-522V1 10=samp10.dat 9=samp09.d99 3=rpt522.la 30=dat522.oa


** DH Spacing analysis of LNGTH composites **

USR = abc /

IOP2 = 0 / Number of composites to display detail kriging weights


IOP3 = 1 / 1=3-D spherical search, 0=2-D search
IOP4 = 0 / 0=No geologic matching, 1=Match 1 item, 2=Match 2 items
IOP6 = 0 / 0=Use true dist.; 1=Use anisotropic dist.
IOP7 = 1 / Min # of composites for calculation
IOP11= 0 / Row # for extended output
IOP12= 1 / 1=Do not use another point from same hole
IOP16= 6 / Maximum # of composites for calculating a block
IOP17= 6 / 6 = Store average/max distance ratio

PAR1 = 300. / Primary X-search distance


PAR2 = 300. / Primary Y-search distance
PAR3 = 1. / Primary Z-search distance
PAR4 = 300. / Limiting search distance

ITM1 = M522 LNGTH CALC AVGD


ITM2 = M522 RATIO STORE MODEL

END
1 100 1 100 1 40

Revised: 31-October-03 Page 522-5


MineSight
M522V1-DRILLHOLE SPACING ANALYSIS Proprietary Software: Mintec, inc.

HOW TO DEBUG AN M522V1 RUN

1. The program will list all the composites within the search window of each calculated row if I-O=2 is specified in the run
file. The program will also list all the items in the composite file, the total number of points calculated for each row, and
other debug information.

2. If the ellipsoidal search is used, then the 3-D distance calculated between a composite and the block will be the adjusted
distance based on the anisotropy ratios. This is the distance that is printed on the output file.

3. Do not use composite item labels that conflict with keywords used by the program.

4. If youre using more than one ITM command, number them sequentially, without repetition.

5. Multiple Area Selection Lines are allowed. The program will calculate the points specified in the first line, then will
calculate the points specified in the second line and so on. The only exception is when ASCII input option is used and
the composite data follows the run file.

6. The maximum number of composites that the program can handle for a single row is 64000. If this number is exceeded
the program will print an error message and stop calculating at that row. If this happens, first check if you can decrease
the X, Y or Z search distances used by the program. If you can, then try again starting from the row where the program
stopped and see if this will solve the problem. If it does not, try to specify fewer columns to interpolate by using multiple
Area Selection Lines.

7. The maximum number of composites that the program can handle for a single point is 64000. If this number is
exceeded, the program will give an error message and stop calculating at that point. If this happens, try a similar
approach as explained in Step 6.

8. A separate output file can be obtained for use with M525TS if 30=filename appears in the Names Line. See M525TS
program documentation on how to further evaluate the point kriging results.

9. ** ERROR ON INTERPOLATION AREA CARD **


will appear if
a) the minimum column exceeds the maximum column
b) the minimum row exceeds the maximum row, or
c) the minimum bench exceeds the maximum bench

Page 522-6 Revised: 31-October-03


MineSight
Proprietary Software: Mintec, inc. M523V1-DECLUSTER COMPOSITE DATA

M523V1 DECLUSTER COMPOSITE DATA

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M523V1 accesses the composite data file and computes the M523V1 is used to compute declustered composite data values
declustered composite values using the cell declustering when two or more data are considerably closer to one another
technique. than the average grid spacing. The program first overlays a grid
of cells as specified by the user. It then estimates each cell by the
PROGRAM FLOW DIAGRAM arithmetic mean of the inside data. It can output the declustered
values to an ASCII file if IOP7=1. The user specifies the name
RUN FILE: of the output file in the Names Line as 19=filename.
- Cell size
- Controlling & limiting item Each composite receives a weight inversely proportional to
labels the number of data falling within the same cell. This decluster
weight is a value between 0 and 1. The program can optionally
store the weight for each composite to the data file that is being
accessed provided that an item is reserved in this file for storing
these weights.

The Printer Output File contains the statistics of the original and
INPUT: CALCS: the declustered data values. The histograms for both data sets
are also output. If the declustered data is output to an ASCII file,
- PCF - Find composites within the program M500V1 can be used to load this data to another
- File 9 or 8, or an each cell File 9 or 8 for storing.
MSTorque composite - Compute average cell
set value
- Compute decluster weight The cell size specified in PAR7, PAR8 and PAR9 for X, Y, and
Z directions are very important for the de-clustering results.
The cell size in the Z direction is normally equal to the bench
height unless the user wants to see the effect of increasing the
bench height. The cell sizes in the X and Y directions should
OUTPUT: be equal to the average spacing of the samples. Too small a cell
can result in practically no declustering because each cell may
- File 9 or MSTorque contain no more than one composite. Similarly, too large a cell
database
- Printer Output file
can result in artificial declustering of the composites which, in
with statistics and fact, should not be declustered. Therefore make a few test runs
histograms of original and and study the resulting statistics of the declustered composites
declustered composites before storing the final results.

Revised: 23-May-13 Page 523-1


MineSight
M523V1-DECLUSTER COMPOSITE DATA Proprietary Software: Mintec, inc.

Page 523-2 Revised: 23-May-13


MineSight
Proprietary Software: Mintec, inc. M523V1-DECLUSTER COMPOSITE DATA

M523V1 - DECLUSTER COMPOSITE DATA

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-523V1 10=filename 9 (or 8)=filename 19=filename;


MEDS-523V1 3=filename 20=filename
where

MEDS-523V1 (must be the first 10 columns)


10= the name of the PROJECT CONTROL FILE
9= the name of the COMPOSITE FILE OR 9=TORQ for input from MSTorque (or 8= the name of the SORTED
COMPOSITE FILE)
19= the name of the ASCII Output File from USR508 (If IOP6=1)
20= the name of the MSTorque info file (if 9=TORQ is used)
3= the name of the PRINTER OUTPUT FILE

Note: If 9 = filename is specified on the names line, then composite data will be retrieved from this file 9. To
access the MSTorque database, use 9=TORQ and include an MSTorque info file (e.g., 20=mstorq.inf).
For information about the MSTorque info file, please refer to the M500-Technical Section, Technical
Considerations for Interpolation.

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text information that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g. ABC)

IOP1 = M09 FIRST COMPOSITE DATA UNIT TO ACCESS (default=1)


IOP2 = N09 LAST COMPOSITE DATA UNIT TO ACCESS (default=last composite stored)

IOP6 = 0 DO NOT STORE DECLUSTERING WEIGHTS INTO FILE 9/8 OR MSTORQUE


= 1 STORE DECLUSTERING WEIGHTS INTO FILE 9/8 OR MSTORQUE

NOTE: If IOP6=1, specify PUT09 (or PUT08).

IOP7 = 1 OPEN A SEQUENTIAL FILE FOR OUTPUT OF DECLUSTERED COMPOSITES


IOP8 = 1 MIN # OF DATA PER CELL FOR OUTPUT (IF IOP7=1)

NOTE: Cells with < IOP8 composites will not be output.

IOP9 = 0 Grid is aligned along the model coordinates (default)


1 Grid is aligned along the project coordinates

IOP11 = # OF FREQUENCY INTERVALS FOR HISTOGRAM


(0=NONE, MAX=50)

PAR1 = MINIMUM EASTING


PAR2 = MAXIMUM EASTING

Revised: 23-May-13 Page 523-3


MineSight
M523V1-DECLUSTER COMPOSITE DATA Proprietary Software: Mintec, inc.

PAR3 = MINIMUM NORTHING


PAR4 = MAXIMUM NORTHING

PAR5 = MINIMUM ELEVATION


PAR6 = MAXIMUM ELEVATION

PAR7 = CELL WIDTH IN X


PAR8 = CELL WIDTH IN Y
PAR9 = CELL WIDTH IN Z
PAR10 = MINIMUM VALUE FOR FREQUENCY DISTRIBUTION
PAR11 = INCREMENT FOR FREQUENCY DISTRIBUTION

GET09 (or 8)= LABELS OF ITEMS TO BE RETRIEVED

NOTE: The order of these items is X, Y, Z and grade.

PUT09 (or 8)= LABEL OF ITEM TO STORE DECLUSTERING WEIGHTS

Optional Data Selection by RANGE, OMIT or TABLE

ITMn = label-09 RANGE min-value max-value


ITMn = label-09 OMIT min-value max-value
ITMn = label-09 TABLE IOPm IOPn

NOTE: Data selection labels must be specified on the GET09 line.

END

Page 523-4 Revised: 23-May-13


MineSight
Proprietary Software: Mintec, inc. M523V1-DECLUSTER COMPOSITE DATA

M523V1 SAMPLE RUN FILE #1


MEDS-523V1 10=SAMP10.DAT 9=SAMP09.DAT 3=RPT523.LA
* DECLUSTER COMPOSITE DATA *

USR = ABC

IOP1 = 10 / FIRST AND LAST DATA UNITS FROM FILE 09


IOP6 = 0 / 1=STORE DECLUSTER WTS TO FILE 09 (PUT09 REQUIRED)
IOP7 = 0 / 1=OUTPUT DECLUSTERED COMPOSITES TO AN ASCII FILE
IOP11 = 50 / # OF FREQ. INTERVALS FOR HISTOGRAM (0=NO HIST., MAX=50)

PAR10 = 0.00 / MIN. VALUE FOR FREQ. DISTRIBUTION


PAR11 = 0.010 / INCREMENT FOR FREQ. DISTRIBUTION

GET09 = EAST NORTH ELEV. T-CU / RETRIEVE

PAR1 = 10000 15000 / XMIN, XMAX


PAR3 = 10000 15000 / YMIN, YMAX
PAR5 = 3000 5000 / ZMIN, ZMAX
PAR7 = 100 100 50 / XYZ CELL WIDTH

I-O = 0 / DEBUG

END

M523V1 SAMPLE RUN FILE #2


MEDS-523V1 10=SAMP10.DAT 8=SAMP08.DAT 19=DAT523.OB;
MEDS-523V1 3=RPT523.LB
* DECLUSTER COMPOSITE DATA - OUTPUT RESULTS INTO A FILE *

USR = ABC
IOP1 = 10 / FIRST AND LAST DATA UNITS FROM FILE 09
IOP6 = 0 / 1=STORE DECLUSTER WTS TO FILE 9 (PUT09 REQUIRED)
IOP7 = 1 / 1=OUTPUT DECLUSTED COMPOSITES TO AN ASCII FILE
IOP11 = 40 / # OF FREQ. INTERVALS FOR HISTOGRAM (0=NO HIST., MAX=50)

PAR10 = 0.00 / MIN. VALUE FOR FREQ. DISTRIBUTION


PAR11 = 0.010 / INCREMENT FOR FREQ. DISTRIBUTION

GET08 = EAST NORTH ELEV. T-CU / RETRIEVE

PAR1 = 13000 14000 / XMIN, XMAX


PAR3 = 13000 14000 / YMIN, YMAX
PAR5 = 3000 4000 / ZMIN, ZMAX
PAR7 = 100 100 50 / XYZ CELL WIDTH

I-O = 0 / DEBUG

END

Revised: 9-July-01 Page 523-5


MineSight
M523V1-DECLUSTER COMPOSITE DATA Proprietary Software: Mintec, inc.

SAMPLE RUN FILE #3


MEDS-523V1 10=SAMP10.DAT 9=SAMP09.DAT 3=RPT523.LC
* DECLUSTER COMPOSITE DATA - STORE BACK DECLUSTERING WTS *

USR = ABC

IOP1 = 10 /FIRST AND LAST DATA UNITS FROM FILE 09


IOP6 = 1 /1=STORE DECLUSTER WTS TO FILE 9 (PUT09 REQUIRED)
IOP7 = 0 /1=OUTPUT DECLUSTERED COMPOSITES TO AN ASCII FILE
IOP11 = 50 /# OF FREQ. INTERVALS FOR HISTOGRAM (0=NO HIST., MAX=50)

PAR10 = 0.00 /MIN. VALUE FOR FREQ. DISTRIBUTION


PAR11 = 0.010 /INCREMENT FOR FREQ. DISTRIBUTION

GET09 = EAST NORTH ELEV. T-CU /RETRIEVE


PUT09 = MAVG /STORE DECLUSTERING WTS

PAR1 = 10000 15000 /XMIN, XMAX


PAR3 = 10000 15000 /YMIN, YMAX
PAR5 = 3000 5000 /ZMIN, ZMAX
PAR7 = 100 100 50 /XYZ CELL WIDTH

I-O = 0 /DEBUG

END

SAMPLE OUTPUT WHEN IOP7 = 1

Seq # Ref # X Y Z Grade # of


data/cell

1 10003021 3017.7 4740.9 2585.0 0.060 1


2 9003021 3017.7 4740.9 2570.0 0.060 1
3 8003021 3017.7 4740.9 2555.0 0.030 1
. . .
. . .
. . .

271 9007023 3244.6 5159.0 2570.0 0.150 4


272 8007023 3250.7 5153.5 2555.0 0.150 3
273 7007023 3243.6 5153.5 2540.0 0.183 3
275 5007023 3229.4 5153.5 2510.0 0.223 3

Page 523-6 Revised: 9-July-01


MineSight
Proprietary Software: Mintec, inc. M523V1-DECLUSTER COMPOSITE DATA

HOW TO DEBUG AN M523V1 RUN


1. The order of GET09 or GET08 items is X, Y, Z and grade. If the items are not in this order or any of these items are
missing, the program may still attempt to decluster, however, the results will be incorrect if the execution does not stop
with an error message.

2. If there are less than two composites available, the following message will appear

?M523V1:ERROR. THERE IS NOT ENOUGH DATA


No. of samples and/or cells = 0 (or 1)

3. If any of the cell size information (i.e., PAR7, PAR8 and PAR9) is not specified, the program will not execute.

4. If you did not specify the coordinate limits for declustering (i.e., PAR1-PAR6), the program will not default to the PCF
limits and execution ends with the following error message

?M523V1: ERROR. THERE IS NOT ENOUGH DATA


No of samples and/or cells = 0 (or 1)

5. If IOP6=1 to store the declustering weight to File 9 or 8, but you did not specify an item to store these weights, the
following message will appear

%MEDITM: FILE filename NEEDS * PUT * LABELS FOR RUN

6. If IOP7=1 to dump the declustered composites to an ASCII file, but you did not specify this file on the Names Line, the
output will be written to a default File 19 named FOR019.DAT (on most machines).

7. Also check the MineSight error messages in the Appendix.

Revised: 9-July-01 Page 523-7


MineSight
M523V1-DECLUSTER COMPOSITE DATA Proprietary Software: Mintec, inc.

Page 523-8 Revised: 9-July-01


MineSight is a registered
trademark of Leica Geosystems AG. M524V1 POINT VALIDATION FOR INTERPOLATION

M524V1 POINT VALIDATION FOR


INTERPOLATION TECHNIQUES

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M524V1 will interpolate each composite from its neighbors M524V1 will interpolate point composite data using inverse
by both kriging and inverse distance weighting, and will then distance and kriging. The program will compute an estimated
summarize the differences from the known composite values. grade for a data point using the surrounding data points without
including the point itself. This procedure is repeated for all the
PROGRAM FLOW DIAGRAM data points within the search volume. This back-estimation
or jackknife estimation is an important step in verifying
RUN FILE: interpolation parameters.
- Interpolation parameters
- Search distances or Besides kriging each point, the program will also compute five
ranges more estimated grades using different powers of inverse distance
- Controlling & limiting item (e.g., 1.0, 1.5, 2.0, 2.5 and 3.0). The result for each data point is
labels
listed in the Printer Output File. A summary of the results and
estimation errors are provided at the end of the output.

A variogram model must be specified in the run file. Four types


of variograms are allowed: spherical, linear, exponential and
INPUT: CALCS: gaussian. These variograms may consist of a single model or
- PCF - FInd composites within a nested model which is a combination of several different
- File 9 or File 8 or search window variograms. As many as five variograms are allowed for a nested
MSTorque composite - Match geology codes model. Multiple grades may be interpolated if the same search
set - Apply limiting factor parameters and variogram model apply to each grade item.
- Compute weights &
grades
COORDINATE PARAMETERS

PAR1-3 control the primary coordinate selection of data from


File 9 (or File 8) composites, the ASCII composite file or the
OUTPUT: MSTorque composite set. These parameters may come from
analyses in geostatistics, preliminary interpolation runs or from
- File 9 or MSTorque
database deposit experience.
- Optional Output file for
M525TS 1. The primary coordinate selection is usually based upon the
- Printer Output file range of ZTOE - PAR3 to ZTOE + PAR3, where ZTOE is
the toe elevation of the bench to be used.

If topographic or other 2-D data is to be interpolated, then


this selection is not used. However, you should set PAR3
to be a small non-zero value (e.g. 0.1).

2. The secondary coordinate selection is always based upon


the range of YMID - PAR2 to YMID + PAR2, where YMID
is the midpoint northing of the row to be used. Eastings are
in the range XMIN - PAR1 to XMAX + PAR1.

The composites selected for the entire row are kept in


program memory while interpolating the blocks in that row.

Revised: 14-August-14 Page 524-1


MineSight is a registered
M524V1 POINT VALIDATION FOR INTERPOLATION trademark of Leica Geosystems AG.

USE OF MULTIPLE VARIOGRAMS

In general, there are two cases where multiple variograms are


used:

1. to specify a different variogram for each item to be kriged

2. to specify a different variogram for each geologic unit if


only one item is to be kriged.

Multiple variograms cannot be used to specify different


variograms by grade and rock type together in the same run,
that is, you cannot combine the above two situations in a single
run. If variograms are broken down by rock type, each grade
must be kriged separately.

Multiple variograms are always specified in an external file listed


on the run file Names Line as File31=filename.

Page 524-2 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1POINT VALIDATION FOR INTERPOLATION

RUN FILE OPERATION


1. NAMES LINE (must be the first line entered)

MEDS-524V1 10=filename 9(or 8)=filename 19=filename;


MEDS-524V1 30=filename 31=filename 32=filename 3=filename
where

MEDS-524V1 (must be the first 10 columns)


10 = the name of the PROJECT CONTROL FILE
8 = the name of the SORTED COMPOSITE FILE (obsoleted) -OR- CARD for ASCII input -OR- TORQ for input
from MSTorque
9 = the name of the COMPOSITE FILE
19 = the name of the Input File (if 8=CARD is used) -OR- MSTorque info file (if 8=TORQ is used)
30 = the name of the Output File (for M525TS) Note: see #18 in the section, How to Debug an M524V1 run.
31 = the name of the Variogram Input File
32 = the name of the output file (for MSDA). Note: .csv extension is recommended.
3 = the name of the PRINTER OUTPUT FILE

NOTE: If 9 = filename is specified on the names line, then composite data will be retrieved from this file 9.
To request an ASCII input DO NOT enter 9 = on the names line and specify 8 = CARD. To access
the MSTorque database, use 8=TORQ and include an MSTorque info file (e.g., 19=mstorq.inf). For
information about the MSTorque info file, please refer to the M600-Technical Section, Technical
Considerations for Interpolation.

2. RUN INFORMATION LINE (max. of 80 columns)

A single line of text that will be printed at the top of each page of printer output from the run.

3. RUN OPTIONS (in any order & free-field format)

USR = USER INITIALS (e.g., ABC)

IOP1 = # OF COMPOSITES PER OCTANT/QUADRANT

IOP2 = THE NUMBER OF COMPOSITES TO DISPLAY DETAILED KRIGING WEIGHTS

IOP3 = BASIC SEARCH OPTION FOR COMPOSITES


= 0 FOR 2-D CIRCULAR SEARCH
= 1 FOR 3-D SPHERICAL SEARCH

IOP4 = OPTION TO MATCH BLOCK VS. COMPOSITE GEOLOGY


= 0 FOR NO GEOLOGIC MATCHING
= 1 MATCH 1 ITEM AFTER A POINT IS SELECTED
= 2 MATCH 2 ITEMSAFTER A POINT IS SELECTED
= -1 MATCH 1 ITEM BEFORE A POINT IS SELECTED
= -2 MATCH 2 ITEMS BEFORE A POINT IS SELECTED

NOTE: Only selection by PAR7 is affected by before/after choice.

Revised: 14-August-14 Page 524-3


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

IOP6 = DISTANCES FOR ELLIPSOIDAL SEARCH


= 0 DISTANCES ARE KEPT IN ORIGINAL 3-D
= 1 DISTANCES ARE ADJUSTED DISTANCES BASED ON ANISOTROPY
NOTE: Use IOP6 with the CMD=SEARCH command.

IOP7 = MINIMUM NUMBER OF COMPOSITES FOR INTERPOLATION

NOTE: A block will not get interpolated if the number of nearby composites is <IOP7.

IOP9 = 1 OCTANT
= 2 QUADRANT

IOP11 = ROW NUMBER FOR EXTENDED OUTPUT FROM CALCULATIONS (debug)

IOP12 = 1 DO NOT USE COMPOSITES FROM THE SAME HOLE

IOP13 = 0 FOR STANDARD GEOLOGIC CODES


= n READ n CROSS REFERENCE CODES TO ALIAS BLOCK CODES AT 10 VALUES PER LINE
(see Section 4)

NOTE: If IOP13=1-10, one cross reference line is read. If IOP13=11-20, two cross reference lines are read.

IOP16 = MAXIMUM NUMBER OF POINTS TO BE USED FOR KRIGING (default=15; max=500)

IOP17 = THE DESIRED POINT ESTIMATE TO BE STORED (if STORE option is used)
= 1 FOR INVERSE DISTANCE WEIGHTING (IDW) POWER 1
= 2 FOR IDW POWER 1.5
= 3 FOR IDW POWER 2.0
= 4 FOR IDW POWER 2.5
= 5 FOR IDW POWER 3.0
= 6 FOR KRIGE (default)

NOTE: IOP17 can be used to specify the desired point estimate to use. If other than a kriged estimate is to be
stored, then set IOP17 in your run file as above.

IOP18 = SELECT LOG KRIGE TRANSFORMATION


= 1 USE JOURNELS FORMULA (default)
= 2 USE RENDUS FORMULA

IOP19 = MAXIMUM NUMBER OF COMPOSITES TO USE FROM AN INDIVIDUAL DRILLHOLE

IOP20 = 1 USE WITH BLOCK LIMITING

NOTE: This option will interpolate the specified block codes (points) without using these codes in the
interpolation.

IOP21 = 0 OMIT ALL CHECKS


= 1 CHECK SEQUENTIAL COMPOSITES FOR DUPLICATE X,Y,Z COORDINATES
DUPLICATES WILL BE DELETED

NOTE: This option is applicable to blasthole projects only.

IOP22 = 0 ORDINARY POINT KRIGING (default)


= 1 INDICATOR POINT KRIGING

Page 524-4 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

PAR1 = X-SEARCH DISTANCE


PAR2 = Y-SEARCH DISTANCE
PAR3 = Z-SEARCH DISTANCE (default=0.1)

NOTE: PAR3 not used for SCAN1-D or SCAN2-D. However, still enter a small non-zero value (e.g. 0.1).

PAR4 = MAXIMUM 3-D DISTANCE FROM BOX CENTROID TO ACCEPT DATA


(DEFAULT=SQRT((PAR1)2 + (PAR2)2 + (PAR3)2)

PAR5 = MINIMUM DISTANCE TO ACCEPT COMPOSITES

NOTE: Anything less than PAR5 will not be included.

PAR7 = MAXIMUM DISTANCE TO CLOSEST POINT FOR INTERPOLATION (default = PAR4)

PAR8 = MAXIMUM DISTANCE TO PROJECT SINGLE COMPOSITE VALUE (default = PAR7)

PAR13-17= INVERSE DISTANCE POWERS (default = 1 through 3 with .5 increments)

PAR31 = CUTOFF GRADE FOR CHANGING THE 3-D SEARCH DISTANCE

PAR32 = THE 3-D SEARCH DISTANCE AT THE SPECIFIED CUTOFF

CMD = SEARCH RY RX RZ ROTN DIPN DIPE


CMD = SEARCH GSLIB RY RX RZ ROM ROT1 ROT2 ROT3
CMD = SEARCH COORD filename RY RX RZ
CMD = SEARCH PROJECT
CMD = NUGGET nug-value
CMD = SPH sill-value R1 R2 R3 [ROTN DIPN DIPE]
CMD = ELEV IS label-09
CMD = CALC MINn value
CMD = UNIV KRIGE ITEM label-09
CMD = VGM PROJECT
CMD = BLOCK LIMIT CODES V1 V2 . . . Vn
CMD = USE AIK factor

ITMn = label-15 BLOCK LIMIT


ITMn = M524 label-09 LIMIT
ITMn = M524 label-09 CALC KRIGE (Ordinary kriging)
ITMn = M524 label-09 ALOG KRIGE (Ordinary lognormal kriging)
ITMn = M524 labl1-09 STORE KRIGE
ITMn = M524 labl2-09 STORE ERROR
ITMn = M524 label-09 MATCH MODEL
ITMn = M524 label-09 MATCH POLYG

Revised: 14-August-14 Page 524-5


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

There are several customizing options for this program. The following table may be used to reference explanations of the uses for
various IOPs and PARs.
Customizing Page See Sample
Option Description number Run File #
I Primary 3D search parameters defining a box around a block 524-7 1
Optional full 3D (ellipsoidal) defining a trend search within the
II 524-7 2
primary search
III Optional interpolation parameters 524-8 6

IV Optional inverse distance power 524-9

V Specification of variogram model parameters 524-9 7

VI Multiple variogram specification 524-10 7

VII Relative elevation specification 524-12

VIII Item definition lines for values to be computed and stored 524-12 9

IX Matching geology codes 524-12 3

X Interpolate selected geology types 524-13 6

XI Using alias geology codes 524-13 6

XII Input from an ASCII file 524-13 5

XIII Universal kriging 524-14 8

XIV* Selection of the composites used in interpolation 524-14 10

XV Area Influence Kriging 524-14

Page 524-6 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

I. Primary 3-D search parameters defining a box around a block.

PAR1 = X-SEARCH DISTANCE


PAR2 = Y-SEARCH DISTANCE
PAR3 = Z-SEARCH DISTANCE (default=0.1)

These parameters define a rectangular box around the block to be interpolated. This is illustrated in the 600 - series Technical
Section and Figure 1 below.

Figure 1. Definition of Primary Coordinate Search Parameters (PAR1, PAR2, and PAR3)

All of the composites within this rectangular box are checked against the maximum 3-D search distance (PAR4). The composites
that are less than or equal to this distance from the center of the box are retained for further screening, such as geologic matching.

If there are more than n number of composites for a given block after all the tests, then the composites are sorted by increasing distance.
Only the closest n are retained for calculation of the weights. Based on these weights, the grade of the block is computed and stored.

IMPORTANT NOTE: To interpolate GSM or 2-D surface data, the coordinate selection must be based on X and Y coordinates only.
If this is the case, use one of the following command in your run file:

ITMn = CARD DATA INPUT SCAN2-D (ASCII Input Data) OR


ITMn = FILE DATA INPUT SCAN2-D (Composite File 9)

depending on which source is appropriate.

II. Optional full 3-D (ellipsoidal) search parameters defining a trend search within the primary search

To add a full 3-D search within the primary search explained above include the following command:

CMD = SEARCH RY RX RZ ROTN DIPN DIPE


or
CMD = SEARCH GSLIB RY RX RZ ROT1 ROT2 ROT3
or
CMD = SEARCH COORD filename RY RX RZ
where

SEARCH = Keyword for the program indicating a 3-D search


RY = Search distance (range) in the new north (major-axis) direction
RX = Search distance (range) in the new east direction
RZ = Search distance (range) in the new up direction

Revised: 14-August-14 Page 524-7


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

ROTN = Rotation from the old north axis to the new north axis (clockwise is a positive rotation)
DIPN = Dip of the new north axis measured horizontally (negative dip is plunging down)
DIPE = Dip easterly from the new north axis (the horizontal component of this vector is 90 degrees clockwise from
the horizontal component of the new axis. The dip is measures as in DIPN)

GSLIB = Keyword to specify GSLIB rotation entry


ROT1 = Horizontal rotation of north axis
ROT2 = Rotation of the north axis hrom horizontal
ROT3 = Final rotation around the new north axis
COORD = Keyword to specify rotation with three points
filename = Name of the ASCII file with coordinates of these point

For a detailed description of rotation parameters see the 600-series Technical Section.

You must use IOP6 with this command.

Figures 2, 3, and 4 below and Sample Run File #2 show the relationships of the various parameters for ellipsoidal search.

Figure 2. Definition of ROTN, RY and RX used in Figure 3. Definition of DIPN, RY and RZ used in Figure 4. Definition of DIPE, RX and RZ in 3-D
3-D Ellipsoidal Coordinate Search 3-D Ellipsoidal Coordinate Search Ellipsoidal Coordinate Search

This search forms an ellipsoid around the center of the block based on the search ranges and angles used. The composites within this
ellipsoid are retained for calculations. The 3-D distances (RX, RY, RZ) between the block center and the composites are adjusted
distances based on anisotropy ratios between the ranges. Therefore, if the full 3-D search is used, the value of the maximum 3-D
search distance (PAR4) must reflect the distance in the new coordinates.

III. Optional interpolation parameters

PAR7 = MAXIMUM DISTANCE TO CLOSEST POINT FOR INTERPOLATION (default = PAR4)

PAR8 = MAXIMUM DISTANCE TO PROJECT SINGLE COMPOSITE VALUE (default = PAR7)

NOTE: If the number of composites retained for a block equals IOP7, then PAR8 is tested.

Page 524-8 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

IV. Optional inverse distance powers

PAR13-17= INVERSE DISTANCE POWERS (default = 1 through 3 with .5 increments)

V. Specification of variogram model parameters

The M524V1 run file must contain the specifications of one variogram model to be used for kriging interpolation. To specify the
nugget and sill values for the variogram, enter the following command lines:

CMD = NUGGET nug-value


CMD = SPH sill-value R1 R2 R3 [ROTN DIPN DIPE]
or
CMD = SPH GSLIB sill-value R1 R2 R3 ROT1 ROT2 ROT3
or
CMD = SPH COORD filename R1 R2 R3
where

NUGGET = Keyword for the program (could be abbreviated NUG)


nug-value = The nugget value for the variogram. If zero is entered, the program sets it to a very small number
(0.000001).

SPH = Keyword for the program for spherical model.


Use LIN for a linear variogram or EXP for an exponential.
sill-value = Individual sill value for the specified variogram (C1 or C2, etc.).
For a single model, this value is equal to total sill minus the nugget.
R1 = Range in the new north (major-axis) direction
R2 = Range in the new east direction
R3 = Range in the new up direction
ROTN = Rotation from the old north axis to the new north axis
(clockwise is a positive rotation)
DIPN = Dip of the new north axis measured horizontally
(negative dip is plunging down)
DIPE = Dip easterly from the new north axis
(the horizontal component of this vector is 90 degrees clockwise from the horizontal component of the
new north axis. The dip is measured as in DIPN.)

GSLIB = Keyword to specify GSLIB rotation entry


ROT1 = Horizontal rotation of north axis
ROT2 = Rotation of the north axix from horizontal
ROT3 = Final rotation around the new north axis
COORD = Keyword to specify rotation with three points
filename = Name of the ASCII file with coordinates of these points.

For a detailed description of rotation parameters, see the 600-series Technical Section.

NOTES:
1. Nested variogram models can be entered by adding more Variogram Specification Lines in your run file (max=5). For
example, a nested spherical model could be entered as:

CMD = NUGGET CO
CMD = SPH C1 R1 R2 R3 ...
CMD = SPH C2 R4 R5 R6 ...

where CO=NUGGET, CO+C1+C2=SILL, R1 R2 R3= 3-D ranges of the first structure, R4 R5 R6=3-D ranges of the
second structure, etc.

Revised: 14-August-14 Page 524-9


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

2. The program allows the interpolation of multiple grades provided that these grades have the same variogram parameters.

3. Horizontal and vertical anisotropy ratios are calculated based on the 3-D ranges entered. For example, if R1=100, R2=50
and R3=40, then horizontal anisotropy ratio = R1/R2 = 2.0 vertical anisotropy ratio = R1/R3 = 2.5

4. If rotation is specified, the 3-D ranges will be in the new coordinate system defined by these angles. For example, by
default R1 is the range in the north-south direction. However, if ROTN=45, then R1 will be the range in the NE-SW
direction. The direction of R2 and R3 will similarly be affected based on these angles. See figures 2, 3 and 4 on page
524-8.

Sample run file #7 demonstrates the use of these commands.

VI. Multiple Variogram Specification

Multiple variograms are used for two cases.

CASE 1 There are multiple items to krige and each item has its own variogram, e.g., kriging gold and silver grades with the same
run file but having different variograms for gold and silver.

Warning: When kriging multiple items, the program assumes that the same number of composites are available for the secondary
items as for the primary item. In other words, inconsistent missing intervals such as a missing value for one item but not the other
ones, will produce erroneous results.

CASE 2 Only one item is to be kriged but there are different variograms for each geologic unit, e.g., kriging gold grades with
a different variogram for each rock type. For this case, the label of the geologic item must be specified with either of the following
commands:

ITMn = label-15 label09 MATCH MODEL


ITMn = label-15 BLOCK LIMIT and CMD = BLOCK LIMIT CODES V1 V2 . . . Vn

In both cases, parameters for multiple variograms are entered through an external input file. The variogram parameter file name
is entered in the run file on the names line as 31=filename. When there is a file name specified in the run file, the program will
automatically look for this file and try to read it. Any variogram parameter specified in the run file through the CMD function is
ignored. Examples of the variogram file for each case follow.

NOTE: There has to be one set of variogram parameters specified for each item or geologic type to be
kriged even when the variogram parameters are the same for more than one item. As many
as nine items or geologic types can be kriged simultaneously. However, the total number of
model items to be stored cannot exceed ten. option will interpolate the specified block codes
(points) without using these codes in the interpolation.

CASE 1 The lines of a variogram parameter file are as follows:

Line #1: Description or comment line


Line #2: Nugget value for the first item
Line #3: TYPE SILL R1 R2 R3 ROTN DIPN DIPE, where

TYPE = Variogram type: 1=Spherical, 2=Linear, 3=Exponential, 4=Gaussian


SILL = Sill of the variogram excluding the nugget value
R1
R2
R3 The same as specified earlier in this documentation
ROTN
DIPN
DIPE

Page 524-10 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

Line #3A, #3B Optional (Nested variogram parameters if necessary)

Line #4: 0 or -1: End of the variogram parameters input

Line #5, #6, #6A, #6B, #7 Repeat of Lines 2-4 for the variogram parameters to be used for krig item #2.

NOTE: Specify a set of variograms for each item to be kriged. For example, if five items are to be
kriged, there must be five sets of variogram parameters.

If there are more variograms than the number of krige items, the program ignores the extra
variograms. However, if there are more krige items than variograms, the program will stop
with an error message.

CASE 1 Sample variogram parameter file:


Parameters for items LEAD, ZINC, SILV, TCU Comment Line
.0013 Nugget value
1 .0245 150 120 60 0 0 0 Parameters
0 End of input
.008 Nugget value
1 .0160 120 80 40 45 -10 0 Parameters for nested variogram
1 .0262 160 120 60 45 -10 0 Parameters for nested variogram
0 End of input
.0031
1 .0088 120 120 80 0 0 0
0
.0072
2 .0519 240 240 240 0 0 0
0

Sample Run File #7 demonstrates the use of this option.

CASE 2 The lines of a variogram parameter file are as follows:

Line #1: VARITM = label-15

Line #2: Nugget value for the first geologic code Integer geologic code

Lines #3, #3A, #3B, #4 are the same as Case 1.

Lines 24 Repeat for the remaining geologic codes.

CASE 2 Sample variogram parameter file:

VARITM = ROCK Comment Line


.0013 2 Nugget value; geologic code
1 .0245 150 120 60 0 0 0 Parameters
0 End of input
.008 5 Nugget value; geologic code
1 .0160 120 80 40 45 -10 0 Parameters for nested variogram
1 .0262 160 120 60 45 -10 0 Parameters for nested variogram
0 End of input
.0031 10
1 .0088 120 120 80 0 0 0
0

Revised: 14-August-14 Page 524-11


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

VII. Relative elevation specification:

Enter the following command if relative elevation is to be used:

CMD = ELEV IS label-09

VIII. Item definition lines for values to be computed & stored:

ITMn = M524 label-09 CALC KRIGE


(Ordinary kriging)
ITMn = M524 label-09 ALOG KRIGE
(Ordinary lognormal kriging)

M524V1 can store the estimated grade of a point from kriging and/or the estimation error computed for that point to File 9 or to an
MSTorque database. Include the following lines in your run file to use this option:

ITMn = M524 labl1-09 STORE KRIGE


ITMn = M524 labl2-09 STORE ERROR
where

M524 = Keyword for the program


labl1-09 = Label of the composite item to store the kriged estimate of the point
labl2-09 = Label of the composite item to store the estimation error for the point
STORE KRIGE = Keywords for the program
STORE ERROR = Keywords for the program

Sample run file #9 demonstrates the use of this option.

NOTES ON ITEM DEFINITION LINES:

1. CALC KRIGE can be used for ordinary kriging. Kriging provides an estimation variance for each block kriged. This
value can be obtained using BLOCK ERROR.

2. ALOG KRIGE can be used in place of CALC KRIGE if you need to use the natural logarithms of grades instead of
actual grades.

3. At least one ITM to CALC KRIGE or to ALOG KRIGE must be included in each run. STORE KRIGE and STORE
ERROR are optional.

4. STORE ERROR can be used only if CALC KRIGE or ALOG KRIGE is used. Normally, ordinary kriging variance
is stored as the error of estimation, but if ALOG KRIGE is used, the stored value is the relative logarithmic kriging
variance.

IX. Matching geology codes

In order for the program to use the composites with the same geology code in the interpolation, include the following lines in your
run file:

IOP4 = 1

ITMn = M524 label-09 MATCH MODEL (simple match)


or
ITMn = M524 label-09 MATCH POLYG (assign & match)
where

Page 524-12 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

M524 = Keyword for the program


label-09 = Label of composite item for geologic codes
MATCH MODEL= Keywords for the program indicating geologic matching. A maximum of 3 geologic
matchings is allowed.
MATCH POLYG = Keywords for the program indicating polygonal assignment of codes as well as
geologic matching

Sample run file #3 demonstrates the use of this option.

X. Interpolate selected geology types

Interpolation can be limited to certain geology types based on specified codes in the run file. Use the following lines in your run file:

CMD = BLOCK LIMIT label-09 v1 v2 ... vn


ITMn = M524 label-09 LIMIT
where

BLOCK LIMIT = Keywords for the program indicating the option for geology limiting.
v1, v2 ... vn = Numeric values between 1 and 999999 of the items used for geology limiting.
More than one code line may be entered if needed.
label-09 = Label of composite item with geology codes
LIMIT = Keyword for the program

Sample run file #4 demonstrates the use of this option.

XI. Using alias geology codes

To assign alias (assumed) geology codes to the composites used in the interpolation of a point, specify the number of cross reference
codes in IOP13 and include a line after the END line in your run file for the cross reference codes. For example, if you have five
geology codes (1 through 5) and you want to interpolate the points with codes 1 or 2. You want to use composites with codes 1 or 3
to interpolate the points with code 1 and you also want to use composites with codes 2, 4 and 5 to interpolate the points with code
2. First include in your run file BLOCK LIMIT and MATCH options. Then set the following option in your run file: IOP13 = n. For
the above example, you would have IOP13=5, then 1 2 1 2 2 after the END line in your run file. Sample run file #6 demonstrates
the use of this option.

XII. Input from an ASCII file

The composite assay data input to the interpolation programs is normally from MineSight Data File 8. However, the programs are
also designed to read data from an ASCII file. To use an ASCII input file, follow the steps below:

1. Include REF# (or DHID), X, Y and Z coordinates (if 3-D interpolation), and a grade item on each line of input.
2. Include 8=CARD in the Names Line of your run file. Also include 19=filename if the data is in a separate file.
3. Also include the following line in your run file:

INP8 = REF# EAST NORTH ELEV. value1 ... geol1


where

REF#, EAST, NORTH, ELEV. = Keywords for the program (not necessarily in this order)
value1, value2, etc = Grade items to interpolate
geol1, etc. = Geology items to interpolate

The format of the data in the ASCII file is free field format.

4. The following line is optional and can be included to specify a CALC items minimum value. Otherwise the minimum is
assumed to be zero.

CMD=CALC MINn value

Revised: 14-August-14 Page 524-13


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

where

CALC keyword
MINn indicates which CALC item from the INP line is being set
value the minimum value.

For example:

INP8 = REF# EAST NORTH ELEV. TOPO ROCK


CMD = CALC MIN2 7

will set the minimum value of ROCK (the second CALC item) to 7.

If composite data lines are included within the run input file, then only one Area Specification Line can be used. Sample Run File
#5 demonstrates the use of this option.

XIII. Universal Kriging

Use the following line in your run file to use this option:

CMD = UNIV KRIGE ITEM label-09


where

UNIV KRIGE ITEM = Keywords for the program


label-09 = The label of the universal kriging item in the composite file.
This label must be NORTH, EAST or ELEV.

Up to three lines can be entered. Sample run file #8 demonstrates the use of this option.

XIV. Selection of the composites used in interpolation

Composites used in interpolation can be selected using RANGE, OMIT or TABLE with the ITMn command. See ITMn commands
in the Introduction for an explanation of these options.

Sample run file #10 demonstrates the use of these options.

XV. Area Influence Kriging

An extra line is added in the run file:

CMD = USE AIK factor


where

USE AIK keywords, factor is the proportion of area of influence. If this proportion is 1.0, a sample will have 100%
influence to the blocks within its area of influence.

END

Page 524-14 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

1. CROSS REFERENCE LINES (for alias geology codes, IOP13>0)

10 integer values per line (free-field format)

Example: If IOP13=5 (block codes are 1 to 5) & if 1 1 3 3 3 are input for cross reference, then data with geologic codes 1 & 2 will
be used as the same type, with codes 3, 4 & 5 used together.

2. AREA SELECTION LINES

IX1 IX2 IY1 IY2 IZ1 IZ2 M09 N09


Columns Rows Levels First and last composite stored (default=use all)

3. COMPOSITE DATA LINES (if CARD DATA INPUT was specified)

See the Technical Section for a complete description of these lines. If Composite Data Lines are included within the run file, then only
one Area Specification Line can be used. If Composite Data Lines are in a separate file, include a 19=filename in the Names Line.

Revised: 14-August-14 Page 524-15


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

M524V1 SAMPLE RUN FILE #1


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OA 9=SAMP09.DAT;
MEDS-524V1 3=RPT524.LB
* POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING *

USR = ABC
COM -
COM POINT INTERPOLATION
COM -

COM * * TEST RUN #1: M524V1


COM 3-D SPHERICAL SEARCH WITHIN RECTANGULAR BOX

IOP2 = 3 / # OF COMPS TO DISPLAY KRIGING WTS


IOP3 = 1 / 0=2D CIRCULAR; DATA INPUT SCAN3-D: 1=3D SPHERICAL SEARCH
IOP11 = 23 / ROW# FOR DEBUG
IOP16 = 5 / MAX # COMPS TO USE FOR INTERP

PAR1 = 750 750 50 / X, Y, Z SEARCH DISTANCES


PAR4 = 750 / LIMITING SEARCH DISTANCE

CMD = NUG 0.01


CMD = SPH 0.14 600 600 600 0 0 0

ITM1 = M524 T-CU CALC KRIGE

END
20 30 23 23 20 20

Page 524-16 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1 SAMPLE RUN FILE #2


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OB 9=SAMP09.DAT;
MEDS-524V1 3=RPT524.LB
* POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING *
USR = ABC
COM -
COM POINT INTERPOLATION
COM -
COM * * TEST RUN #2: M524V1 COM ELLIPSOIDAL SEARCH AT N45W DIRECTION

IOP2 = 1 / # OF COMPS TO DISPLAY KRIGING WTS


IOP3 = 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH
IOP11 = 23 / ROW# FOR DEBUG
IOP16 = 5 / MAX # COMPS TO USE FOR INTERP

PAR1 = 750 750 50 / X, Y, Z SEARCH DISTANCES


PAR4 = 750 / LIMITING SEARCH DISTANCE

CMD = SEARCH 750 500 375 45 0 0


CMD = NUG 0.02
CMD = SPH 0.13 750 500 375 -45 0 0

ITM1 = M524 T-CU CALC KRIGE

END
20 30 23 23 20 20

Revised: 14-August-14 Page 524-17


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

M524V1 SAMPLE RUN FILE #3


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OC 9=SAMP09.DAT;
MEDS-524V1 3=RPT524.LC
* POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING *

USR = ABC
COM -
COM POINT INTERPOLATION
COM -

COM * * TEST RUN #3: M524V1


COM MATCH GEOLOGY CODES

IOP2 = 1 / # OF COMPS TO DISPLAY KRIGING WTS


IOP3 = 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH
IOP4 = 1 / 1=ONE GEOLOGIC MATCHING, 0=NONE
IOP11 = 23 / ROW# FOR DEBUG
IOP16 = 5 / MAX # COMPS TO USE FOR INTERP

PAR1 = 750 750 50 / X, Y, Z SEARCH DISTANCES


PAR4 = 750 / LIMITING SEARCH DISTANCE

CMD = NUG 0.02


CMD = LIN 0.13 750 500 375 0 0 0

ITM1 = M524 T-CU CALC KRIGE


ITM2 = M524 ROCK MATCH MODEL

END
20 30 23 23 20 20

Page 524-18 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1 SAMPLE RUN FILE #4


MEDS-524V1 10=samp10.dat 9=samp09.dat 3=rpt524.tm 30=dat524.tm;
MEDS-524V1 32=dat524.csv 31=
* POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING *

USR = / Wed Sep 1, 2010 7:38:30 AM US Mountain Standard Time


IOP2 = 0 / Number of composites to display detail kriging weights
IOP3 = 1. / 1=3-D spherical search, 0=2-D search
IOP4 = 3 / 0=No geologic matching, 1=Match 1 item, 2=Match 2 items
IOP6 = 0 / 0=Use true dist.; 1=Use anisotropic dist.
IOP7 = 0 / Min # of composites for interpolation
IOP11= 0 / Row # for extended output
IOP12= 0 / 1=Do not use another point from same hole
IOP16= 0 / Maximum # of composites for interpolating a block
IOP17 = 0 / Type of estimate to store back
IOP19= 0 / Maximum # of composites per hole (DEFAULT=NO LIMIT)

PAR1 = 800. / Primary X-search distance


PAR2 = 800. / Primary Y-search distance
PAR3 = 800. / Primary Z-search distance
PAR4 = 0. / Limiting search distance
PAR7 = 0.0 / Max dist. to closest point (DEFAULT=PAR4)
PAR8 = 0.0 / Max dist. to project a single composite (DEFAULT=PAR7)
PAR13= 0. 0. 0. 0. 0. / INV. DIST. POWERS

CMD = NUG 0.1


CMD = SPH 3.5 800. 800. 15. 0. 0. 0.

ITM1 = M524 GRADE Calc krige


ITM2 = M524 NMCH1 Match model
ITM3 = M524 NMCH2 Match model
ITM4 = M524 NMCH3 Match model
ITM5 = NZON1 TABLE 31 40. / Code limiting in IOP31-40.
IOP31 = 100000 105000 110000 115000 120000 125000 130000 135000 140000 145000

ITM6 = M524 NZON2 limit


CMD = Block limit NZON2 180000 185000 190000 195000 200000 205000 210000 215000 220000 225000 230000 235000
240000 245000 250000
ITM7 = M524 NZON3 limit
CMD = Block limit NZON3 260000 265000 270000 275000 280000 285000 290000 295000 300000 305000 310000 315000
320000 325000 330000

END
000000

Revised: 14-August-14 Page 524-19


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

M524V1 SAMPLE RUN FILE #5


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OE 8=CARD;
MEDS-524V1 3=RPT524.LE
* POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING *

USR = ABC
COM -
COM POINT INTERPOLATION
COM -

COM * * TEST RUN #5: M524V1


COM ASCII DATA INPUT
COM MATCH GEOLOGY CODES

IOP2 = 2 / # OF COMPS TO DISPLAY KRIGING WTS


IOP3 = 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH
IOP4 = 1 / 1=ONE GEOLOGIC MATCHING, 0=NONE
IOP11 = 25 / ROW# FOR DEBUG
IOP16 = 12 / MAX # COMPS TO USE FOR INTERP

PAR1 = 750 750 50 / X, Y, Z SEARCH DISTANCES


PAR4 = 800 / LIMITING SEARCH DISTANCE

CMD = NUG 0.01


CMD = SPH 0.14 800 800 400 0 0 0

ITM1 = M524 T-CU CALC KRIGE


ITM2 = M524 ROCK MATCH MODEL
ITM3 = DIST BLOCK CALC RINGS DMIN
ITM4 = CARD DATA INPUT SCAN2-D

INP8 = REF# EAST NORTH ELEV. T-CU ROCK

I-O = 2 / 2 = LIST COMPOSITES

END

20 30 24 28 20 20
30 DH-43 12652. 12851. 3600. 0.0580 32
31 DH-47 12720. 12752. 3500. 0.0660 43
32 DH-56 12736. 12430. 3600. 0.0520 32
33 DH-60 12705. 12509. 3600. 0.2510 04
34 DH-62 12719. 12603. 3600. 0.1260 53
35 DH-63 12725. 12550. 3650. 0.4020 92

Page 524-20 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1 SAMPLE RUN FILE #6


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OF 9=SAMP09.DAT;
MEDS-524V1 3=RPT524.LF
* POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING *

USR = ABC

COM -
COM POINT INTERPOLATION
COM -

COM * * TEST RUN #6: M524V1


COM INTERPOLATE SELECTED GEOLOGY
COM USE ASSIGNED (ALIAS) COMPOSITE CODES
COM MATCH GEOLOGY CODES

IOP2 = 2 / # OF COMPS TO DISPLAY KRIGING WTS


IOP3 = 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH
IOP4 = 1 / 1=ONE GEOLOGIC MATCHING, 0=NONE
IOP7 = 1 / MIN # COMPS TO INTERP A BLOCK
IOP11 = 23 / ROW# FOR DEBUG
IOP13 = 5 / # OF BLOCK GEOL CODES
IOP16 = 8 / MAX # COMPS FOR INTERP A BLOCK

PAR1 = 750 750 50 / X, Y, Z SEARCH DISTANCES


PAR4 = 750 / LIMITING SEARCH DISTANCE
PAR7 = 600 / MAX DIST TO CLOSEST PT
PAR8 = 250 / MAX DIST TO PROJECT SINGLE COMP VALUE

CMD = BLOCK LIMIT CODES 1 2


CMD = NUG 0.02
CMD = EXP 0.10 1200 1200 600 0 0 0

ITM1 = M524 T-CU CALC KRIGE


ITM2 = M524 ROCK LIMIT
ITM3 = M524 ROCK MATCH MODEL

END
12122
20 30 23 23 20 20

Revised: 14-August-14 Page 524-21


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

M524V1 SAMPLE RUN FILE #7


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OG 9=SAMP09.DAT;
MEDS-524V1 3=RPT524.LG
* POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING *

USR = ABC
COM -
COM POINT INTERPOLATION
COM -

COM * * TEST RUN #7: M524V1


COM ** USE LOG TRANSFORMED GRADES
COM ** LIMIT ROCK TYPES
COM ** USE NESTED VARIOGRAM MODEL

IOP2 = 2 / # OF COMPS TO DISPLAY KRIGING WTS


IOP3 = 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH
IOP11 = 23 / ROW# FOR DEBUG
IOP16 = 5 / MAX # COMPS TO USE FOR INTERP

PAR1 = 750 750 50 / X, Y, Z SEARCH DISTANCES


PAR4 = 750 / LIMITING SEARCH DISTANCE

CMD = NUG 0.01


CMD = SPH 0.07 500 500 500 0 0 0
CMD = SPH 0.06 900 900 900 0 0 0

ITM1 = M524 T-CU ALOG KRIGE


ITM2 = ROCK OMIT 2 2
END
20 30 23 23 20 20

Page 524-22 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1 SAMPLE RUN FILE #8


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OH 9=SAMP09.DAT;
MEDS-524V1 3=RPT524.LH
* POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING *

USR = ABC
COM -
COM POINT INTERPOLATION
COM -

COM * * TEST RUN #8: M524V1


COM ** UNIVERSAL KRIGING
COM ** SELECT ROCK TYPES

IOP2 = 2 / # OF COMPS TO DISPLAY KRIGING WTS I


OP3 = 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH
IOP7 = 1 / MIN # OF COMPS FOR INTERPOLATION
IOP11 = 23 / ROW # FOR DEBUG
IOP16 = 5 / MAX # COMPS TO USE FOR INTERP
IOP21 = 1 2 3 4 7 9 / ROCK TYPES TO USE

PAR1 = 800 800 5 / X, Y, Z SEARCH DIST


PAR4 = 600 / LIMITING SEARCH DISTANCE
PAR7 = 600 / MAX DIST TO CLOSEST POINT

CMD = NUG 0.01


CMD = SPH 0.14 600 600 600 0 0 0
CMD = UNIV KRIG ITEM EAST

ITM1 = M524 T-CU CALC KRIGE


ITM2 = ROCK TABLE 21 26
END
20 30 23 23 20 20

Revised: 14-August-14 Page 524-23


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

M524V1 SAMPLE RUN FILE #9


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OI 9=SAMP09.DAT;
MEDS-524V1 3=RPT524.LI
* POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING *

USR = ABC
COM -
COM POINT INTERPOLATION
COM -

COM * * TEST RUN #9: M524V1


COM STORE KRIGED GRADE AND ESTIMATION ERROR

IOP2 = 3 / # OF COMPS TO DISPLAY KRIGING WTS


IOP3 = 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH
IOP11 = 23 / ROW# FOR DEBUG
IOP16 = 5 / MAX # COMPS TO USE FOR INTERP

PAR1 = 750 750 50 / X, Y, Z SEARCH DISTANCES


PAR4 = 750 / LIMITING SEARCH DISTANCE

CMD = NUG 0.01


CMD = SPH 0.14 700 700 500 0 0 0

ITM1 = M524 T-CU CALC KRIGE


ITM2 = M524 X-CU STORE KRIGE
ITM3 = M524 MAVG STORE ERROR
END
20 30 23 23 20 20

Page 524-24 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1 SAMPLE RUN FILE #10


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OJ 9=SAMP09.DAT;
MEDS-524V1 3=RPT524.LJ
* POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING *

USR = ABC
COM -
COM POINT INTERPOLATION
COM -

COM * * TEST RUN #10: M524V1 COMPLEX RUN FILE

IOP2 = 2 / # OF COMPS TO DISPLAY KRIGING WTS


IOP3 = 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH
IOP4 = 1 / 1=ONE GEOLOGIC MATCHING, 0=NO MATCHING
IOP7 = 1 / MIN # OF COMPS FOR INTERPOLATION
IOP11 = 23 / ROW # FOR DEBUG
IOP16 = 8 / MAX # COMPS TO USE FOR INTERP

IOP21 = 3 5 6 8 10 12 15 16 / ACCEPTABLE DH REF#S


IOP29 = 17 18 20 21 23 24 28 30 / ACCEPTABLE DH REF#S

PAR1 = 750 750 50 / X, Y, Z SEARCH DIST


PAR4 = 750 / LIMITING SEARCH DISTANCE
PAR7 = 750 / MAX DIST TO CLOSEST POINT

CMD = SEARCH 800 750 600 90 0 0


CMD = BLOCK LIMIT CODES 1 3 4
CMD = NUG 0.01
CMD = EXP 0.12 1600 1500 1200 0 0 0

ITM1 = M524 T-CU CALC KRIGE


ITM2 = M524 ROCK MATCH MODEL
ITM3 = M524 ROCK LIMIT
ITM4 = ROCK RANGE 1 4
ITM5 = LNGTH RANGE 5.0 50.0
ITM6 = SP.GR OMIT 2.5 5.0
ITM7 = REF# TABLE 21 36
ITM8 = M524 X-CU STORE KRIGE
ITM9 = M524 MAVG STORE ERROR

I-O = 2 / 2=LIST COMPOSITES


END
20 30 23 23 20 20

Revised: 14-August-14 Page 524-25


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

M524V1 SAMPLE RUN FILE #11


MEDS-524V1 10=msop10.dat 8=TORQ 3=rpt524.la 19=mstorq.inf; MSTorque access
MEDS-524V1 30=dat524.oa 32=dat524.csv 31=
** Point interpolation of CU composites **

USR = / Wed Jun 1, 2011 4:12:24 PM US Mountain Standard Time


IOP2 = 0 / Number of composites to display detail kriging weights
IOP3 = 1. / 1=3-D spherical search, 0=2-D search
IOP4 = 0 / 0=No geologic matching, 1=Match 1 item, 2=Match 2 items
IOP6 = 0 / 0=Use true dist.; 1=Use anisotropic dist.
IOP7 = 0 / Min # of composites for interpolation
IOP11 = 0 / Row # for extended output
IOP12 = 0 / 1=Do not use another point from same hole
IOP16 = 0 / Maximum # of composites for interpolating a block
IOP19 = 0 / Maximum # of composites per hole (DEFAULT=NO LIMIT)

PAR1 = 200. / Primary X-search distance


PAR2 = 200. / Primary Y-search distance
PAR3 = 0.1 / Primary Z-search distance
PAR4 = 200. / Limiting search distance
PAR7 = 0.0 / Max dist. to closest point (DEFAULT=PAR4)
PAR8 = 0.0 / Max dist. to project a single composite (DEFAULT=PAR7)
PAR13 = 0. 0. 0. 0. 0. / INV. DIST. POWERS

CMD = NUG 0.1


CMD = SPH GSLIB 0.9 500. 500. 500. 0. 0. 0.

ITM1 = M524 CU Calc krige

END
000000

Page 524-26 Revised: 14-August-14


MineSight is a registered
trademark of Leica Geosystems AG. M524V1-POINT VALIDATION FOR INTERPOLATION

HOW TO DEBUG AN M524V1 RUN


1. The program will list all the composites within the search window of each interpolated row if I-O=2 is specified in the
run file. The program will also list all the items in the composite file, the total number of points interpolated for each row,
and other debug information. This option is not suggested when interpolating the entire composite data.

2. If IOP2=n, the program will print the location of composites, the distance to the point, and the grades and weights for n
interpolated points.

3. If the ellipsoidal search is used, then the 3-D distance calculated between a composite and the block will be the adjusted
distance based on the anisotropy ratios. This is the distance that is printed on the output file when the debug option is on.

4. The difference between PAR7 and PAR8 is very subtle. PAR7 is tested at all times. PAR8 is tested only if the number of
composites to interpolate the point is equal to IOP7.

5. Five inverse powers are used by the program. By default these powers are: 1.0, 1.5, 2.0, 2.5 and 3.0. The higher the
inverse power, the more weight is given to the nearest sample.

6. Do not use composite item labels that conflict with keywords used by the program.

7. If youre using more than one ITM command, number them sequentially, without repetition.

8. Multiple Area Selection Lines are allowed. The program will interpolate the points specified in the first line, then will
interpolate the points specified in the second line and so on. The only exception is when ASCII input option is used and
the composite data follows the run file.

9. The maximum number of composites that the program can handle for a single row is 2000. If this number is exceeded
the program will print an error message and stop interpolating at that row. If this happens, first check if you can decrease
the X, Y or Z search distances used by the program. If you can, then try again starting from the row where the program
stopped and see if this will solve the problem. If it does not, try to specify fewer columns to interpolate by using multiple
Area Selection Lines.

10. The maximum number of composites that the program can handle for a single point is 1500. If this number is exceeded,
the program will give an error message and stop interpolating at that point. If this happens, try a similar approach as
explained in Step 9.

11. A separate output file can be obtained for use with M525TS if 30=filename appears in the Names Line. See M525TS
program documentation on how to further evaluate the point kriging results.

12. ** ERROR ON INTERPOLATION AREA CARD **

will appear if

a) the minimum column exceeds the maximum column


b) the minimum row exceeds the maximum row, or
c) the minimum bench exceeds the maximum bench

13. ** ITEM DEFINITION ERROR MSINL1 **


NO ITEMS HAVE BEEN SET UP TO BE STORED

will appear if you do not specify any ITMn lines that will store data in the model file.

14. *** MSINL1 ERROR: PAR xx NOT ENTERED

will appear if PAR1-4 are not entered.

Revised: 14-August-14 Page 524-27


MineSight is a registered
M524V1-POINT VALIDATION FOR INTEROLATION trademark of Leica Geosystems AG.

15. *** MSINLZ ERROR: MORE THAN 2 POLYG ITEMS

will appear if you specify more than two ITMn = CALC POLYG lines.

16. ** MSINLZ ERROR: MORE THAN 2 GEOL ITEMS

will appear if you specify more than two items for geology matching.

17. ** M524V1 WARNING. You can only check for duplicate points on blasthole projects. IOP21 is being reset to 0.

IOP21 is applicable to blasthole projects only. There is no need to check for duplicate composites on non-blasthole
projects. If you try to activate IOP21 for a non-blasthole project it will be reset to zero and the program will continue
normally.

18. There are 15 columns (fields) of information in the output file (30=) for M525TS. These columns are Ref. number,
Northing, Easting, Elev. (or Seam), Number of Points, Actual value, IDW estimates (5 different powers), Kriging
estimate, Kriging variance, the sum of the kriging weights X covariances, and the number from the previous column plus
the Lagrange Multiplier.

19. Also check the MineSight error messages in the Appendix.

Page 524-28 Revised: 14-August-14


MineSight
Proprietary Software: Mintec, inc. M525TS-INTERACTIVE EVALUATION OF PT VALIDATION

M525TS INTERACTIVE EVALUATION OF POINT VALIDATION

PROGRAM SUMMARY REQUIREMENTS AND CONSIDERATIONS


M525TS is used to evaluate point validation results from M525TS is used to evaluate point interpolation results from
M524V1. The program outputs a statistical analysis of the data M524V1. It can also be used to evaluate other ASCII data.
and histograms for specified items. It can also be used to analyze
any other file of assay or composite data. The output consists of statistical analysis of the input data and
histograms of the requested items. Either the items alone or the
PROGRAM FLOW DIAGRAM difference between any of the two can be evaluated.

RUN FILE: If two items are selected, the program generates the statistics
for these items and their differences. The program will try to fit
- Interactive keyboard entry
a straight line through the data, using least square regression, to
see how these two items are correlated. The correlation results
are then output..

Currently, up to eight different items and a maximum of 16,000


samples are allowed for input in a single run.

The program also has an option for a scatter graph on a printer


INPUT: CALCS: or plotter. A scatter graph can be useful to visually display how
two items, such as the actual and the estimated grade, compare
- ASCII file of samples - Simple statistical analysis
for statistical analysis - Histogram calculations with each other. If the printer option is used, then the number of
- Correlation between items samples at each interval is displayed by a number or letter symbol
- Least square regression on the graph. Because of the size of the characters in printer
output, the graph is rectangular instead of square. However, it
reasonably demonstrates how the samples are distributed and it
is good for a quick look at the results. A more accurate display
can be obtained using the scatter plot option where each sample
is plotted at its exact corresponding value. If this option is used,
OUTPUT: the scatter plot commands are output to a specified file for
plotting later with M122V1.
- M122 plot file
- Printer Output file

Revised: 29-May-01 Page 525-1


MineSight
M525TS-INTERACTIVE EVALUATION OF PT VALIDATION Proprietary Software: Mintec, inc.

Page 525-2 Revised: 29-May-01


MineSight
Proprietary Software: Mintec, inc. M525TS-INTERACTIVE EVALUATION OF PT VALIDATION

M525TS INTERACTIVE EVALUATION OF POINT VALIDATION

INTERACTIVE OPERATION
1. MEDS M525TS <ENTER> on the PC or m525ts <ENTER> on the Sun.

2. * ENTER PROJECT CONTROL FILE NAME

Enter the name of the Project Control File.

3. * ENTER PRINT FILE NAME OR <ENTER>

Enter a filename for printer output or <ENTER> if you want the default print file (FOR003.DAT on most computers).

4. ** PLEASE ENTER YOUR USER CODE:

Enter up to four characters for your initials:

5. ENTER INPUT FILE NAME:

Enter the name of the input file (normally this file is output from M524V1).

6. ENTER THE FORMAT ENCLOSED WITH ( ) OR <ENTER>

The default format is (37X, 7F8.0, F9.5).

<ENTER> if your input file is from M524V1; otherwise, enter the necessary format to read the data.

If you are using the default format, the program will go the Step 9; otherwise, it will go to Step 7.

7. ENTER # OF ITEMS FOR EVALUATION:

Enter the number of columns of information you want to read (max=8).

8. ENTER LABEL FOR ITEM# 1:

Enter the label of the first item to read(max = 10 characters). The label entered is for display only. It should describe the
column of information being read.

The program will repeat Step 8 as many times as the number of items entered at Step7, then it will go to Step 10.

9. ENTER THE VARIABLE LABEL AND OPTIONAL COLUMN WIDTH OR <ENTER>:

Enter the label of the composite data file item used in point kriging. This label is optional if one item is kriged; otherwise,
it must be specified so that the program will read the correct item. This label is also used for display in output; therefore,
it is recommended. If MSTorque attribute was kriged, you must enter a column width of 20. For file 9 items, column
width (5) is optional.

10. ENTER MIN AND MAX VALUES ACCEPTABLE FOR ITEM# 1 OR <ENTER>:

Enter the minimum and maximum values for the controlling item. Defaults are 0.0 and 99999.0.

NOTE: At this point, the program will display a table of the items used and summary statistics. Use the information in
this table as a guide to select histogram and scatter plot parameters.

Revised: 3-June-11 Page 525-3


MineSight
M525TS-INTERACTIVE EVALUATION OF PT VALIDATION Proprietary Software: Mintec, inc.

11. ENTER # TO EVALUATE A SINGLE ITEM


# # TO EVALUATE DIFFERENCE BETWEEN 2 ITEMS
<ENTER> TO END THE PROGRAM RUN:

Enter the selected item number(s). Each item number is displayed in the summary table on the screen.

12. ENTER # OF INTERVALS, STARTING VALUE AND INCREMENT


FOR HISTOGRAM OR <ENTER>:

Enter parameters for the histogram or <ENTER> for defaults.

Default values are as follows:

First histogram:

# of intervals = 15
starting value = 0.
the increment is computed

All other histograms, the previously assigned parameters are used.

NOTE: Maximum number of intervals allowed is 50.

If a single item was selected at Step 11, the program will output the histogram and go back to Step 11. Otherwise it will
go the following step.

13. SCATTER GRAPH OPTIONS:


0 OR <ENTER> SKIP IT
1 ON PRINTER
2 ON PLOTTER
3 BOTH PRINT AND PLOT

Enter your selection. The program will go to Step 11 if 0 or <ENTER> is entered.

14. ENTER MIN AND MAX VALUES FOR SCATTER GRAPH OR <ENTER>:

NOTE: If <ENTER> is entered, default values are used or values from previous graph are assigned.

Enter the minimum and maximum values for X and Y axes of the scatter graph. Suggestion: Try to enter (MAXMIN)
divisible by 5 for a reasonable looking plot. This question will appear only if you selected option 1 or 3 at Step 13. If
your option is 1, then the program will go to Step 11. Otherwise, it will go the next step.

15. ENTER MAX VALUE FOR SCATTER PLOT (M122) OR <ENTER>:

Enter the maximum value of the X and Y axes of the scatter plot. This question will appear only if your selection at Step
13 is 2 or 3. The program will go to Step 11 if an <ENTER> or a negative value is entered. Otherwise the program will
go to the next step.

16. ENTER PLOT FACTOR OR <ENTER>:

The default plot size is 5.0 X 5.0 for a factor of 1. <ENTER> to use a plot factor of 1. You may increase or reduce the
size of the plot by entering a factor other than 1.0

Page 525-4 Revised: 3-June-11


MineSight
Proprietary Software: Mintec, inc. M525TS-INTERACTIVE EVALUATION OF PT VALIDATION

17. ENTER OUTPUT PLOT FILE NAME OR <ENTER>:

Enter the name of the file to which scatter plot commands will be written. This file is an ASCII file and may be plotted by
M122V1 by using a USERF <filename> in the run file.

NOTE: If you <ENTER> instead of specifying a file name, the output is written to unit 30. The default filenames differ
depending on platform.

The program then returns to Step 11.

Revised: 3-June-11 Page 525-5


MineSight
M525TS-INTERACTIVE EVALUATION OF PT VALIDATION Proprietary Software: Mintec, inc.

M122V1 SAMPLE RUN FILE FOR SCATTER PLOT


MEDS122V1 10=SAMP10.DAT 3=RPT122.LA
* SAMPLE PROJECTSCATTER PLOT *

USR = ABC
MAP = 0 10 1 0 10 1
END
PEN #1
USERF PLT525.TST
ENDOC

HOW TO DEBUG AN M525TS RUN


1. There is no debug option in M525TS. The program will give the appropriate error messages or stop if the input is in
error. For example, if the input file entered during the program run does not exist, the program will give the appropriate
message and ask for the input filename again. Similarly, if the input format is wrong, the program will ask for the format
again. If the format is entered wrong several times, the program will stop with a format error message.

2. Check the MineSight error messages in the Appendix.

Page 525-6 Revised: 3-June-11


MineSight
Proprietary Software: Mintec, inc. TECHNICAL SECTION 500

CALCULATION OF COMPOSITES

Limiting Angle

Two types of fixed length composites can be calculated with M501V1: vertical and horizontal. The limiting angle controls which
method is used for a hole. By default, the limiting angle is:

Limiting Angle = ARCTAN (DZ/DX)


where
DZ = PCF Bench Height
DX =PCF E-W direction Block Size

NOTE: If you choose a non-default limiting angle in M501V1 (PAR4), then you must remember to include this
value in your M505V1 (PAR1) and M516V1 (PAR13) runfiles.

Vertical Composites

If the dip angle of a drillhole is greater than the limiting angle, a vertical composite is calculated. The vertical bench height (DZ) is
used as the control for compositing. The weight used in compositing is the calculated vertical length of each sample interval, not the
slope length of the interval.

Horizontal Composites

When the dip angle of a drillhole is less than the limiting angle, a horizontal composite is calculated. This prevents long vertical
composites being generated for near-horizontal drillholes. The E-W direction block size (DX) is used as the control for compositing.
The weight used in compositing is the calculated horizontal length of each sample interval, not the slope length of the interval.

Once the compositing calculation is begun with either the vertical or horizontal method, it will be used for the entire hole regardless
of subsequent surveys. There may be times when you will want to specify a limiting angle to prevent horizontal compositing of a few
holes that are close to, but less than the default angle. You should check for any holes that have surveys that are close to the limiting
angle and decide if they should be composited horizontally or vertically.

Revised: 8-November-01 Page TEC500-1


MineSight
TECHNICAL SECTION 500 Proprietary Software: Mintec, inc.

Note about using the DHID option in the composite file (File 9) without the survey file (File 12):

Starting with the 2001 update you can store drillhole labels with composites in files 9 and 8. To use this option, you must reserve two
full-word items in file9. By default, MineSight programs expect those items to be named DHID1 and DHID2, but you can name
them differently. These items are similar to DLAB1 and DLAB2 in the survey file (File 12). To initialize a full-word item enter min
= max = 0., and precision = 1.

NOTE: A 10-character drillhole ID is coded and packed into two words. The actual DH ID can be retrieved only programmatically,
and you must direct MineSight programs to retrieve DHID from file9. The option to use DHID from file9 directly was added to all
the relevant procedures.

Page TEC500-2 Revised: 8-November-01


MineSight
Proprietary Software: Mintec, inc. TECHNICAL SECTION 500

NOTES FOR M508V1 DRIVER PROGRAM

M508V1 calls the user routine USR508 as follows:

CALL USR508 (NTRY,IDHN), where

1. NTRY is an integer argument specifying entry control as follows: NTRY=1 for subroutine initialization. The call is
made after program initialization but before any drillhole data is accessed.

NTRY=2 for each drillhole interval within the current survey data unit. Interval data is subject to ITM restrictions as are
survey data units. Collar survey data units are also subject to boundary restrictions.

NTRY=3 for user calculations at the end of a survey data unit.

NTRY=4 for user calculations at the end of all survey data units for the current drillhole.

NTRY=5 for user calculations at the end of all drillholes (or end of run).

NTRY=6 same as NTRY=2 but in the optional second pass of the data. It follows an NTRY of 4 for each drillhole.

NTRY=7 same as NTRY=3 for the optional second pass.

NTRY=8 same as NTRY=4 for the optional second pass.

2. IDHN is an integer argument containing the current drillhole reference number. IDHN is zero for NTRY=l and
NTRY=5.

Revised: 6-September-06 Page TEC500-3


MineSight
TECHNICAL SECTION 500 Proprietary Software: Mintec, inc.

In addition to other system common blocks, the following common block data is available:

/BUF/B12(1024), B09(1024)

1. B12 is an array containing the File 12 record in which the current survey data unit is located. See the /USR/ common
block for information of addressing data units.

2. B09 is an array containing the File 9 record in which the current interval data unit is located. Most words in B12 are
accessible directly although you may have to equivalence a floating point array to avoid conversion problems. File 9
data is usually packed in array B09 so, unless you understand MineSight packing schemes, you are advised to keep
your paws off this array.

/USR/K09GET, L09GET, K09PAK, L09PAK, LOC09, J09, K09, L09, K12GET, L12GET,
K12PAK, L12PAK, LOC12, J12, K12, L12

1. K09GET is the integer subscript for information in the ITM common block for the first File 9 GET item. Arrays of
interest are ITM(3,99), RDAT(99) and IDAT(99).

2. L09GET is the subscript for the last File 9 GET item.

3. K09PAK is the subscript for the first File 9 PAK item.

4. L09PAK is the subscript for the last File 9 PAK item. If you use UPD09 in your run file, then GET subscripts will fall
within the range of the PUT subscripts.

5. LOC09 is the base subscript of the current interval data unit and is addressed by B09 (LOC09 + 1).

6. J09 is the current File 9 data unit number.

7. K09 is the first data unit number of interval data for the current survey data unit.

8. L09 is the last data unit number for the current survey data unit.

THE REMAINING INTEGERS ARE THE SAME AS ABOVE BUT APPLICABLE TO File 12.

Page TEC500-4 Revised: 8-November-01


MineSight
TECHNICAL SECTION 500 Proprietary Software: Mintec, inc.

Access to MSTorque
Composite Set Data

A number MineSight programs have access to MSTorque Composites. They include the m620-interpolation programs, m508rp,
m522v1, m523v1, m524v1, m617v1 and a number of programs based on the m508v1 driver (cldiff, gn508crd, gn508grd,
gn508tru, gncmpint, vvc508).

To indicate MSTorque data, on the names line specify 9=TORQ and also add the MSTorque information file, mstorq.inf. For
all programs except interpolation, m522v1 and m524v1, enter 20=mstorq.inf. For m522v1, m524v1 and the m620-interpolation
programs (m620v1/v2, m621v1, m624v1, etc), the torque information file should is entered as file 19: 19=mstorq.inf

Structure of mstorq.inf:

The MSTorque info file consists of following keywords:

version - 2.0.0.0

torquepath - The path to MSTorque.exe, usually %medexe%\MSTorque.

connection - This and project are used if you are using Windows authentication. If datasource occurs in this file, then
connection and project are ignored.

project - The MSTorque project name.

datasource - SQL authentication. If you have this keyword in the info file, then connection and project are ignored. Datasource
uses an .xml file - do not edit this file or try to prepare it by hand. The content is created by MSCompass when the MSTorque
database you are using is attached.

coverage - The Composite Set name.

type - The type of sample site. To access drillholes only use drillholes for the keyword value, for blastholes use blastholes, to
access other composite sample site types use other, and to get all types of composite sample sites use all. If the keyword type
is not present, all will be used by default.

Example:

version 2.0.0.0
torquepath d:\medexe7.50\mstorque
connection tucn-ws018\sqlexpress2008r2
project osamp_2.5
type drillholes
coverage formation

Specifying Attributes in Names and CMD lines:

You can use composite attributes in ITM/CMD and GET09/PUT09 lines.

Attributes that include blanks, apostrophes () and slashes (/) should be enclosed in quotes, e.g.

GET09 = My Name1 Date/Time

If an attribute contains quotes, enclose the name in apostrophes (single quotes).

Page TEC500-5 Revised: 24-May-13


MineSight
TECHNICAL SECTION 500 Proprietary Software: Mintec, inc.

Accessing additional data:

Use keywords to access:

Keyword Description
East Mid-Span Easting
North Mid-Span Northing
Elev. Mid-Span Elevation
From Depth to the composite start
To or -TO- Depth to the composite end
Length or LNGTH Composite interval Length along the hole
XTop Easting at the top of the interval span
YTop Northing at the top of the interval span
ZTop Elevation at the top of the interval span
XBot Easting at the bottom of the interval span
YBot Northing at the bottom of the interval span
ZBot Elevation at the bottom of the interval span
TotLen Composited length
TotWt Composited weight

Top and bottom coordinates are calculated on the fly when the data is loaded to an MSBasis program.

Note: The names above are treated as keywords by MSBasis programs to access corresponding data and should not be used as
attribute names .

Accessing Enumerated Sample Attributes:

Programs are enabled to retrieve Enumeration Codes for Sample Attributes which have Data Type Enumeration (see MSTorque
documentation for details), modify codes and write them back to MSTorque database.

Page TEC500-6 Revised: 16-July-12

You might also like