You are on page 1of 22

PatchScanningGenerator

PSG Scans Parts via Different Grids

User's Manual v2.0


Contents

1 Contents
1 Contents........................................................................... 2
2 Introduction ..................................................................... 4
3 Structure of the PSG Window ........................................ 5
3.1 MENU BAR ................................................................................................ 5
3.2 TOOLBAR .................................................................................................. 5
3.3 GRAPHICS WINDOW................................................................................... 5
3.4 TABLE ....................................................................................................... 6
3.5 STATUS LINE ............................................................................................. 6
4 Pointer and Context Sensitive Menus ........................... 7
4.1 MOUSE POINTER: OVERVIEW ..................................................................... 7
4.2 STANDARD MOUSE POINTER ...................................................................... 7
4.3 SHIFT MOUSE POINTER ............................................................................. 7
4.4 DRAG MOUSE POINTER ............................................................................. 8
4.5 ZOOM MOUSE POINTER ............................................................................. 8
5 Create a New Patch ......................................................... 9
5.1 PATCHES: OVERVIEW ................................................................................ 9
5.2 DEFINITION VIA A CONTOUR ....................................................................... 9
5.3 DEFINITION VIA CIRCLE .............................................................................. 9
5.4 DEFINITION VIA RECTANGLE ..................................................................... 10
5.5 DEFINITION VIA SEGMENT OF A CIRCLE..................................................... 10
5.6 DRIVE AND MEASUREMENT CONDITIONS .................................................. 10
5.7 PATCH SETTING ...................................................................................... 11
5.8 DELETE GRID .......................................................................................... 12
6 Grid Parameters ............................................................ 13
6.1 SETTING OF GRID PARAMETERS............................................................... 13
6.2 GRID DIRECTION (SCANNING IN PLANES).................................................. 13
6.3 GRID DIRECTION (RADIAL SCANNING) ...................................................... 14
6.4 FEED....................................................................................................... 14
7 CNC Parameter .............................................................. 15
7.1 DIALOGUE ............................................................................................... 15
7.2 SCANNING PARAMETERS ......................................................................... 15
7.3 CONTOUR START POSITION ..................................................................... 16
7.4 CIRCLE, RECTANGLE, SEGMENT OF A CIRCLE START POSITION ................ 16
8 Views .............................................................................. 17
8.1 OVERVIEW .............................................................................................. 17

2 v2.0 20.03.2002
Contents

8.2 DETAILS OFF.......................................................................................... 18


8.3 DETAILED INFORMATION .......................................................................... 19
8.4 VIEWS OF PLANES ................................................................................... 19
9 Further Symbols and Functions .................................. 20
9.1 UNDO / REDO / DELETE ........................................................................... 20
9.2 ZOOM ..................................................................................................... 20
9.3 MILLIMETRE OR INCH ............................................................................... 20
9.4 GRID OF CO-ORDINATE SYSTEM .............................................................. 20
9.5 DISPLAY/RESET VIEW.............................................................................. 20
9.6 DECIMALS ............................................................................................... 21
9.7 OUTPUT .................................................................................................. 21
9.8 COPY/PASTE ........................................................................................... 21
9.9 SAVE/SAVE AS ........................................................................................ 22

20.03.2002 v2.0 3
Introduction

2 Introduction
When digitalizing an unknown part, it may be necessary to scan the part in small
intervals. To do so, you would have to program many single scan lines. The
Patch Scanning Generator is doing that for you. The PSG generates a part
program in a way that the part will be scanned within one or several ranges
(patches). This is done via different grids, of which you also determine the
parameters in the PSG. You can also overlap single patches.

The basic process is as follows:


You create a part in the PartManager.
Via the menu bar / CMM and the functions, you call the PSG.
In the PSG, you define the ranges, in which you want to digitalize
(see details of "Create New Patch") and determine the scan lines.
After having finished these actions, you create a sub-program for
GEOPAK-Win via the "Output / Part Program GEOPAK-Win" toolbar.

A part-orientated sub-program will be created, which you can


