Tuning problems
I'm having trouble tuning my setup. i.e. I ran stepconf loaded an example from the examples folder and tried to run it. then the comp says line xxx will exceed limit on joint 1 or 2 or 3 depending on the example. i know it's within the limits of my mill. I have an X2 mini mill. so what am I doing wrong? Also I'm not confident that when I tell it to jog 1 inch that it's moving 1 inch. HELP!
SubMicro
Please Log in or Create an account to join the conversation.
instead of putting in 0 to +10 for travel I put in -10 to +10.
I do not use home switches so it worked for me
I have a Sherline lathe and Mill so I looked at how
they has setup their axis and used the idea from them.
As far as knowing is an inch is an inch.
A ruler will give you a quick method of checking
Please Log in or Create an account to join the conversation.
I'm making some assumptions here and I hope I don't steer you wrong. Others with more experience will surely correct me:
setting the axis limits in stepconf is setting the MACHINE coordinates.
You should set the User coordinates origin (zero point) before running a program.
If you don't do that I believe EMC follows the machine coordinate (depends if there is an offset left from the last time)
and I'm betting you put a zero in for one of the axis limits (in stepconf) that means the origin is right on the limit edge
so if the program asks to move in that direction then it exceeds the limits.
Harry_Y :
I think what you are doing is setting the axis limits beyond what your mill can actually move. ( can it move 20 inches?)
You also have placed the origin (machine zero point) in the center of the travel. ( nothing wrong with that )
I bet you are not moving the table to center manually and pressing home.
All that is ok as long as you understand what you are giving up.
EMC has 'soft limits' which are limits calculated in software, EMC will never hit the hard limits barring electrical/mechanical failure.
But for that to work you MUST home. soft limits are calculated from the machine origin which is found from homing.
with out homing you are relying on the limit switches ( I hope ) to keep you safe.
The nice thing about soft limits is EMC will de-accelerate when getting close to them.
After all that - as I said it is fine to operate that way - I just wanted to point out why EMC prefers homing.
Please Log in or Create an account to join the conversation.
A normal run without limit switch for me would be to start EMC jog the axis to it's home postion. If the X neg limit is 0 go there and hit the home button or if the neg limit and home is -10 go there and hit the home button.
Now EMC knows where you are if your limits and as Chris said if they are -10 and 10 you have 20" of travel if the work or a move tries to exced that EMC will prevent it.
Aftre setting that jog to where you want to work.
Now touch off this will set the 0 for the axis at your current location and all normal moves (G54) will go from there but if a move exceeds your machine size EMC will prevent it.
When you load a program you can see on the AXIS screen if the work exceeds your limits.
Take a look here
wiki.linuxcnc.org/emcinfo.pl?CoordinateSystems
Rick G
Please Log in or Create an account to join the conversation.
.........
Harry_Y :
I think what you are doing is setting the axis limits beyond what your mill can actually move. ( can it move 20 inches?)
You also have placed the origin (machine zero point) in the center of the travel. ( nothing wrong with that )
I bet you are not moving the table to center manually and pressing home.
All that is ok as long as you understand what you are giving up.
EMC has 'soft limits' which are limits calculated in software, EMC will never hit the hard limits barring electrical/mechanical failure.
But for that to work you MUST home. soft limits are calculated from the machine origin which is found from homing.
with out homing you are relying on the limit switches ( I hope ) to keep you safe.
The nice thing about soft limits is EMC will de-accelerate when getting close to them.
After all that - as I said it is fine to operate that way - I just wanted to point out why EMC prefers homing.
I'm new to EMC2 and the more I look at the capabilities and figure it out the more
I see that I really should be setting this up with Limit and Home switches etc.
I'm just a hobbyist for the most part, but it still would be nice to have things done right, if for
nothing other than being little more comfortable walking away when a long job is running.
Thank you for pointing out what I am missing with my way of doing it.
Now off to look for switches...
Please Log in or Create an account to join the conversation.
For example this is how I installed limit/home micro switch on my plasma Z axis. The lower switch is the probe input.
gnipsel.com/shop/plasma/z-axis-02.xhtml
John
Please Log in or Create an account to join the conversation.
Thanks everybody for the help. However I'm still confused. To clarify things this is what I'm doing.
In stepconf I set my limits to the following, X axis -4 to +4, Y axis -2.25 to +2.25, Z is not hooked up yet but I set it to -4 to +4.
Then in Axis I move the table to center of both axis then press home for each axis.
I'm not sure I understand the touch off but I tried it with no success. But I'm sure I'm not doing it right.
SubMicro
A.K.A Robert Willis
Please Log in or Create an account to join the conversation.
Common micro switches work well.
For example this is how I installed limit/home micro switch on my plasma Z axis. The lower switch is the probe input.
gnipsel.com/shop/plasma/z-axis-02.xhtml
John
I actually have a bunch of those with out the lever/roller arm.
I'll have to get some with the arm since they will have a Lil more give
Please Log in or Create an account to join the conversation.
Hello
Thanks everybody for the help. However I'm still confused. To clarify things this is what I'm doing.
In stepconf I set my limits to the following, X axis -4 to +4, Y axis -2.25 to +2.25, Z is not hooked up yet but I set it to -4 to +4.
Then in Axis I move the table to center of both axis then press home for each axis.
I'm not sure I understand the touch off but I tried it with no success. But I'm sure I'm not doing it right.
SubMicro
A.K.A Robert Willis
What exactly is happening???
Please Log in or Create an account to join the conversation.
O.K. you now have your work set at x0y0 and the x axis has 8" of travel, BUT you are in the middle of it so you can only go 4" to the limit.In stepconf I set my limits to the following, X axis -4 to +4, Y axis -2.25 to +2.25, Z is not hooked up yet but I set it to -4 to +4.
Then in Axis I move the table to center of both axis then press home for each axis.
Try this set the home position as you have before and then jog back to the negative limit (-4) and touch off there, now you have 8" of travel to the right and the sample is 7.43?" so it should now fit.
Do the same on the Y axis.
Can you run the program now?
Rick G
Please Log in or Create an account to join the conversation.