Setting up soft limits in UCCNC .. "Logic" (2024)

  • Thread Tools
    • Show Printable Version
  • Search Thread
  • Display
    • Switch to Hybrid Mode
    • Switch to Threaded Mode
  1. 28-07-2020 #1

    Setting up soft limits in UCCNC .. "Logic" (4)

    John11668

    • View Profile
    • View Forum Posts

    Last Activity: 11-02-2024Setting up soft limits in UCCNC .. "Logic" (5)Setting up soft limits in UCCNC .. "Logic" (6)Setting up soft limits in UCCNC .. "Logic" (7)

    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. Setting up soft limits in UCCNC .. "Logic" (8)

    Reply With Quote

  2. 28-07-2020 #2

    Setting up soft limits in UCCNC .. "Logic" (11)

    ngwagwa

    • View Profile
    • View Forum Posts

    Last Activity: 03-12-2020Setting up soft limits in UCCNC .. "Logic" (12)Setting up soft limits in UCCNC .. "Logic" (13)Setting up soft limits in UCCNC .. "Logic" (14)

    Just set lower limits to 0

    Reply With Quote

  3. 28-07-2020 #3

    Setting up soft limits in UCCNC .. "Logic" (17)

    Doddy

    • View Profile
    • View Forum Posts

    Last Activity: 08-02-2024Setting up soft limits in UCCNC .. "Logic" (18)Setting up soft limits in UCCNC .. "Logic" (19)Setting up soft limits in UCCNC .. "Logic" (20)Setting up soft limits in UCCNC .. "Logic" (21)

    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.

    Reply With Quote

  4. 28-07-2020 #4

    Setting up soft limits in UCCNC .. "Logic" (24)

    John11668

    • View Profile
    • View Forum Posts

    Last Activity: 11-02-2024Setting up soft limits in UCCNC .. "Logic" (25)Setting up soft limits in UCCNC .. "Logic" (26)Setting up soft limits in UCCNC .. "Logic" (27)

    Setting up soft limits in UCCNC .. "Logic" (28) Originally Posted by ngwagwa

    Just set lower limits to 0

    OKay ngwagwa and thanks for response , but that doesnt really clarify in my mind what soft limits are trying to achieve . it sounds like a fudge to overcome the problem

    Reply With Quote

  5. 28-07-2020 #5

    Setting up soft limits in UCCNC .. "Logic" (32)

    John11668

    • View Profile
    • View Forum Posts

    Last Activity: 11-02-2024Setting up soft limits in UCCNC .. "Logic" (33)Setting up soft limits in UCCNC .. "Logic" (34)Setting up soft limits in UCCNC .. "Logic" (35)

    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

    Reply With Quote

  6. 28-07-2020 #6

    Setting up soft limits in UCCNC .. "Logic" (38)

    ngwagwa

    • View Profile
    • View Forum Posts

    Last Activity: 03-12-2020Setting up soft limits in UCCNC .. "Logic" (39)Setting up soft limits in UCCNC .. "Logic" (40)Setting up soft limits in UCCNC .. "Logic" (41)

    [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 ?

    Reply With Quote

  7. 28-07-2020 #7

    Setting up soft limits in UCCNC .. "Logic" (44)

    John11668

    • View Profile
    • View Forum Posts

    Last Activity: 11-02-2024Setting up soft limits in UCCNC .. "Logic" (45)Setting up soft limits in UCCNC .. "Logic" (46)Setting up soft limits in UCCNC .. "Logic" (47)

    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 ?

    Reply With Quote

  8. 28-07-2020 #8

    Setting up soft limits in UCCNC .. "Logic" (50)

    ngwagwa

    • View Profile
    • View Forum Posts

    Last Activity: 03-12-2020Setting up soft limits in UCCNC .. "Logic" (51)Setting up soft limits in UCCNC .. "Logic" (52)Setting up soft limits in UCCNC .. "Logic" (53)

    Setting up soft limits in UCCNC .. "Logic" (54) Originally Posted by John11668

    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 ?


    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.

    Reply With Quote

  9. 28-07-2020 #9

    Setting up soft limits in UCCNC .. "Logic" (58)

    John11668

    • View Profile
    • View Forum Posts

    Last Activity: 11-02-2024Setting up soft limits in UCCNC .. "Logic" (59)Setting up soft limits in UCCNC .. "Logic" (60)Setting up soft limits in UCCNC .. "Logic" (61)

    Setting up soft limits in UCCNC .. "Logic" (62) Originally Posted by ngwagwa

    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.

    But doesnt a backoff of -5 take you beyond the home limit presuming you are homing in negative direction from an x positive position on the table .??

    Reply With Quote

  10. 28-07-2020 #10

    Setting up soft limits in UCCNC .. "Logic" (66)

    ngwagwa

    • View Profile
    • View Forum Posts

    Last Activity: 03-12-2020Setting up soft limits in UCCNC .. "Logic" (67)Setting up soft limits in UCCNC .. "Logic" (68)Setting up soft limits in UCCNC .. "Logic" (69)

    Setting up soft limits in UCCNC .. "Logic" (70) Originally Posted by John11668

    But doesnt a backoff of -5 take you beyond the home limit presuming you are homing in negative direction from an x positive position on the table .??

    As I said earlier make sure you have the right direction for the back off - my home is far right so moves postive in X to get home, therefore I back off negative.Big noise and you got it wrong!

    Reply With Quote

«Previous Thread|Next Thread»

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

    Similar Threads

    1. mach3 soft limits

      By Daveo in forum Control Hardware & Systems

      Replies: 12

      Last Post: 25-06-2020, 05:24 PM

    2. Lichuan "Easy Servo" closed loop stepper question

      By Voicecoil in forum Stepper & Servo Motors

      Replies: 15

      Last Post: 09-10-2019, 09:33 PM

    3. "Hacking" and "Modding"

      By magicniner in forum General Discussion

      Replies: 15

      Last Post: 07-01-2015, 08:59 PM

    4. Setting up "System 45" 3 axis unit by DIYCNC

      By StevenT in forum LinuxCNC (EMC)

      Replies: 2

      Last Post: 15-10-2014, 03:22 PM

    5. "Racks" VS "ball screw"

      By C.AlveSilva in forum Linear & Rotary Motion

      Replies: 1

      Last Post: 17-04-2012, 11:53 PM

    Bookmarks

    Bookmarks
    • Digg
    • del.icio.us
    • StumbleUpon
    • Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    • BB code is On
    • Smilies are On
    • [IMG] code is On
    • [VIDEO] code is On
    • HTML code is Off

    Forum Rules

    Setting up soft limits in UCCNC  ..   "Logic" (2024)

    References

    Top Articles
    Latest Posts
    Article information

    Author: Nathanial Hackett

    Last Updated:

    Views: 6580

    Rating: 4.1 / 5 (52 voted)

    Reviews: 91% of readers found this page helpful

    Author information

    Name: Nathanial Hackett

    Birthday: 1997-10-09

    Address: Apt. 935 264 Abshire Canyon, South Nerissachester, NM 01800

    Phone: +9752624861224

    Job: Forward Technology Assistant

    Hobby: Listening to music, Shopping, Vacation, Baton twirling, Flower arranging, Blacksmithing, Do it yourself

    Introduction: My name is Nathanial Hackett, I am a lovely, curious, smiling, lively, thoughtful, courageous, lively person who loves writing and wants to share my knowledge and understanding with you.