New to CNC, Sherline Mill User

More
30 Mar 2017 03:22 #90543 by ceaves
Ok, please pardon my total ignorance.

Bought a new Sherline ready to rock CNC setup. Loaded up the CNC software and played with the manual controls, came back inside to do some reading on the auto part of it and was lost. Finally figured out that the "Sherline Mill Inch" was TKLinux GUI, and that looks like one of the least popular GUIs.

Anyways been doing some reading, finally figured out how to home each axis and can run some of the loaded programs.

I guess my question is offsets and homing. Like I said I'm totally new to CNC and I'd rather not tear stuff up right off the bat.

Is there any certain place to home the axis, or does it depend on the file, like dead center or left rear position, or..........

How about offset, do I need to touch the stock with the tool and Home Z, or???

I can find very little info on the TK GUI, maybe I'd be better off switching to a more popular one??

Thanks for listening :)

Chris

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

More
30 Mar 2017 03:41 #90544 by ceaves
Found this wiki
linuxcnc.org/docs/html/gui/mini.html

Maybe that'll solve my problems....

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

More
30 Mar 2017 09:25 #90554 by rodw
Replied by rodw on topic New to CNC, Sherline Mill User
Homing is well covered here
linuxcnc.org/docs/2.7/html/config/ini-homing.html

Take the time to understand the diagrams.

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

More
30 Mar 2017 10:54 #90557 by ceaves
Thank you.

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

More
30 Mar 2017 15:43 #90572 by andypugh

Is there any certain place to home the axis, or does it depend on the file, like dead center or left rear position, or.......


There are two separate but linked concepts. Homing is the process whereby the computer finds where the ends of the physical axes are, so it can avoid going off the ends. This gives the system an absolute reference related to the physical limits. Normally this uses limit-switches, but there are other ways.

Offsets relate this machine absolute coordinate system to the working coordinate systems. This means that you can put the G-code X=0, Y=0, Z=0 anywhere in the machine work envelope that you want.

See section 5 here (and 3, though that is rather brief)
linuxcnc.org/docs/2.7/html/user/user-concepts.html

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

More
30 Mar 2017 16:14 #90577 by ceaves
Thanks. I been watching videos this morning on the subject and have a better grasp of the subject.

Sherline goes into pretty deep on the code and whatnot but never, hey lets load a hunk of aluminum and drill a hole in it.

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

More
26 May 2017 11:19 #93653 by verticalperformance
The default setup for the sherline is to have no hard (ie mechanical limit switches = physical) or even soft (ie motion stops when an axis gets or expects to get to a predefined coordinate = virtual) limits.

Simplest way to get it all working is to manually jog the x and y to the middle of their range of travel, and the Z all the way up, then press home all (or home x, then y then z if the home all button is not there)

As there are no limits you can happily command the mill to move 100 inches in any direction and it will try to comply - bit of an issue when it runs out of travel! But for a newby, you will never get the annoying "will exceed axis limit" message which can be hard to figure out what is going on. Especially when you start to play with tool length compensation and the Z-axis.

But take care - you will stall the steppers at the end of travel if you exceed the real machine travel limits (the steppers are pretty small so x and y overtravel and z "up" overtravel will not damage anything) and may stuff up the part you are making as LinuxCNC will be happily still stepping away thinking everything is fine! Now overtravel in the z "down" direction with the cutter rotating is a different story - you don't want to mill thru the table!

After you are sort of happy with moving the machine aound, adding soft limits to the configuration is worth learning how, so at least when you hit "run" LinuxCNC will warn you that your g-code will try and exceed the machine limits - investigate, fix and try again!

I'm using the Axis interface, and I've set up the axes to be x=0 and y=0 at mid travel and Z=0 at bottom of travel, with home position being x,y at mid travel and the z at the top of travel
This gives travel in machine coordinates of -4.51 < x < 4.51 -2.21 < y < 2.21 0 < z < 6.81 and the soft limits are set to this.

The relevant bits from the config are (most of the config came from installing a clean install from the Linux CNC LiveCD and choosing sherline mill as the config - the limits and homing tweaks I put in myself)
###############################################################################
# Sections for display options 
###############################################################################
[DISPLAY]

#+ Name of display program, e.g., xemc
DISPLAY =              axis
....
###############################################################################
# Trajectory planner section
###############################################################################
[TRAJ]
#+ machine specific settings
AXES =                  3
COORDINATES =           X Y Z 
HOME =                  0 0 0 
....

###############################################################################
# Axes sections
###############################################################################

#+ First axis
[AXIS_0]

TYPE =                          LINEAR
HOME =                          0.000
...
MIN_LIMIT =                     -4.510
MAX_LIMIT =                     4.510
...
HOME_OFFSET =                    0.0
HOME_SEARCH_VEL =                0.0
HOME_LATCH_VEL =                 0.0
HOME_USE_INDEX =                 NO
HOME_IGNORE_LIMITS =             NO
HOME_SEQUENCE = 				 0

#+ Second axis
[AXIS_1]

TYPE =                          LINEAR
HOME =                          0.000
...
MIN_LIMIT =                     -2.21
MAX_LIMIT =                     2.21
....
HOME_OFFSET =                    0.0
HOME_SEARCH_VEL =                0.0
HOME_LATCH_VEL =                 0.0
HOME_USE_INDEX =                 NO
HOME_IGNORE_LIMITS =             NO
HOME_SEQUENCE = 				 0

#+ Third axis
[AXIS_2]

TYPE =                          LINEAR
HOME =                          6.8
....
MIN_LIMIT =                     0
MAX_LIMIT =                     6.81
...
HOME_OFFSET =                   6.8
HOME_SEARCH_VEL =               0.0
HOME_LATCH_VEL =                0.0
HOME_USE_INDEX =                NO
HOME_IGNORE_LIMITS =            NO
HOME_SEQUENCE = 		0		 

This all works pretty well. The Axis interface is better than the TK one, as are the newer versions of LinuxCNC. The CD's that came with the sherline were for earlier versions of LinuxCNC (actually EMC2 at the time) and may still be dated.

When I finished prior to shutting off, I return the machine to the home location with the following G code
%
(GO BACK TO HOME ROUTINE)
G00 G40 G49 G80 G90 G20
G53 G0 Z6.8
G53 G0 X0 Y0
G92.1
G49
G10 L2 P1 X0 Y0 Z6.8
G28.1
M30
%

Which sets it ready for next time - turn on and hit "home all"
You can do lots of customisation of both the hardware and the software.
Adding spindle control is not too hard or expensive, and customising the GUI is not too hard either - I've attached a screen grab of my slightly tweaked Axis GUI.

Enjoy!
Attachments:
The following user(s) said Thank You: ljask

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

Time to create page: 0.091 seconds
Powered by Kunena Forum