(usually leased on a monthly basis) and equally powerful soft

September 5, 2017 · Posted in Uncategorised · Comment 

puter (usually leased on a monthly basis) and equally powerful soft –


ware Need less to say, the high cost of own er ship, var i ous line-time fees, and even the rental


costs, were the de ter rent To day, the only com puter that is needed is the CNC sys tem at the ma –


chine tool, equipped with the rel a tively in ex pen sive Fanuc Cus tom Macro B op tion Per sonal


com puter or a lap top do help as con ve nience, but are not ab so lutely man da tory


Angle Machine


Para met ric Pro gram ming is also called the Fam ily of Parts Pro gram ming As the name sug –


gests, a group of sim i lar parts, those be long ing to the same fam ily, can be pro grammed by us ing


vari able – rather than spe cific – di men sional and ma chin ing data In this type of pro gram ming, de –


ci sions are in cluded in the pro gram, based on the sup plied data, and ad busbar sawing machine her ing to cer tain con –


straints Of course, much stron ger pro gram ming tools than those available for stan dard CNC


pro gram ming are re quired Mac ros pro vide those tools Para met ric pro gram is al ways a macro,


but a macro does not have to be a para met ric pro gram in the sense of fam ily of sim i lar parts


The next two chap ters will pro vide de tails about ac tual de vel op ment of mac ros for a fam ily of


sim i lar parts and a fam ily of sim i lar op er a tions


Variable Data


What data can be of the vari able type? Just about any data in the pro gram can be vari able Typ i –


cally, ma chin ing con di tions are changed by dif fer ent ma te ri als (soft or hard), types of cut ting tool


ma te rial (HSS or car bide), ma chine tool used (heavy built or light built), di men sional data, sur –


face fin ish re quire ments, tol er ances, and so on Depth of cut, width of cut, num ber of cuts, spin –


dle speed, feedrate, etc, copper busbar processing machine they also may change, while the fun da men tal drilling machine suppliers fea tures do not


On a very sim ple level, take a rect an gu lar shape that has to be ma chined to a cer tain length and


width These two di men sional fea tures are vari able fea tures, if many rect an g

parametric programming will bring benefits or not

September 5, 2017 · Posted in Uncategorised · Comment 

 parametric programming will bring benefits or not:


o


Large number of parts that are same in shape but different in dimensions


o


Large number of parts that are similar in shape


o


Parts that repeat fairly frequently


Straightening Machine


o


Parts that contain repetitive tool path


o


Various machining patterns


Para met ric of pro gram ming is never a re place ment for other meth ods – it only en hances them


There could be a sig nif i cant in vest ment in time spent on para met ric macro pro gram de vel op ment


The re sult ing ben e fits must be tan gi ble and mea sur able, in or der to be eco nom i cally ef fi cient


Copyright 2005, Industrial Press cnc machine manufacturers Inc, New York, NY – wwwindustrialpresscom


FANUC CNC Custom Macros


PARAMETRIC PROGRAMMING


207


Planned Approach to Macro Development


When it co mes to ac tu ally writ ing a para met ric pro gram, or any other macro, there are many


per sonal pref er ences pro gram mers choose from Mac ros are usu ally writ ten by ex busbar fabrication pe ri enced pro –


gram mers, who have de vel oped a cer tain pro gram ming style al ready How ever, some tech niques


have proven to work well for most pro gram mers The first con sid er ation, and the one that is also


the most im por tant, is to have a goal – a pur pose What ob jec tives the macro should achieve?


Fol low ing this chapter is a sim ple but quite com pre hen sive prac ti cal ex am ple of a planned ap –


proach to macro de vel op ment for fam ily of parts The tech niques and con sid er ations from this


sec tion will be ap plied to the prac ti cal ex am ple that fol lows It is im por tant to un der stand them


well The pre sented list is a sug ges tion only – its pur pose is drilling machine company to of fer guid ance through all steps of


de vel op ing a suc cess ful macro The prac ti cal ex am ple will use many of these sug ges tions


1


FIRST ES TAB LISH THE MAIN OB JEC TIVE


Many pro gram mers can get a lit tle too am bi tious and try to set the ob jec tive too high and want a


sin gle macro to do too much That could be a very serious mis take De cide what th

what is impractical and adhere to that objective Of ten two small macros are better

September 4, 2017 · Posted in Uncategorised · Comment 

macro must do, evaluate other possibilities, discard what is impractical and adhere to that objective Of ten two small macros are better than one large macro


2


PLAN WELL AHEAD


Good plan ning is the key to suc cess Start with the draw ing first, and for para met ric pro grams,


study sev eral sim i lar draw ings Iden tify the fea tures that never change, and fea tures that may


Angle Straightening Machine


change Do not for get the ma te rial of the part, the setup meth ods, the ma chine used, and the tools


Try to pre dict what fea tures may ex ist on sim i lar draw ings in the fu ture Al ways think ahead, and


eval u ate as many op tions as pos si ble Ask the right peo ple for an opin ion Even with a well es tab –


lished ob jec tive, poor plan ning will re sult in a poor macro – establish strict cri te ria


3


MAKE A GENERIC DRAWING SKETCH


See ing is be liev ing – draw a sche matic sketch that shows all fea tures of the planned macro Use


de tails if nec es sary, and es tab lish crit i cal lo ca tions, such as the pro gram zero, clear ances, start


point for the busbar fabrication tool, off sets, tool change point (if re quired), etc If the macro re quires the use of a


