586,102 active members*
3,215 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2008
    Posts
    26

    Z tool offset not always reccognized

    Is anyone framiliar with this problem in EMC2 ? If I run a program from startup, set my tools and run it works great. But if I try to run another program, or have to change tools without shutting down and restarting it seems to make up its own numbers and will tell me that a Z move will be past the limits when I know it is not. I am looking for a fix to this last night I was running a prog and had to change a tool offset midrun, reloaded the offset table, and it wouldnt run, had to shut down and rehome everything which lost my part location and it was a real pain to find it again.

    TIA

  2. #2
    Join Date
    Nov 2005
    Posts
    496
    are you using G92 in your program?
    Actually if you post your program somewhere it would be helpful.
    I have not heard of this problem before.
    Also what version of EMC are you using?

  3. #3
    Join Date
    Aug 2008
    Posts
    26
    It is version 2.3 I believe, will have to go look to be sure. I am using a G92 and posting with MasterCam9 EMC2MPFAN post processor. It does this on any program. I will see If I have a program small enough to copy in here.

  4. #4
    Join Date
    Aug 2008
    Posts
    26
    Here is the shortest I found, I do notice there is not a G92 as I thought there was.


    %
    (PROGRAM NAME - 3800VACCOVER)
    (DATE=DD-MM-YY - 18-10-09 TIME=HH:MM - 13:36)
    ( 1/4 CENTERDRILL TOOL - 1 DIA. OFF. - 21 LEN. - 1 DIA. - .25)
    N100G20
    N102G90G40G49G80
    N104T1M6
    N106G0G90G54X.3988Y.3836S2400M3
    N108G43H1Z.1
    N110G99G81Z-.1R.1F6.
    N112X1.5108Y1.7089
    N114X2.4439Y.3827
    N116X3.556Y1.708
    N118G80
    N120M5
    N122G0G53Z0.
    N124T2M6
    ( #Q DRILL TOOL - 2 DIA. OFF. - 22 LEN. - 2 DIA. - .332)
    N126M00
    N128G0G90X.3988Y.3836S240M3
    N130G43H2Z.1
    N132G99G83Z-.26R.1Q.1F6.
    N134X1.5108Y1.7089
    N136X2.4439Y.3827
    N138X3.556Y1.708
    N140G80
    N142M5
    N144G0G53Z0.
    N146T3M6
    ( 1/4 FLAT ENDMILL TOOL - 3 DIA. OFF. - 0 LEN. - 3 DIA. - .25)
    N148M00
    N150G0G90X.549Y-.2087S2400M3
    N152G43H3Z.25
    N154Z.1
    N156G1Z-.0433F6.
    N158X.4647Y-.1165F10.
    N160G3X.3781Y-.0759I-.0923J-.0843
    N162G2X-.0406Y.5198I.0208J.4595
    N164G1X.1954Y1.2815
    N166G2X.5913Y1.7533I.7594J-.2353
    N168G1X1.3005Y2.118
    N170G2X1.9502Y1.5728I.2104J-.4091
    N172G1X1.7142Y.811
    N174G2X1.3184Y.3393I-.7594J.2353
    N176G1X.6092Y-.0254
    N178G2X.3781Y-.0759I-.2104J.4091
    N180G3X.2881Y-.1085I-.0056J-.1249
    N182G1X.1958Y-.1928
    N184G0Z.2067
    N186X.549Y-.2087
    N188Z.1
    N190G1Z-.0867F6.
    N192X.4647Y-.1165F10.
    N194G3X.3781Y-.0759I-.0923J-.0843
    N196G2X-.0406Y.5198I.0208J.4595
    N198G1X.1954Y1.2815
    N200G2X.5913Y1.7533I.7594J-.2353
    N202G1X1.3005Y2.118
    N204G2X1.9502Y1.5728I.2104J-.4091
    N206G1X1.7142Y.811
    N208G2X1.3184Y.3393I-.7594J.2353
    N210G1X.6092Y-.0254
    N212G2X.3781Y-.0759I-.2104J.4091
    N214G3X.2881Y-.1085I-.0056J-.1249
    N216G1X.1958Y-.1928
    N218G0Z.1633
    N220X.549Y-.2087
    N222Z.1
    N224G1Z-.13F6.
    N226X.4647Y-.1165F10.
    N228G3X.3781Y-.0759I-.0923J-.0843
    N230G2X-.0406Y.5198I.0208J.4595
    N232G1X.1954Y1.2815
    N234G2X.5913Y1.7533I.7594J-.2353
    N236G1X1.3005Y2.118
    N238G2X1.9502Y1.5728I.2104J-.4091
    N240G1X1.7142Y.811
    N242G2X1.3184Y.3393I-.7594J.2353
    N244G1X.6092Y-.0254
    N246G2X.3781Y-.0759I-.2104J.4091
    N248G3X.2881Y-.1085I-.0056J-.1249
    N250G1X.1958Y-.1928
    N252G0Z.12
    N254X.549Y-.2087
    N256Z.1
    N258G1Z-.1733F6.
    N260X.4647Y-.1165F10.
    N262G3X.3781Y-.0759I-.0923J-.0843
    N264G2X-.0406Y.5198I.0208J.4595
    N266G1X.1954Y1.2815
    N268G2X.5913Y1.7533I.7594J-.2353
    N270G1X1.3005Y2.118
    N272G2X1.9502Y1.5728I.2104J-.4091
    N274G1X1.7142Y.811
    N276G2X1.3184Y.3393I-.7594J.2353
    N278G1X.6092Y-.0254
    N280G2X.3781Y-.0759I-.2104J.4091
    N282G3X.2881Y-.1085I-.0056J-.1249
    N284G1X.1958Y-.1928
    N286G0Z.0767
    N288Z.1
    N290X.549Y-.2087
    N292G1Z-.2167F6.
    N294X.4647Y-.1165F10.
    N296G3X.3781Y-.0759I-.0923J-.0843
    N298G2X-.0406Y.5198I.0208J.4595
    N300G1X.1954Y1.2815
    N302G2X.5913Y1.7533I.7594J-.2353
    N304G1X1.3005Y2.118
    N306G2X1.9502Y1.5728I.2104J-.4091
    N308G1X1.7142Y.811
    N310G2X1.3184Y.3393I-.7594J.2353
    N312G1X.6092Y-.0254
    N314G2X.3781Y-.0759I-.2104J.4091
    N316G3X.2881Y-.1085I-.0056J-.1249
    N318G1X.1958Y-.1928
    N320G0Z.0333
    N322Z.1
    N324X.549Y-.2087
    N326G1Z-.26F6.
    N328X.4647Y-.1165F10.
    N330G3X.3781Y-.0759I-.0923J-.0843
    N332G2X-.0406Y.5198I.0208J.4595
    N334G1X.1954Y1.2815
    N336G2X.5913Y1.7533I.7594J-.2353
    N338G1X1.3005Y2.118
    N340G2X1.9502Y1.5728I.2104J-.4091
    N342G1X1.7142Y.811
    N344G2X1.3184Y.3393I-.7594J.2353
    N346G1X.6092Y-.0254
    N348G2X.3781Y-.0759I-.2104J.4091
    N350G3X.2881Y-.1085I-.0056J-.1249
    N352G1X.1958Y-.1928
    N354G0Z-.01
    N356Z.1
    N358X.5495Y-.1988
    N360G1Z-.26F6.
    N362X.4652Y-.1065F10.
    N364G3X.3785Y-.0659I-.0923J-.0843
    N366G2X-.031Y.5168I.0203J.4495
    N368G1X.205Y1.2786
    N370G2X.5958Y1.7444I.7498J-.2323
    N372G1X1.305Y2.1091
    N374G2X1.9407Y1.5757I.2058J-.4002
    N376G1X1.7047Y.8139
    N378G2X1.3138Y.3482I-.7498J.2323
    N380G1X.6046Y-.0166
    N382G2X.3785Y-.0659I-.2058J.4002
    N384G3X.2886Y-.0985I-.0056J-.1249
    N386G1X.1963Y-.1828
    N388G0Z-.01
    N390Z.25
    N392X2.5957Y-.2093
    N394Z.1
    N396G1Z-.0433F6.
    N398X2.5111Y-.1172F10.
    N400G3X2.4244Y-.0769I-.0921J-.0846
    N402G2X2.0045Y.5188I.0196J.4596
    N404G1X2.2406Y1.2806
    N406G2X2.6364Y1.7523I.7594J-.2353
    N408G1X3.3456Y2.117
    N410G2X3.9953Y1.5718I.2104J-.4091
    N412G1X3.7593Y.8101
    N414G2X3.3635Y.3383I-.7594J.2353
    N416G1X2.6543Y-.0264
    N418G2X2.4244Y-.0769I-.2104J.4091
    N420G3X2.3345Y-.1097I-.0053J-.1249
    N422G1X2.2424Y-.1943
    N424G0Z.2067
    N426X2.5957Y-.2093
    N428Z.1
    N430G1Z-.0867F6.
    N432X2.5111Y-.1172F10.
    N434G3X2.4244Y-.0769I-.0921J-.0846
    N436G2X2.0045Y.5188I.0196J.4596
    N438G1X2.2406Y1.2806
    N440G2X2.6364Y1.7523I.7594J-.2353
    N442G1X3.3456Y2.117
    N444G2X3.9953Y1.5718I.2104J-.4091
    N446G1X3.7593Y.8101
    N448G2X3.3635Y.3383I-.7594J.2353
    N450G1X2.6543Y-.0264
    N452G2X2.4244Y-.0769I-.2104J.4091
    N454G3X2.3345Y-.1097I-.0053J-.1249
    N456G1X2.2424Y-.1943
    N458G0Z.1633
    N460X2.5957Y-.2093
    N462Z.1
    N464G1Z-.13F6.
    N466X2.5111Y-.1172F10.
    N468G3X2.4244Y-.0769I-.0921J-.0846
    N470G2X2.0045Y.5188I.0196J.4596
    N472G1X2.2406Y1.2806
    N474G2X2.6364Y1.7523I.7594J-.2353
    N476G1X3.3456Y2.117
    N478G2X3.9953Y1.5718I.2104J-.4091
    N480G1X3.7593Y.8101
    N482G2X3.3635Y.3383I-.7594J.2353
    N484G1X2.6543Y-.0264
    N486G2X2.4244Y-.0769I-.2104J.4091
    N488G3X2.3345Y-.1097I-.0053J-.1249
    N490G1X2.2424Y-.1943
    N492G0Z.12
    N494X2.5957Y-.2093
    N496Z.1
    N498G1Z-.1733F6.
    N500X2.5111Y-.1172F10.
    N502G3X2.4244Y-.0769I-.0921J-.0846
    N504G2X2.0045Y.5188I.0196J.4596
    N506G1X2.2406Y1.2806
    N508G2X2.6364Y1.7523I.7594J-.2353
    N510G1X3.3456Y2.117
    N512G2X3.9953Y1.5718I.2104J-.4091
    N514G1X3.7593Y.8101
    N516G2X3.3635Y.3383I-.7594J.2353
    N518G1X2.6543Y-.0264
    N520G2X2.4244Y-.0769I-.2104J.4091
    N522G3X2.3345Y-.1097I-.0053J-.1249
    N524G1X2.2424Y-.1943
    N526G0Z.0767
    N528Z.1
    N530X2.5957Y-.2093
    N532G1Z-.2167F6.
    N534X2.5111Y-.1172F10.
    N536G3X2.4244Y-.0769I-.0921J-.0846
    N538G2X2.0045Y.5188I.0196J.4596
    N540G1X2.2406Y1.2806
    N542G2X2.6364Y1.7523I.7594J-.2353
    N544G1X3.3456Y2.117
    N546G2X3.9953Y1.5718I.2104J-.4091
    N548G1X3.7593Y.8101
    N550G2X3.3635Y.3383I-.7594J.2353
    N552G1X2.6543Y-.0264
    N554G2X2.4244Y-.0769I-.2104J.4091
    N556G3X2.3345Y-.1097I-.0053J-.1249
    N558G1X2.2424Y-.1943
    N560G0Z.0333
    N562Z.1
    N564X2.5957Y-.2093
    N566G1Z-.26F6.
    N568X2.5111Y-.1172F10.
    N570G3X2.4244Y-.0769I-.0921J-.0846
    N572G2X2.0045Y.5188I.0196J.4596
    N574G1X2.2406Y1.2806
    N576G2X2.6364Y1.7523I.7594J-.2353
    N578G1X3.3456Y2.117
    N580G2X3.9953Y1.5718I.2104J-.4091
    N582G1X3.7593Y.8101
    N584G2X3.3635Y.3383I-.7594J.2353
    N586G1X2.6543Y-.0264
    N588G2X2.4244Y-.0769I-.2104J.4091
    N590G3X2.3345Y-.1097I-.0053J-.1249
    N592G1X2.2424Y-.1943
    N594G0Z-.01
    N596Z.1
    N598X2.5961Y-.1993
    N600G1Z-.26F6.
    N602X2.5116Y-.1072F10.
    N604G3X2.4248Y-.0669I-.0921J-.0846
    N606G2X2.0141Y.5159I.0191J.4496
    N608G1X2.2501Y1.2777
    N610G2X2.6409Y1.7434I.7498J-.2323
    N612G1X3.3502Y2.1081
    N614G2X3.9858Y1.5748I.2058J-.4002
    N616G1X3.7498Y.813
    N618G2X3.3589Y.3472I-.7498J.2323
    N620G1X2.6497Y-.0175
    N622G2X2.4248Y-.0669I-.2058J.4002
    N624G3X2.3349Y-.0997I-.0053J-.1249
    N626G1X2.2429Y-.1843
    N628G0Z-.01
    N630M5
    N632G53Z0.
    N634M30

  5. #5
    Join Date
    Nov 2005
    Posts
    496
    Just off hand I kinda think it's the G92.
    G92 is remembered between runs of EMC unless you cancel it with g92.1 or g92.2
    Hopefully some g code masters will come here and help you out some more.
    And boy is that program hard to read without spaces between g code commands!
    I would kill if that is what I had to deal with everyday!

    Chris

  6. #6
    Join Date
    Aug 2008
    Posts
    26
    LOL, I know, thats how Mastercams Editor puts it up. At least once its on EMC when you edit it is color coded.

    I did some reading on G92, and it seems that most say not to use it, just use G54-59 for work coordinates. Is EMC different on this ? Should I set G92 at the machine home ?

  7. #7
    Join Date
    Aug 2008
    Posts
    26
    Any more Idea/suggestions ? I am about to head out and play with the machine in an attempt to keep myself awake all night.

  8. #8
    Join Date
    Nov 2005
    Posts
    496
    yes reboot EMC and don't use G 92 or add G92.2 to the end of the program.
    See if the problem persists.

Similar Threads

  1. Changing tool diameter in the tool offset screen
    By Vern Smith in forum Haas Mills
    Replies: 22
    Last Post: 05-09-2022, 05:25 PM
  2. Offset, measure the first tool and second tool
    By domax in forum Daewoo/Doosan
    Replies: 14
    Last Post: 12-30-2009, 05:20 AM
  3. Tool Offset
    By jdgromi in forum French
    Replies: 0
    Last Post: 07-02-2009, 04:03 AM
  4. Tool offset ...
    By patrickb in forum Fanuc
    Replies: 13
    Last Post: 08-21-2006, 04:53 PM
  5. Tool Offset
    By 3rdcoast in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 05-19-2006, 07:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •