-
28-07-2020 #1
Hi folks .
Trying to get used to UCCNC
Am trying to get my head around Soft limits and having some difficulty.. Not really intuitive could we say?
So taking things one step at a time lets look at a single axis, for which of course we will choose X
So I have entered the settings for the home switches and they work, home and display resets to zero. so I am fine so far .
I select to use soft limits in general config
My thinking is that I want "soft limits" to define a work area in x positve which is bounded by the lower limit ( say 10) and an upper of say 350. I figured that the software would then stop any motion at 10 and prevent the machine hitting the home limit switch.
So I set lower limit to 10, upper to 350 but now when I home , the table goes all the way to the switch and DRO resets to 10 ??? says soft limit is reached (when actually the home switch has been reached) and a "write offset on homing" appears as 10. So what is the logic in this ??
I have read the manual , which isn't giving me clarity other than i need to set numbers for the soft limits.
I have sought for video tutorials but so far haven't found any which clearly explain what is going on here
I am not getting my head around it . I need to get this clear in my mind before I move on to Z axis and begin to regale you all with the issues setting the soft limits on there.
-
28-07-2020 #2
Just set lower limits to 0
-
28-07-2020 #3
I'm not at my machine at the moment, and barely remember this - but can you not set the axis to, after homing, traverse to a fixed offset (within the working envelope, and within the desired soft limit). E.g. home to zero, move to 12, with a soft-limit of 10?
EDIT: I'm thinking of what I do with my Lathe which is LinuxCNC, rather than UCCNC, so the above might be a red-herring of the grandest order. Take with a pinch of salt.Last edited by Doddy; 28-07-2020 at 12:33 PM.
-
28-07-2020 #4
-
28-07-2020 #5
And Doddy
I presume I can do that by calling up an offset in the code , but am wanting to understand the process too.
Having declared soft limits , am I then homing to the soft limit and writing off 10 mm of my table
-
28-07-2020 #6
[QUOTE=Doddy;119103]I'm not at my machine at the moment, and barely remember this - but can you not set the axis to, after homing, traverse to a fixed offset (within the working envelope, and within the desired soft limit). E.g. home to zero, move to 12, with a soft-limit of 10?
Just tried that Doddy and when the machine backs off after going home it only goes to the softlimit value - so would work if back off and softlimit was set the same.
John. Softlimits prevent machine going past the limits to prevent a crash and (on my set up at least) home switches don't limit movement when jogging.
If you look in configuration - Axis Setup for each axis there is a back off units box - set this value and when homing the axis will move back by te set value - make sure you set it positive or negative s required.
Softlimits will reduce the size of the working area - I have X backoff as -3 and softlimits at 0 so I don't lose anything.
Hope this explains it ?
-
28-07-2020 #7
So are we saying that the ONLY reason for softlimits is to prevent the machine traversing beyond the home switches and crashing into endstops ( and I guess killing the traverse if we try to go beyond the positive limit, regardless of whether switches are fitted there) . in which case it seems to make sense to have a soft limit of zero and maybe an arbitrary back-off of say 5 , (and I guess that wound be +5 to bring it back within the working area)
So then I guess that I choose an offset in my G code routine to bring the tool to a new start position on my workpiece , Is that so ?
-
28-07-2020 #8
Correct re purpose of softlimits ie prevents crashes at end of travel.
Whatever back off you set you don't need to alter the gcode as Zero is still zero. So to clarify on my machine with a back off of minus 5mm after machine has been homed the DRO will display -5mm when displaying machine co-ordinates.
-
28-07-2020 #9
-
28-07-2020 #10
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
mach3 soft limits
By Daveo in forum Control Hardware & SystemsReplies: 12Last Post: 25-06-2020, 05:24 PM -
Lichuan "Easy Servo" closed loop stepper question
By Voicecoil in forum Stepper & Servo MotorsReplies: 15Last Post: 09-10-2019, 09:33 PM -
"Hacking" and "Modding"
By magicniner in forum General DiscussionReplies: 15Last Post: 07-01-2015, 08:59 PM -
Setting up "System 45" 3 axis unit by DIYCNC
By StevenT in forum LinuxCNC (EMC)Replies: 2Last Post: 15-10-2014, 03:22 PM -
"Racks" VS "ball screw"
By C.AlveSilva in forum Linear & Rotary MotionReplies: 1Last Post: 17-04-2012, 11:53 PM
Bookmarks