TPA - Manual Programming Edicad32 Vol2
TPA - Manual Programming Edicad32 Vol2
Control Editor
Using manual
www.tpaspa.it
I Genesis Evolution
Index
T.P. A. S.p.A.
Index II
T.P.A. S.p.A.
III Genesis Evolution
T.P. A. S.p.A.
Using manual 1
1 Using manual
1.1 Introduction
Edicad32 is the software environment for programming "Genesis Evolution" Numeric Control, suited
for driving Wood Working Machines, specifically for multifunction work centers used for
customization of panels in the manufacturing of modular furniture.
Edicad32 was conceived as to offer user a very friendly and easy working environment, really
"problem oriented": it proposes an assisted data introduction, easy design of working paths and
integrates within the system software the main construction rules specifically related to modular
furniture assembling.
Edicad32 offers a number of Programming Tools, both in the technologic environment – thanks to a
rich library of Macro-Instructions suitable for the specific working cycles required by the Application
– and in the graphic environment – by means of various geometric tools and drawing manipulation
functions, allowing easy and safe programming of complex working paths.
T.P.A. S.p.A.
2 Genesis Evolution
The main page is subdivided into the following main areas, as shown in Fig. 1.1:
1. Panel graphic window : (displaying all the 5 faces that may be worked), with scaled
representation (details may be Zoomed) of panel, workings inserted and routing paths.
2. Dialogue Box: for introduction of geometric and technologic parameters, guided by a structured
list of options available for each type of Working or Macro-Instruction.
3. Data Table for ISO Text: displays in "ISO text " format, on a scrollable list, the program lines as
soon as they are introduced
4. Variables Data Table: the list and the current value of the program Variables, used in parametric
programming, are permanently displayed in this list
5. Text Menus: provides selection of general commands and functions, as File Save, Edit program,
View mode, activating the corresponding palettes
6. Tool bar: organized in several levels, provides immediate selection of frequently used commands
and tools, as well as recalling technologic information imported from other Applications
7. Working Palette: (on the right side) for immediate selection of macro-workings, with the
T.P.A. S.p.A.
Using manual 3
8. Drawing Palette: (on the right side) for immediate selection of graphic objects and geometric
manipulation of profiles
9. Status Bar: displays panel and face dimensions and the main data referred to current working
Edicad32 software allows creating, editing and saving programs or subroutines, checking and
optimizing them in order to provide their translation into an executable program, according to the
tooling and parameters of the machine.
The Operator may freely define an archive structure for main programs and subroutines, and
organize them according to his lines of furniture. Programming may be executed locally (on the
Numerical Control) or in the Office on a remote workstation, and also by means of external
CAD/CAM programs, saving, importing, and converting them automatically into .DXF files or ISO
text.
Use of tools as Select, Drag and Drop, Recall of parametric subroutines, etc. allows easy treatment
of programs and almost automatic creation of special versions or differently sized panels starting from
standard models.
Parametric programming – providing introduction of geometric rules in the disposition and layout of
workings- and the availability of conditioned programming (IF/EndIF blocks) allow introduction of
furniture building rules, increasing reliability in program development even in case of special parts,
and reducing response time in the treatment of orders.
Easy and immediate access to program archive is provided by fruition of the native display and
selection performances of WindowsNT resource manager.
The "tree" organization of the archive may be exploited, easily reaching the program or subdirectory
required, thanks also to the graphic Preview that provides immediate check of what is searched (Fig.
1.2).
T.P.A. S.p.A.
4 Genesis Evolution
Preview function is available, and specially useful, also when calling Subroutines, to be inserted
within a main program, or when searching external programs, as in the case of .DXF or .DWG files
Before creating a new program, various initial information must be input by the operator
In this environment all the geometric and technological information required to characterize the job
cycle may be inserted, exploiting direct access to the Parametric files of the Machine ("Outfit
parameters") and using a series of functions and instruments of design of complex workings (as
beveling, connections, ellipses, arcs, ovals).
Each of these functions has the scope to simplify and fasten the construction of geometric profiles on
the piece, allowing to display and check the result of the programming work.
T.P.A. S.p.A.
Using manual 5
The Edicad32 environment is organized in a graphic screen where, in a structured format, various
workspaces are available, oriented to graphic and text visualization and to data setting:
- the view of the panel under construction, that may be selected in General View mode or in Face
View general or Sight for face, (fig. 2.1a and fig. 2.1b)
- the Working Parameter Setting Table, (fig. 2,2)
- the visualization area of the corresponding Text in ISO format (fig. 2,3)
- the Table for programming/displaying parametric Variables (fig. the 2,4)
Fig. 2.2 shows an example of structure of the programming Table of working specific parameters,
T.P.A. S.p.A.
6 Genesis Evolution
Fig. 2.3 show the format of the panel of Visualization of the correspondent ISO text, that checking
and editing the numerical values. For a more detailed description refer to Section 1.7.
Fig. 2.4 shows an example of the area of data display / setting for the use of Parametric Programming,
described in detail in Section 1.8.
In this View mode all the workable faces of the piece are represented contemporarily, allowing to
select, one after the other, the one on which to operate.
For each face the origin of the local Reference System is enhanced, that will facilitate the definition of
the quotes of application of the different workings. In fact every face will exploit a local reference
system, in which the same face is prepared on the canonical Cartesian plane [XY], while the Z axis
will always define the direction perpendicular to it, with the convention of sign Z+ in the direction
exiting from the piece. Insofar all the indications of Depth will be characterized by negative values.
T.P.A. S.p.A.
Using manual 7
From the conventions described above it comes out that only the main face (Face 1) will introduce a
system of local axes coincident with the physical machine axes [X, Y, Z]. For the other faces a
different correlation will exist instead, listed hereafter, where the axes X ' and Y ' of local
programming are identified with the terms "abscissa" and "ordinate" and with "thickness" the
direction of penetration into the same face.
In synthesis, we have:
Notice that faces 3 and 4 introduce a canonical Cartesian plane as it is seen "from the outside" of the
piece. For faces 5 and 6 (for homogeneity with the preceding ones) the plane is seen "in
transparency", that is as it would be visible from the inside. This allows to maintain the usual position,
bottom left, of the origin of the Cartesian tern.
The following figures illustrate the disposition of the local Reference Axes.
T.P.A. S.p.A.
8 Genesis Evolution
The face views initially presents a 3D perspective display of workable faces, for their selection. (Fig.
2.9a-b).
T.P.A. S.p.A.
Using manual 9
Fig. 2.9a : Piece 3D view Fig. 2.9b : List of faces that may be selected
Once selected, a face is displayed in its local representation, allowing direct geometric programming:
on this face the various workings introduces will be displayed (Fig. 2.9c).
1.2.1.4 3D View
T.P.A. S.p.A.
10 Genesis Evolution
Edicad32 program also offers the possibility, for pieces of complex form, to define other work
planes, beside the standard perimeter faces: these other planes, named "Fictitious Faces", can
represent both inside or perimeter faces (but not coincident with the external), translated or however
oriented in space, that implicates the availability of tools inclined for their working.
These additional faces must be expressly programmed, defining their position and orientation by
means of an orderly sequence of 3 characteristic points.
The formulation of an additional face is achieved, as shown in Fig. 2.10, through Menu "Edit" with
the subsequent definition of the 3 notable points (X0, Y0, Z0), (X1, Y1, Z1) and (X2, Y2, Z2)
defining it.
Every fictitious Face introduced will assume a progressive number beginning from 7.
We will see later the logic with which these three points must be assigned, and their sequence.
Fig. 2.10: This figure shows the Table for setting points P0, P1, P2 that will define the fictitious face, the
3D visualisation of the panel and the specific representation of the current fictitious face.
The 3D view of the piece may be modified, rotating it as illustrated in Fig. 2.11.
T.P.A. S.p.A.
Using manual 11
Definition of the 3 notable points of the fictitious face is very important, as it determines the position
and orientation of the face but also, implicitly, the choice of the local reference system.
With reference to Fig. 2.12, the following rules must be observed when programming points P0, P1
and P2:
· First, the 3 points must not be lined up, because in such case the definition of the plane is not
univocal
· Their sequence of introduction must be assigned in such way that the circuit P0 à P1 à P2 is
counter-clockwise , that implicitly provides a view "from the air", that means with Z+ exiting
toward the operator.
· Point P0 must be programmed considering that it will be chosen as Origin of the local axes
· Point P1 will be assumed by the system as indication (from the oriented segment P0à P1) of the
direction of local axis X+
· The third point P2 (counter-clockwise circuit) will allow the system to deduce the exiting
Normal Z+, therefore the real orientation of the plane
· The system will automatically calculate the orientation of axis Y+, perpendicular to the other two
axes.
The reference system so built is what the Operator must consider when programming quotes of the
Workings on the mentioned face.
T.P.A. S.p.A.
12 Genesis Evolution
Fig. 2.12:
The first figure shows a correct
disposition of the 3 points of
definition of the fictitious face
and a representation 3D of the
piece, as to facilitate
comprehension of the mechanism
of quoting its points (in absolute
reference)
Fig. 2.13 illustrates an example of fictitious faces inside the piece, oriented in the directions of the
Cartesian axes.
- Note : Some data may be optional, other not compulsorily programmable, because assumed by
system as default.
- Note : Some workings may be momentarily disabled, when non compatible with the sequence or the
face being programmed (for instance, on side faces 3, 4, 5, 6, Saw workings are not allowed).
Refer to Section 1.4 for an analytic description of the various fields, and to Part 2 - Workings , for the
corresponding technological meaning.
T.P.A. S.p.A.
Using manual 13
The ISO line corresponding to the current Working is enhanced with a color band.
Text may be edited, in order to modify its content: double click with mouse on the line selected, then
edit text.
ISO text may be printed, as to get a quick report of all workings; its comprehension is made easier by
typing into field "description" a comment associated to working. Text of each ISO line contains all the
information associated to working, in accordance to the usual language rules. As an instance, the
description of code associated to Drilling working is shown in the following example:
· G81: Function G.. represents, as usually, the code that identifies working type: in this case G81
represents working DRILL
· X100: X application quote of drilling
T.P.A. S.p.A.
14 Genesis Evolution
Commands may be selected either using written "pop-up" Menus or, more quickly, by directly using
the working Tool Bars, which are made both in a fixed structure, just as the Main Tool Bar described
in this chapter, and in command Palettes which can be personally set and are sensitive to the contest
in which they are located.
Edicad32 Main Tool Bar gives the user not only a quick and easy access to the most frequently used
commands but also helps in different functions.
Let's now see a punctual description of the different command buttons, on the basis of their actions.
They let you handle Directories and Files that constitute the work Part Programs:
1. New: It activates the creation of a new program, by recalling the Window that sets the general
parameters of the panel.
2. Open: It enters the Directory of the work's programs, permitting to recall a program that already
exists in the archive: the selection procedure then follows the normal route indicated by the "My
Computer" tree.
3. Save: It saves the current program in the default directory: the command "Save with name",
which enables duplicates or savings in particular directories defined by the User, is also available
from the written Menu.
4. Print: It prints the current program
T.P.A. S.p.A.
Using manual 15
They let you recall, at any moment, the Dialogue Box for the setting of the general characteristics of
the piece, for visualization or data modify:
They let you operate the usual working functions on the current program:
1. Select: It selects all the parts that are present on the current paper
2. Find: It searches, in the complete ISO text, for the wanted string of characters
3. Find next: It finds the next pattern of characters
4. Change : It changes the found string with the new one wanted
T.P.A. S.p.A.
16 Genesis Evolution
While programming, these buttons let you recall data relative to the Technological Parameters of the
Machine, in order to
allow a check, on the congruity, for instance, of the working tools:
"Read Only" facilities are enabled through the access to parametric data: you are not allowed to
modify them. In order to do so you have to enter, giving a password, the specific environment.
It lets you recall certain visualizations, useful while programming, that show particular technological
aspects of the chosen settings:
1. Rotary Cutter Center: It shows the real path followed by the center of rotary cutter, applying the
radius correction for the selected tool
2. Conditions: It applies and resolves the programmed Logical Conditions (IF Blocks), hiding the
parts that turn out to be not functioning.
3. Redraw: It redesigns the complete panel.
They allow you to select both the insertion mode and the current face:
T.P.A. S.p.A.
Using manual 17
They enable the sliding of the text or the direct selection of the current line:
1. Previous Line: It selects the line of text that comes right before the current one
2. Next Line: It selects the line of text that comes right after the current one
3. First Line: It selects the first line of text
4. Last Line: It selects the last line of text
They allow you to arrange the modalities of definition of quotes for the displacements shown in the
Palette in figure:
For what concerns the Palettes for the selection of the workings or of the design tools, please go to
Section 1.4 and Section 1.6 respectively.
1.4 Macros-Workings
Edicad32 gives the User a set of Workings (basic level) and of defined Macros, which allow a quick
definition of the working program through a simple selection, recall and application procedure of the
Macros and Workings on the different faces of the panel.
Workings are archived in a particular Library, which may be configured by the Customer, by
activating or not the different modalities, depending on the technological characteristics of the
Machine.
Fig. 4.1 shows the possibility, among the different Configuration procedures of Edicad32, to recall
T.P.A. S.p.A.
18 Genesis Evolution
the list of Workings, either activating them or hiding them, depending on needs.
T.P.A. S.p.A.
Using manual 19
Setup (X,Y,Z) Setup rotary cutter (by T or D), with application on X,Y
(Cartesian) and depth Z
Setup (U,A) Setup rotary cutter, in Polar coordinates (module U with
angle A)
Oriented Setup Setup rotary cutter on inclined face, with angle of
Pivoting
L01 (X,Y,Z) Linear, with final Point in Cartesian coordinates (relative or
absolute)
L02 (pole, U, A) Linear, with final Point in Polar coordinates (programmed
Pole)
L03 (U,A) Linear, as the precedent, but with Pole coinciding with initial
point
L04 (pole, A, X) As L02, but with height X of the final point (instead of
module U)
L05 (pole, A,Y) Idem, but with height Y of the final point
L06 (A,X) As L04, but with Pole coinciding with initial point
L08 (Z, tang) Segment having a direction dictated by the initial
tangent
L10 Segment of closing profile (Final point same as Setup)
A01 (Center X,Y,Z) Arc in XY plane, having Center (I,J) and final point
(X,Y,Z)
A04 (3 points) Arc in 3 points (initial, final and intermediate) in XY
plane
A05 (Center X,Z) Arc in XZ plane, through Center and final point
A06 (Center Y,Z) Arc in YZ plane, having Center (I,J) and final point
(X,Y,Z)
A07 (3 points) XZ Arc in 3 points, in XZ plane
A08 (3 points) YZ Arc in 3 points, in YZ plane
A11 (R, arc min) Arc by Radius, minor Arc, in XY plane
A12 (R, arc max) Arc by Radius, major Arc, in XY plane
A13 (Center, Afin) Arc by Center and final Angle, in XY plane
A15 (Tgin, Pf) Arc having initial Tangent in continuity and final point, in
XY plane
A16 (Tgin, Pf) Idem, but with programmed initial tangent
A17 (Tgout, Pf) Arc with programmed final Tangent and final point, in XY
plane
T.P.A. S.p.A.
20 Genesis Evolution
programmed
Arc1-Arc2(R1,C2) Double arc, with Radius R1 and Center C2, both
programmed
Arc1-Arc2(C1,Tgout) Double arc, with Center C1 and exit Tangent both
programmed
Arc1-Arc2(Tgin,C2) Double arc, with entering Tangent and Center C2 both
programmed
Arc1-Arc2(Tgin,Tgout2) Double arc, with programmed in/out Tangents
Circle(C) Complete circle with Center C, radius R and initial
angle
Oval Oval, given by Center, major axis, minor axis and minimum
radius
Ellipse Ellipse, given by Center, major axis and minor axis
Inscribed polygon Polygon having N sides, inscribed in a given circle
Circumscribed polygon Polygon having N sides, circumscribed to a given circle
1.4.1.4 Saw
T.P.A. S.p.A.
Using manual 21
The structure of the Palettes is dynamic (see Fig. 4.2): they include the Types of the main workings
("Holes", "Millings" and "Macro" ); for each type a second level of Palette opens, showing the
Workings available for that type.
More on the right, in the example, the specific Palette for the "Holes" type is shown.
Let's now give, shortly, the list of sub-levels of the Palettes relative to some of the main Workings,
which are classified in the following three types:
1. Milling Workings
2. Drilling Workings
3. Saw Workings
A first level of the Toolbar Menu corresponds to this general classification, as shown in Fig, 4.3 a-b-
c.
Different Toolbar sub-levels, which allow to select the following various kinds of profiles,
correspond to the first group (Fig. 4.3a), characterized by the three Setup modalities (Rotary Cutter
Setup, polar and inclined):
T.P.A. S.p.A.
22 Genesis Evolution
Here below on the left we show the Workings with beside the available functions:
Fig. 4.3a
Menu regarding the workings of
rotary cutting:
Linear,
Arcs
Double Arcs,
Ellipses & Polygons,
Joints & Bevels
We show drilling (Fig. 4.3b) and saw (Fig. 4.3c) workings
Fig. 4.3b
Menu for the operations of
Drilling:
Repeat Holes
Fitting
Holes on Circle and on Polygons
Fig. 4.3c
Saw X, Saw Y and Saw degree
The table has a tree-like structure, according to the different kinds of data required, with numerical
fields (they can be compulsory or optional) or check boxes inside, allowing insertion of rules for
parameter interpretation.
Fig. 4.4 shows an example of such a table: the different kinds of tables will be described in detail in
Part 2 of the Handbook .
T.P.A. S.p.A.
Using manual 23
In the tables for the data setting, generally the fields "Quotes" refer to the application point of the
single Workings or to the final points of each geometric entity of profile
These Quotes are usually chosen as "Absolute", that is referred to the reference system of the face,
or as "Relative" (where required), that is, in this case, in an incremental manner compared to the
current position, considered as the significant quote of the immediately preceding Working.
All those geometric parameters which, because of their property, have a meaning only in an absolute
way (such as a radius) or other quotes that can always be defined as incremental compared to the
initial point (as the Arcs' centers), make an exception.
Note that the quotes related to depths (typically Zp) have to be expressed using negative numbers, in
order to follow the convention that Z+ is coming out of the panel.
Let's see in detail the general meaning of the parameters, according to the different types:
The "Quote" parameters may obviously have very different geometrical meanings, depending not
only on the kind of Working, but mostly whether it is a "Punctual" type (that is it may implicitly be
represented by a point) or a more complex geometrical Entity, such as a Segment or an Arc..
The "Quote" parameters may obviously have very different geometrical meanings, depending not
only on the kind of Working, but mostly whether it is a "Punctual" type (that is it may implicitly be
represented by a point) or a more complex geometrical Entity, such as a Segment or an Arc..
Since these are punctual Workings, the Position is referred to the application point.
Some Positions may take on particular meanings, in the case of multiple Holes or Fitting, or in the
T.P.A. S.p.A.
24 Genesis Evolution
case of having to deal with some particular parameters, such as the "deceleration positions", both in
entry and exit, which will later be more precisely described along with the respective Workings.
Apart from the initial Setup of the Rotary Cutter (punctual too), usually the corresponding functions
describe a more or less complex geometrical entity (Segment, Arc, etc.), in which the Final point is
defined, implicitly assuming (for continuity) that the initial point, which isn't expressly programmed,
coincides with the final point of the precedent Working (called "current Point").
Therefore the "Relative" Option may act on the Final Point, while for all the other possible
parameters an unequivocal interpretation is usually applied.
For what concerns the "Angle" notation, consider that it must always be assumed that Positive =
Counter- Clockwise, according to the regular trigonometric rule.
This technique (the Reader should go to the specific examples for more details on it) allows to recall
and hook, at the current point, whatever programmed and previously saved profile, canceling the
original Setup.
This technique simplifies programming in the case of milling profiles which have to be operated,
successively, using different tools, eliminating the inconvenience of having to repeat the route's
definition.
The Saw is a Working that may be executed only on face 1: the initial Setup and the final point are
implicitly programmed in the instruction itself. The Reader should go to the detailed description,
giving particular consideration to the aspects of the "Double Run" and of the way used to recall the
"Cord Calculation".
This is the area used to define some of the Working's main technological characteristics, which
actually consist in selecting the most appropriate Tool (or Tools) for the correct execution of the
Working.
First of all let's point out that, in order to guarantee an easier and more flexible programming, most
of the times the direct selection of the Tool is not a User's task, especially whenever it may be
automatically chosen by the system on the basis of its pure characterization:
In this case the system itself will, using the tools' head configuration, automatically search for and
select the Tool (or Tools) that satisfy the required specifications. In this manner the panel's
programming is invariable to the specific machine's equipping. The system will obviously signal error
T.P.A. S.p.A.
Using manual 25
cases any time it is impossible to find tools fit for the required Working.
The Reader should refer to Section 5 – "Equipping and Working Tools" – for the description of the
various kinds of Tools that can be used for the different Workings.
The various tool working speeds may be set in this section of the Parameter Table, in case user would
like to locally modify the default speed values, defined in the Tool Database (àTool Parameters).
Depending on the different functions, these speeds (programmed in [mt/min]) can refer to:
The Tools' Rotary speeds are kept separate from these; they are also locally programmable and are
expressed in [rpm].
à Note: Where not programmed, the system automatically assumes the default speeds, which are
expressed in Parametric form, associated with the selected tool.
The Drilling Speed Area consists only of two fields to fill in:
· Entry Speed: referred to the tool's penetration movement (the exit is executed in rapid)
· Spindle Rate Number: referred to the Spindle rotary speed.
As already stated, it is possible to program some pieces, along the Hole, where tool's entry speed
reductions previously defined may be applied.
Fig. 4.5
In the drilling speed area, you must
keep in mind the possibility to require
specific decelerations, both in entry
and exit of the passing hole.
During the milling Working, it is possible to locally program the speeds (tangent) of the single
lengths: the value is automatically spread to the lengths that immediately follow, up to the
programming of a new value. In the complex Macro-instructions (as Ellipses) both the entry and the
work speeds are required.
For the particularly complex points, as the joints, a speed reduction is explicitly suggested, because
of possible quick changes of the axis direction:
T.P.A. S.p.A.
26 Genesis Evolution
In this specific case the Entry, First Pass and Second Pass Work speeds are pointed out and may be
programmed one by one.
Fig. 4.6
In the saw working it is possible to
program the second pass speed
separately from the speed in the
first
In the Workings programming, Tool may be selected or directly - by the corresponding Spindle
number entering - or implicitly (in the "Drillings" case), by the "Diameter" and, optionally, the
Typology requirements.
In the case of direct selection, we can see the programming rules and the available Help for easiest
Tool identifying.
Concerning Drilling operations, different Tool selection criteria may be assumed: for every drillings
typologies the Group and Tool number are required:
Group: some Tool-machines may be equipped with two different Tool-Heads (eventually with the
same tools nomenclature): in this case a "Group" number is required for the Head selection
(otherwise, a default number Group = 1 is assumed).
Tool: program attributes a sequence progressive number to every tool-spindle, in an univocal mode.
In effect, the "tool" field value identifies the corresponding spindle position.
To verify the available current tools configuration, Programmer may recall the "Help on line"
command:
T.P.A. S.p.A.
Using manual 27
- Outfits
that allows to visualize the current Tools disposition on the multi-spindles Head.
The following Table summarizes the selection rules of the tools, for the most important drilling
typologies:
Automati Yes - - - - - - - - -
c
Diameter Yes - Yes Yes Yes - - Yes Yes Yes
Group Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Tools Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Fig. 5.1
In this Table are listed the required information for direct Tool selection.
Obviously, in the case of "Programming by Diameter", only this last, and, eventually, the Typology,
are required.
More precisely:
Automatic: if this option is selected, no particular values are required in the Tools fields, since
program will provides automatically to select the most convenient Group and Tool.
Diameter: this parameter will be used as the most important "searching key" for the tool-hole
matching.
Typology: This is an optional parameter, may be used added to diameter, as auxiliary attribute for
matching. Normally typologies include: Blind Drilling tool, Crossing Drilling tool, Drilling with Saw
tool, Drilling with Flare, and so on.
Some Drilling typologies cannot be recalled in all the working faces; in the following Table we can
see the compatibility conditions:
Blind Drill Crossing Drill Drill & Saw Drill & Flare
Some Data Entry tables, for tools selection, are showed in the following examples (Fig. 5.2 a-b-c-d ).
T.P.A. S.p.A.
28 Genesis Evolution
Fig. 5.2a
Automatic Option selected.
By default program select the Group = 1 and
the Tool = 1 .
Fig. 5.2b
In this case, Tool has been directly selected
(by the Group and Tool numbers).
Fig. 5.2c
In this case, Tool is required with the
parameters: Diameter = 8 mm and
Typology = 1 (Blind drilling tool).
Fig. 5.2d
In this case only the Diameter value has
been programmed: program will select the
first tool detected with Diam=8, without
considering typology.
The following Table summarizes the milling Tools characteristics. A special "Tandem" execution
provides two contemporaneous milling cycles, then with the selection of a milling tools pair.
T.P.A. S.p.A.
Using manual 29
Fig. 5.3
For the different executive typologies (in the columns) the different using levels (for options and
parameters) are showed.
· Automatic: the Automatic option, if enabled, forces the program to select the Group and Tool
defined by default. Normally this option is used in the case of DXF files importing. In this case
the tool fields are not accessible!
· Group: When not in "Automatic" mode, the Group code is compulsory (if machine is configured
with only one Tool-head, the Group=1 is assumed by default).
· Tool 1: The Tool number programming is compulsory, except in "Automatic" mode. "By
Diameter" programming is not allowed in the Milling works.
· Tool 2: Must be programmed only in the case of Tandem execution.
· Mill Radius value: This parameter is not used for an automatic tool selection, but only for the
Tool Radius Correction procedure (see next parameter). Programmer must consider that this
value is used for the Tool Center path computing: consequently, if programmed with a different
value (respect the effective Tool Diameter, defined in the "Tools Parameter") may produces a
special milling execution as, if entered with a greater value, leaving in the piece an extra-
thickness (convenient in the rough steps).
· Mill Radius Correction : If enabled, requires also the Correction side (left or right), relative to
the moving sense. Mill radius correction assumes, as parameter, the previously entered value and
computes the effective toll center trajectory.
· Option: Progressive Radius correction - If this option is enabled in the Setup, this initial
position will not be corrected while correction will be computed on the final point of the first
profile bloc. The system will generate a special moving instruction, from the Setup point (not
corrected) to the end point of the first bloc (corrected).
In the following, the different Mill Radius Correction procedures are showed, in terms of
programming modes and executive result (see Fig. 5.4a-b).
T.P.A. S.p.A.
30 Genesis Evolution
Fig. 5.4a
The Mill Radius Correction is required on
"Left" side, with Radius = 5 mm.
If the Radius value is missing, program will
assume the "Tool Parameter" assigning.
Fig. 5.4b
In the upper figure, the MRC procedure is
selected in "Left" side, in the lower in the
"Right" side.
In Edicad32, the special command button :
Direction visualizing
allows to enhance, in the drawing, the moving
sense
In the following Table, the different Milling Tools typologies and the Working Faces compatibility
are listed:
Shaped Mill Rotating Smoothing Vertical Mill Rotating Head Toroidal Mill
Head Mill tool with Offset
Fig. 5.5
As showed in the Table, some particular milling Heads cannot be used on every faces: only in the
face #1 all typologies are allowed.
In programming, the different Mill typologies, supplied in the Technological Data Base may be
recalled with the Help command:
Tool Help-on-line:
The Sawing working do not requires particular building functions, since the path may be only based
on a single segment: horizontal (Saw X), vertical (Saw Y) or along a sloped straight line (Saw
degrees).
Then a single instruction may code as its Setup (Entry and initial point) as the Final point.
Nevertheless, the special working and tool characteristic cause a particular management for the "Mill
Radius Correction" mechanism and for the "Chord correction".
T.P.A. S.p.A.
Using manual 31
In particular:
Mill Radius Correction: in this case, this procedure assumes the special meaning since correction is
related to the Saw Thickness, that is considered (as the diameter for the Milling case) to compute the
effective tool Center path.
Saw Diameter: The Saw diameter is also considered, but for another correction procedure ( the
"Chord correction" , described in the Part 2- Edicad32 Workings ) may be recalled to compensate
the groove enlarging effect, caused by the tool diameter, then reducing the effective tool center
movement length.
Fig. 5.6
In the figure is enhanced the effective a parameter (half-thickness), considered for the Tool Radius
Correction procedure.
The Technological Database may be accessed, from Edicad32, in "Read only" mode: all data may be
recalled for displaying but cannot be modified.
To recall the "Help for Tools" facility, the following command-button must be selected:
or it is possible to click on the Tool field button on the working setting dialog box
In the corresponding graphic windows, Programmer may verify if the selected tool is "compatible or
not" with the current working: the following icon are displayed on the side of the tool identifier:
An important aid for tool selection is provided by the information included in the ID field, which
shows the tools which can be selected for the current working
T.P.A. S.p.A.
32 Genesis Evolution
\
Fig. 5.7 - Help on Tool
In the Fig. 5.7 and 5.8a-b some examples of "Help on Tools" are showed, with the graphic images
may be recalled from the Technological Database.
Fig. 5.8a
Examples of "Help on Tools" images, recalled from Data Base, and related to the Drilling
tools working on faces 1, 4 / 6 and 3 / 5.
Fig. 5.8b
Rotating Heads, with Sawing and Milling tools.
All these Drawing commands may be run from the Literal menu or, most rapidly, directly from a
CAD tools Palette.
T.P.A. S.p.A.
Using manual 33
Before the tools recalling, as later listed and described, Programmer must identify, selecting them,
all the geometrical objects will be subjected to manipulation and more must define (using the special
commands listed as 1 to 3, in the Sect. 1.3.9) the Reference mode (between Cartesian, with Mouse or
Polar) for the quotes and target positions of the operation will be recalled.
When these rules have been defined, the recalled Command will work on the selected geometry.
It works as on the "single point" Workings (as Drillings) as on the Profiles: with this command, all the
selected workings are moved to the new programmed X, Y and Z quotes, defined in Absolute or
Relative modes.
This operation, normally used for profiles, allows to rotate the drawing, by a programmed angle,
assuming as center a defined point, programmed in absolute or relative (to final point) mode.
T.P.A. S.p.A.
34 Genesis Evolution
This operation allows to duplicate the selected workings, mirroring them respect to a vertical
symmetry axis, positioned to a programmable X quote (by default proposed in the medium of the
panel: x = L/2).
This operation allows to duplicate the selected workings, mirroring them respect to an horizontal
symmetry axis, positioned to a programmable Y quote (by default proposed in the medium of the
panel: h = H/2).
T.P.A. S.p.A.
Using manual 35
This operation allows to duplicate the selected workings, mirroring them respect to a sloped symmetry
axis, defined by a Points pair.
This operation allows to repeat more times the selected workings, moving them along a sloped
direction, defined by the three components : Delta X, Y and Z.
T.P.A. S.p.A.
36 Genesis Evolution
This command allows to "divide" the selected profile or subroutine in the single geometrical elements.
This command allows to "cut" the current profile in correspondence of the selected internal point: this
point will assume the Setup meaning for the second part of profile.
This command allows to reverse the moving sense along the selected profile, then causing exchange
between the original Setup and Final points.
This command may by referred only to a closed profile: il alows to move Setup from original to a new
programmed internal point: the moving sense don't change.
This command allows to increase or reduce the selected profile, applying to them a programmable
Scale factor
T.P.A. S.p.A.
Using manual 37
This command may be referred only to two different profiles, one of these assumed as "fisrt", the
other as "second": command allows to "move" the second profile as its original initial point (Setup)
coincides with the final point of the first: the second Setup will be erased, causing the two paths
linking.
This operation is similar to the " Profile Link" command but don't require the second profile moving:
the original paths linking is performed by a segment traced from the final point (of the first) to the
Setup point of the second.
The second Setup operation is erased.
If one or more polygon Vertices have been selected, this command allows to round off them with a
programmable Radius.
T.P.A. S.p.A.
38 Genesis Evolution
If one or more polygon Vertices have been selected, this command allows to insert a linear
"beveling", with a programmable Distance from the corner.
When a milling profile, and its Setup point are selected, a programmable "entry path", linear or
circular with tangent continuity (relatively to the profile initial direction) may be inserted with this
operation: the Length (for "linear") or Radius (for "circular") values may be programmed. The
original Setup is moved in back to the initial point of the added path.
Similar to the previous command, allows to add (to the Final point of the selected profile) a linear or
circular "exiting path", with tangent continuity with the final direction.
Starting from a selected profile, that presents changes in Z quote, this command allows to generate a
new path, "projected" on the XY plane, where the Z values are annulled.
Parametric programming allows to answer to the flexibility and modularity requirements, typical of
the Application, where the panels working layouts need to be rapidly modified and customized,
following well defined geometrical rules, related to the constructive concepts of the composite
furniture.
The basic concept is that is possible to identify, for every panel typology, a standardized working
T.P.A. S.p.A.
Using manual 39
layout just including, in its own description, all the mathematical and logical rules able to generate,
automatically, all the possible variants may be required in all the special executions (for change of
nominal dimensions or customizations) may occur in production.
In practice, this methodology allows to define the working program, for the "standard" panel, in
terms of a set of basic instructions, which structure (in terms of geometrical characteristics) may
change on the basis of mathematical expressions, including a set of "variables" that may code the
specific execution conditions.
According to these basic concepts, all the working Macro-instructions, included in this basic
program, will be characterized by a set of variable "parameters" and mathematical formulas that allow
to modify the final result simply re-assigning their values with the required current data.
This mechanism may also be enhanced using a "Parametric" Subroutines Library: with an
appropriate subroutines organization, every part program may be realized in terms of a set of
subroutines recalls, each of one with their internal parameters re-assigning with the current values,
required for every special execution. The parametric subroutines organization allows to reduce the
total quantity of different executive programs must be stored in the archives, since special executions
may be easily derived from the standardized types, only by a "local" parameters re-assigning.
Practically, the "Parametric Programming" concepts suggest User to follow these logical steps:
1. In the beginning, analyze, for every panels typology, the typical working patterns, in order to
identify the most recurrent layouts may be saved in form of subroutines
2. Then recognize, for these "standard" recurrent layouts, the logical and geometrical rules that may
change their structure according to special requirements, as, for instance, when changes of the
main panel dimensions are required
3. At this point, define the corresponding mathematical expressions, including the dimensional data
(or other significant Variables), may code these modifying laws, and use these expressions to
represent all the significant parameters (quotes, distances, angles, and so on) that may
characterize the geometrical pattern of the workings
Finally, organize the Main Programs in terms of successive subroutines recalling, passing to these the
effective current parameters values, as required for every specific execution. The main program
itself may be characterized in terms of a set of internal variables, may be every time re-assigned, in
order to generate, when required, particular variants according to special execution requirements.
1.7.1 Variables
The Parametric Programming modality, supplied by the Genesis Evolution Numerical Control, is
based on the possibility to define and recall a set of program "Variables" and mathematical
expressions to code the Workings parameters.
Offset Variables: this variables group may be used to define local translations of the Reference
Origin of the Axes, then allowing more flexibility in the Machine setting and in the panels
arrangement on the working plane.
T.P.A. S.p.A.
40 Genesis Evolution
Fig. 7.1
The Offset values indicate the local
translation may be associate to the
panel, when positioned differently to
the usual Field Reference pins.
(Fields Origins).
"V" variables : Include 8 special program variables, not directly used in the mathematical
expressions, that may be transferred to the PLC program, for the Machine Interface (Fixed Cycles)
customization.
Fig. 7.2
These Variables are directly managed
by the PLC program.
"R" Variables : This is the most important program Variables class (until 300 variables are available,
named r0 to r299 ) since may be locally defined in any Main program or Subroutine and used in the
formulas for the Workings parameters defining.
Fig. 7.3
The "R" Variables may be used for numerical values or characters string coding, since provide the
following Data type format:
The R-type Variables may be also used to define the "Offset" and "V" Variables.
The R-type Variables may be marked as "Re-assignable" (field w=[x]), as, typically, in the case of
the Subroutines, where may be required to be modified by the recalling program.
The R-type Variables must be assigned, as Value and Typology, at the Program opening, before to be
recalled and used in the mathematical formulas for the workings parameters definition.
Then, any rxx variable, will be supposed for using, must be preventively initialized with a numerical
value. Alternatively, any variable may be itself defined in parametric format, by a mathematical
expression including other rxx variable, provided that only already defined and with lower
T.P.A. S.p.A.
Using manual 41
Practically, it's required that any mathematical formula must be resolvable and computable.
In the case of Subroutine, at the creating moment, it internal Variables must be numerically defined,
as to allow a local interpretation. All of these that are supposed will be modified by the recalling
Main program, must be countersigned as "re-assignable", setting the field w =[x].
In any program the following internal "basic" Variables are implicitly defined and available for using:
-L, H, S: dimensions of the piece: these variables are automatically defined in the "Piece Definition"
session (see Part Ex. 1.0 of the present Manual). These variables may be used, as numerical value,
in any field of the Working Parameters data tables.
-Lf, Hf, Sf: dimensions of the current working Face (logically related to the previous).
We can see, for instance, as the "medium" point of the Face #3, for a panel with dimensions
[600x400x80], may be indicated :
3. By the lf, hf, sf variables (Face dimensions), with the expressions: X = lf/2, Z = hf/2, Y = 0.
à Note: This is a lateral face of the panel, so the variable "hf" is logically associated to the panel
thickness, therefore it refers to the Z axis direction.
Expressions allow to correlate the recalled Variables with a set of basic Arithmetical and
Mathematical (Transcendent) Operators and Algebraic and Trigonometric Functions.
T.P.A. S.p.A.
42 Genesis Evolution
à Note:
1. Division may return a decimal value, according to the operands original values
2. The Integer Part operation realizes a decimals cutting off on the Quotient (result of division), returning an
Integer value, eventually approximated by defect.
3. The Remainder operation provides, if needed, a preventive cutting off of the decimals of the two operands of
the division (then reducing them to an integer numbers), then returns the value of the Remainder.
Examples:
Assuming r2 = 27.15 e r5 = 4.73 as current values for the Numerator and Denominator:
T.P.A. S.p.A.
Using manual 43
Examples:
Examples:
T.P.A. S.p.A.
44 Genesis Evolution
These special Functions, normally not available for the Final User, allow a special Macro realizing.
getat[nn;np ] Returns the decimal value of the character np extract from the $nn string
According to these general requirements, the Edicad32 programming environment allows to compose
the working programs in terms of aggregations of basic subprograms (named "Subroutines", in the
following), that may be previously created and saved.
In order to be used in the most possible generalized mode, Subroutines may be created in a
"parametric" format: their internal workings structure may be based on a set of re-assignable
variables, that will be defined by the recalling program. For instance, the internal drilling pattern may
be designed as to adapt itself to the panel dimensions, as defined in the main program.
System is structured in very powerful mode, since provides until 5 "nesting" levels of subroutines,
allowing a very complex parametrical rules.
T.P.A. S.p.A.
Using manual 45
Then the final User has the possibility to analyze the typical requirements of own panels typology, in
order to identify the most recurrent drilling schematics, in the most elementary form, and to create the
basic subroutine level; then, passing to the following levels, to aggregate this as to obtain the most
complex layout, introducing the parametric rules for composition.
Obviously the "parametric and structured" programming mode allows to simplify the normal
programming phases, when the subroutines set has been prepared, since the current programs will be
reduced to a simple pre-built subprograms aggregating, with auto-adapting rules already defined and
tested, then reducing the programming time and errors.
Edicad32 supposes a structured archives, where executive "main programs" and "subroutines" are
saved in different dedicated subdirectories:
No differences exist, between programs or subroutines, concerning the usual programming rules and
modalities: only, a program save in the main directory cannot be recalled as subroutine.
These two function differs only for the "multiplying" mechanism. This last procedure allows to recall
more times, in contemporary, the same subroutine, changing, with a programmable rule, the
application point:
· by SUB0 : multiplying is realized along a programmed sloped line, where the different
application points are defined by the components (the "Offset X" and "Offset Y" parameters) of
the distance: more a progressive change of depth may be programmed with the "Offset Z"
parameter
· by SUB2 : multiplying is realized on a rectangular pattern , characterized by a programmable
number of "rows" and "columns", and their inter-axes, also indicated as "Offset X" and "Offset
Y".
T.P.A. S.p.A.
46 Genesis Evolution
In the subroutines recalling, many manipulation optional commands (will be described in the Part 2 -
Sect. 5 of the present Manual) allow to modify the application logic or the internal pattern as,
synthetically:
· import, in the main program, the complete subroutine or only a "single face" part: then, in the
internal subroutine body provides working on different faces, only the selected face will be
imported and inserted on the current main program face (that may equal or different to the
recalled
· then, according to this last possibility, insert in the main program, working originally programmed
(at level of subroutine) on another face: then, for instance, a particular drilling pattern may be
programmed, in the subroutine, only one time and on the basic face, but recalled more times and
inserted in more different faces of the main panel.
· With a single recalling function, to "repeat" application along a programmable pattern of "knots".
· Translate and/or rotate the subroutine, when inserted
· Hook them to the "current" point (very convenient for milling profiles)
· Mirror the subroutine itself, with an X or Y symmetry operation
· Increase or reduce its internal logical dimension, according to a programmable "Scale factor"
· Recall them, with its internal Variables re-assigning, in order to modify layout and structure
· Force a Logical Condition for recalling, defining a "Comparing relation" based on mathematical
expressions including the main program Variables.
T.P.A. S.p.A.
Using manual 47
The Fig. 8.2 show the final result of a multiple recalling, on the face 1 of the main program, of a
simple subroutine (named sub1.cnc and including a single Drill): the Repeating Factor (= 2) allows
to add (to the basic recalling), other two, along a sloped straight line, characterized by the following
two Cartesian component of inter-axis: Offset X = 50 mm and Offset Y = 20 mm.
This mechanism allows to obtain very different final results, according to the specific main program
requirements, as, for instance, to "modulate" all the internal quotes to the current panel dimensions.
This possibility may be more conveniently used if Programmer took care, in the original Subroutine
program, to indicate all the quotes (destined to be modulate by the Main) in terms of mathematical
expressions based on its internal variables (r0 – r299): this logic may be applied to define, for
instance, the most significant geometrical or technological characteristics (positions, inter-axes,
diameters, depths, and so on) of the workings, when supposed to be redefined by the recalling
program. In the subroutine creation, obviously the variables must be defined locally with a default
values, to allow building and graphic representation, but marked with the special "re-assignable"
("wr") code.
T.P.A. S.p.A.
48 Genesis Evolution
At recalling, Programmer (using the "Rnnn" command-button) will must recall the corresponding
"Variable Data Table" (see the Fig. 8.3) for the "current" parameters re-assigning: this last may be
realized with a direct numerical assigning (as in the example) or using any mathematical expressions
including Main program internal Variables, if initialized.
T.P.A. S.p.A.
Workings Programming 49
2 Workings Programming
The characteristic "Piece parameters" recalling is performed clicking, with the mouse, the following
Toolbar button:
Piece parameters
àNote : Thickness always refers to the Z+ axis direction: so the entry movement programming (hole depth, etc)
implies the insertion of negative values.
àNote : The L, H, S variables can be used as parameters in the definition of the working application positions.
So the programming of goups of similar programs becomes more easy and flexible.
When the face has been selected (with the mouse) and visualized in the "Face View", the Drill
working may be inserted clicking the following "Workings toolbar" button:
Drill (x,y,z)
In the example, the Hole is programmed exactly in the panel medium; then, in alternative to the direct
numerical programming ( X = 500, Y = 250, Zp = -40) a "parametric mode" (X = L/2, Y = H/2, Zp = -
40 ) may be more conveniently used, making reference to the panel current dimensions.
T.P.A. S.p.A.
50 Genesis Evolution
à Note : The "Parametric Programming" allows the other general purpose variables using (more than
Dimensions), as showed in the following.
The graphic window will display, at this point, the effective position of the programmed Hole.
à Option: Relative
This option, not used in the example, allows to program the X/Y working quotes in "Incremental"
mode, referred to the "current position", assumed as the immediately previous Working application
quote.
During the entry movement of the tool in the piece, the downing Feed is normally considered fixed
along the path. Nevertheless, overall in the case of "passing" drills, it's possible to program a slowing
down in the initial part (Entry in the piece) or in the final (Exiting from the opposite side), in order to
avoid a piece chipping!
Slowing down is defined, as percentage rate, in the "Technological Parameters" Session ("Working
Feed").
In these two fields, the Entry and Exiting outlines length may be entered: the intermediate outline
will be executed at the standard speed.
Fig. 1.1
Slowing down paths meaning.
The programmed quotes are referred to the
initial (Entry) and final (Exit) paths.
The internal path is executed to the nominal
rate.
à Area: Tools
This area allows to select the drilling Tool or directly (by the Group and Tool Number) or,
implicitly, setting the "Diameter" and "Typology" attributes: in this last case, system will provide to
find (if present) the correct tool for matching.
T.P.A. S.p.A.
Workings Programming 51
à Area: Feed
The Feed values programming is not compulsory: the Tool selection implicitly may recall the
corresponding "Default" values, as defined in the "Tool Parameters" session. Nevertheless, if not
standard values are required, these fields allows the tool "Entry" Feed [m/min] and the Spindle
"Rotation" Speed [rev/min] entering.
In this case, the X,Y quotes will be considered as an "incremental displacement" from the previous.
Then, entering the values:
X = 50, Y = 25,
Now we suppose to require three other holes, positioned as to realize the four vertices of a rectangle
of 100x50 dimensions
A)… the first, to use an "Absolute" programming, then recalling more times the DRILL (x.y.z)
instruction and entering the absolute coordinates [ X=450, Y=275 ] , [ X=450, Y=225], [ X=550,
Y=225 ] and [ X=550, Y=275 ], referred to the panel Origin.
B)…the second, to use the "Relative" programming, starting from the first absolute Drill:
First Drill(x.y.z) at the absolute coordinates X = 450, Y = 275: the following, with the "Relative"
option, with the values: [ X=0, Y=-50 ], [ X=100, Y=0 ] and [ X=0, Y=50 ].
T.P.A. S.p.A.
52 Genesis Evolution
"Polar" programming requires to set the Pole (Origin of the reference), with the absolute Xcenter
and Ycenter quotes, the distance of the Hole ("Module ") and the Angle, referred conforming the
trigonometric standard convention (positive if counterclockwise) , relatively to the X+ direction.
In this example, we consider to insert 4 Drills, in correspondence to the four corners of a square,
centered to the medium of the panel (x = L/2 and y = H/2, where the Pole will be defined) at a
distance of 70mm.
We enter, for the Pole, the values: Xcenter = L/2, Ycenter = H/2, supposing Zp = - 40 mm.
The first Hole will be placed at the Angle = 45° and Module = 70 mm.
The following (with the same Module) will be characterized by the Angle values of : 135° (=
45°+90°), 225° and 315°.
T.P.A. S.p.A.
Workings Programming 53
Multi-tools Drilling
This instruction allows to program a multiple Drilling, by a direct Tool pattern selection.
In the example, two contiguous Tools (N. 1 and N. 2) are selected, in order to realize an Holes pair
with a distance of 32 mm., as the selected tools pitch. The "Tools" field requires, in this case, a
special syntax with the expression " 1 ; 2 ".
The Drill coordinates, absolute or relative, are to be referred to the first Tool of the list.
In the graphic displaying, all the programmed drills will be presented, according to the effective tools
pattern.
- Repeat X
T.P.A. S.p.A.
54 Genesis Evolution
This function requires: the Xi (initial), the Xf (final), and the Y quotes of the sequence, the Zp depth
and the distance between the holes (Pitch).
- Repeat Y
Similar to the previous, this function requires: the Yi (initial), Yf (final), the X quote of the
sequence, the Zp depth and the distance between the holes (Pitch).
- Repeat XY
To define completely the sequence direction, this function requires: the Initial point (Xi,Yi), the final
point (Xf, Yf), the Zp depth and the Pitch.
In the example, the holes sequence starts from Xi,Yi = [900,450] until to Xf,Yf = [50,25] with a pitch
of 50 mm.
T.P.A. S.p.A.
Workings Programming 55
- Fitting X
- Fitting Y
The "Fitting" operation is similar to the Repeat, since allows to program, easily, a set of Drills, at
constant pitch, along the X or Y direction.
In this case, nevertheless, the drill inter-axis is not directly programmed but implicitly defined by the
programmed tool pattern, that must include almost 2 tools.
The tool pattern is required to define a constant inter-axis between the selected spindles i.e. tools =
1;2;3 or tools 2;3;4. More, the selected tools sequence must be aligned compulsory or in the X
direction (for Fitting X) or in Y direction (for Fitting Y).
Normally, with the typical Tools Head layout, only Pitches of 32mm or multiple may be realized.
- Drills on Circle
In the example, a set of 12 drills (then with angular sector of 30 degrees) are programmed, on a
circumference with Center X = 500, Y = 250 and radius 100.
T.P.A. S.p.A.
56 Genesis Evolution
àOption dA° :
In order to cancel this option select Automatic distribution and then OK, now the program put all the
holes almost overlapped; we can observ that with a
Select again Edit and assign to dA° the value 20... then observ what happens !!!
The program distribuited the points along the circumference with an amplitude of 20° between an arc
defined by the point , and another arc.
T.P.A. S.p.A.
Workings Programming 57
System will place eleven holes building a polygon with eleven sides, inscribed in the circumference.
The programming rules are the same as the previous case but the drill pattern will be outside the
circumference.
In the following example, we consider a circumscribed Square, with initial Angle = 45 degrees:
T.P.A. S.p.A.
58 Genesis Evolution
Saw X
We consider to program a cut, with length = 300 mm., at the indicated quotes.
In the example, Sawing is set to the quote Y=250, starting from Xi = 300 and ending to Xf = 600,
with 2 steps, the first with depth Zp= -10 and the second with Z2= -15.
Fig.2.1a
Program executes sawing from Pi (300,250) to Pf (600,250)
T.P.A. S.p.A.
Workings Programming 59
Programmer must consider that, in the sawing, the effective outline length will be greater than the
programmed Pi-Pf segment, of the quantity, indicated in the figure as (a+b), related to the Saw Radius
and the final Depth.
The "Chord Correction" option allows to recall a special procedure to compute this "extra-quantity"
and, consequently, to modify the Entry (Pi') and the Exit (Pf') points in order to obtain the required
segment length.
Sawing in Y direction is similar to the previous and is based on the same programming rules.
Saw degrees
The other parameters (Depth, Options and so on) have the same meaning of the previous cases.
T.P.A. S.p.A.
60 Genesis Evolution
Fig.2.1b
Sawing starts from (Xi, Yi), with a length of 300 mm and inclination = 37°, as programmed in
the Dialog box.
- Mill Setup :
This function allows to set the position of the Milling tool in a programmed point of the face, in
order to prepare it for a milling profile, that will be geometrically defined in the following blocs.
Setup is characterized by the Cartesian coordinates of the Initial point (i.e. X = 500, Y = 250) and
by the milling depth (may be changed during the following profile)
- Note : Mill Setup must be always programmed at the beginning of every milling path.
In the following, the different geometric elements, that may be included in the profile, will be
described.
Every geometric element will assume, as Initial point, the final point (indicated as "Current point")
of the immediately previous bloc.
à Option: Relative
T.P.A. S.p.A.
Workings Programming 61
As usually, enables the "incremental" programming, assuming the programmed quotes values in
incremental mode, referred to the Application point of the previous Working.
May be very convenient, in programming, to prepare a pre-defined milling path, defining them as
"stand alone" but thinking to recall it recurrently, more times, as to be inserted into other profiles. In
this case, this profile may be programmed alone and stored as a Subroutine, but normally it will be
recalled by other programs ("Main") as to be linked to the profile in building, hooking them in
correspondence with the "current" point (the final point of the previous main program bloc, before
recalling).
Then the "Point Hooking" option supplies this mechanism, linking the recalled profile, then erasing
its internal Setup and moving them as to place its initial point in correspondence of the Current.
Fig. 3.1a: In the figure, the first Mill Setup is indicated: at the end of the third line (2°
setup) an external "subroutine" path may be linked with the "Point Link" option.
à Option: Multiple Setup
In programming may occurs that a defined profile must be worked, in sequence, by more different
tools, for instance for "Rough shaping", "Finishing" and "Post forming", without changing in the
geometrical path.
The "Multiple Setup" option allows to avoid a repetitive geometrical definition of the profile,
allowing to define it only one time, and assigning to it a sequence of different Tools Setup.
The first programmed Mill Setup will indicate the first working tool, with the usual set of parameters
and with this Option enabled. All the other Setup will follow immediately, according to the working
sequence: all of these must be characterized by the same X,Y "Application" quotes: in effect, it will
be sufficient to leave empty the corresponding fields and enable the "Point Hooking" option or,
alternatively, to enter Zero quotes and select the "Relative" option. In any case, all the Setup
instructions must be characterized by the "Multiple Setup" option enabled !
After the last Tool Setup, the geometrical elements will follow as usually.
T.P.A. S.p.A.
62 Genesis Evolution
Fig. 3.1b : In the first figure, the first Setup is programmed with the Multiple Setup option enabled.
In the following two, we can see two different programming modes for the second Setup:
- in the second Table, the Point Link option enabled
- in the third, a nul quotes are entered, with the Relative option enabled.
Concerning the "Technological area" programming and the Tool selection, Programmer is suggested
to make reference to the Sect. 1.5 , of the present Manual.
Similar to the Mill Setup (x,y,z), this instruction allows to program the Setup point with a Polar
Reference System using, as already described in the Ex. 1.3 (Drill (polar coordinates)
Fig. 3.2 :
Program defines the Setup point in "polar" mode, with the "P" point
characterized by a Module =100 mm, Angle = 60° from a Pole "O" = (500,250)
T.P.A. S.p.A.
Workings Programming 63
This function allows to define the initial position, in the space, of a Rotating Tool, using the primary
rotation Alfa axis (referred to the vertical axis) and the secondary branding Beta axis (placed on the
XZ plane when Alfa=0).
The Setup point may be programmed in Cartesian or Polar modes, using the following two different
macro-instructions:
The Setup point is defined by the X and Y quotes The Setup point is defined by the Pole position
(in Absolute or Relative mode), referred to the (XCenter, YCenter), the Module and the Angle.
selected working face. Zp indicates the initial Zp assumes the usual depth meaning.
Depth.
Note: For a detailed description about the sloped faces programming rules, Reader is suggested to
make reference to the Sect. 2.3.25
T.P.A. S.p.A.
64 Genesis Evolution
We suppose a Mill Setup programmed at the quotes X = 100, Y = 100, Zp = -10, and we select:
- L01 (X,Y,Z )
In this example, we enter the Final point quotes (absolute) Xf = 500,Yf = 100, Zp = -10:
Program will display the mill path, until the programmed point.
Solution : the relative coordinates of the following Linear bloc will be:
It allows, if required, to modify the working Feed for this bloc, changing the original value defined
in the Setup or in the previous blocs.
T.P.A. S.p.A.
Workings Programming 65
- L02 (pole,A,U)
Fig. 3.5a :
In the figure, the final point of the segment is programmed with Polar reference and the following
parameters:
For demonstrative purpose, we can see what happens if we change, maintaining the Pole in a fixed
position, the Module or the Angle of the Polar reference.
T.P.A. S.p.A.
66 Genesis Evolution
Changing the Angle, the Final point will move according the Fig. 3.5b
Fig. 3.5b
Changing the Angle, the Final point
will move along the indicated arc of
circumference, centered to the Pole
If the Module is changed, the Final point moves according to the Fig. 3.5.c
Fig. 3.5c :
Changing the Module, the Final Point
will move along the vector defined by
the angle.
L03 (A,U)
This function is similar to the " L02", but implicitly assumes the Pole on the "current" point, then on
starting point of the segment.
Fig. 3.6
T.P.A. S.p.A.
Workings Programming 67
The milling segment is defined by the Module (=150mm) and by the Angle (=45).
- L04 (pole,A,X)
The effective position of the Final point will be : Xf = 300 (programmed) and Yf = 273.20
Note: Similar to the present, the " L05 (Pole, A, Y)" function requires, for the Final point
definition, the effective Yf quote.
- L06(A,X)
T.P.A. S.p.A.
68 Genesis Evolution
Fig. 3.8 :
The Final point will be computed at the quotes :
Xf = 250 (programmed) and Yf = 359.80 (computed).
In the example, we suppose has been programmed a Mill Setup (at the coordinates X=100, Y=100
and Zp=-10 and, after, a Arc "A04 (Arc by 3 points)" function, as showed in the figure:
Selecting
- L08 (Z,tangent)
we must enter the only "Module" parameter, then the segment required length.
T.P.A. S.p.A.
Workings Programming 69
Fig. 3.9
Program generates the new segment with Tangent continuity respect to the previous arc, with the
programmed length.
à Note: The Zp field allows to modify Depth, on the final point, respect to the starting value. Then
the Tangent continuity must be considered only related to the XY plane projection of the segment.
à Note: Similar to the present, the "Linear L09 (module)" function do not admit a change of
Depth: consequently the Zp field is missing.
- L10 (closure) :
à Note: This programming mode, for the Tangent definition (A or P1-P2) will be also used in the
following, in the set of "Arc" functions.
T.P.A. S.p.A.
70 Genesis Evolution
- In the first case, Tangent is defined by the point pair P1 (100,100) and (300,300), forcing an
inclination of 45°.
- In the second, these fields are ignored, with a direct "Angle" programming (= 45).
The final result is the same: when direction is defined, the milling segment is completely
characterized by its length (=Module).
Fig. 3.11a : Example of the L12 Fig. 3.11b : In this case, the segment Fig. 3.11c : In this case, the
function Table direction is defined by the points pair segment direction is defined by
P1-P2 direct Angle entering.
In the example, we suppose that the Mill Setup (x,y,z) has been programmed in the medium of the
panel (à Ex. 3.0). Then selecting:
T.P.A. S.p.A.
Workings Programming 71
- the Xf and Yf values for the Final point of the arc (in Absolute or in Relative).
- the Zp depth,
- the coordinates of the Center (Xcenter, Ycenter), always assumed in incremental mode
respect to initial point (current point)
- the moving sense (Clockwise / Counterclockwise) of the arc
Taking in account of the position of the initial point, in this case assumed on the Setup (X1=500,
Y1=250), program realizes an Arc with Radius = 50 mm and Center on the point (Xc=500+50=550
and Yc=250+0=250).
The Final point coordinates, programmed in Relative, will result Xf=500+100=600 and
Yf=250+0=250.
à Note: This programming mode, assigning all the four values (2 for the Center and 2 for the Final
point) will result, in general, "hyperstatic", in the sense that incorrect values may cause situations with
geometrical incompatibility, then causing "Programming Error" messages.
à Note: the A01 function indicates an Arc on the plane XY. Similar functions (the arc A05 and the
A06) define, with similar rules, a circular arc in the other XZ and YZ planes.
As example, we consider as current point the Final point of the previous instruction. We select:
T.P.A. S.p.A.
72 Genesis Evolution
- Final point (in Relative): Xf=100, Yf=0 (then, in absolute X=600+100=700, Y=250+0=250)
- Internal Point (in Relative): X1=50, Y1=100 (then, in absolute X=600+50=650,
Y=250+100=350)
Fig. 3.13 :
Initial point = Pi (600,250);
Final point = Pf (700,250);
Third point = P1
(650,350);
à Note: When the intermediate point position is defined, system computes automatically the
moving sense on the arc, as to include this programmed point.
à Note: Similar to the A04 function, the following two allows to realize the same operation on the
other two planes (XZ and YZ).
- Xf = +100,
- Yf = +10 (in Relative)
- Depth Zp=-10
- Radius = 70
T.P.A. S.p.A.
Workings Programming 73
Fig. 3.14a :
1) Initial point P1=
500,250
2) Final point P2=600,260
3) Radius of the arc = 70
à Note: The Clockwise/Counterclockwise sense of the arc may be also available. The Center choice
(between the two possible) is, on the contrary, forced when the "smaller length" condition has been
selected.
à Note: Similar to the present, the function "A12 (radius, greater arc) on plane XY" allows to
select the greater length arc.
Fig. 3.14b :
Arc is built with the same
Radius and Final point of the
previous case: the greater Arc
option causes a different Center
choice.
à Note: As showed, a total of four different arcs may connect the points 1 and 2, with imposed
radius: 2 clockwise (Greater and Smaller) and other two counterclockwise.
Programming requires then the Zp depth, the Center coordinates, the viewing Angle and the moving
sense (CW or CCW).
- Note : The Xcenter, Ycenter quotes are always considered as incremental respect to the current
point: the "Relative" option is referred only to the Zp parameter.
T.P.A. S.p.A.
74 Genesis Evolution
- X center = +100,
- Y center = +100
- Angle = 90,
- Sense: Clockwise
Fig. 3.15 :
Program introduces an Arc,
with Center (600,350), until
to the Final point [X=600,
Y=491.42].
à Note: System computes automatically the effective coordinates of the Center (Xc= 500+100=600,
Yc= 250+100=350), the Radius (R= 141.42), then obtaining the Final point coordinates:
We select:
- A15 (entry tangent) on plane XY
and we suppose that the previous bloc should be an horizontal segment, with Final point (Point Pi) at
the quotes: 200,200. The Entry tangent, forced by the previous bloc, will assume Angle = 0.
In the example, with the entered values, the Final point is computed at the quotes:
T.P.A. S.p.A.
Workings Programming 75
Fig.3.16 :
1) Initial point Pi supposed at the
quotes (200,200)
2) Final point Pf computed at the
coordinates (300,300)
1) with the points pair P1(x1,y2) and P2(x2,y2), defining an oriented segment, or
2) by the Angle.
à Note: The P1 and P2 points may be any and, in particular, the P1 is not compulsory coincident with the Initial
point of the Arc.
Example: we select:
- A16 (initial tangent, final point) on plane XY
T.P.A. S.p.A.
76 Genesis Evolution
Fig. 3.18 :
Exit direction is
forced by the
P3(350,300)-
P4(400,400)
segment.
- Arc1-Arc2 (C1,C2)
We suppose a Mill Setup positioned at the coordinates (100,100,0), then we enter the following
T.P.A. S.p.A.
Workings Programming 77
values:
Available options:
1) Counterclockwise (for Arc1) : allows to select the Clockwise/Counterclockwise sense of the
first arc
2) Concordant sense (for Arc2) : allows to select a Concordant or Opposite sense for the second
T.P.A. S.p.A.
78 Genesis Evolution
T.P.A. S.p.A.
Workings Programming 79
Fig. 3.20 : In the arc computing, the R2 radius substitutes the C2 center, that is derived
automatically
entering the showed values for parameters (note Sense Not Concordant).
T.P.A. S.p.A.
80 Genesis Evolution
Fig. 3.21 : In this case the Center of the arc1 is computed on the base of the radius R1. The
programming rules are similar to the previous cases.
As usually, the exiting Tangent may be programmed directly, by the Angle, or implicitly, by the P3-
P4 pair.
T.P.A. S.p.A.
Workings Programming 81
Fig. 3.22a
In this case, the exiting direction is
programmed, directly, by the final Angle (=
45 degrees)
We can see, in alternative, the exiting direction programmed by the P3-P4 segment, that forces a 45°
angle:
T.P.A. S.p.A.
82 Genesis Evolution
Fig. 3.22b:
In the following example, new values
for the segment [P3=(50,50) -
P4=(100,300)], will define a new angle
of 78.69°.
- X center = 0, Y center = -100 (coordinates are assumed in Relative respect to the Final point);
- Xf = 400, Yf = 300, Zp = -10
- Sense: Counterclockwise
- Angle = 70
T.P.A. S.p.A.
Workings Programming 83
Fig. 3.23 : In the figure we see that the first Arc is programmed in CCW sense: with the
Option "Automatic" system reverses the sense for the second, in order to maintain the
Tangence continuity.
Everyone of the two angles may be programmed or directly (Angle) or by the points pair: (P1-P2 for
the first, P3-P4 for the second).
T.P.A. S.p.A.
84 Genesis Evolution
Fig. 3.24a :
The first arc is programmed with clockwise sense, the second with counterclockwise sense
Workings with rotating tools may be programmed or on the basic panel faces or on a sloped
"fictitious" faces, programmed as described in Vol. 2 – Part 1 – Par. 2.1.4.
Since usually, in this second case, tool must be oriented "perpendicular" to the face itself (then
following the "local Z" direction, as showed in the Fig. 3.25), system will propose automatically,
when Setup is recalled, the corresponding values for:
Programmer may modify these values, forcing a different tool direction, if required.
T.P.A. S.p.A.
Workings Programming 85
Notice: Programmer must remember that, for the fictitious faces, system will assume, as
programming Reference System, the following Cartesian group of axes:
· Origin : in the P0 point (the first programmed point, used for the face definition)
· X Axis: in the P0 – P1 direction
· Z Axis: Right Normal according to the counterclockwise sequence: P0 – P1 – P2
· Y Axis: Perpendicular to the previous two axes (see also Vol.2 – Part 1 – Par. 2.1.4)
Alfa angle: Convention positive if counterclockwise, with Alfa=0 when Tool has direction as X+
Beta angle: Local convention on the Branding plane: Beta=0 when the tool has a vertical (Z-)
direction and Beta=90 when disposed horizontally.
a) Others
Assumes the usual meaning, as previously described (see also Ex. 3.1 page 3.1).
Assumes the usual meaning, as previously described (see also Ex. 3.1 page 3.2)
Available only in the Cartesian Reference, allows to program (on the face 1) Contouring workings
where the tool is constantly rotated (along the "Alfa" axis) in order to maintain itself always
"perpendicular" to the profile trajectory.
b) Feed
Assumes the usual meaning of the Tool "Entry speed", in the Z- direction.
T.P.A. S.p.A.
86 Genesis Evolution
Allows to force a slowing down, reducing feed in correspondence of the automatically inserted
Roundings, where typically the trajectory is characterized by a lower curvature radius.
c) Tools
à Field: Group
à Field: Tool 1
à Field: Tool 2
d) Mill Radius
Allows to enter, locally, the Mill Radius Correction value, if different from the selected tool radius.
With this option, Programmer may select a progressive mill radius correction: in this case, the Setup
point is not corrected, since correction will be applied only on the following point (then the final point
of the first geometric element): then the trajectory will cause a progressive correction application.
Similar to the previous, is referred to the end of profile: the mill radius correction is removed from
the last profile point, also in this case causing a particular trajectory between penultimate and final
point.
e) M Fields
These Options allows to enter a required values for the M1, M2 and M3 variables, used in the PLC
procedures.
T.P.A. S.p.A.
Workings Programming 87
2.4 Macro
2.4.1 "Circle (center)" macro
This Macro allows to program a complete circle, starting from the Current point, only with the Center
and rotation Sense defining.
Fig. 4.1
Center, in this function, is always assumed in Relative mode respect to the Initial point
Assuming the Mill Setup in the same position of the Ex. 3.0, we select:
Circle(center)
- Circle(three points)
In the Parameters Table, the two other points P1 (X1,Y1) and P2 (X2,Y2) are required: the first point
is assumed on the current.
· X1 = 50, Y1 = 100,
· X2 = 100, Y2 = 50 (in Relative)
· Zp = -10
T.P.A. S.p.A.
88 Genesis Evolution
Fig. 4.2
Initial point: (100,100)
P1 = (150,200)
P2 = (200,150)
Note: In this case, the moving sense (CW or CCW) is automatically deduced by the system,
according to P1 and P2 sequence.
T.P.A. S.p.A.
Workings Programming 89
Fig. 4.3a
In the figure, the R radius defines the smaller arc. The larger arc radius R? is
automatically computed by the system.
The Setup position is assumed by default.
à Option: Relative
à Option: Counterclockwise
Defines the rotating sense for working (may be affected by following mirroring operations).
Allows to select if execution must include the complete oval profile, or ½ (Half oval, from Setup to
the diametrically opposite point) or ¼ (only a quadrant).
allows to move the Setup, adding an entry semi-circular path (tangent to the original initial point),
where the Radius may be programmed [Entry Radius], as showed in the fig. 4.3b.
Similar to the previous (with the same Radius), but for exiting.
In the example of the fig. 4.3b, Oval is programmed complete, with an Entry arc with radius = 20
mm.
T.P.A. S.p.A.
90 Genesis Evolution
Fig. 4.3b: With the Entry Arc option, program moves the original Setup point in the new Setup'
position, according to the Entry radius.
à Option: Mirror X
Reverses the path with an horizontal symmetry, then also reversing the original moving sense, as
showed in the fig. 4.3c.
à Option. Mirror Y
Vertical mirroring, as showed in fig. 4.3d. Also in this case, the vertical symmetry causes a sense
reversing.
T.P.A. S.p.A.
Workings Programming 91
Note : As in the previous case, the Ellipsis may be rotated in the XY plane, with a programmable
Angle parameter: in effect, the Ellipse Y (where the larger semi-axis is disposed in Y direction) may
be considered as an Ellipsis X with a rotating Angle = 90°
- Ellipsis X
T.P.A. S.p.A.
92 Genesis Evolution
Fig. 4.4: Precision of the ellipsis rebuilding is improuved increasing the Number of the arcs.
à Options:
The available Options have the same meaning as in the "Oval" macro.
Similar to the present, simply assumes the larger Axis in Y direction (then is equivalent to an Ellipsis
X rotated of 90 degrees).
Setup is automatically assumed on the first vertex of the polygon (defined by the initial Angle).
Selecting:
-Polygon inscribed in a Circle
T.P.A. S.p.A.
Workings Programming 93
Fig. 4.5: Il valore zero dell'inclinazione è riferito al punto di Setup; modificando tale angolo il
poligono ruoterà in senso antiorario. Tutti i vertici del poligono ricadono sulla circonferenza
programmata
· Option: Relative
· Option: Counterclockwise
Is referred, as usually, to the Setup: polygon may be hooked to the previous profile.
Selecting:
we find the same parameters and the programming rules and Options of the case
"Polygon inscribed in a Circle ".
T.P.A. S.p.A.
94 Genesis Evolution
Programming requires to define the "theoretical" corner position and characteristic and the entry and
exiting sides: the smoothing round is characterized by the Radius.
The entry segment is defined by the current (initial) point and the Corner, the second segment by the
corner and the programmed P4 point.
à Note: In alternative to the P4 point, the exit segment direction may be directly programmed by the
"Final Angle" value.
T.P.A. S.p.A.
Workings Programming 95
Fig. 4.7: The arc intersection points (indicated as ? ) are automatically computed, to maintain
continuity of tangence
Corner is programmed with the same rules as the "Corner Rounding" function.
Beveling is a segment that cuts the programmed corner, connecting two points, internal to the entry
and exiting segment, at a programmed distance from the corner itself.
1. X corner = l, Y corner = h,
2. X4 = l-100, Y4 = h,
3. Beveling length = 100
T.P.A. S.p.A.
96 Genesis Evolution
Fig. 4.8: The intersection points (marked by ? ) are automatically computed by the system.
Also in this case, the exiting segment may be defined by the "Final Angle.
2.5 Subroutines
2.5.1 Subroutine "sub1.cnc" programming
In this paragraph we can see the Subroutine mechanisms for creating and storing, before to analyze
the different recalling methods.
In the following, the different recalling functions and the Subroutine application rules will be
described.
The present example will describe the Subroutine creation: when completed, any Subroutine must be
saved in a dedicated Sub-Directory, normally named Product\Sub. In this case, the subroutine is
very simple, since includes a single Drill, programmed on the Face 1, and will be saved with name
sub1.cnc.
This subroutine will be programmed in "Parametric" mode, using the following Variables:
T.P.A. S.p.A.
Workings Programming 97
The default values for the internal Variables may be assigned in a dedicated Data Table (showed in
the Fig. 5.1b), may be accessed clicking the corresponding button of the Tool Bar (see also Button (1)
indicated in the Fig. 5.6 - Appendix 2).
In this case, the same value (then r0=100, r1=100) assigned to the two Variables.
Since these internal variables are supposed to be modified by the recalling main program, it must be
marked as "re-assignable", selecting the [x] status in the "wr" column.
The variables r0 and r1, programmed in this example, are used to code the application quotes of the
drill: consequently may support signed and fractional values, then in the "Format" filed, the
"FLOAT" typology must be selected.
In the $Value field the assigned value is yet presented, in "string" format while in the "Description"
field Programmer may enter a general purpose string ("comment") to indicate, for instance, the
logical meaning of the used variables.
T.P.A. S.p.A.
98 Genesis Evolution
· X quote = parameter r0
· Y quote = parameter r1
· Diameter = parameter r2
The following figures show the programming environment for the subroutine "sub2" (Fig. 5.2a) and
the corresponding Variables Data Table assigning (Fig. 5.2b).
T.P.A. S.p.A.
Workings Programming 99
T.P.A. S.p.A.
100 Genesis Evolution
The recalling mechanism is based on two different functions, the "SUB0" and "SUB2" instructions
that may be selected by the corresponding buttons of the Workings Palette (indicated in the area (3) of
the Fig. 5.6 - Appendix 2).
We remember that these two functions are similar, only changing the "Multiplying" mechanism:
· SUB0 : multiplying mechanism occurs along a sloped line, and the inter-axis between the
application points is defined by the "Offset X" and "Offset Y" parameters (more, a progressive
change of depth may be introduced by the "Offset Z" value)
· SUB2 : multiplying is realized on a reticular pattern, defined by the "rows" and "columns"
numbers and by the corresponding inter-axis (yet named Offset X and Offset Y)
With reference to the Fig. 5.3, we can see the most important rules for the different fields
programming and the options selecting.
Allows to select the required subroutine, by direct entering or by List box selection
Not used in this example, allows to define a Logical condition to enable (if TRUE) or not (if
FALSE) the subroutine recall.
T.P.A. S.p.A.
Workings Programming 101
The logical condition is defined comparing the "Expression1" with the "Expression2" (including
numbers or mathematical formulas based on the r0-r299 Variables of the Main program) with the use
of one of the following "compare" Operators (<, >, =, <=, =>, <>)
Indicates (if cannot be implicitly deduced by the "parametric" quotes expression) the application
quote of the subroutine, assumed as the point where the Subroutine reference point (the first
programmed point) must be translated.
à Option: Angle
Allows to rotate the subroutine layout when recalled, assuming the application point as fulcrum.
à Option: Face
We must consider that, normally, a Subroutines may include many workings, programmed on
different faces. Then, when it is recalled from a Main program, there are two possibilities:
· first, the main program requires to import all the workings (of all the faces), applying them
on the same faces: in this case the "Face" code must not be programmed
· alternatively, the main program may import the workings only for a then the If missing, the
subroutine is completely imported and all the programmed workings, included in the
subroutines (for every face), are inserted in the corresponding faces of the main.
Alternatively, if a specific face is programmed, only the subroutines instructions,
programmed on this face, will be imported.
If the Relative [x] option is selected, relatively to the application point, the corresponding quotes will
be considered as incremental and referred to the application point (then used as Origin) of the
previous bloc (immediately before recalling).
à Option: Hooking
very convenient in the case of milling profiles, this option allows to "link" the recalled path to the
final point (current point) of the previous profile. Obviously, the original Setup, in the subroutine, is
erased to maintain the path continuity.
à Option: Reversing
Also this option is referred to a milling profile: in the application in the main program, the
subroutine path is reversed, exchanging the Setup point with the original Final point.
Allows the subroutine layout mirroring, introducing respectively an horizontal (in X) or a vertical (in
Y) symmetry operation.
Repeating Fields
T.P.A. S.p.A.
102 Genesis Evolution
Allows to introduce a Multiplying factor, in order to repeat the subroutine application, over the basic,
for a programmable number of times. The Repeating logic is different for the two recalling
instructions: "SUB0" or "SUB2".
In the example, (where SUB0 has been used) two additional repeating are programmed, then
causing a total of three different subroutine applications.
In the case of SUB0, these values define (the first two) the components along X and Y of the
multiplying inter-axis vector (in the example, component X = 50 mm, the component Y = 10 mm.).
The Offset Z parameter allows to increase or reduce progressively the application depth.
If this option is selected, the current Offset are considered starting from the application point of the
previous repetition, then considered as origin.
à Option: Hooking
Allows to link the current Repetition to the final point of the previous.
Scale Factor
Defines the value of the Increasing (if > 1) or Reducing (if < 1) factor to be applied to the Subroutine
layout.
In the present example, as showed in the Fig. 5.3b, the original r0 parameter has been re-assigned
with the new value (=200): the Data Entry table, for re-assigning, may be open with the "Rnnn"
button.
T.P.A. S.p.A.
Workings Programming 103
This last, as described, differs from the previous only for a different Multiplying mechanism, that, in
this case, includes the possibility to define a reticular pattern, as showed in the Fig. 5.4a.
Note: As may be noted, in this case the "Face" option has been used to select, for importing, only the
workings programmed, in the subroutine, on the face 4 (that is, in particular, the only programmed
face) but requiring to insert them on the Face 1 of the Main.
In particular, respect to the previous case, we can see the different programming rules concerning the
Repeating modalities:
Defines the Reticule structure, in terms of number of rows ( = 3) and columns ( =5).
In this case these parameters define, respectively, the X inter-axis (distance between columns, = 50
mm.) and the Y inter-axis (distance between rows, = 20 mm.).
Also in this case, we have supposed that the recalling program force a new value to the subroutine
variables, re-assigning the Y application quote (r1, forced to 200 mm.) and the Diameter (r2, forced to
10 mm.), as showed in the Fig. 5.4b.
T.P.A. S.p.A.
104 Genesis Evolution
As result we will have: 15 holes (5 rows x 3 columns), with diameter = 10 mm (r2), with inter-axes of
50 mm (in X) and 20 mm. (in Y).
The first drill will be positioned to the programmed "application" point, then 200,100 (r0,r1).
2.5.5 Appendix 1: Data Entry tables for the functions: SUB0 and SUB2
The complete Data Entry tables, for the recalling functions - SUB0 and SUB2 - are here resumed:
T.P.A. S.p.A.
Workings Programming 105
· Description : "Comment" field, for the subroutine description (free characters string)
· Logical Group 1: Logical condition to enable (if TRUE) or not (if FALSE) recalling.
· Application Point: X,Y Application quotes of the subroutine (in Absolute or Relative mode): at
this point will be referred the first programmed point (into the subroutine), that will be considered
as reference.
· Angle : Rotation Angle (optional) for the subroutine application (the programmed rotation will
assume, as center, the "Application" point.
· Face: Allows to import the entire subroutine (all programmed faces will be imported and inserted
in the same of the main), if "no value" is entered or, alternatively, if a value is specified, only the
corresponding face of the subroutine will be imported, and inserted in the current main face.
· [ ] Relative <-- : If programmed (Relative [x]) on the application point, this new will be
considered in incremental mode, using as reference, the initial application point of the previous
T.P.A. S.p.A.
106 Genesis Evolution
Working.
· [ ] Link : Allows to "link" the subroutine path to the final point of the previous profile.
· [ ] Reversion: Allows to reverse the path direction of the subroutine profile, exchanging its
original Setup point with the final.
· Repeat number: Indicates how many additive application of the subroutine, over the base, must be
performed
· Angle : Defines the incremental angle to be use for the repeated applications of the subroutine
· [ ] Relative<--: if enabled, the Offsets will be referred to the application point of the previous
Repeat.
· [ ] Link: If enabled, the new pattern is hooked to the final point of the previous Repeat.
· Rows Number / Columns Number: Indicate the reticular pattern structure for repeating
· [ ] Relative<--: if enabled, the Offsets will be referred to the application point of the previous
Repeat.
Scale Factor
· Scale Multipler: Defines the increasing (if >1) or reducing (if <1) factor, for the subroutine
layout.
Area 1 = Button for the r.. variables recalling, for the original assigning during the subroutine
creation.
Area 2 = Rnnn button, for the r0-r299 variable re-assigning, at the moment of recalling.
T.P.A. S.p.A.
Workings Programming 107
When the tool is selected the following clearing data setting window appears:
T.P.A. S.p.A.
108 Genesis Evolution
Mode 1:
T.P.A. S.p.A.
Workings Programming 109
Simple clearing: ignores any internal profiles and simply applies the clearing inside the selected
profile; the result is as follows:
Mode 2:
Clearing excluding the islands: clears the selected profile except for the (closed) profiles inside it;
using the profiles of the previous example the result of the clearing of the ellipse is as follows:
Mode 3:
Alternating clearing: clears the selected profile and the profiles inside it alternately; using the
previous example the result of the clearing is:
T.P.A. S.p.A.
110 Genesis Evolution
Clearing can be applied to all closed profiles, even those generated by macros (oval, ellipse, polygons,
etc) or by tools (text).
When the tool is selected the following develop text data setting window appears:
When the tool is selected the following develop text data setting window appears:
· Group: Used for setting the machine group (group 2 is only enabled on machines with double
beam)
· Tool: The tool to be used for writing the text is entered in this field ; press the "?" button to select
the tool directly from the window which lists all the tools available in the current outfits manager.
· Text: The text to be transformed into profile is written in this field.
· Font: Select the font to be used to develop the text. A list of the True-Type (Scaleable) fonts
installed in the system appear; the list can vary from one computer to the next depending on what
has been installed (for example, Word and other applications add different fonts). Apply bold and
T.P.A. S.p.A.
Workings Programming 111
italic formats to the font by means of the "B" and "I" buttons.
· Height of capitals: sets (in mm) the height of the character, using the capital A as reference.
· Space width: is the distance (in mm) of the "space" character.
· Automatic text distribution: used to distribute the text automatically on a hypothetical linear
segment or a hypothetical arc; it has no relevance if the "Point" option is selected in the geometry of
text distribution.
· Distance between characters: sets the distance (in mm) between one character and the next; this
parameter is irrelevant if the automatic text distribution check box is selected.
· Z measure: sets the final depth of the character.
The text can be positioned using three different methods: Point, Linear Segment and Arc. For the
Linear Segment and the Arc it is possible to specify if the distribution is to be done automatically with
respect to the specified segment (linear or arc). In this case the text is distributed (calculating the
space between the characters) so that it fills up the entire segment.
Point method
In this case specify an X and Y point and possibly an angle of rotation.
The example shows two linear texts starting from the indicated point and with the specified
inclination (0 and 45 degrees).
The second method is distribution along a Linear Segment; in this case specify the X and Y initial and
final points of the linear segment.
The example shows two linear texts that start from the indicated point and end at the final point. In
this example, the text is distributed along the specified linear segment by calculating the distance
between one character and the next (option Automatic text distribution ).
The third method is distribution along an Arc; in this case specify the X and Y initial and final points,
the centre of the arc (absolute), the rotating direction of the arc (Clockwise or Counterclockwise) and
if the text is to be positioned inside or outside the arc (outside by default)
T.P.A. S.p.A.
112 Genesis Evolution
The example shows two arcs, the first clockwise and the second counterclockwise, the first with the
text outside the arc and the second with the text inside the arc. In this example, the text is distributed
along the specified arc by calculating the distance between one character and the next (option
Automatic text distribution ).
T.P.A. S.p.A.
Genesis Evolution