EMC2 problem...

More
13 May 2009 14:49 #252 by shotgunn
EMC2 problem... was created by shotgunn
I am new to linux and all things cnc. I am, however, learning rapidly.

Last night I was trying to calculate my backlash so I can compensate for it in EMC2 (2.2.2.1, I think) I had my Dial Indicator on my magnetic base with the 'plunger' depressed against a drill bit.

I was trying run a simple G-Code command. g0y-.25 (inches) I got an error that said something like 'cannot run code with machine not homed' I tried homing the machine. It still won't work.

Does anyone have any suggestions as to what might be wrong.

Thanx,

shotgunn

Please Log in or Create an account to join the conversation.

More
13 May 2009 20:10 #254 by alex_joni
Replied by alex_joni on topic Re:EMC2 problem...
shotgunn wrote:

I am new to linux and all things cnc. I am, however, learning rapidly.

Last night I was trying to calculate my backlash so I can compensate for it in EMC2 (2.2.2.1, I think) I had my Dial Indicator on my magnetic base with the 'plunger' depressed against a drill bit.

I was trying run a simple G-Code command. g0y-.25 (inches) I got an error that said something like 'cannot run code with machine not homed' I tried homing the machine. It still won't work.


That's version 2.3.x. You need to home the machine before running any program or MDI command.
You need to make sure you home all axes, not just one (select each axis, then click home).
Or use ctrl-home to home them all at once, if you have a HOME_SEQUENCE defined in your ini file.

Regards,
Alex

Please Log in or Create an account to join the conversation.

More
14 May 2009 14:01 #260 by shotgunn
Replied by shotgunn on topic Re:EMC2 problem...
Thanx for the response, but like I said in the original post. I have already homed each individual axis. I checked again last, it said something like 'MDI cannot execute because joint 2 will exceed its negative limit.'

I'll copy paste it later tonight. So you know exactly what it says.

Does this give a clearer idea of my problem?

Thanx,

shotgunn

Please Log in or Create an account to join the conversation.

More
14 May 2009 14:58 #261 by BigJohnT
Replied by BigJohnT on topic Re:EMC2 problem...
Sounds like your move will exceed your soft limits on that axis.

John

Please Log in or Create an account to join the conversation.

More
14 May 2009 15:12 #262 by shotgunn
Replied by shotgunn on topic Re:EMC2 problem...
Yeah, but I'm only trying to move .25" It's not exceeding any limits in reality though...

Please Log in or Create an account to join the conversation.

More
14 May 2009 15:57 #263 by BigJohnT
Replied by BigJohnT on topic Re:EMC2 problem...
If your less than 0.25 from a soft limit you will be exceeding that limit. If you homed in a random place your soft limits will be relative to where you homed.

John

Please Log in or Create an account to join the conversation.

More
14 May 2009 16:01 #264 by shotgunn
Replied by shotgunn on topic Re:EMC2 problem...
refresh my memory... do I set my soft limits in the stepconf wizard? or in EMC2 directly.

Please Log in or Create an account to join the conversation.

More
14 May 2009 17:18 #265 by BigJohnT
Replied by BigJohnT on topic Re:EMC2 problem...
If you used the Stepconf Wizard you can open the file back up and set your travel limits there.

www.linuxcnc.org/docview/html//config_st...b:Axis-Configuration

John

Please Log in or Create an account to join the conversation.

More
14 May 2009 17:58 #267 by shotgunn
Replied by shotgunn on topic Re:EMC2 problem...
My table travel for X and Y are set to 0 to 8. I am using the Harbor Freight X1 Micro Mill.

How do I know what values to use here? Should I try -8 to 8?

shotgunn

Please Log in or Create an account to join the conversation.

More
14 May 2009 18:10 #268 by BigJohnT
Replied by BigJohnT on topic Re:EMC2 problem...
The exact setup depends on how plan to use the mill. If for example you home the X axis with the table all the way to the right and have 12 inches of movement to the left you might set the soft limits to 0.5 and 11.5. It just depends on how much travel you have and if you want the soft limits to try and keep your machine from hitting the hard stops.

John

Please Log in or Create an account to join the conversation.

Time to create page: 0.110 seconds
Powered by Kunena Forum