. .

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    NB70's Avatar
    Lives in Swansea, United Kingdom. Last Activity: 02-07-2025 Has been a member for 9-10 years. Has a total post count of 61. Received thanks 10 times, giving thanks to others 9 times.
    Hi there,
    I think it might be something to do with your MAX_LIMIT and MIN_LIMIT setting, and the directions of your HOME_SEARCH_VEL. MAX_LIMIT and MIN_LIMIT are the software limits (some people use only the software limits and no physical switches), if you try command a move that goes outside these limits the machine should stop.
    When you are confident everything is working you can set MAX_LIMIT closer to the actual limit of your machine (but always less than where your physical maximum limit switch is).

    You have HOME = 0.0, but your home search velocity is positive, so your machine moves to the positive limit switch ( at position 3.0) during homing your machine. So the first thing I would try is to change the signs of HOME_SEARCH_VEL and HOME_LATCH_VEL if you want to home at 0.0.

    This is the section from my config file (units are MM) - the limits of the table are 0 and 794mm. My physical limit switch is set further out than 794mm - so I can machine out to 794 without tripping it. It homes at 0.0 - so home search velocity is negative. Home latch velocity is positive to move it forward off the limit/homing switch.

    [AXIS_0]
    TYPE = LINEAR
    HOME = 0.0
    MAX_VELOCITY = 20.0
    MAX_ACCELERATION = 100.0
    STEPGEN_MAXACCEL = 525.0
    SCALE = -640.0
    FERROR = 1
    MIN_FERROR = .25
    MIN_LIMIT = -0.001
    MAX_LIMIT = 794.0
    HOME_OFFSET = 0.000000
    HOME_SEARCH_VEL = -20.000000
    HOME_LATCH_VEL = 0.781250
    HOME_IGNORE_LIMITS = YES
    HOME_SEQUENCE = 1
    Last edited by NB70; 15-03-2011 at 09:11 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Wiring home and limit switches
    By Lee Roberts in forum General Electronics
    Replies: 24
    Last Post: 18-11-2023, 06:14 PM
  2. 24v Limit/Home switches. How to..?
    By Wal in forum General Electronics
    Replies: 6
    Last Post: 17-11-2013, 05:52 PM
  3. Limit Switches
    By Leadhead in forum General Electronics
    Replies: 1
    Last Post: 16-10-2013, 10:41 AM
  4. Limit/home switches - how are you mounting 'em?
    By HankMcSpank in forum General Discussion
    Replies: 2
    Last Post: 13-11-2011, 01:42 PM
  5. The best solution for limit / home switches on a mill is .....what ?
    By NICKMODELMAKER in forum Gantry/Router Machines & Building
    Replies: 1
    Last Post: 29-05-2010, 01:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •