- Posts: 12
- Thank you received: 0
Newbie needs help getting my setup working
11 years 1 week ago #64167
by Hypnotoad
Replied by Hypnotoad on topic Newbie needs help getting my setup working
Got it moving correctly. The drivers have an annoying feature in that the microsteps are set by some DIP switches but the polarity is inverted (switch in position "ON" = 0). So I had the microstepping set at 200 instead of 2. With that straightened out and my steps/rev set to 200 (1.8 deg steppers), microstepping set at 2, and the 5mm pitch of the ballscrews plugged in it seems to be moving the appropriate distance in the test dialog. Good times.
The mill is a Grizzly G0704 benchtop mill. Very happy with it, glad to see it dancing finally
.
The mill is a Grizzly G0704 benchtop mill. Very happy with it, glad to see it dancing finally
Please Log in or Create an account to join the conversation.
11 years 4 days ago #64424
by Hypnotoad
Replied by Hypnotoad on topic Newbie needs help getting my setup working
Ok, started with my first program tonight. It's just a fake part I made up to do some testing. The first thing it does after some setup is go to Z0. This starts moving the head down past the material (I homed and touched off the material). I'm testing with a 2x4 and no cutter right now so no harm done, but I'm confused.
Here's the snippet of the gcode:
I generated this from Fusion 360. I've set the coordinate system origin in Fusion 360 to a top corner of the part and touched off that same corner.
I may be confused about things... my belief is that homing tells LinuxCNC that the machine is at its home location (as specified by the config) and touch off tells LinuxCNC the machine is at the origin of the part's program.
I've configured my Z axis to run from 0" to 11" with a home location of 11". So G0 Z0 taking it down makes sense.
Advice?
Here's the snippet of the gcode:
Code:
%
(1001)
(T1 D=0.5 CR=0. - ZMIN=-0.875 - FLAT END MILL)
N10 G90 G94 G17 G91.1
N15 G20
N20 G53 G0 Z0.
I generated this from Fusion 360. I've set the coordinate system origin in Fusion 360 to a top corner of the part and touched off that same corner.
I may be confused about things... my belief is that homing tells LinuxCNC that the machine is at its home location (as specified by the config) and touch off tells LinuxCNC the machine is at the origin of the part's program.
I've configured my Z axis to run from 0" to 11" with a home location of 11". So G0 Z0 taking it down makes sense.
Advice?
Please Log in or Create an account to join the conversation.
11 years 4 days ago - 11 years 4 days ago #64425
by Rick G
G53 tells the machine to use the G53 coordinate system (ignoring the touch off), That is the machine coordinates. in your case Z0 is the bottom of the Z travel.
If you touched off in G54 try changing the line to G54.
wiki.linuxcnc.org/cgi-bin/wiki.pl?CoordinateSystems
linuxcnc.org/docs/html/gcode/coordinates.html
Rick G
Replied by Rick G on topic Newbie needs help getting my setup working
Code:
N20 G53 G0 Z0.
If you touched off in G54 try changing the line to G54.
wiki.linuxcnc.org/cgi-bin/wiki.pl?CoordinateSystems
linuxcnc.org/docs/html/gcode/coordinates.html
Rick G
Last edit: 11 years 4 days ago by Rick G.
Please Log in or Create an account to join the conversation.
11 years 3 days ago #64462
by andypugh
Set the Axis limits in the INI to 0 at the top and a negative number at the bottom.
CAM systems seem to assume that G53 Z0 will always take the machine to the the top of travel, and your machine is set up differently.
Replied by andypugh on topic Newbie needs help getting my setup working
Hypnotoad wrote: N20 G53 G0 Z0.
Advice?
Set the Axis limits in the INI to 0 at the top and a negative number at the bottom.
CAM systems seem to assume that G53 Z0 will always take the machine to the the top of travel, and your machine is set up differently.
Please Log in or Create an account to join the conversation.
11 years 3 days ago #64501
by Hypnotoad
Ok, so I've been playing with this all night and I'm confused. Which way should a positive jog move the milling machine head? Up? I set the Z axis up as below.
When I move the head to the top and press home on the Z axis and then issue a g0 z0 it takes the head down toward the table, as if HOME=-11.0. I'm super confused.
Replied by Hypnotoad on topic Newbie needs help getting my setup working
andypugh wrote:
Hypnotoad wrote: N20 G53 G0 Z0.
Advice?
Set the Axis limits in the INI to 0 at the top and a negative number at the bottom.
CAM systems seem to assume that G53 Z0 will always take the machine to the the top of travel, and your machine is set up differently.
Ok, so I've been playing with this all night and I'm confused. Which way should a positive jog move the milling machine head? Up? I set the Z axis up as below.
Code:
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = -2032.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -11.0
MAX_LIMIT = 0.01
HOME_OFFSET = 0.0
When I move the head to the top and press home on the Z axis and then issue a g0 z0 it takes the head down toward the table, as if HOME=-11.0. I'm super confused.
Please Log in or Create an account to join the conversation.
11 years 3 days ago #64502
by Hypnotoad
Replied by Hypnotoad on topic Newbie needs help getting my setup working
Well I sort of got things in working order and cut my test piece into a 2x4. Worked pretty well. I think what was confusing me before was I needed to enter G53 G0 Z0 to move in machine coordinate system -- I'm slowly picking up this stuff.
Something is still off about the coordinates. I think I need to flip both X and Y axes, I had to touch off on the wrong corner of the part. But that's for another night.
Something is still off about the coordinates. I think I need to flip both X and Y axes, I had to touch off on the wrong corner of the part. But that's for another night.
Please Log in or Create an account to join the conversation.
Time to create page: 0.292 seconds