call in GEOPAK-Win either via the icon or the "Program / Sub-
program" menu bar (for further details, cf. "Sub-Programs").
The name of the sub-program is composed of the actual date and
time. You can also change it in the CNC parameters (see details of
"CNC-Parameters")
When executing the sub-program, you create one or several
contours, which you can save via the "Output / Save Contur" menu
bar.

4 v2.0 20.03.2002
Structure of the PSG Window

3 Structure of the PSG Window


The structure of the PSG window is according to Windows conventions, indeed
with some extra features that Mitutoyo user-friendly arranged.
The PSG window is divided in
Menu Bar
Toolbar
Graphics Window
Table and the
Status Line.

3.1 Menu Bar


Below the headline, you find the menu bar with the following menus
file
output
edit
view
By clicking on the menus, you have a series of functions at your disposal that we
will explain in this documentation.

3.2 Toolbar
The toolbar is distinguished by definite graphics in connection with bubble help.
The icons will be detailed in the status line at the bottom of the window.

3.3 Graphics Window


The graphics window of this program is an action window. Here, you will not
only see, but determine e.g. the segments, which you want to digitalize. A
multifunction mouse pointer (see details of "Mouse Pointer: Overviewt") is
connected with the actual context-dependent menus (right mouse button).
The graphics window can be vertically or horizontally increased or reduced
(Windows conventions). The graphical representation will correspondingly be
zoomed in/out.

20.03.2002 v2.0 5
Structure of the PSG Window

3.4 Table
In the table you can see in numerical values what you have realized in the
graphics window. But you can also edit in this table by double-clicking in the line.
enter other values, e.g. for the pitch or
a dialogue window will get opened. If you click, e.g. on a line under
the "Start Position", the "Start Point Driving Strategy" (also see
"Scanning Parameters") dialogue window will be displayed.
Furthermore, by clicking on a title in the headline of the table, you sort the entries
in the column according to Windows conventions. In the column caption, you can
see by a negative or a positive sign preceding the text whether sorting has been
done decreasing or increasing.

3.5 Status Line


The status line at the bottom margin of the window has a special signification in
this program. On one hand, you get additional explaining information (“Upper
right corner of the rectangle”). On the other hand, it is possible that you will be
prompted to do something. You read, e.g. „Please select ...“ if you have to
decide for an end point or an axis value.

6 v2.0 20.03.2002
Pointer and Context Sensitive Menus

4 Pointer and Context Sensitive Menus


4.1 Mouse Pointer: Overview
When working with the PSG, you have to do with different mouse pointers in the
graphics window. The mouse pointers will adapt according to your task.
Depending on the position of your mouse pointer, you will get a context sensitive
menu.
We distinguish
Standard Mouse Pointer
Shift Mouse Pointer
Drag Mouse Pointer and
Zoom Mouse Pointer

4.2 Standard Mouse Pointer

You work with a standard mouse pointer if you want to move it outside
the graphical representation. If you click on the right mouse button, you will get a
menu (see picture below) with a series of functions with reference to the whole
working surface.

4.3 Shift Mouse Pointer