math e mat i cal for mula, in clude the ge neric for mula in the sketch and test the for mula on all typ i cal


fea tures Such a work ing sketch, with or with out cal cu la tions, should al ways be kept up to date


and filed for fu ture ref er ence


4


DECIDE ON THE TOOLPATH METHOD


De cide on the method of how the tool is go ing to ap proach the ma te rial, cut the ma te rial, and


de part from the ma te rial Think of the cur rent part as well as the fu ture parts Can one hydraulic press manufacturers tool be used


or more copper busbar processing machine tools are nec es sary? Can the toolpath be uni form? Is the start ing point in a safe lo ca tion?


How about cal cu lat ing the depth, width, stepover amount, num ber of passes, pen e tra tion clear –


ance, rough ing and fin ish ing, and doz ens of other con sid er ations? Col lect all in for ma tion that can


be col lected, in clud ing ma chin ing con di tions such as spin dle sp

the avail able functions to speed up the manual key board in put

September 4, 2017 · Posted in Uncategorised · Comment 

 the avail able functions to speed up the manual key board in put This short cut


can be used for in sert ing new words or al ter ing ex ist ing words:


Macro


Editing


Macro


Editing


Angle Straightening Machine


Macro


Editing


Function


Shortcut


Function


Shortcut


Function


Shortcut


ABS


AB


BPRNT


BP


PCLOS


PC


ACOS *


AC


COS


CO


POPEN


PO


ADP *


AD


DPRNT


DP


ROUND


RO


AND


AN


END


EN


SIN


SI


ASIN *


AS


EXP *


EX


SQRT


SQ


ATAN


AT


FIX


FI


WHILE


WH


BCD


BC


FUP


FU


TAN


TA


BIN


BI


GOTO


GO


XOR


XO


The func tions iden ti fied with (*) are not avail able on Fanuc 0/16/18/21 model con trols An ab –


bre vi ated short cut of the macro func tion will be fully dis played on the con trol screen The fol low –


ing ex am ples com pare the two meth ods of macro ab bre vi a tions:


o


Abbreviated length input example:


WH[AB[#1] LE RO[#2]]


Abbreviated input format


o


Full length input example – the plate drilling machine ab bre vi ated in put above is the same as the full in put be low:


WHILE[ABS[#1] LE ROUND[#2]]


Full input format


Copyright 2005, Industrial Press Inc, New York, NY – FANUC CNC Custom Macros


PARAMETRIC PROGRAMMING


18


This chap ter in tro duces the ba sic and the key part of the hand book – it in tro duces var i ous Fanuc


con trol features that re late to prac ti cal uses for mac ros in a typ i cal ma chine shop en vi ron ment It


also cov ers the ben e fits that can be ex pected Pre vi ous chap ters have al ready pro vided many nec –


es sary ‘tools of the trade’ That does not mean there are no more ‘tools’ available – on the con trary


– but enough ‘tools’ have al ready been pre sented to be able de punching metal hydraulic press manufacturers velop some ac tual mac ros that can


be used on a daily ba sis Be fore dis cuss ing the ac tual de vel op ment some back ground should help


What is a Parametric Programming ?


Since the days of lan guage based NC and CNC pro gram ming, para met ric ap proach to pro gram


de vel op ment was pro moted The re quire ments were quite ex pen sive, be cause the user had to have


a pow er ful main frame com

Making a separate program for each rect angle drawing is the traditional way Making

September 4, 2017 · Posted in Uncategorised · Comment 

les have to be machined Making a separate program for each rect angle drawing is the traditional way Making one


macro that will do any rect an gle is the most ef fi cient way, the macro way By sub sti tut ing the


length and width vari ables, the ‘new’ pro gram can be used Ben e fits are fast be com ing clear


205


Copyright 2005, Industrial Press Inc, New York, NY – FANUC CNC Custom Macros


206


Chapter 18


Angle Straightening


Ben e fits of Para met ric Pro gram ming


Fast turn around in pro duc tion is the most sig nif i cant ben e fit of fam ily of parts mac ros More


time is of ten needed to de velop a macro than a stan dard pro gram, but this time is an ex cel lent in –


vest ment, es pe cially if the macro will be used of ten Know ing the ben e fits para met ric pro gram –


ming of fers, con trib utes to better busbar sawing machine de ci sion when to de velop a para met ric pro gram and when a


stan dard pro gram is more suit able Para met ric pro gram ming ben e fits in these im prove ments:


u


Overall benefits


o


Quick turnaround between parts


o


Reduced time for program checking


o


Product quality improvement


o


Decrease of overall CNC Movement Drilling machine production costs


In di vid u ally, the ben e fits drill machine buy online may be fur ther iden ti fied in the pro duc tion and pro gram ming ar eas: u


Benefits in the production area:


o


Reduction of scrap parts


o


Increased quality of the machined part


o


Tooling cost down due to standardized tooling


o


Increased productivity of the CNC machine


o


Lower maintenance costs


u


Benefits in the programming area:


o


Drastic reduction is programming time


o


Programming errors reduced or eliminated


o


Consistency for all similar parts


o


Easier workload transition


In or der to ben e fit from the para met ric ap proach to pro gram ming, the first step is to iden tify


suit able parts Not ev ery pro gram ming job is suit able for the ad di tional in vest ment in time


When to Program Parametrically


The sev eral ar eas al ready men tioned are also very im por tant in de ter mi na tion whether th