Академический Документы
Профессиональный Документы
Культура Документы
PT1 = POINT/10.1, 5
Motion Expressions
The tool motion is specified using motion statements groups of
motion statements are available:
Point - to - point & contouring operations
Before the tool can move along the contouring surfaces it must be
brought to them, this is done by the initial motion statements :
GO / cutter specifier, drive surface, cutter specifier,
partsurface, cutter specifier, check surface
Four variations of cutter specifiers: TO ; ON ; PAST ; TANTO
ex.
ref. m08
SPINDL / ON
ref. m03
FEDRAT / 25
ref. 25 mm/min
SPINDL / 1250, CCLW
ref. m02
1
vector
5.TLAXIS/ATANGL,or,H,or
2 CUTANGL,I
The vector or CUTANGL statements are optional. The angle I is
called the cutangle or also the lead (I +) or lag (I -) angle.
If a vector is specified the plane is perpendicular to that vector
Instead of to the forward motion. This can be useful to force the
Tool axis orientation in a fixed plane (used for 4-axis machining with
3 linear and 1 rotary axis.
6.CUTTER/d,r,e,f,A,B,h
When CUTTER/d or CUTTER/d,r are
used the other parameters take
the following default values:
A=0; B=0; f=r; e=d/2-r; h = 5 units or
r if r > 5 units.
RLDSRF Definitions
A ruled surface is the surface generated by a space line moving in
contact with two space curves. Each space curve is defined as the
intersection of a surface and a plane. The second curve can degenerate
to a point.
The two RLDSRF definition formats are:
1. RLDSRF/ subsurface, curve point, curve point, direction point or vector, $
subsurface, curve point, curve point, direction point or vector
2.RLDSRF/ subsurface, curve point, curve point, direction point or vector, $
vertex point
In format 1, the RLDSRF is defined by two space curves, each of which is defined by
a subsurface, two curve points, and a direction point or vector.
In format 2, the second curve has degenerated to a point which is a vertex of the
surface.
The subsurfaces can be any type of APT surface except another RLDSRF.
Complex Surfaces
The following illustrates a ruled surface defined by a curve and
a vertex point.
R2=RLDSRF/CYl, P1A, PlB, P1C, P2
In this example, the first curve is defined in the same manner as in the
previous example. The point P2 is specified instead of a second curve.
This point acts as a vertex of the ruled surface - all rulings pass through it.
As the preceding examples have illustrated, the two points and the
third point or vector define a plane whose intersection with a surface
defines a space curve.
The first two points in a curve definition also act as end points in order
to define the part of the curve actually used to define the ruled surface.
The straight line segment between the two end points of a curve is
called the base line of the curve. Its length is considered to be 100%
with the first specified point being at 0% and the second at 100%.
It is important that the points in the two curve definitions be specified
in the same relative order since the 0 % ruling of the surface is
generated by connecting the first point of the first curve to the first
point of the second curve and, similarly, the 100% ruling connects the
second points of the two curves.
In this case, the intersection of the surface with the plane defined by P1, P2, and V1 is a closed
curve, but only the part of the curve below the base line is used since this is the part pointed to
by the direction vector V1. If a vector pointing in the opposite direction, V2, were specified, the
part of the curve above the base line would be used.
The figure illustrates how a curve point for defining a ruling at 25 % is generated. The point BP
is on the base line at a distance from P1 equal to 25% of the total base line length (.5/2 = .25).
This point is projected along V1 onto the curve to produce the point CP. The line passing
through CP and a point generated in a similar manner on the second curve is the desired
25 % ruling.
In this case, the direction vector is generated perpendicular to the base line and pointing toward
the direction point P3. Obviously, the direction point must lie on the proper side of the base line.
If P4 were specified instead of P3, the curve above the base line would be used instead of the
curve below.
Note that when you specify three points in a curve definition, the three points must not lie in a
straight line since this would not define a unique plane.
The first two points specified in a curve definition ordinarily lie on the curve and can, therefore,
be used directly as the end points of the curve. However, it is not essential that the specified
points lie on the curve. When a point does not lie on the curve, it is projected onto the curve in a
direction parallel to the direction vector.
Complex Surfaces
Example:
R1=RLDSRF/SI, PI, P2, VI, - -The RLDSRF processor does not generate a fixed number of rulings and store them
as the canonical form for the ruled surface. Instead, the canonical form is composed
of the canonical forms of the two subsurfaces, the two curve points used to define
each curve, and the given or generated direction vector. Rulings are-generated
dynamically as close together as necessary as the cutter is positioned relative to
the ruled surface.
When you specify a direction point in a curve definition, you are assured that a
direction vector normal to the base line will be generated. When you specify a
direction vector, you have the option of specifying a vector not normal to the base line.
Usually, however, the type of surface that is desired is the type
generated by vectors normal to the base lines.
Complex Surfaces
A RLDSRF is limited laterally; it does not extend beyond the 0% and
100% rulings. On the other hand,longitudinally, the rulings of the surface
extend infinitely in both directions. However, the mathematical
techniques used by the RLDSRF processor become less reliable
as the distance from the defining curves increases. Generally, you
should not try to position the cutter relative to a. RLDSRF at a distance
from a defining curve that is greater than the distance between curves. .
Examples:
RI=RLDSRF/SI, PI, P2, VI - -GO/RI
GORGT/RI, PAST, LI
The GORGT statement cannot be executed because the RLDSRF does
not exist beyond the 100% ruling at P2.
Restrictions
The methods used by the RLDSRF processor impose certain restrictions
that you should observe when defming ruled surfaces.
1.It is not permissible for the line tangent to a RLDSRF space curve at
any point to be perpendicular to the base line for the curve. This problem
could arise, for example, when the surface forming the curve is a cylinder
and the base line is a diameter of the cylinder.
Example:
2.A curve should not intersect its base line nor should the direction vector
intersect the curve more than once on the curve side of the base line.
RI=RLDSRF/TAB1, PI, P2, VI, -- --Here, a curve generated by a TABCYL intersects the base line. APT
could drive the cutter along this surface until it encountered the area
between the intersection points I1 and I2. A failure would then occur
since the surface does not exist in this area.
Multi-axis Programming
The APT System can determine not only the tool center locations
for controlling the linear axes of machine tools but also the
orientation of the tool axis for controlling the rotary axes of
multi-axis machine tools.The orientation of the tool axis is defined
by the unit tool axis vector,which originates at the tool end point
and points toward the top of the tool.
Unless otherwise specified, the tool axis is assumed to be parallel
to the z-axis; that is, it is defined by the vector (0, 0, 1).
MULTAX
Tool axis vectors are passed on to postprocessors via the cutter
location (CL) fIle. The postprocessor uses the components of the
tool axis vectors to determine the positions of the rotary axes.
The output of tool axis vectors to the CL fIle is controlled by the
MULTAX (multiple axis) statement, which can have the following
formats:
MULTAX
MULTAX/ON
MULTAX/OFF
The first two formats are equivalent. Either causes the components
of the tool axis vector to be output with each succeeding cutter
location point that is output to the CL file.
MULTAX/OFF overrides a previous MULTAX or MULTAX/ON
statement with the result that tool axis vectors are no longer
output to the CL file. This is the assumed mode if no MULTAX
statement is programmed.
You should not program MULTAX if you are using a postprocessor
not designed to accept tool axis vectors, as is the case with many
postprocessors for non-multiple axis machine tools.
Note that MULTAX merely controls the output of tool axis vectors
but has no effect on the values of the vectors that are output.
APT can operate in two modes as far as tool axis orientation is
concerned - with the tool axis fixed at a constant orientation or
with it varying according to a specified set of conditions.
FROM/Pl
(0, 0, 1 axis assumed)
TLAXIS/l, 0, 1 (45 degrees to x and z axes)
GO/Sl, S2
Multi-Axis Programming
FROM/point, vector
GOTO/x, y, z, i, j, k
GOTO/point, vector
Multi-Axis Programming
The 4-axis vector i, j, k is used only when type equals 0. However, if
beta is specified when type equals 1, values must be included
(zeros will suffice) for i, j, k since beta, when specified, must be the
ninth entry to the right of the slash.
The variable tool axis statement applies to those statements that involve
a part surface and a drive surface -GO, GOLFT, GORGT, GOFWD,
GOBACK, GOUP, GODOWN. One of these surfaces - the part surface
if surf equals 2, the drive surface if surf equals 3 - is used to control the
orientation of the tool axis. The other surface is treated in the normal
manner and does not directly influence the tool axis orientation.
The entries ra and hi define a point on the tool that becomes a disk as the
tool revolves. Ra is the radial dimension, measured from the tool end
perpendicular to the tool axis. Hi is the height dimension, measured from
the tool end along the tool axis.
Note that both ra and hi can be zero, in which case the disk degenerates to the tool end point.
The purpose of the disk is to define the point of contact between the cutter and the control
surface. The normal cutter defined by the cutter statement is not used to compute offset
positions from the control surface but the disk is used instead.
The angle alpha specifies the tilt of the tool axis relative to the control surface. When beta is
zero, alpha is measured in the plane normal to the direction of forward motion; that is, in the
plane containing the normals to the part surface and the drive surface. Alpha is positive when
measured from the normal to the control surface toward the normal to the non-<:ontrol surface.
In this connection, it should be noted that the normal to a surface points toward the side of the
surface on which the cutter is located.
Alpha can be in the range from minus 90 to plus 90 degrees.
Five-axis Control
The following illustrates 5-axis control with the part surface as the control
surface.
FROM/PI
TLAXIS/2, 1, 0, 0, 0
GO/PLI, SI, PL2
NDIRV /1, 0, 0
GOFWD/PLI, PL3
In the TLAXIS statement, 2 indicates that the part surface is the control
surface. The 1 indicates the general 5-axis case. Ra and hi are specified as
zero, meaning that the tool end point is to be the contact point between the
cutter and the part surface. Alpha is specified as zero, meaning that the
angle between the tool axis and the normal to the part surface is to be zero
The net effect of the TLAXIS statement is that the tool axis is varied in
such a way that it is always normal to the part surface.
The following example illustrates the drive surface as the control surface:
TLAXIS/3, 1, .5, 1.25, 90
GO/SI, S2, PL1
In this TLAXIS statement, the 3 indicates that the drive surface is the
control surface. The 1 indicates the 5-axis case. Ra and hi define a point
on the side of the cutter that is to be the point of contact of the cutter
with the drive surface. Alpha is specified as 90, meaning that the tool
axis is to be oriented perpendicular to the normal to the drive surface, S1.
Four-axis Control
When you specify type equal to 0, you impose an additional constraint
upon the tool axis, forcing it to lie in a plane normal to the vector
specified by i, j, k. This option is provided for 4-axis machine tools,
which have only one rotary axis.
In this example, suppose that the curvature of the drive surface Sl is such that the tool axis would
have a non-zero y-component if the 5-axis case were specified. Suppose, though, that a particular
type of 4-axis machine tool does not permit the tool axis vector to have a non-zero y-component
since this would indicate movement of a non-existent fifth axis. In this case, you could specify
type equal to 0 for 4-axis and i, j, k equal to (0, 1, 0). This forces all tool axis vectors to have
non-zero y components. In terms of the above figure, it forces tool axis vectors to lie in the plane
of the paper.
RLDSRF Control
You can specify type equal to 2 only if the indicated control surface is
a ruled surface. The tool axis is oriented parallel to the rulings of the
ruled surface.
Only the entries indicated in the following statement are used when
type equals 2: TLAXIS/surf, 2, ra, hi
Example:
Cutter Height
When you program in the variable tool axis mode, you should specify a
small height value in the CUTTER statement if the height is not relevant
to the cutter position. This can eliminate problems that might arise as
the top of the cutter intersects surfaces as the tool axis orientation is
varied.
The minimum allowable height is the same as the value of the corner
radius, if it is non-zero. If the corner radius is zero, set the height to
some small arbitrary value such as .1.
Example:
CUTTER/2, 0, 0, 0, 0, 0,.1
A tolerance of .9999999 is specified to be in effect as the tool axis is oriented normal to the part
surface. Hence, the dot product of the computed tool axis and the part surface normal at each cutter
location must be equal to or greater than .9999999.
The new TLAXIS statements use of alpha and beta angles and of a4-axis vector which are
defined and used in the same manner as was described in the section on the original TLAXIS.
2.TLAXISINORMDS
3.TLAXISIPARLEL, n
Example
he following TLAXIS statement has been illustrated previously.
It causes the tool axis to be oriented at 90 degrees to the drive surface
normal.
TLAXIS/3, 1, .5, 1.25, 90
The following two statements using the new type language accomplish
the same purpose:
CUTTER/OPTION, 2, .5, 1.25 TLAXIS/ATANGL, 2,90
PARTNO PIRAMID
MACHIN/MH600E
$$GEOMETRY DEFINITION
$$FLAT ENDMILL OF DIA 10 MM
P1 = POINT/25.98,-15,0
P2 = POINT/0,30,0
P3 = POINT/-25.98,-15,0
P4 = POINT/0,0,25.98
P5 = POINT/0,0,-50
P6 = POINT/60,60,10
F1 = PLANE/P1,P2,P4
F2 = PLANE/P2,P3,P4
F3 = PLANE/P3,P1,P4
F4 = PLANE/P1,P2,P3
TOWER = CYLNDR/P5,0,0,1,30
..
PARTNO PIRAMID
$$MACHIN/MH600E
MACHIN/UNCASC,1
MACHIN/UNCPLT,1
CLPRNT
$$GEOMETRY DEFINITION - FLAT ENDMILL OF DIA 10 MM
P1 = POINT/25.98,-15,0
P2 = POINT/0,30,0
P3 = POINT/-25.98,-15,0
P4 = POINT/0,0,25.98
P5 = POINT/0,0,-50
P6 = POINT/60,60,10
F1 = PLANE/P1,P2,P4
F2 = PLANE/P2,P3,P4
F3 = PLANE/P3,P1,P4
F4 = PLANE/P1,P2,P3
V1 = VECTOR/INTOF,F1,F3, POSZ
$$INTERSECTION OF F1 AND F3 POINTING IN POSITIVE Z
V2 = VECTOR/INTOF,F3,F2,POSZ
TOWER = CYLNDR/P5,0,0,1,30
MULTAX/ON
INTOL/0.1
OUTTOL/0.1
TLAXIS/100,0.9999
$$TLAXIS/3,1,5,50,90
TLAXIS/V1
CUTTER/10
FROM/P6
GO/F1,F4
GORGT/F1,PAST,F2
GOBACK/F1,PAST,F3
GORGT/F3,F2
GODLTA/0,0,60
$$ GO UP TO SAVE POSITION TO CHANGE TOOL ORIENTATION
TLAXIS/V2
GO/F2,F4,PAST,F3
GOLFT/F2,PAST,F1
GOTO/P6,0,0,1
FINI
PARTNO PIRAMID
$$MACHIN/MH600E
MACHIN/UNCASC,1
MACHIN/UNCPLT,1
CLPRNT
$$GEOMETRY DEFINITION - TOOL IS FLAT ENDMILL OF DIAMETER 10 MM
P1 = POINT/25.98,-15,0
P2 = POINT/0,30,0
P3 = POINT/-25.98,-15,0
P4 = POINT/0,0,25.98
P5 = POINT/0,0,-50
P6 = POINT/60,60,10
F1 = PLANE/P1,P2,P4
F2 = PLANE/P2,P3,P4
F3 = PLANE/P3,P1,P4
F4 = PLANE/P1,P2,P3
V1 = VECTOR/INTOF,F1,F3, POSZ
$$INTERSECTION OF F1 AND F3 POINTING IN POSITIVE Z
18 V2 = VECTOR/INTOF,F3,F2,POSZ
19 TOWER = CYLNDR/P5,0,0,1,30
20
21
22
23
24
25
26
27
28
29
30
31
32
$$
33
34
35
36
36
MULTAX/ON
INTOL/0.1
OUTTOL/0.1
TLAXIS/100,0.9999
$$TLAXIS/3,1,5,50,90
TLAXIS/V1
CUTTER/10
FROM/P6
GO/F1,F4
GORGT/F1,PAST,F2
GOBACK/F1,PAST,F3
GORGT/F3,F2
GODLTA/0,0,60
GO UP TO SAVE POSITION TO CHANGE TOOL
ORIENTATION
TLAXIS/V2
GO/F2,F4,PAST,F3
GOLFT/F2,PAST,F1
GOTO/P6,0,0,1
FINI$$
REASON
PARTNO
FRAME 1 MINMAX
DATA
.65465
.65465
.65465
.65465
.65465
.65465
.65465
.65465
1.00000
CLREC INPUT
PIRAMID
-25.5337
.37797
.37797
.37797
.37797
.37797
.37797
.37797
.37797
.00000
-18.5913
TOTAL FRAMES = 1
08:53:59 Completed Post UNCPLT ok
3.7797
60.0000
60.0000
63.7797
37
36
37
36
A=45
AGAIN) TRACUT/(MATRIX/YZROT,A)
DNTCUT
GOTO/0,0,10
INDIRP/P1
GO/PAST,C1,PL1,ON,L1
CUT
TLRGT,GOLFT/C1,ON,L2
TRACUT/(MATRIX/YZROT,(A+5))
DNTCUT
GOTO/0,0,10
INDIRP/P2
GO/PAST,C1,PL1,ON,L2
CUT
TLLFT,GORGT/C1,ON,L1
A= A + 10
IF (A - 135) AGAIN, QUIT, QUIT
QUIT) TRACUT/NOMORE
RAPID,GOTO/0,0,5
PPLOT
END
FINI