Академический Документы
Профессиональный Документы
Культура Документы
COE:Forums:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Apr05
2011
ImplementinglocalcoordinatesontheCNC(i.e.G68)
Larry
ImplementinglocalcoordinatesontheCNC(i.e.G68)
Jones
April5,201106:40PM
[NCData]
Hellofriends,
IhavebeendealingwiththeissuesofusingtheG68"conversiontolocalcoordinatesystem"withseveralassociatesandclients.Asyou
knowthisCNCfeatureallowstheprogrammingofdrillCYCLEsandcircularinterpolationtobedoneinanyplanebyspecifyingtheplanes
originandorientationintheG68block.Asalwaysthisisamanualprogrammer'sdreamandaCAMprogrammer'snightmare.Thisissueis
thatwehavetodealwithhowevertheCNCsystemdecidestodoit!andofcourseeachCNCsystemdoesitalittledifferently!Theother
issueiswhodoesit?TheCAMsystemorthepostprocessor?SinceeachCNCdoesitalittledifferentandprogrammersneedtobe
consistantIsuspectthepostprocessorshoulddoit.Dowhat?UndowhattheCNCdidwithourbeautiful3Dcutterpathdata.
IftheCAMsystemdoesthetransformations(rotationsandtranslation)thenthecutterpathdataisdoneandthepostprocessorhastofind
outhowtheCAMsystemdiditanddothesameinthestyleoftheCNC'sG68.Thismeansthepostprocessorhastounderstandboththe
CAMsystemsstyleandtheCNCsystemsstyleofdoingtranformations.UnigraphicsandCATIAbothusetheMSYSsyntaxin
theirCLFILE,buttheyareverydifferent.
CATIAuses,nomystery,theAPTcannonform&mathematicalcorrectMATRIXdefinition.Thisisacomplexresolvedmatrixthatcanbe
thecombinationofmultiplerotationsandtranslationsandconsistsofthefinalresolveddirectioncosines(9)andthefinalresolved3D
translation(3)foratotalof(12)values(seeanAPTmanualfordetailsit'sbetterthanamathbook).
UG(orshouldIsaySiemens)usesaMSYSwitha3Dtranslation(3),anXaxisvector(3)andaYaxisvector(3)foratotalof(9)values.I
preferCATIAbecausethecomputationsaredoneandinamatrixformthatcanbedirectlyapplied.P.S.youcannotjustusea3Dpointand
asinglenormalvectorbecause,althoughitdoesdefinetheplane,thereisnoorientation.
TheCNCofcoursedoestheG68andvaluesstupidly(rememberwedidn'tgetavote)withanangleandaxisofrotation.Sotosetupalocal
coordinatesystemtilted30degreesoffverticalandrotatedtothe90degreesideofthepartrequires(2)backtobackG68blocks.This
makesthemanualprogrammersgetrealexcited.
IfthetransformationisdoneinthepostprocessorIwouldsuggestusingasyntaxsimilartotheAPTmatrixinpostprocessorform:ORIGIN/
ROTREF,TRANSL,x,y,z,XYROT,a,YZROT,b,.....etc.ThesevaluescouldbetakenfromtheCATIAparametersinthepptableor
postprocessorcouldextractthemfromthefollowingGOTOpoint(s)toavoidkeyingthemin.
PleaserepondtothistopicbecauseIthinkweneedavoteevenifitistoolatefortheCNCdevelopers.
NC4EVER,
Larry
P.S.DowestillmakeanythinghereintheU.S.?EventheCAD/CAMsoftwareisgoingsouth(orisiteast).GodblessBillGates!
RE:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Samarinder
April6,201104:31AM(inresponsetoLarryJones)
Singh
[CUTPATH]
HiLarry,
PersonallyIdon'tlikethewayCNCdoesthe2G68blocksbacktobackjusttogetthedrilling.IfitisoneofthoseCyclessuchasTapping
theneitherdoitmanuallyorsadly2G68blocks.
BestRegards,
Samarinder
http://www.coe.org/p/fo/et/thread=24219
1/4
2016.4.3.
COE:Forums:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Bryan
RE:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Carpio
April6,201102:37PM(inresponsetoLarryJones)
Felsher
Larry,
[True
Precision]
Originally,IreallyonlywantedtouseG68fordrilling.However,IcanseebenefitsinbeingabletousestandardG41cuttercomp,Circular
millingroundholesata5axisangle,andmore.
So,myideaofCYCLE/5AXIS,(ON,OFF)probablywasn'tverygood.Ithinkyou'reontherighttrack.We'llusestandardAPTORIGINsyntax,
withastandardminorwordofROTREF.ThiswilltelltheposttotranslatetheOrigin,andtheROTREFwilltellittodothisusingG68.The
postwillthenoutputallfollowingmotionsfromtheneworigin.
Now,weneedtobeabletoturnitbackoffandgototheoriginalOrigin(G69).Idon'tthinkprogrammer'sinCatiawillwanttohaveto
establishaneworiginagain.Ithinkthey'llwanttobeabletostoretheoriginalprogrammingorigininthepostsmemory...soweneedawayto
easilygobacktotheoriginBEFOREtheROTREFchange.I'llworkwithyouonthat,andprovideyouwithsomesampleprogramsusing
G68.
Butthemainthing,isthatfromwithinCatia,theprogrammerjusthastogotoanapproachpoint,andenterasinglelinePPRINT,andthe
postdoesallthework.Everythingwillbeasseamlessascanbe.Whenprogrammerwantstogobacktooriginalprogramorigin,hegoes
backtothesamesafetypoint,andinsertsanothersingleLinePPRINTandcontinueson...
Ideasaremorethanwelcome...howwouldYOUlikethistowork,asaCatiaprogrammer?
Yes,wecanalldothis,bycreatingnewaxissystems,machinerotations,andenteringthetwoG68linesasmanualINSERT's.Butthat'sa
painanderrorprone.Muchbetterhavingthepostdoallthecalculationsandinserts.
Ilike:
GOTO/X,Y,Z,I,J,K$$(donewithapointtopointMO)
ORIGIN/ROTREF,TRANSL,ON$$(NoXYZIJKABvaluesneededpostwilljusttakethecurrenttoolaxisandpoint.$
ThisisinsertedasaPPINSERTandcanbesavedinthepptableoraMPforquickaccess)
GOTO/x,x,x,x,x,x
CYCLE/x,x,x,x,x,x
etc....
GOTO/X,Y,Z,I,J,K$$(donewithapointtopointMOgotoasafetyretractpoint)
ORIGIN/ROTREF,TRANSL,OFF$$(Again,(NoXYZIJKABvaluesneededpostwilljusttakethecurrenttoolaxisandpoint.$
ThisisinsertedasaPPINSERTandcanbesavedinthepptableoraMPforquickaccess)
But,I'msure(asalways)Larrywillcomeupwithsomethingmuchbetter...
RE:ImplementinglocalcoordinatesontheCNC(i.e.G68)
PaulPoirier
April6,201103:02PM(inresponsetoLarryJones)
[Textron
Aviation]
Wehaveitatcessnaommazak5axisintregrex.Itwasdonebytheicampost.Defaultedtobeingon.Itworkssweet.Theg2andg3make
thebestfinishpossibleatanyangle.
Bryan
RE:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Carpio
April6,201105:18PM(inresponsetoLarryJones)
Felsher
ThanksPaulyouhavemethinking...
[True
Precision]
Isuppose,wecouldmakeitanoptiontoturnon,sothatwheneverpostencountersaCYLNDRstatementwithatoolaxisotherthan0,0,1it
initiatesG68mode,orwheneveracycleisencounteredatatoolaxisotherthan0,0,1.Thatmightworkwell.Itwouldbeasettingthatcould
beturnedonoroffineithertheconfigurationfileortheaptsourcefile(whichalwaysoverwritesconfig).
IguessmyquestioniswhendoesthepostturnofftheG68andgobacktotheoriginalcoordinatesystem?WithCyclesthatwouldbeeasy
whenencounteringCYCLE/OFF.Butwhataboutwhenmillingcylnders,withorwithoutCUTCOM?Itmightbenicetobeabletohaveoption
toeitherletpostdecide,butALSOhaveusercontrol.
I'malsointerestedinhowthoseofyouwhodon'tcurrentlyusethisprogrammingoption,wouldLIKEtoseeitimplemented.
RE:ImplementinglocalcoordinatesontheCNC(i.e.G68)
PaulPoirier
April6,201105:56PM(inresponsetoLarryJones)
[Textron
Aviation]
Everytimethereisarotationitsetsupanewsystemandstaysthereuntillanewrotation..Cuttercomp,cyclesandcircles/clinderswork
great.Torotatewhilecuttingyoushutoftheg68mode,thenturnitbackonwhendone.Itworksslick.
http://www.coe.org/p/fo/et/thread=24219
2/4
2016.4.3.
COE:Forums:ImplementinglocalcoordinatesontheCNC(i.e.G68)
RE:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Nicolas
April6,201106:18PM(inresponsetoLarryJones)
Denis
[Usilog]
Hiall,
youalsoneedtocancelG68beforeswitchingtoG43.4/G43.5andbeforetoolchanges.
ThereissomefunstufftodowithG68andangleheadsinordertobeabletododrillingcycle,tapping,G2/G3andcuttercompensation.
Nicolas
Bryan
RE:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Carpio
April6,201107:36PM(inresponsetoLarryJones)
Felsher
Nicolas,IhavebeenrunningamachinewithG68inG43.1mode.Areyousayingitjustdoesn'tworkinG43.4andG43.5,butisokayin
G43.1?Wedon'tuseG43.4.
[True
Precision]
Atthemoment,mypostautomaticallyoutputsG68statementsifdrillingotherthan0,0,1toolaxis.Notsurehowwewillhandlemillingwork
(CYLNDR).Probably,justacodetoturnonandoff,butIthinktheprogrammerhastobeabletocontrolthisonthefly.
Thanksguys.
RE:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Nicolas
April6,201108:43PM(inresponsetoLarryJones)
Denis
[Usilog]
HiBryan,
Idon'tuseG43.1.(Ievendon'tknowwhatitis...Ifeelashamed)BasicallyIuseG68/G43whenrotaryaxesarelockedandG43.4when
running5axessimultaneously.IfIgiveG43.4whenG68isactiveIgetanalarm.
IpersonnalyalwaysoutputaG68whenworkingonaninclinedplane.
FormostofmycustomerthatmakeaerostructuralpartsIonlyuseoneorigin,soIjusthavetolookattheijkvectorforrotationchanges.
Fortheoneswithmill/turnthatwantmorethanoneoriginit'smorecomplicatedasyouhavetodealwithaxisshiftandijkvector.Ialso
makeadifferenceifIcheckornot"origin"inthemachiningaxischangeMO.IfcheckedIoutputaG54/G55/G56...andG68ifijknot0,0,1,if
notonlyaG68...
(WhenIsayaG68,that's2ifneeded)
Nicolas
Deepak
RE:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Manuel,
April7,201106:59PM(inresponsetoLarryJones)
SMENC
Hi,LocalCoordinateSystem(LCS)isextremelysimpletodo.ActuallytheeaseofsetupdependsonthecapabilitiesofthePP.Ihavesetup
severalpostswiththisfunctionalitytohandleLCSandittakesunder5minutestoaddthisfunctionalityintoanyexistingPP.
Manufacturing
[Dassault
Systemes]
Threemainthingsaretobeconsidered.
a)DoyouwanttodoROT2DorROT3D
b)Doyouwanttherotationmethodas(1)Axismethod,(2)RollPitchYaw(RPY)or(3)XYZ
c)WhatisthecentreofRotation?(1)Originor(2)Pointor(3)Offset
ThatisallthereistohandlingLocalCoordinateSystems.
(FanucG68,G69orSiemensCYCLE800)
AlltheuserdoesisusePPWordsasfollows.Thesyntaxbelowisquitestraightforwardandselfexplanatory
LCS/AUTO
LCS/ON
LCS/OFF
Pleaseletmeknowifyouneedmoreinfo..Thanks..
withkindregards
DeepakManuel
DassaultSystemes
RE:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Quanwen
April8,201111:12AM(inresponsetoLarryJones)
Du
[Messier
LCSapplystoICAM.Doesitalsoapplytootherposts?
Dowty]
Quanwen
http://www.coe.org/p/fo/et/thread=24219
3/4
2016.4.3.
COE:Forums:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Bryan
RE:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Carpio
April13,201103:26PM(inresponsetoLarryJones)
Felsher
Idon'tthinkso,Quanwen.Eachpostwillhaveit'sowncode.
[True
Precision]
WedecidedtouseMODE/LCS,(on,off,auto)inAZPost.
MODE/LCS,ONwilloutputthetwoG68blocks,translatingLCSsocurrenttoolaxispointandvectorbecomethenewcenteroforigin.
MODE/LCS,OFFwilloutputG69,returningtooriginalcoordinatesystem.
MODE/LCS,AUTOwillautomaticallyoutputnewG68blockseachtimeanewtoolaxisorientationisfound.Usefulifyouaredrilling,tapping
ormilling(with/withoutCCOMP)abunchofholesonasphereinasingleMO,forinstance.AZPostwilldoallthework,transformingCYLNDR
recordscorrectly.
OnecouldcreateapptableandputMODE/LCS,AUTOintotheCYCLEdefinitions,iftheydesiredtojustALWAYSdrillinthismodeand
MODE/LCS,OFFintheCYCLE/OFFdefinition.Then,programmerdoesn'tevenneedtoworryaboutit.PPTABLEandpostwilldoeverything
automatically.
RE:ImplementinglocalcoordinatesontheCNC(i.e.G68)
Quanwen
April13,201103:38PM(inresponsetoLarryJones)
Du
[Messier
ThanksBryan!
Dowty]
MODE/LCS,AUTOinAZPostissimilartoLCS/AUTO,ON.Itveryconvinientwhenyouuseonecoordinatesystemandoutputmultiaxis
aptsource.ThepostwillcatchthetoolaxischangeandoutpuG68/G69orROT/AROT.
Quanwen
AllTimesAmerica/New_York
Copyright2013COE.AllRightsReserved
800COECALL330N.WabashAve,Suite2000Chicago,IL60611USA
Allmaterial,files,logosandtrademarkswithinthissitearepropertiesoftheirrespectiveorganizations.
TermsofServicePrivacyPolicyContact
http://www.coe.org/p/fo/et/thread=24219
4/4