APT Program

APT Program



hello friends welcome to my channel in this video we are going to see how to write a PT program APD stands for automatically programmed tools let's start with an example here write a apt program by using geometry and motion commands to machine the outline of the geometry as shown in the figure the component is 5 mm thick the end mill used is 5 mm in diameter consider spindle speed as 1000 rpm and feed rate as 0.3 mm per revolution as in suitable data if necessary this is the outline of the geometry before writing the epic program remember that constraint for simple size used in a PDP on is 6 or fewer alphabetic or numeric or combination of these characters that is a symbol size is equal to is 6 or less than 6 characters or numbers or combination of above all so while writing the program give the numbers as 10 20 30 40 50 and so on for succeeding steps now let's start the program here pa rt in numb and o / example this command these statement is used to identify the part program and use it at the start of the program it gives the component name number and name specification this is the symbol next ma CH I n / milling this command is used to specify the machine name PR a PRI ante on I am writing here all the specifications part number is used to identify five part program that is a component component number and name specification vacation this is used to add machine specification next PR int slash on that is print on this command is used to get the canonical information that is used to print the internally stored information here I am writing here to print internally stored information next is CL PR ante this command is used to print the center line data of cutter position or location usual to print or location remark geometry statements geometry statements are used to define the geometry of elements that comprise the work piece here the geometry means the points and lines circle circle plane these are the geometry elements here remember that remark or double dollar whatever statement you right after remark or double dollar symbol will be ignored by the processor these commands or statements are common in all in all apt programs next now start with the geometry statements setp T is equal to point slash 0 comma 0 comma 0 this statement shows the position shows the point that the cutter points a initial point that is this point next is p1 is equal to point slash 10 comma 10 that is this point similarly 0.2 0.3 0.4 point five point six point seven point eight point nine point ten are shown are specified in the geometry statement this is 0.1 0.2 0.3 0.4 0.5 you 0.6 0.7 0.8 0.9 point 10 this all statement specifies the point position next to specify the line position we use these commands specify line position your l1 is equal to like lion slash p1 p2 this state symbol represents the line l1 l1 between l1 which joins the point p1 and p2 similarly line l2 l3 l4 l5 and l6 are specified in the geometry statement next we need to specify the circles or arcs which are there in the shammed geometry it specifies the circle position to specify circle position here the symbol is a c1 is equal to circle slash Center comma P for you radius comma 13 that is your circle is C 1 and P Phi represents the center of the circle and R 3 represents the radius of the circle this is semi circle and here he C 2 which is a arc the this is the p 8 is the center point and our 13 is the radius of these are cos C 2 next we need to represent plane here PL 1 is a symbol and PL 2 is a symbol PL 1 is equal to plane calm slash P 1 P 3 P 6 and PL 2 is the plane / p pa are LEL comma P Alvin said small comma Phi here PL 2 plane is parallel to the PL 1 plane PL 2 plane is parallel to the PL 1 plane and in the negatives negative Z Direction Z small is used to indicate the relative position in negative Z direction of one's geometric element with respect to other when there are no there are two possible alternatives are available Z small is used for negative Z Direction X small Y small both and Z small are user of all negative direction and x-large why large and said larger are used for positive direction next is the remark set of statements remark set of statements are used to specify the cutter diameter spindle speed feed rate etc I am writing here used to specify cutter diameter spindle speed feed rate etc geometric statements are used used to specify doumitt three elements let's start cutter CU TT er this is a symbol next is in AI and tol did this is inside tolerance tolerance specification inside tolerance specification this is cutter diameter specif specification this is outer tolerance specification or util tol outer tolerance specification this spi n dl / 1000 CL w this is spindle speed specification and for clockwise direction spindle speed and direction specification next is fe d r 18 / point 3mm / volition this is used this symbol is used for feed rate specification now your spi NDL on that is a spindle on on co LNT this symbol is used for coolant on next is rebar motion statements of motion statements motion statements are used to describe the path taken by the cutting tool here to describe part taken by cutting tool now start here this is a diagram now start from set point that is from this point this is a set point go – go / – set for a CT PT for set point go / – L 1 comma 2 comma PL 2 comma T o comma L 6 that is cutter will move towards this position like this sorry sorry the cutter will be here like this at this position now next is go RG t that is go towards right / Elvan past l2 l1 past l2 that is mu cutter will move Cottle will be here see that past means suppose this is aa geometry cutter will be your past line this 2 is equal to till line this and on is means on this line and 10 2 means suppose this is a line and this is a circle this is your cutter cutter will wound to the tangent to engine to point towards tangent point now next is the gold RG tl2 past l3 now now the cutter will move from this to this position this position next is go LF t that is go left l3 10 to see 110 to hear the 10 to come and tend to now Qatar will move like this and tangent to tangent to this circle c1 at this point next is go FWD that is go /c 110 to l4 now Qatar will move like this and at this point Qatar will stop that is at the tangent is tangent to point a next is go a lefty go left /l for 10 – see – now Qatar will be here next is go forward see – 10 – ldiot now Qatar will move like this and – till this point this tangent point next go left / alpha u n– past l6 that is Qatar will move towards this and the position of the cutter will be this and it's just go left l6 past P 1 that is Qatar will be now this position the next statement is go to set point that is Qatar will move towards the initial position that is set point then coolant of coolant will be off of spindle of spindle will stop rotating rewind this command used to rewind the statement this is the program rewind statement this Fi and I this command is used to end state my end the statement this is a program and statement thus in this video we have learned how to write a PD program thank you for watching this video like and share this video and subscribe my channel thank you very much

12 Comments on "APT Program"


  1. Thank you so much for this content! it's so difficult to find information about apt. In the first circle C1, could it also be gofwd/ C1, past, L4?.

    Reply

  2. Great tutorial

    But could you please explain the direction in which the tool moves and y

    I mean shouldn't it be
    Right
    Right
    Forward
    Forward
    Back
    Back
    Left
    Left ?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *