Hello Guest it is March 28, 2024, 05:07:46 PM

Author Topic: Safe Z Odd move.  (Read 3664 times)

0 Members and 1 Guest are viewing this topic.

Safe Z Odd move.
« on: January 29, 2014, 04:33:57 PM »
I upgraded my system and had to add a Smoothstepper. The odd issue I have encountered is the safe Z. When you start the G-code or even when the code stops for a tool change, and you hit start, the Z rapids to the safe Z height, then it travels down at a feed rate to Z-zero, then rapids to the Z height set in the 1st line of code . I have tried all different settings and can not get it to not do that initial move before the G-code.. I know it should go to safe Z then down to the clearance height set in the G-code, mine is usually .25, but it shouldn't go to z-zero.Am I missing something.

Thanks,
  Richard

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Safe Z Odd move.
« Reply #1 on: January 29, 2014, 04:53:18 PM »
Sure its not your code? G28 or G53 at the start/
Hood
Re: Safe Z Odd move.
« Reply #2 on: January 29, 2014, 04:59:10 PM »
NO, I don't have G28 or G53 in my code or in the Init of the config.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Safe Z Odd move.
« Reply #3 on: January 29, 2014, 05:04:04 PM »
If you attach your xml and sample code it happens with I will take a look and see if I can figure it out
Hood
Re: Safe Z Odd move.
« Reply #4 on: January 29, 2014, 05:13:19 PM »
Here is the start of my G-code:
%
O0000 (ROUND22C)
(MASTERCAM - V9.)
(MC9 FILE  - D:\MCAM9\MILL\MC9\DENTAL\SPIT TUBE\ROUND22C.MC9)
(POST      - D:\MCAM9\MILL\POSTS\_MACH3B.PST)
(MATERIAL  - ALUMINUM INCH - 2024)
(PROGRAM   - ROUND22C.NC)
(DATE      - JAN-29-14)
(TIME      - 13:49)
(POST DEV  - NovaLab)
(NWDTOOL N" 1/2 FLAT ENDMILL" T2 D.5 F2. L3. CD2. CL1. SD2. C0)
(NWDTOOL N" 1/4 FLAT ENDMILL" T3 D.25 F2. L3. CD2. CL1. SD2. C0)
(NWDTOOL N" 1/4 CENTERDRILL" T4 D.25 F2. L3. A90. CD2. CL1. SD2. C0)
(NWDTOOL N" 3/16 DRILL" T5 D.1875 F2. L3. A118. CD2. CL1. SD2. C0)
(NWDSTOCK X6. Y5. Z2. OTC OX0. OY0. OZ0.)
(OVERALL MAX - Z.25)
(OVERALL MIN - Z-1.5)
N100 G00 G17 G20 G40 G49 G80 G90
N102 T2 M06 ( 1/2 FLAT ENDMILL)
N104 (MAX - Z.25)
N106 (MIN - Z-.98)
N108 G00 Z.25
N110 G00 X1.5 Y.9129 S2000 M03
N112 Z.1
N114 G01 Z-.196 F6.42
N116 X-1.5 F24.45
N118 X-1.8785
N120 Y.8579

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Safe Z Odd move.
« Reply #5 on: January 29, 2014, 05:32:37 PM »
I cant find a USB cable here to plug in the SS so will just have to wait until tomorrow I am afraid before I can actually test anything out.
Check to see what is in your M6 macros, likely that and most likely the M6end
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Safe Z Odd move.
« Reply #6 on: January 29, 2014, 05:36:34 PM »
As a test go to General config and change the option to ignore tool change and see if it does it.
Hood
Re: Safe Z Odd move.
« Reply #7 on: January 29, 2014, 09:51:10 PM »
Thanks Hood, I tried the tool change off and it skipped through with out any odd z moves. I then checked the M6 macro and compared to a past version. I found that in the current version the M6 end now has code and the older version did not. This explans the new odd behavior. Thanks for the help.
Brg,
  Richard