Hello Guest it is March 28, 2024, 01:31:16 PM

Author Topic: Simple g-code  (Read 22013 times)

0 Members and 1 Guest are viewing this topic.

Offline kolias

*
  •  1,154 1,154
    • View Profile
Simple g-code
« on: August 06, 2009, 01:17:30 PM »
I have been able to adjust my three axis and they all work fine and smooth while I jog the motors. Now I think it’s time to set the home / limits on Mach3. This is my first build of a CNC router with a table size of 48”x26”, travel of each axis is approx X=24”, Y=38”, Z=9”.

I would have like to have a simple g-code to move the axis for testing. Like I would like to jog lets say the X axis to the home position and the run a g-code to say “move X axis from 0” to +24” and then the g-code will terminate. Then I will repeat this for the Y and Z axis. I would prefer not to have a g-code that will test all 3 axis at the same time. One axis at a time is much better for me

Is this the right way to do it?

Obviously I have no experience at all with mach3 or g-code but I’m learning as I go along.

Nicolas
Nicolas
Re: Simple g-code
« Reply #1 on: August 07, 2009, 05:41:43 PM »
Ed VanEss

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Simple g-code
« Reply #2 on: August 07, 2009, 06:51:19 PM »
Nicolas,
G00 - Rapid move
G01 - move at a defined feed rate

So if you type in the MDI line:
G00 X1.0   the axis will move 1.0" in the positive direction
G01 Y1.0 F5  the Y axis will move 1.0" and at 5 inches / min

You can click on the g-codes button next to the reset button and it will give you a listing and definition of the gcodes.

G28 will return you to home

RICH

Offline kolias

*
  •  1,154 1,154
    • View Profile
Re: Simple g-code
« Reply #3 on: August 07, 2009, 07:27:52 PM »
Nicolas,
G00 - Rapid move
G01 - move at a defined feed rate

So if you type in the MDI line:
G00 X1.0   the axis will move 1.0" in the positive direction
G01 Y1.0 F5  the Y axis will move 1.0" and at 5 inches / min

You can click on the g-codes button next to the reset button and it will give you a listing and definition of the gcodes.

G28 will return you to home

RICH


Thank you RICH

So simple but then again so difficult if you don't know how

Nicolas
Nicolas

Offline kolias

*
  •  1,154 1,154
    • View Profile
Re: Simple g-code
« Reply #4 on: August 07, 2009, 07:48:20 PM »
Nicolas,

You can click on the g-codes button next to the reset button and it will give you a listing and definition of the gcodes.

RICH


That button has a lot of "goodies" which I would have liked to print but I can't find a way to print it.

Is there any way that I can print the "Summary of G-Codes"

Nicolas
Nicolas

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Simple g-code
« Reply #5 on: August 07, 2009, 08:39:49 PM »
Nicolas,
Not that i know of. The code is basicaly the same as the NIST - RS274NGC. Try an internat search.
RICH

Offline kolias

*
  •  1,154 1,154
    • View Profile
Re: Simple g-code
« Reply #6 on: August 07, 2009, 08:50:32 PM »
Nicolas,
Not that i know of. The code is basicaly the same as the NIST - RS274NGC. Try an internat search.
RICH

I thought you were offline for the weekend RICH and so I asked HOOD in the general mach3 section. He told me the file name is mack3millgcode.htm, 22 pages and I printed, nice weekend reading LOL

Thank you for trying to help
Nicolas
Nicolas

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Simple g-code
« Reply #7 on: August 07, 2009, 10:01:20 PM »
Thanks for the info, now if i can just remember it.

Don't waite on just any one person, ask anyone, as there are a lot of folks in here that can help and are very knowlegable. Like Mr. Hood

Just because i am a moderator dosn't mean anything.

Heck, at home i'm the king of the castle, ruler of the land, final voice on all, UNTIL ... the queen speaks and reminds me i was dreaming again!  ;D
 
RICH


Re: Simple g-code
« Reply #8 on: April 16, 2011, 01:18:46 AM »
need to fgo to site http://www.stevenson-engineers.co.uk/files/Mach3MillGcode.htm to get code.
 i'm new so i was confused about how to search for it but I found it finally duh"
hope this helps some other lost souls
webefisher