This is what looks like the shift mouse pointer if you move it within a
patch (circle, rectangle or segment of circle (pie); for a contour, you can see this
symbol without arrows; this means, that it is not possible to shift the contour. If
you click the right mouse button, a menu appears with a listing of the above-
mentioned functions as well as all patches that overlap just at this position (see
picture below). You will get additional functions, which only refer to one patch if
you pass the mouse pointer in the dialogue over the designation of the patch.
This can be e.g. „Create Grid“.

If you press the left mouse


button, you may – except
for the contour – shift the
patch (shift function).

20.03.2002 v2.0 7
Pointer and Context Sensitive Menus

4.4 Drag Mouse Pointer

If you want to digitalize a detail of your part or the whole part, select a
combination out of a contour, a circle, a rectangle or a segment of a circle (see in
addition details under "Create a New Patch"). At each one of the geometric
figures, you recognize green rectangular drag points, making possible to scale
the figures according to Windows conventions. If you pass the mouse pointer to
one of these points (see picture below; patch of a segment of a circle), the
mouse pointer changes to the symbol on the left.

Hint
You can only see the green drag points if you create a new patch or
if you select a single patch.
If you click on the right mouse button, you will get a context-
dependent menu, as already described above.

4.5 Zoom Mouse Pointer

The mouse pointer changes to the symbol (see picture on the left) if you
click in the toolbar on the zoom symbol or if you pass via the “View / Zoom out
(Zoom in) View” menu bar. You increase with the left mouse button; you reduce
with the right mouse button.

8 v2.0 20.03.2002
Create a New Patch

5 Create a New Patch


5.1 Patches: Overview

To create a new patch, click on one of the icons. You can


limit a patch through a (in the picture from left to right)
Contour,
Circle,
Rectangular or a
Segment of a Circle.

5.2 Definition via a Contour


If you want to scan the patch of a part having an irregular form, you can proceed
as follows:
Scan the contour of the zone that you want to digitalize either
manually or in CNC mode of GEOPAK-Win.
Save the contour as GWS file (see details of "Save Contour").

Then, you can load this contour in the PSG (either via the symbol or via
the menu bar „Edit / Load Contour“). If necessary, you still can modify the
contour via the table.
Shift in X or Y. You double-click on the corresponding column (X1 or
Y1) and enter the value. You confirm.
Probe Radius Compensation Enter the value in the A1/D/R/X2
column. You confirm.

If you load a contour without probing direction, first you will get a
window with the hint: "No Probing Direction. Please Select". You
must select between the probing direction “from outside to
inside” or “from inside to outside”.

5.3 Definition via Circle

You either click on the symbol (see above) or take the way via the "Edit /
New Circle" menu bar.
The program shows a circle. You can immediately edit this circle. With the drag
points, you can zoom out or zoom in the circle. If you move the mouse pointer
while pressing the left mouse button within the circle, you shift the circle in the
co-ordinate system.
You can see the circle with its numerical values in the table. After double-clicking
in the cells, you can also change the values via the keyboard.

20.03.2002 v2.0 9
Create a New Patch

5.4 Definition via Rectangle

You either click on the symbol or take the way via the "Edit / New
Rectangle" menu bar.
The program shows a rectangle. You can immediately edit this rectangle. With
the drag points, you can reduce or increase the rectangle. If you move the
mouse pointer while pressing the left mouse button within the rectangle, you shift
the rectangle in the co-ordinate system.
You can see the rectangle with its numerical values in the table. After double-
clicking in the cells, you can also change the values via the keyboard.

5.5 Definition via Segment of a Circle

You either click on the symbol or take the way via the "Edit / New
Segment of a Circle" menu bar.
The program shows a segment of a circle. You can immediately edit this
segment of a circle. With the drag points on the outer circle you increase and
reduce the outer dimensions with the drag points on the inner circle, you can
change this one. With the drag points between the circles, you change the sector
of dial of the segment of the circle.

5.6 Drive and Measurement Conditions


If you produced the patches, you can determine the drive and measurement
conditions for each patch. In the picture below, you see (from the left) a radial
scan (segment of a circle), a scan in the ZX plane (contour) and a scan
(rectangle) also in the ZX plane, but with a much smaller "Feed" (see in addition
details of "Setting of Grid Parameters").

10 v2.0 20.03.2002
Create a New Patch

To define the grid (multitude of scan lines) within a patch, you have two
possibilities:

Selection in the Graphic


With the mouse pointer, you point the patch and click the right
mouse button.
In the following menu, you point the mouse pointer on the label of
the patch, for which you want to produce the grid.
In the next menu, you click on "Create Grid".

Selection in the Table


You click in the "Grid" column on the cell related to the patch.
You set the parameters in the following dialogue window (see in
addition details of "Setting of Grid Parameters".

5.7 Patch Setting


The patch setting depends on your part and, which range of the part you want to
digitalize. As described under the subject "Create a New Patch",
you can select between four types of patch.
You can randomly combine the patches.
You also can overlap single patches.

Realize a scan
The scan begins at the border of the patch for that you have actuated the "Select
Grid” function. If the scan touches the border of another patch, it is interrupted
and is again continued where appropriate behind the other border of the patch
(see picture below; here the grid has been generated for the contour).

20.03.2002 v2.0 11
Create a New Patch

If you want to exchange the two ranges, you pass the mouse pointer on the
patch and click via the right mouse button on "Invert Grid" (see picture below).

Hint
Note that the inverted grid still concerns the inverted grid of the contour and not
of the rectangle.

5.8 Delete Grid


If you want to delete the grid, you pass the mouse pointer on the grid, click the
right mouse button, point the related patch and click in the following menu on the
function. Or double-click on the cell of the table (line of the patch / "Grid" column)
and click in the following dialogue (set grid parameters) on "Delete Grid”.

12 v2.0 20.03.2002
Grid Parameters

6 Grid Parameters
6.1 Setting of Grid Parameters
If you have created a grid for the selected patch, you see in addition to the grid
progression, the start point (red S), the end point (red E) and the arrow tips
indicating the scan direction. The red line in the middle of the scan lines marks
the sequence of the scans and therewith the direction of the feed.

You activate the "Setting of Grid Parameters" dialogue with a double-click on the
cell in the table (line of the patch / "Grid" column. The dialogue is divided in the
two blocks
Grid direction and
scanning plane. In this box, you decide for the
„Delete Grid“ or for the
Planes YZ, ZX and RZ (radial).
We distinguish the grid direction according to
the "Scanning in Planes" und
the "Radial Scanning".
If you want to determine the distance of the scan lines from each other, you can
do that via the "Feed".

6.2 Grid Direction (Scanning in Planes)


Invert This chapter is described in details under "Patch
Settings".

Reverse Start and end point change the sides of the


patch. The direction is still the same. But the
direction of the feed will be changed.

Set Start and With this function, you set the start and end point
End Point in their positions.

Unidirectional You scan in only one direction in opposition with


the default setting (forward and backward).

Hint
• The "Reverse" and "Change Start-End" functions can be
combined with each other. For the patches of contour, circle
and rectangle, start and end point can be positioned at any of
the four corners (see picture below).
• The position of the end point depends on how many scans
you have (even or odd number, and if to the right or to the left
and/or top or bottom).

20.03.2002 v2.0 13
Grid Parameters

4 3

2
1

• If you have for example clicked on the "Reverse" button in a


setting before, the hook can still be seen in the button. If your
want to "Reverse“ once again, click off the hook and confirm.
This procedure applies to the other functions in this dialogue
in similar fashion.

6.3 Grid Direction (Radial Scanning)


For "Invert and "Unidirectional" see "Grid Direction (Scanning in Planes )".

Reverse The scan direction is still the same. Only the


direction of the feed is changed. The position of
the end point depends on how many scans you
have (even or odd number, and if external or
internal).
Change You change the scan direction. The direction of
Start/End the feed is still the same. Also here, the position
Point of the end point is decisive for the number of the
scans (even or odd, that means internal or
external).

Hint
Like in the "Scanning in Planes" you can also combine the "Reverse" and "Start-
End" functions in the radial scanning.

6.4 Feed
In the table, this means in the column under the "Feed" heading, you input the
offset with a double click into the cell of the patch. This offset (feed) marks the
distance of a scan line to the next one.

Via the symbol, you determine whether you work in millimetre or inch
mode.
At the radial scanning, you input with your numerical value the angle in degree of
one scan line to the next.

14 v2.0 20.03.2002
CNC Parameter

7 CNC Parameter
7.1 Dialogue

You set or change the CNC parameters in the corresponding dialogue.


This is displayed either via the icon or via the "Output / Set CNC Parameters"
menu bar. At the first start of the PSG, the dialogue is automatically called for a
part as soon as you define the first patch.

The dialogue box is self-explaining to a large extent. Here, you set the
parameters you know out of GEOPAK-Win.
Safety Height: You drive to this safety height like in
GEOPAK-Win before and after each patch.
Safety Distance: In addition to the safety distance that is kept
during the Touch-Trigger-Scanning within a line, you can define a
larger safety distance for the start point of each scan line (see
details under "CNC Scanning: Auto. Measurement ON").
Hint
You can give a name of your choice to the GEOPAK-Win sub-program if date
and time are not sufficient.

7.2 Scanning Parameters


You know the parameters as well as the pitch and scanning plane out of
GEOPAK-Win.

You input the scanning parameters for each patch in the table of the PSG by
double-clicking on the respective column.

Start Position: Basically, in the PSG, the start position will be automatically
determined. Some modalities can be user-specific changed (double click into the
corresponding cell under the "Start Position" heading). You get the "Start Point
Driving Strategy" dialogue.
You must differentiate between the
Contour Start Position and the
Circle, Rectangle, Segment of a Circle Start Position

End Condition
Essentially, the end condition is predefined by the edges of the patches.
Consequently, with a circle, rectangle and segment of a circle, only the axis
values are concerned.
In the contour, you can change between axis value and end point by double-
clicking on the corresponding cell under the "End Condition" heading.

20.03.2002 v2.0 15
CNC Parameter

7.3 Contour Start Position


In the contour, you can determine in the "Start Point Driving Strategy" dialogue
whether you want directly drive to the first point of this contour or …
whether the CMM first drives to the safety height before driving to the
start position.
If you select the safety height, you can see the actual value. If you want to have
another value, you can change it in the "CNC-Parameters" dialogue.
On principle, you can always decide whether you probe from the top (-Z) or from
the bottom (+Z). If you want to probe in the contour plane (X/Y/Z), you must
select the "Start Point" driving strategy.

7.4 Circle, Rectangle, Segment of a Circle Start Position


The start point of each scan basically is probed in Z-direction. But you also can
decide (see picture below) ...
whether you drive from one scan to the next one via the safety plane
or …
change the start point by a fixed value compared with the end of the
preceding scan (“Offset in Z”).

With the "Safety Height" (left, but not displayed in scale), you have by far the
longer driving way compared with the “Z-Offset”. The offset selection
signifies an enormous saving of time for you.

Hint
If you select the safety height, you can see the actual value. If you want to
have another value, you can change it in the "CNC-Parameter" dialogue.
On principle, you can always decide whether you probe from the top (-Z)
or from the bottom (+Z).

16 v2.0 20.03.2002
Views

8 Views
8.1 Overview
You control the views via a total of six icons (also see "Views of Planes", which
correspond with each other.

Via the "Details" icon (in the picture to the left), you determine
whether you want a display of the scanning lines (centre of the picture) and/or of
the driving ways (in the picture to the right). In the picture below (3D view), the
three options are activated.

Hints
• You can only activate the "Scanning Lines" and "Driving
Ways" options if you have clicked on the“ Details" icon.
• The "Scanning Lines" and/or "Driving Ways" icons will
mutually turn on/off themselves in alternation.
• To get activated both icons "Scanning Lines" and "Driving
Ways", first you click on the "Scanning Lines" and then on the
"Driving Ways". But it is also possible to first activate the
"Driving Ways" and then click on the "Scanning Lines" icon.

20.03.2002 v2.0 17
Views

8.2 Details OFF


When you have a very small feed (for example 0.1 mm), you will hardly
recognize something on your screen because of the many scanning lines (see
picture below, the example of the cut-out of a contour).

This is why Mitutoyo proposes a rougher representation. You click off the
"Details" via the icon; however, you are informed about the characteristics (see
picture below). The two options "Scanning Lines" and "Driving Ways" will be
automatically deactivated.

18 v2.0 20.03.2002
Views

8.3 Detailed Information


You can get exact information for example via the real number of the scans as
follows:
You navigate with the mouse over the scan and ...
click the right mouse button.
In the following menu, you pass the mouse pointer over the patch
name and …
in the following second menu, you click on "Info.".
In the following info. window, you will be informed about the
Number of the scans
estimated number of meas. points
estimated time of digitizing (touch trigger probe)
estimated time of digitizing (SP600, MPP)

If you combine these possibilities with the 2D and 3D views (see in addition
details of "Views of Planes"), it is possible to exactly select the representation
that you need for your task.

8.4 Views of Planes

You can select between the two 2D views Y/X and X/Y as well
as the 3D view Z/Y/X (see picture below).

If you combine these possibilities with the “Details” (see in addition details of
"Views"), it is possible to exactly select the representation that you need for your
task.

20.03.2002 v2.0 19
Further Symbols and Functions

9 Further Symbols and Functions


9.1 Undo / Redo / Delete

You know the "Undo" and "Redo" functions of the Windows


conventions. While you make only one step via the two icons to the left (back or
again forward), you "Delete" all selected patches with the icon to the right.

9.2 Zoom

Via the zoom icon, you control the size of the representation on the
screen.
Left mouse button: Zoom in
Right mouse button: Zoom out.

9.3 Millimetre or Inch

By clicking on the icon, you determine the unit of measurement. You can
take the information of the unit, in which you measure out of the graphics
window.

9.4 Grid of Co-Ordinate System

By clicking on the icon, you activate or deactivate the grid of the co-
ordinate system for the Y/X or X/Y representation, either in Millimetre or Inch.

9.5 Display/Reset View

If you have used the zoom function, you reset the display into the initial
view by clicking on this icon. With this click, also the mouse pointer has no more
zoom function.

Furthermore:
If you use this function, without wanting to turn off especially the
zoom function, set back the "Display / View" by one operation. You
reset for example the "View of the Driving Ways" or the change of the
"View of Planes".
To come over to this, you can also take the way via the "View / Reset
View " menu bar.

20 v2.0 20.03.2002
Further Symbols and Functions

9.6 Decimals
You can increase from one to three the decimals of all digital displays in the PSG
table. To do so, click on "View / More Decimals" in the menu bar.

9.7 Output
If you have generated your GEOPAK-Win sub-program in the PSG and want to
output it there, click in the menu bar on "Output / GEOPAK-Win Sub-Program".
If you have not selected all patches, you get a warning message,
informing you about this situation: "Not All Patches Selected".
You must decide whether, anyway, you want to output a sub-program
or first select all patches.
If you confirm, another window with the heading "No. of Contour" will
be displayed. The patch no. will be automatically entered. You enter
the no. of the contour.

9.8 Copy/Paste
You use the functions for example if you want to use a patch once again at
another place. If you copy, the patch will be placed on the clipboard. It can be
inserted from there in a totally new scanning project.

You get the functions


if you place the mouse pointer on a patch,
by clicking the right mouse button and …
in the following menu with the left mouse button on the "Copy"
function (you can also select the way via the menu bar and "Edit /
Copy" and/or "Edit / Paste").
Again via the right mouse button and the following menu, you can
"Paste" the patch.
The copy overlaps the origin patch. You will notice that when shifting
the top patch (see in addition the picture below and details of
"Mouse Pointer and Context-Dependent Menus").

20.03.2002 v2.0 21
Further Symbols and Functions

If you copy a contour, you should note that it is not possible to shift a
contour. Copy and origin patch are unmovably placed one upon the
other. Nevertheless, it makes sense to copy a contour if you want to
use the copy for example in another scanning project.

9.9 Save/Save as
When you select "Save" and/or "Save as", you proceed in the dialogue boxes
according to Windows conventions.
Activate this function via the menu bar and the "File" menu.
This means, that you store an already available file or give, if
possible, a "Signifying" name to a new file.
All data of the PSG session will be stored. The objective is that you
can open the scanning project in the next session again with exactly
the data, with which you left it.
You store the .scp file. The file extension "scp" means
"ScanningPatch".

22 v2.0 20.03.2002

You might also like