In NC Programming the APT programs plays a major role, the geometries are defined by APT programming and then converted into G-codes giving motions to the CNC machine.
Defining a point in the APT programming, the statement used is GOTO/P1; the programmer must know where P1 is located before the statement can be effective. P1 therefore must be described in a geometry statement, prior to its use in the motion statement GOTO/P1.
Defining a point in the APT programming, the statement used is GOTO/P1; the programmer must know where P1 is located before the statement can be effective. P1 therefore must be described in a geometry statement, prior to its use in the motion statement GOTO/P1.
Examples
for the Point definition in APT programming:
There
are other ways of defining the position of a point, such as at the intersection
of two lines or where a line is tangent to a circular, intersection of two
circles, single point in space etc. following pictures shows the different ways
of defining the Point in an APT programming.
Point in Space: Any point in the space can be defined as shown below.
APTSource code:
P1=POINT/4,5,2
P2=POINT/2,2
------------------------------------------------------------------------------------------------------------
Intersection of two lines: Point can be created by intersection of two lines.
APTSource code:
P1=POINT/INTOF, L1,L2
--------------------------------------------------------------------------------------------------------
Intersection of two lines: Point can be created by intersection of line and circle. there are two possibilities, it can be written as below.
APTSource code:
P1=POINT/XLARGE,INTOF,L1,C1
OR
P1=POINT/YLARGE,INTOF,L1,C1
---------------------------------------
P2=POINT/XSMALL,INTOF,L1,C1
OR
P2=POINT/YSMALL,INTOF,L1,C1
------------------------------------------------------------------------------------------------------------
Intersection of two Cirlces: Point can be created by intersection of circles. there are two possibilities, it can be written as below.
APTSource code:
P1=POINT/XSMALL,INTOF,C1,C2
OR
P1=POINT/YLARGE,INTOF,C1,C2
---------------------------------------
P2=POINT/XLARGE,INTOF,C1,C2
OR
P2=POINT/YSMALL,INTOF,C1,C2
Intersection of a radial line and a circle: Point can be created by intersection of circle with a radial line can be written as follows.
APTSource code:
P1=POINT/C1,ATANGL,20
------------------------------------------------------------------------------------------------------------
Intersection of a radial line and a circle: Point can be created by intersection of circle with a radial line can be written as follows
APTSource code:
P1=POINT/CENTER,C1
This is how the APT codes can be written in APT programming. All software generates the APTSource fiiles using the PPtables used while generating. PPTables are the machine defined files where all the cycles and the movements are in machining standardized format
Nice post!!!
ReplyDeleteSanjay Precision Industries Provide CNC and VMC machine parts. We are manufacturers who bring in use the finest materials like Mild steel, Stainless steel grades, cast iron, investment casting and brass & aluminum.
Stainless Steel Threaded Parts manufacturers
Enormous information in one blog post, I just love it. I must appreciate and mention that you completely know how to keep connected reader to blog post even if it is little long. Very good job. medical device prototyping
ReplyDeletePar apport a une point P0 et angule 43 °et rayon=15 c'est
ReplyDeleteP1=POINT/P0, RADIUS, 15,ATANGL,43