Flexible Reporting: User'S Manual For Using The Protocoldesigner in Geopak and Cat1000S
Flexible Reporting: User'S Manual For Using The Protocoldesigner in Geopak and Cat1000S
Flexible Reporting: User'S Manual For Using The Protocoldesigner in Geopak and Cat1000S
Table of Contents
1-2 19.09.2005
Creating or Adapting a Template
19.09.2005 1-3
Creating or Adapting a Template
1-4 19.09.2005
Creating or Adapting a Template
The procedure for creating a protocol is the same for both GEOPAK and
CAT1000S. The only difference is that the GEOPAK as well as CAT1000S have
their own variables and fields that cannot be printed by the respective other
program. In these instructions, we separately indicate if certain variables or fields
will not be supported by a program.
19.09.2005 1-5
Existing Variables and their Description
In the “List of Variables“ window, you will find the special characters for the
statistical values in the Variables folder. You will find the special characters for
the list values in the Fields folder.
The use of these variables is problem-free because these variables are available
in all programs. I.e., these variables are available in GEOPAK as well as in
CAT1000S.
When defining the head data, you will have to enter the following values in the
“New Entry” dialogue.
Abbreviation Headlnp
ID Headlnp
2-6 19.09.2005
Existing Variables and their Description
In the “List of Variables”, you will find the head data input with the name you
entered in the “ID” input (e.g. Headlnp).
By default, you will be proposed what you entered under “Abbreviation”. If you
enter now “Input” in the head data input,
Headdata.HeadInp.Abbreviation HeadInp
Headdata.HeadInp.Contents Input
A particularity at head data is that you can insert the head data once via the ID
and on the other hand via the field no. in the layout. If you insert head data via
the field no., dependence will only be relative to the number of the defined head
data. So it is possible to create quite simple layouts, which can be printed on
almost every PC.
Since the head data are flexible, you may have problems when deleting the
defined head data because these are still defined in the layouts. You may also
have problems when passing on layouts.
Or use instead of the head data a dialogue for layout (see also
"Variables for the layout").
19.09.2005 2-7
Existing Variables and their Description
2.1.3 Sublot
For the sublot, the same is valid as for the head data but the difference is that it is
possible to only enter the sublot via a field no. in the layout.
Under “Name” in the variables, you will find the designation that has
also been displayed for the corresponding input element in the
dialogue.
Under “Contents” in the variables, you will find the contents that you
have entered in the dialogue.
2-8 19.09.2005
Existing Variables and their Description
19.09.2005 2-9
Existing Variables and their Description
2-10 19.09.2005
Layout of the Mitutoyo Standard Report
All you insert in the basis layer, will be printed on all pages. The basis layer is
used for e.g. the page numbers. Many protocols consist of a first side and the
following sides. These vary by a different design. On the first side, the protocol
head is, for the most part, more extensive. On the following pages, there are
mostly stored additionally measurement data.
Proceed as follows
The individual layers can be enabled and disabled via the layer
window.
This may not happen if you first select the frame for the variable and
then insert per drag&drop the variable you want (this problem shall
become resolved in the next versions).
For this example, we use the variables and fields of GEOPAK, whereby the
method of working for both GEOPAK and CAT1000S are basically the same.
19.09.2005 3-11
Layout of the Mitutoyo Standard Report
3-12 19.09.2005
Layout of the Mitutoyo Standard Report
After that, insert a text frame where the number of the page must be placed. For
this, select from the toolbar the “Text/Variable Contents” button, click on “Aa”,
and create a frame by pressing the left mouse button.
If you have inserted the text frame, double-click on the text field. The „“Text
Properties“ dialogue is opened where you can set all concerning the text field. In
the helps to the ProtocolDesigner you see the details of what can be set (see
chapter 5.3 „InsertText Object“ in the ProtocolDesigner description).
19.09.2005 3-13
Layout of the Mitutoyo Standard Report
In order to realize your entries in the “Text Properties” dialogue, you first have to
double-click on the selected line. Now, the dialogue for the settings of the line in
the text frame is opened.
Here, you enter the following text (see also picture above):
"- Page "+Atrim$(str$(Page(),20))+" -"
Hint
What you see in inverted commas is a text (blue). The Page() variable
contains the number of the page. With the str$() function, out the number
of the page, a text is created. With the Atrim$() function, all zero positions
will be removed from the text. With a positive sign, the formatted number
of the page will then be linked to a text.
Ö Click on “Ok“.
Both dialogues will be closed.
The text frame on the basis page must be positioned in a way that
the number of the page will be in the corner top right according to
the Mitutoyo standard sample:
3-14 19.09.2005
Layout of the Mitutoyo Standard Report
Then, you certainly want to insert the protocol head with the picture.
Ö To insert a picture, first you have to select the “Picture” button in the
toolbar and …
Proceed as follows
Ö If you have created a picture frame, leave the frame selected.
In the window for characteristics you can perform all the settings for
the drawing.
In the user’s manual of the ProtocolDesigner, you will find details for the settings
(see chapter 5.7 „Insert Graphic Object“ in ProtocolDesigner description).
19.09.2005 3-15
Layout of the Mitutoyo Standard Report
Generally, you have three possibilities to load a picture in the layout. The first one
is the simplest and probably the most commonly used.
You select a picture, which is stored on the harddisk.
If you want to load a picture in the layout via a formula, follow the
steps of the user’s manual for the ProtocolDesigner. But, you will
also find in this description an example how you can use the formula
function.
Under the variables, you will find the views that have been defined
in the program. For GEOPAK and CAT1000S, these are the views
from the variables.
Hints
The “Keep Proportions“ setting should always be enabled because
otherwise the loaded picture will be distorted in the layout.
Since, in this example, we only need a logo for the layout, we select a
bitmap stored on the harddisk. On principle, you should pay attention that
if you use a picture out of a file, this exists in the "..COSMOS\Layout"
directory. So you make sure that the used pictures reside in the same
directory as the layouts.
3-16 19.09.2005
Layout of the Mitutoyo Standard Report
For the protocol head, you insert the necessary head data in the protocol. The
procedure is also valid for the other variables.
First, you build two text frames that you class among themselves. For the
positioning, you have different tools (besides the arrow in the picture below) at
disposal (see chapter 5.16 "Arrange" in ProtocolDesigner description).
19.09.2005 3-17
Layout of the Mitutoyo Standard Report
Ö drag per drag&drop the name in the upper text frame and …
First, you select the corresponding button and drag the frame for the
table (picture below).
You should build the frame in a way that, later on, it will be possible
to fit the table in the frame and it is not necessary to rework.
3-18 19.09.2005
Layout of the Mitutoyo Standard Report
In the dialogue, several “Pop Up Menus” are proposed. But, we will only work
with the headline and the data line. For information about the other index cards,
see the user’s manual for the ProtocolDesigner (chapter 5.9 „Insert Table
Object“).
On principle, you dispose of several lines for the headline and the data line. To
begin, we only will use one line for the header of the table.
19.09.2005 3-19
Layout of the Mitutoyo Standard Report
3.4.3 Headline
By double-clicking on the selected line, the dialogue is opened to edit the data
line.
"L.No"
3-20 19.09.2005
Layout of the Mitutoyo Standard Report
Ö In the dialogue in which the lines are defined you have to insert a
measurement value field. For this, you can drag per drag&drop the
field from the "Variables and Functions" list in the edit field.
2. Keyboard Input
But you also can enter the fields via the keyboard.
If you enter only one letter, a list with proposal fields is opened.
The more you enter in this list, the more it will be delimited.
If you have entered e.g. “Tol.”, only the tolerance comparisons will
be represented in the list.
3. List of Variables
As a third possibility, you can directly insert the data per drag&drop from the list
of variables (for this, see the user’s manual for the ProtocolDesigner, chapter
1.1.9 „Plane Window“).
19.09.2005 3-21
Layout of the Mitutoyo Standard Report
3-22 19.09.2005
Layout of the Mitutoyo Standard Report
Explanation
Here, we have to do with a simple If-condition. The InfType variable
returns "Txt" or "Tol" depending on whether a text or a tolerance
comparison exists. In case that InfType is equal to "Txt", the line must be
printed. Then, the return value of the condition must be "T." . The "T."
stands for True and "F." for False.
For the line of the tolerance comparison, you still have to enter the following If-
condition in the Appearance Conditions:
if(InfType="Tol",.T.,.F.)
Hint
When entering the text line, you should care that the width for the text line
will be sufficient for writing the text.
19.09.2005 3-23
Layout of the Mitutoyo Standard Report
"OK","OOC" or "OOC"
(see chart below).
Return Value
TolStatus TolUpperStatus TolLowerStatus
OK OK OK
For a coloured output, you still have to insert, as for the text, two further lines in
the table. The format of the new line will be taken over from the tolerance
comparison (see above).
For this table, you have to define several lines. You can do that via the list from
the dialogue (see picture below).
3-24 19.09.2005
Layout of the Mitutoyo Standard Report
In the font definition dialogue, you change the font colour in blue. You do the
same with the third line; this means for the tolerance comparisons, which are out
of tolerance limits. Here, you change the font colour in red.
Appearance Condition
Hint
The InfType="Tol" and TolState conditions are linked with AND And -. I.e.
only if the two conditions are true, the line will be printed.
For the layer of the following pages, you select and copy the elements that you
need from the first side and insert them on the following sides.
19.09.2005 3-25
Output: Tolerance Comparison with 3 Lines
Variable Description
Nominal1-3 Nominal value for X,Y and Z (1 = X, 2 = Y and 3 = Z)
Actual1-3 Actual value for X,Y and Z
CrdLbl1-3 Designation of the reference co-ordinates for X, Y and Z
LowerTol1 Since the lower tolerance limit must not be output in some instances, this
additional variable exists.
TolBar1 For some tolerance comparisons, only a one sided bar chart must be
output.
RefNo1 The number of the reference element must only be output in some
instances.
RefName1-2 Name of the reference element (reference e.g. parallelism). This name
will only be output in some instances, too.
Here, the Mitutoyo standard layout is used for information. The variables in bold
face printing are special variables out of the list.
ProgLine ElenNo TolLbl ElemName CrdLbl1 Nominal1 UpperTol Actual1 Deviation OutOfSpec
By this table functionality, the 2nd and 3rd line will only be printed in case of need.
The appearance conditions are the same for the three lines. An example for such
a table could be as follows:
4-26 19.09.2005
Layout with Pictures
The picture of the part changes according to the selected part. Furthermore, a
picture is displayed in the table to see whether the tolerance comparison is good
(green) or bad (red).
19.09.2005 5-27
Layout with Pictures
The example is realized for four part programs. The part names are Part_1 to
Part_4. For each of these parts exists a picture which, depending on the part
name, will be loaded into the drawing frame. The formula looks like follows:
if(General.PartName.Contents="Part_1",Drawing ("Part_1.bmp"),
if(General.PartName.Contents="Part_2",Drawing ("Part_2.bmp"),
if(General.PartName.Contents="Part_3",Drawing ("Part_3.bmp"),
if(General.PartName.Contents="Part_4",Drawing ("Part_4.bmp"),
Drawing ("Mega Frank.jpg")))))
Explanation
In this formula, four If-conditions are branched with each other.
An If-condition does always consist of a condition and two instructions. It
is, however, necessary that the result of this condition is always only true
or false. Consequently, there is one instruction each in a true If-condition
and in a false if-condition. If a further If-condition is inserted in place of an
instruction, this will be called a "Nested If-Condition".
5.1.2 Syntax
If(condition , [Instructions for condition fulfilled], [Instructions for condition not fulfilled])
If this is true, the picture out of the Part_1.bmp Bitmap file will be
loaded in the frame.
5-28 19.09.2005
Layout with Pictures
Then, the table line for the tolerance comparison would look like follows:
Thus, the formulas are directly imbedded in the cells. For the pictures that are
output per table line, the formula would look like follows:
if(Tol.TolState="OK",Drawing ("OK.bmp"),
if(Tol.TolState="OOC",Drawing ("OOC.bmp"),
if(Tol.TolState="OOT",Drawing ("OOT.bmp"),
Drawing ("NOFIT.bmp"))))
Explanation
This is a branched If-condition, too.
• If the Tolstate variable returns the “OK” text, the picture for OK
(green smiley) will be loaded in the table cell.
• If the condition is not true, i.e. “OK” has not been returned, the
next If condition for "OOC" will be examined.
• If all conditions are not true, the "NoFit.bmp" (grey smiley)
picture will be loaded in the table line.
19.09.2005 5-29
Layout with Pictures
Hint
For this type of table with a picture, the use of RTF text is not imperative.
You can do this with a usual table, too. Furthermore, you should use the
function „ProjectPath$ ()“ for the integration of picture, as some part
program commands are capable of changing the current path. As a result,
the picture cannot be found. The „ProjectPath$ ()“ function causes the
path of the template to be added to the name of the „OK.bmp“ picture with
the function „C:\Cosmos\Layout\OK.bmp“.
«ToRTF$(Tol.ProgLineNo)»
«Tol.RefCrdLbl1»
Explanation
• The ProgLinNo variable will be changed to RTF text by means
of the ToRTF$() function.
• The variables by themselves must always be placed within
ticked double brackets "«»".
• After the variables, you will find a line wrapping.
• Beneath, you will find the second variable.
• If you have to do with a variable containing text, you can leave
out the function.
5-30 19.09.2005
Layout with Pictures
19.09.2005 5-31
Template with Dummy Table
If you want to create a template consisting only of head data and or pictures
(pictures above), you will only get one page when printing this template. In this
case, only the 1st page.
You will meet the same problem, if you have realized a template in which on the
first page only pictures are output and the tables only on the last pages (pictures
below). Also in this case, only the first page would be printed out, but not your
tables.
6-32 19.09.2005
Template with Dummy Table
If this table should output a measurement value, yet, (the frame is not
small enough) this measurement value will not appear any more at the
end in the designated table of measurement values because it has
already been output once before.
In order that these dummy tables cannot be seen in the printout, you can hide
them behind a picture or a font and fill the table frame with white colour. You will
find the colour setting for the table frame in the “Table” dialogue on the “Table
Layout” index card under “Colours”.
19.09.2005 6-33
One Sided Template with Label
Hints
To be able to use this type of “Protocol with Label”, you have to enter
position numbers for the tolerance comparisons, which must be output in
the protocol.
The tolerance comparison must be unambiguous.
Furthermore, you have to insert all template elements on the basis layer,
i.e. you can print only one page with this layout.
Each label will be displayed in form of a table. For creating of such a
table, you still have other possibilities as shown in this example.
In our example, the table is represented with a headline (name and value). After
that, the measurement values are output line by line.
Name Value
7-34 19.09.2005
One Sided Template with Label
You already know the dialogue you have to edit out of the chapter "The table".
if(val(Tol.PosNo) =1,.T.,.F.)
19.09.2005 7-35
One Sided Template with Label
Explanation
This is a simple If-condition.
The Tol.PosNo variable includes the position number as text.
Through the Val function, the text changes to a number.
By means of the number, now it is possible to realize an IF statement.
If the position number of the present tolerance comparison is 1, “True” will
be returned.
Because in case of “True“, the line will not be printed.
For this table, you have to define several lines. You can do that via the list (see
picture below).
7-36 19.09.2005
Template of Several Pages with Label
In principle, the pages of the template are identical to the layout of the one sided
protocol. To be able to printout several pages, you still have to insert on each
layer, with exception of the basis layer, a dummy table. This dummy table must
output as much as values with a position number, as tables exist on the page.
Ö By means of the “Insert a Line” button, you can insert new layers.
Ö The condition you have to enter for the new layer is always "Page()
= [no. of the page]".
Example:
19.09.2005 8-37
Template of Several Pages with Label
Because, however, the tables in our template always can output only
one tolerance comparison, namely only the tolerance comparison with
the corresponding position number, after all only one tolerance
comparison will be processed for each page. This means, only the first
table would always be filled with measurement values.
In order that the tolerance comparisons for the other tables will be processed,
you have to insert a table, which outputs as many tolerance comparisons as
tables exist on the page.
Example
If you want to output four tables on the page, i.e. the measurement values
of the position number 1 to 4, you have to insert a table that is able to
output the tolerance comparisons up to position number 4.
So that these dummy tables will not appear in the printout, you can either “hide”
the table behind the picture or print the lines and the font of the table in white.
8-38 19.09.2005
Template of Several Pages with Label
Hint
You still have to consider that if you don’t always want to have an
additional page at printout, you will have to enlarge the table of the last
page so that all remaining values in this table can still be output.
ProtocolDesigner Printout
19.09.2005 8-39
Template with a GEOPAK Graphics
The following value can be output with the individual types of graphics.
9-40 19.09.2005
Template with a GEOPAK Graphics
Here, the generation of the template is described using the circularity graphics.
After a circularity graphic has been generated in the part program, this graphic
needs to be stored for printing. Use the button framed in red (ill. below) to
activate the dialogue for saving the graphic.
19.09.2005 9-41
Template with a GEOPAK Graphics
In this dialogue you can assign a name and three comments with regard to the
graphic. The most important input in this dialogue, however, is the view number.
If, for example, the circularity is output with view number 1 in the template you
intend to use, you will also need to select view number 1 in the dialogue for
saving the circularity graphic. Should you select another number in the part
program, the field for the graphics and the values remains empty for printing.
9-42 19.09.2005
Template with a GEOPAK Graphics
Each result has two values, i.e. contents and name. With the variable "Contents"
you get the result and with the variable "Name" the name of the result.
The following picture shows how the fields for the circularity graphics and the
relevant results have been positioned.
19.09.2005 9-43
Template with a GEOPAK Graphics
In principle, you have the possibility to output these view variables on one or
more pages. If you define an output on several pages, please keep in mind that
the output will always be distributed on the defined number of pages, i.e. if you
have defined a template for the output of four views, then always four pages will
be printed – also if you have only stored three views in your part program.
Although you may use some tricky additional conditions in the template to avoid
this, we recommend in this case that you use the views for a table.
Tip:
In the learn mode you also have the possibility to make changes to the
graphics. To do so, choose "Edit graphic" in the "Store graphic for
template" dialogue. Here, you can insert photos or labels into a graphic. In
the Editor tab of the PartManager settings simply enter path and file name
of your drawing program. Condition is that your drawing program supports
WMF files.
9-44 19.09.2005
Template with a GEOPAK Graphics
19.09.2005 9-45
Template with a GEOPAK Graphic in a Table
10-46 19.09.2005
Template with a GEOPAK Graphic in a Table
If you wish to output a graphic using the view fields, just go to the dialogue for
saving the graphic and set "For the table". The graphic is then output in
chronological sequence. As you already know from the texts, you also have the
possibility to assign a position number. With the appropriate setting for sorting,
the graphic is sorted into the list by its position number.
Below, find a description of how to use this feature on the basis of the templates
"Standard Report with Graphic" and "Graphic output in a table".
19.09.2005 10-47
Template with a GEOPAK Graphic in a Table
As the layout of the output of the values is almost identical for all graphics, you
will first define the output for a graphic type. You can then take on and adapt
these lines for all further outputs of graphics.
In this template, the circularity was defined first. Then, the definition of the
individual lines for the output of the circularity is as follows:
10-48 19.09.2005
Template with a GEOPAK Graphic in a Table
Output example
In this example, the value for "HeadLine" was empty, so this line was not printed.
To clarify the layout, the following table itemises the definition of the individual
lines.
Line 1. Circularity Name
1 View.Circularity.Circularity.Name
1 View.Circularity.Graphic.Contents
1 View.Circularity.Headline.Contents
19.09.2005 10-49
Template with a GEOPAK Graphic in a Table
1 View.Circularity.TolZone.Name+" = "+View.Circularity.TolZone.Contents
1 View.Circularity.Circularity.Name+" = "+View.Circularity.Circularity.Contents
3 " "
1 View.Circularity.ActualX.Name+" = "+View.Circularity.ActualX.Contents
1 View.Circularity.MinDist.Name+" = "+View.Circularity.MinDist.Contents
1 View.Circularity.MaxDist.Name+" = "+View.Circularity.MaxDist.Contents
4 View.Circularity.MaxDistRad.Name+" = "+View.Circularity.MaxDistRad.Contents
10-50 19.09.2005
Template with a GEOPAK Graphic in a Table
1 View.Circularity.Comment1.Contents
1 View.Circularity.Comment2.Contents
1 View.Circularity.Comment2.Contents
For comparing the points, only the line definition "Dataline" is required for the
output of the result, i.e. the remaining line definitions need not to be copied and
adjusted at all.
The same procedure applies for the other types of graphics.
19.09.2005 10-51
Template with a GEOPAK Graphic in a Table
In order to fit two graphics including the corresponding values in one page, the
graphic needs to be smaller than the one before and there is no space for the
values below the graphic. Therefore, the values have been placed besides the
graphic to the right.
10-52 19.09.2005
Template with a GEOPAK Graphic in a Table
To be able to represent all results one below the other and within one column,
the results need to be inserted into the table in RTF text format. For this, the
"Text format" needs to be switched to RTF. The layout for the output of the
graphic then looks as follows:
The name and the three comments are output in an own line. The drawing and
the results are also output in one line only. As the name should be output right-
justified and the value should be output left-justified, two columns are needed as
this feature can only be assigned per column.
19.09.2005 10-53
Template with a GEOPAK Graphic in a Table
With this template three views are used on the page. The fact that these three
views are positioned over each other makes it a difficult task which is not
realisable in one table. You can, however, use three tables for this output and
position these three tables like the view variables in the above example. You only
need to ensure that in these three tables only those graphics are printed that are
intended for output. For this, you will have to set a condition with which you get
the information about the relevant graphic into the template.
If no position numbers have been assigned, the graphics are printed out in the
sequence in which they were saved. You could, for example, activate an internal
counter for counting the graphics. So by keeping to a certain sequence when
saving the graphics, this could be used to create the display condition of the
individual tables.
Another possibility is to use the name of the graphic. If you use, for example, the
name "Main" for the main graphic and the names "Detail1" and "Detail2" for the
other two graphics, this can be used to create a display condition. For the main
graphic, this would look as follows:
if(Contains (View.TolCompContour.Graphic.Name,"Main"),.T.,.F.)
10-54 19.09.2005
Template with a GEOPAK Graphic in a Table
The display condition is identical for the other two tables with the exception of the
query value. This ensures that the tables can only output a specific graphic. A
test print would look as follows:
With the template on one page, also other values are output that have been
entered using the headdata but this is no longer possible because the headdata
are global data.
As only one graphic can be output in the tables, additional values need to be
stored together with the graphic. The comments of the graphic can be used for
this purpose.
There are several possibilities for the input of the additional values. In this case
the choice was an UDL-dialogue that queries the additional values before each
new measurement. These additional values can then be passed on when saving
the graphic. The formula for the first comment could read as follows:
@[SerNum];@[BladID];@[SecID]
Case$ (0,View.TolCompContour.Comment1.Contents,";")
Tip:
In the Case$ function it is counted from zero, i.e. the value of the text line
with "0" will be the first value.
The output of the additional values needs to be done in the table with the main
graphic as this main graphic contains an additional column for the values. To
allow the values to be also printed one below each other, the column is in RTF-
format.
19.09.2005 10-55
Template with a GEOPAK Graphic in a Table
Thus, the line definition of the table for the main graphic looks as follows:
Column Formula
1 Part Description
«ToRTF$(Headdata.FieldNo.01.Contents)»
Part Number
«ToRTF$(Headdata.FieldNo.02.Contents)»
Serial Number
«Case$ (0,View.TolCompContour.Comment1.Contents,";")»
…
2 View.TolCompContour.Graphic.Contents
The first two values are global values and can be input using the headdata
further on.
After adding a protocol head, the printout looks as follows:
10-56 19.09.2005
CAT1000S Graphics
11 CAT1000S Graphics
11.1 Variables
CAT1000S offers two possibilities to print out graphics using variables, i.e. the
variables CAT1000S and CAT1000SView.
CAT1000S CAT1000SView
19.09.2005 11-57
CAT1000S Graphics
11-58 19.09.2005
CAT1000S Graphics
With the variables of CAT1000S, you always output the current results and
graphics. With the variables of CAT1000SView, you can save the graphic and the
results of a certain condition. This means that you can represent a chronological
sequence of a measurement.
The functionality and the method of working with these variables are identical to
functionalities and working methods of other GEOPAK variables but the number
of views can be extended to up to 999 views. The corresponding settings can be
adjusted in the defaults for programs in the PartManager.
11.2 Fields
Like with GEOPAK graphics, CAT1000S also offers the possibility to output the
graphics in a table. The layout for the output of graphics regarding the fields is
identical to that of CAT1000SView.
19.09.2005 11-59
CAT1000S Graphics
The template for the output of graphics is easier than the GEOPAK template.
This is due to the fact that CAT1000S has only one type of graphic.
Below, find a description of the template "Example 11 Multi View List Engl.mte":
19.09.2005 11-61
CAT1000S Graphics
Template layout:
The template has some specialties: A group line is inserted in the template
(green line). This group line has the effect that each new graphic is printed out on
a new page.
To ensure a proper functioning of this feature, a change condition needs to be
defined. Basically, this is a text that is checked with each new data set. If the text
changes from one data set to the next, e.g. AÖB, the change condition is met
and you can, for example, trigger an event like a page break. In case of this
template, this has been solved by means of a user variable.
Name Formula
@GraphName if(Drawing$ (View.Histogram)!="",Drawing$ (View.Histogram),@GraphName)
In this case, the histogram serves as the text for comparing for the change
condition. By means of the function "Drawing$" you get the path and file name
from the histogram which is then saved in the user variable to make the path and
file name also available for the measurement points of the graphic. Here an
explanation by the working off of a printing list:
1 View Graphic
… … …
10 View Graphic
… … …
11-62 19.09.2005
CAT1000S Graphics
19.09.2005 11-63
Templates for ROUNDPAK-CMM
The program ROUNDPAK-CMM has been designed for circularity tests on high-
precision CMM measurement machines with round table. Due to the high number
of evaluation possibilities, Mitutoyo has not assigned own tokens for each
individual evaluation type and the corresponding values when integrating the
evaluation results in GEOPAK.
The output of these measurement results has been realised via variable fields,
i.e. in the template you will only define the number of fields you wish to output.
How to proceed
A dialogue exists for each evaluation in ROUNDPAK-CMM. In these
dialogues you determine the results and graphics to be output.
Example of circularity:
By clicking the check boxes you specify the results to be included in the output,
Values without check boxes are always included in the output. You can change
the sequence of the individual values using the arrow buttons.
12-64 19.09.2005
Templates for ROUNDPAK-CMM
19.09.2005 12-65
Templates for ROUNDPAK-CMM
Example for the content of the variable fields in case of the measurement
condition:
12-66 19.09.2005
Templates for ROUNDPAK-CMM
As a specific characteristic, you can also specify the height and width of
the graphic in the dialogue. This is of particular interest for outputs with
big-sized graphics.
19.09.2005 12-67
Templates for ROUNDPAK-CMM
In the picture below, the variable fields for ROUNDPAK-CMM are shown.
20 variable fields for the output of measurement results and 9 variable
fields for the output of the graphics are available. In addition, there are the
tokens DataType, EvalType, EvalIcon and GrfType for controlling the
output.
You can use the token DataType to determine whether the data are data
from the part program of the measurement conditions ort he measurement
results. The content of the field can take on the following values:
Graphic, HeadProg, DataProg, HeadMeas, DataMeas, HeadRes or
DataRes.
Separate lines
You can use the token DataType to define separate lines for the output of
the three different data types. Furthermore, you can separately define
header and data line for each data type
12-68 19.09.2005
Templates for ROUNDPAK-CMM
Contents Meaning
The token EvalType has been designed for controlling the output of
measurement results. Possible outputs are flatness, straightness,
circularity etc. With these tokens you can define an individual output
format for each evaluation type.
Example: Output of coaxiality and cylindricity
19.09.2005 12-69
Templates for ROUNDPAK-CMM
With the token Evallcon you can print the corresponding symbol of the
evaluation in the table.
Example:
12-70 19.09.2005
List of all Variables
General data
Special Description
Characters
Comment:
With the flexible protocol, the total number of pages is not available
before printing due to the multitude of options. But to be able to output
a total number of pages, a hidden print preview to see the total
number of pages is required first.
You have to be aware of the fact that using this variable prolongs the
printing time.
General Data
19.09.2005 13-71
List of all Variables
Variable name Name Text describing the contents. You will get the same
text that is displayed in the dialogue, too.
Head Data
Head data ID Name Name that has been defined for the head data field.
Abbreviation Abbreviation that has been defined for the head data
field.
Sublot
Sublot field no. Name Name that has been defined for the sublot field.
Views
AxialRunOut
13-72 19.09.2005
List of all Variables
BestFit
19.09.2005 13-73
List of all Variables
Contents Shift in X
Contents Shift in Y
Contents Shift in Z
CircularRunOut
Contents AX
Contents AY
Contents AZ
Contents Rundlauf
13-74 19.09.2005
List of all Variables
Contents Phi
Contents Radius
Contents X value
Contents Y value
Contents Phi
Contents Radius
Contents X value
Contents Y value
19.09.2005 13-75
List of all Variables
Contents Toleranzzone
Circularity
Contents AX
Contents AY
Contents AZ
Contents Circularity
Contents Phi
13-76 19.09.2005
List of all Variables
Contents Radius
Contents X value
Contents Y value
Contents Phi
Contents Radius
Contents X value
Contents Y value
ComparePnts
19.09.2005 13-77
List of all Variables
ElemGraphic
Flatness
13-78 19.09.2005
List of all Variables
Contents Flatness
Contents X value
Contents Y value
Contents Z value
Contents X value
Contents Y value
Contents Z value
19.09.2005 13-79
List of all Variables
Parallelism
Contents Parallelism
13-80 19.09.2005
List of all Variables
Straightness
Contents X value
Contents Y value
Contents Z value
Contents X value
Contents Y value
Contents Z value
19.09.2005 13-81
List of all Variables
Contents Straightness
TolCompContur
13-82 19.09.2005
List of all Variables
19.09.2005 13-83
List of all Variables
13.2 Fields
General Fields
Special Description
Characters
InfType "InfType" returns "Txt" as result for a text and "Tol" for a tolerance
comparison.
Text Fields
Special Description
Characters
LayTextA Includes the text of the “Output Text” “Text to Printer” instruction.
Tolerance Fields
Special Description
Characters
Deviation Deviation
13-84 19.09.2005
List of all Variables
MorMinPnt The result can be "true" or "false" and states whether a form error has
occured or not. With the result "false", the values MinDev, MaxDev
and MaxDiff are equal to zero.
ProjPlane Projection plane for “Position“ Tolerance. Possible output: XY, XZ, YZ.
19.09.2005 13-85
List of all Variables
Spread Spread
Unit Unit.
Placeholder: Nominal1
Case Output
Tol_Pos Nominal
Tol_Rnd RefCrd1
Tol_Str
Tol_Flt
Tol_Ell
Tol_Cone
Tol_Cly
Tol_Run_R
Tol_Run_A
Tol_Sym_Pnt
Tol_Run_R
Tol_Sym_Ln
Tol_Sym_Pln
Tol_Conc RefCrd1
Tol_Coax
Tol_Para
13-86 19.09.2005
List of all Variables
Tol_Prep
Tol_Angu
Placeholder: Nominal2
Case Output
Default
Tol_Pos RefCrd2
Tol_Conc RefCrd2
Placeholder: Nominal3
Case Output
Default
Tol_Pos RefCrd3
Placeholder: CrdLbl1
Case Output
Default
Tol_Pos RefCrdLbl1
Tol_Conc RefCrdLbl1
Placeholder: CrdLbl2
Case Output
Default
Tol_Pos RefCrdLbl2
Tol_Conc RefCrdLbl2
Tol_Sym_Pnt RefCrdLbl2
Tol_Sym_Ln RefCrdLbl2
Tol_Sym_Pln RefCrdLbl2
19.09.2005 13-87
List of all Variables
Placeholder: CrdLbl3
Case Output
Default
Tol_Pos RefCrdLbl3
Placeholder: Actual1
Case Output
Default Actual
Tol_Pos ActCrd1
Tol_Conc ActCrd1
Tol_Rnd
Tol_Str
Tol_Flt Actual
Tol_Ell
Tol_Cone
Tol_Cly
Tol_Run_R
Tol_Run_A
Tol_Sym_Pnt
Tol_Sym_Ln
Tol_Sym_Pln
Tol_Coax
Tol_Para
Tol_Prep
Tol_Angu
Placeholder: Actual2
Case Output
Default
Tol_Pos ActCrd2
13-88 19.09.2005
List of all Variables
Tol_Conc ActCrd2
Placeholder: Actual3
Case Output
Default
Tol_Pos ActCrd3
Placeholder: LowerTol1
Placeholder
Default LowerTol
Tol_Rnd
Tol_Pos
Tol_Str
Tol_Flt
Tol_Ell
Tol_Cone
Tol_Cly
Tol_Run_R
Tol_Run_A
Tol_Sym_Pnt
Tol_Sym_Ln
Tol_Sym_Pln
Tol_Conc
Tol_Coax
Tol_Para
Tol_Prep
Tol_Angu
19.09.2005 13-89
List of all Variables
Placeholder: TolBar1
Case Output
Default TolBar
Tol_Rnd HalfTolBar
Tol_Pos HalfTolBar
Tol_Str HalfTolBar
Tol_Flt HalfTolBar
Tol_Ell HalfTolBar
Tol_Cone HalfTolBar
Tol_Cly HalfTolBar
Tol_Run_R HalfTolBar
Tol_Run_A HalfTolBar
Tol_Sym_Pnt HalfTolBar
Tol_Sym_Ln HalfTolBar
Tol_Sym_Pln HalfTolBar
Tol_Conc HalfTolBar
Tol_Coax HalfTolBar
Tol_Para HalfTolBar
Tol_Prep HalfTolBar
Tol_Angu HalfTolBar
Placeholder: RefNo1
Case Output
Default
Tol_Conc RefNo
Tol_Sym_Pnt RefNo
Tol_Sym_Ln RefNo
Tol_Sym_Pln RefNo
13-90 19.09.2005
List of all Variables
Placeholder: RefName1
Case Output
Default TolName
Tol_Conc RefName
Tol_Sym_Pnt RefName
Tol_Sym_Ln RefName
Tol_Sym_Pln RefName
Placeholder: RefName2
What is to be output for case ... ?
Case Output
Default
Tol_Conc TolName
Tol_Sym_Pnt TolName
Tol_Sym_Ln TolName
Tol_Sym_Pln TolName
Element fields
Token Description
19.09.2005 13-91
List of all Variables
Spread Spread
Token: DirX1
Case Output
Default DirX
Elm_PntInt
Elm_PntSym
Elm_PntSide
13-92 19.09.2005
List of all Variables
Elm_PntSideX
Elm_PntSideY
Elm_PntSideZ
Elm_PntNComp
Elm_PntComp
Elm_SphFit
Elm_Sph
Elm_CirInt
Elm_Cir
Elm_Ell DirInsidePlnX
Elm_Dist
Elm_Angle
Elm_Square DirInsidePlnX
Elm_Rectangle DirInsidePlnX
Elm_Slot DirInsidePlnX
Elm_Drop DirInsidePlnX
Elm_Triangle DirInsidePlnX
Elm_Trapezoid DirInsidePlnX
Elm_Hexagon DirInsidePlnX
Token: DirY1
Case Output
Default DirY
Elm_PntInt
Elm_PntSym
Elm_PntSide
Elm_PntSideX
Elm_PntSideY
Elm_PntSideZ
Elm_PntNComp
Elm_PntComp
Elm_SphFit
19.09.2005 13-93
List of all Variables
Elm_Sph
Elm_CirInt
Elm_Cir
Elm_Ell DirInsidePlnY
Elm_Dist
Elm_Angle
Elm_Square DirInsidePlnY
Elm_Rectangle DirInsidePlnY
Elm_Slot DirInsidePlnY
Elm_Drop DirInsidePlnY
Elm_Triangle DirInsidePlnY
Elm_Trapezoid DirInsidePlnY
Elm_Hexagon DirInsidePlnY
Token: DirZ1
Case Output
Default DirZ
Elm_PntInt
Elm_PntSym
Elm_PntSide
Elm_PntSideX
Elm_PntSideY
Elm_PntSideZ
Elm_PntNComp
Elm_PntComp
Elm_SphFit
Elm_Sph
Elm_CirInt
Elm_Cir
Elm_Ell DirInsidePlnZ
Elm_Dist
Elm_Angle
13-94 19.09.2005
List of all Variables
Elm_Square DirInsidePlnZ
Elm_Rectangle DirInsidePlnZ
Elm_Slot DirInsidePlnZ
Elm_Drop DirInsidePlnZ
Elm_Triangle DirInsidePlnZ
Elm_Trapezoid DirInsidePlnZ
Elm_Hexagon DirInsidePlnZ
Token: LocX1
Case Out0put
Default LocX
Elm_PntSideY
Elm_PntSideZ
Elm_Dist DistX
Elm_Angle
Token: LocX2
Case Output
Default LocX
Elm_PntSideY
Elm_PntSideZ
Elm_PlnSym
Elm_Pln
Elm_Dist DistX
Elm_Angle
Token: LocY1
Case Output
Default LocY
Elm_PntSide
19.09.2005 13-95
List of all Variables
Elm_PntSideX
Elm_PntSideZ
Elm_Dist DistY
Elm_Angle
Token: LocY2
Case Output
Default LocY
Elm_PntSide
Elm_PntSideX
Elm_PntSideZ
Elm_PlnSym
Elm_Pln
Elm_Dist DistY
Elm_Angle
Token: LocZ1
Case Output
Default LocZ
Elm_PntSide
Elm_PntSideX
Elm_PntSideY
Elm_Dist DistZ
Elm_Angle
Token: LocZ2
Case Output
Default LocZ
Elm_PntSide
Elm_PntSideX
13-96 19.09.2005
List of all Variables
Elm_PntSideY
Elm_PlnSym
Elm_Pln
Elm_Dist DistZ
Elm_Angle
Token: Size1
What shall be output for the case …?
Case Output
Default
Elm_SphFit Diameter
Elm_Sph Diameter
Elm_CirInt Diameter
Elm_Cir Diameter
Elm_LinInt Dist
Elm_LinSym Dist
Elm_LinTan Dist
Elm_Lin Dist
Elm_PlnSym Dist
Elm_Pln Dist
Elm_Ell Diameter
Elm_Con Angle
Elm_Cyl Diameter
Elm_Dist Dist
Elm_Angle Angle
Elm_Hexagon Width
Elm_Rectangle Width
Elm_Slot Width
Elm_Drop Width
Elm_Triangle Width
Elm_Trapezoid Width
Elm_Square Width
19.09.2005 13-97
List of all Variables
Token: Size2
What shall be output for the case …?
Case Output
Default
Elm_Ell LrgDiameter
Elm_Square
Elm_Rectangle Length
Elm_Slot Length
Elm_Drop Length
Elm_Triangle Height
Elm_Trapezoid Height
Elm_Hexagon Width2nd
13-98 19.09.2005
List of all Variables
BestFit
19.09.2005 13-99
List of all Variables
Contents Shift in X
Contents Shift in Y
Contents Shift in Z
CircularRunOut
Contents AX
Contents AY
Contents AZ
13-100 19.09.2005
List of all Variables
Contents Phi
Contents Radius
Contents X value
Contents Y value
Contents Phi
Contents Radius
Contents X value
Contents Y value
Circularity
19.09.2005 13-101
List of all Variables
Contents AX
Contents AY
Contents AZ
Contents Circularity
Contents Phi
Contents Radius
Contents X value
Contents Y value
13-102 19.09.2005
List of all Variables
Contents Phi
Contents Radius
Contents X value
Contents Y value
ComparePnts
19.09.2005 13-103
List of all Variables
ElemGraphic
Flatness
Contents Flatness
13-104 19.09.2005
List of all Variables
Contents X value
Contents Y value
Contents Z value
Contents X value
Contents Y value
Contents Z value
Parallelism
19.09.2005 13-105
List of all Variables
Contents Parallelism
Straightness
13-106 19.09.2005
List of all Variables
Contents X value
Contents Y value
Contents Z value
Contents X value
Contents Y value
Contents Z value
Contents Straightness
Contents Toleranzzone
TolCompContur
19.09.2005 13-107
List of all Variables
13-108 19.09.2005
List of all Variables
19.09.2005 13-109
List of all Variables
Token Description
DataType Returns the type of data set and may take the following values:
EvalType Returns the evaluation type (see 9.2.1). This token is required for
controlling the output.
RndPak.View
Token Description
GrfType001 - 010 Returns the corresponding type of graphic. This token is required for
controlling the output.
Cylindricity Cyl
S Cylindricity SCyl
L Cylindricity LCyl
Roundness Rnd
L Coaxiality LCoax
13-110 19.09.2005
List of all Variables
Concentricity Conc
L Parallelism(In/Out) LPlmInOut
L Perpendicularity LPerp
Inclination(In/Out) InclInOut
19.09.2005 13-111
List of all Variables
13-112 19.09.2005
List of all Variables
radii
19.09.2005 13-113
Variables, Fields and Views in CAT1000S
14-114 19.09.2005
Variables, Fields and Views in CAT1000S
View
Concerning the views, they must have been defined before. See details of topic
“Layout for ProtocolHTPC_3DT_PROTCOL_LAYOUT".
19.09.2005 14-115
Variables, Fields and Views in CAT1000S
14.2 CAT1000SView
14-116 19.09.2005
Variables, Fields and Views in CAT1000S
19.09.2005 14-117
Variables, Fields and Views in CAT1000S
General Fields
Special Description
Character
CAT1000S
DevX Deviation X
DevY Deviation Y
DevZ Deviation Z
Label Description
Memory Memory
14-118 19.09.2005
Variables, Fields and Views in CAT1000S
19.09.2005 14-119
Variables, Fields and Views in CAT1000S
the image,
14-120 19.09.2005
Variables, Fields and Views in CAT1000S
19.09.2005 14-121
Variables, Fields and Views in CAT1000S
Views
The standard number of views is 20.
Example
The function “ProtocolDesigner in CAT1000S” allows you to create a protocol
containing a view and the corresponding data on each page.
14-122 19.09.2005