586,082 active members*
3,772 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2016
    Posts
    0

    Converting G-Code to my own coordinates

    Hi,

    I build a small 2 axis Etch-A-Sketch CNC that accepts G00 commands to draw. I can draw with the mouse on the computer screen and then the Etch-A-Sketch will "print" the drawing.

    The bottom left of the Etch-A-Sketch is X0 Y0 and the top right corner is X9500 Y6700.

    I found a website that will convert any picture into G-Code: image to gcode: convert your images to gcode and I'm trying to understand how to make the commands created by that website to work with my 2 axis cnc.

    Where does a CNC usually have the X0 Y0? Bottom left? Top left? I saw that some of the first commands when I tried to convert a picture were to go to a negative value... so if I start from a corner... negative will go out of the board.
    Please help me better understand how G-code works.

    Thanks.

    PS: here is a video of the CNC Etch-A-Sketch:

    https://www.youtube.com/watch?v=XtWJJ5csk-8

  2. #2
    Join Date
    Jun 2015
    Posts
    119

    Re: Converting G-Code to my own coordinates

    I can't say for all machines, but I think most use the top right as machine zero. So all offsets (both X and Y) would be negative from there. And if you were commanding in absolute values, all coordinates would be negative.

    Cool little device you built there!
    ____________________________
    My blog: http://www.fletch1.com

Similar Threads

  1. Coordinates change and scale when G-code is loaded
    By frare bear in forum DIY CNC Router Table Machines
    Replies: 11
    Last Post: 08-27-2021, 03:23 AM
  2. CONVERTING MILLING G CODE TO TURNING G CODE
    By keen in forum Tormach Personal CNC Mill
    Replies: 13
    Last Post: 02-10-2016, 03:13 PM
  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. Help - Problems with Z coordinates in g code
    By Socalsurferx in forum G-Code Programing
    Replies: 4
    Last Post: 03-12-2006, 11:12 AM
  5. Help!! Problem With Z coordinates in G code
    By Socalsurferx in forum Mastercam
    Replies: 7
    Last Post: 01-30-2006, 06:24 AM

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
  •