New System, Different Units for Jog and GCode Program

Results 1 to 3 of 3

Thread: New System, Different Units for Jog and GCode Program

  1. #1
    Member
    Join Date
    Jun 2013
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default New System, Different Units for Jog and GCode Program

    Hey all, I just switched the electronics for my G0704 CNC machine from LinuxCNC with a ghetto old computer to a Raspberry Pi 3B+ with bCNC and GRBL. I've got everything all configured and was doing all my testing with jogging. Machine is set up for inch measurements. I loaded a simple test program and ran it and found that, while Z moves the correct units each time, X and Y are both only moving half the distance of that specified by the program. I am not using any micro stepping and my configuration also assumes no micro stepping. I changed the number of pulses per distance to twice the number, but when it rapids to the start point, it goes twice as far! So to boil it down:

    - Jog and rapids move the correct distance
    - G1 movements are only going half the distance

    Here is a snippet of my header. I don't see anything here that should result in this. Any ideas?

    Code:
    G0 Z0.125
    ( T0 : 0.1875 )
    T0 M6
    ( Profile1 )
    G17
    M3 S1000
    G0 X-1.6843 Y0.2347
    G0 Z0.0625
    G1 F10.0 Z-0.125
    G1 F12.0 X-1.3773
    G3 X-1.2835 Y0.3285 I0.0 J0.0938
    G1 X-1.2837 Y0.6717
    G1 X1.258
    G1 Y0.3285


    Similar Threads:


  2. #2
    Member
    Join Date
    Jun 2013
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default Re: New System, Different Units for Jog and GCode Program

    Alright, so apparently there needs to be a factor of 2 in there somewhere, and my GRBL controller was also out of sync. I've got it all resolved now, but I still don't understand where my factor of two magically came from. Oh well, we're moving right along, nothing to see here.



  3. #3
    Member gstprecision's Avatar
    Join Date
    Oct 2018
    Posts
    13
    Downloads
    0
    Uploads
    0

    Default Re: New System, Different Units for Jog and GCode Program

    Seems like you found the problem. But just in case you still have it you may have to calibrate GRBL to your machine. There is a few videos on how to do it.



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

New System, Different Units for Jog and GCode Program

New System, Different Units for Jog and GCode Program

New System, Different Units for Jog and GCode Program