584,802 active members*
4,833 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2012
    Posts
    0

    z went go up after this g-code

    I have a file here where the Z refuses to go up.
    It cuts a rectangle then a hole then another hole then z can't go up (just a buzz sound)
    Always after it cuts the 2nd hole, Always!!!
    See *** comment inside Gcode

    Power problem? I unplugged X and Y servos same problem
    Binding/ motor problem? Plugged X axis servo ( so I'm actually moving the x-axis) into Z port with other two servos unplugged same problem. the Z.125 code just buzzes servo.

    Yet I can jog the mill all over with no problem
    Its only this dam file that causes the problem.

    I tried lower speeds etc. etc. etc.

    I was able to minimize the code and still have the problem
    One hole then G0 Z.125 and it fails.... see code below.

    Can anyone try this code on deskcnc

    ( Made using CamBam - CamBam CNC Software )
    ( sports-lcd-top 8/20/2012 10:45:40 PM )
    ( T0 : 0.125 )
    G20 G90 G64 G40
    G0 Z0.125
    ( T0 : 0.125 )
    T0 M6
    ( profile1 )
    G17
    M3 S1000
    G0 Z0.125
    G0 X2.9178 Y0.8795
    G1 F10.0 Z-0.1
    G2 F30.0 X2.9838 Y0.9847 I0.1322 J-0.0095
    G2 X3.1825 Y0.87 I0.0663 J-0.1147
    G2 X2.9838 Y0.7553 I-0.1325 J0.0
    G2 X2.9178 Y0.8795 I0.0663 J0.1147
    G0 Z0.125 <---- *************** F A I L S

  2. #2
    Join Date
    Dec 2004
    Posts
    783
    Deskcnc does this every once in a while for some reason, not sure why... By every once in a while I mean 2 or 3 times on thousands of files over the past 7 years.

    Try changing that line to G1 F10 Z.125

    Are your steps per inch the same for both the x and y? If not the calculations get handled by the pc instead of the controller card, which can make things interesting, depending on your pc.

    Theres a big update coming soon too, supposed to be good!

  3. #3
    Join Date
    Dec 2004
    Posts
    783
    Also, why are you using cambam for such simple code? Have you tried toolpathing the same file with deskcnc?

  4. #4
    Join Date
    Aug 2012
    Posts
    0
    Originally the file had several cutouts. I removed all the other code and only left the code where it fails.

    Interestingly If I cut the same hole at same location but start cutting out hole at 270 deg this changes the J and I values (start on the left side of the hole not in some odd place as it does now) it works fine. I wonder if it dislikes those I and J values.

    I also tried G1 F10 Z.125 as suggested. same thing.

  5. #5
    Join Date
    Dec 2004
    Posts
    783
    it runs fine on my machine...

  6. #6
    Join Date
    Mar 2008
    Posts
    683

    remove the tool change T0 M6

    Just try taking out the tool change command and see what happens.

    Since you have already touched off your tool there is no reason to tell the machine to perform a tool change. I don't see anywhere in your code that tells the machine to reference a tool height. Some controllers use "H0" or g43 H0

    I would start by just getting rid of the tool change first.

    i hope this helps.

Similar Threads

  1. Replies: 4
    Last Post: 03-29-2011, 02:39 PM
  2. fanuc program code vs. Haas code
    By sixty8frbrd in forum Fanuc
    Replies: 6
    Last Post: 03-11-2011, 04:05 AM
  3. Converting Fanuc G code to Seimens 840D G code
    By Jasbinder in forum SIEMENS -> Sinumerik 802D/808D/810D/828D/840D
    Replies: 2
    Last Post: 02-20-2011, 05:02 PM
  4. Replies: 8
    Last Post: 12-15-2010, 09:32 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
  •