Results 1 to 8 of 8

Thread: Combined limit/home switch config...

  1. #1
    Registered
    Join Date
    Oct 2007
    Location
    USA
    Posts
    33
    Downloads
    0
    Uploads
    0

    Combined limit/home switch config...

    I am trying to get a combined limit/home switch configuration working, however when I 'home' the axis, it ends up tripping the limit switch as well...

    is there something special I need to do to get it to jog back of the switch after it homes the axis?

    I looked on the documentation wiki, and couldn't find anything relating to this probably very common issue, so I assume it's an easy fix that's just beyond me.

    Thanks!
    -J


  2. #2
    Registered
    Join Date
    Oct 2008
    Location
    USA
    Posts
    78
    Downloads
    0
    Uploads
    0
    I think your looking for "HOME_IGNORE_LIMITS" in your INI file set it to yes

    Donnie


  3. #3
    Registered
    Join Date
    Oct 2007
    Location
    USA
    Posts
    33
    Downloads
    0
    Uploads
    0
    I set that to yes... but I'm still getting the limit/joint following error...

    -J


  4. #4
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    You might have the direction or something like that wrong. Try posting this in one of the EMC community contact methods as most EMC folks don't hang out on the Zone. For the fastest help hop on the #emc channel on this page http://www.linuxcnc.org/content/view/4/8/lang,en/

    John


  • #5
    Registered Bubba's Avatar
    Join Date
    Mar 2004
    Location
    LaGrange, GA USA
    Posts
    1,494
    Downloads
    0
    Uploads
    0
    I cannot respond directly to EMC, but when I set it up in Turbocnc, I CANNOT setup the limits! If I set homeaslimits, then they will act as limits or home as appropriate.

    The first time I set mine up, I also setup limits and had the results that you are having.
    Art
    AKA Country Bubba (Older Than Dirt)


  • #6
    Registered acondit's Avatar
    Join Date
    Apr 2005
    Location
    USA
    Posts
    1,778
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by jvanick View Post
    I set that to yes... but I'm still getting the limit/joint following error...

    -J
    I use combined home and limit switches, one switch at each end of travel.

    OK, one question. Is it just one switch for home and limit at that end of the travel?

    Here is what I did in my ".hal" file.
    # create a signal for the limit switches
    net both-home-x <= parport.0.pin-11-in
    net both-home-y <= parport.0.pin-12-in
    net both-home-z <= parport.0.pin-13-in
    net both-home-x => axis.0.neg-lim-sw-in axis.0.pos-lim-sw-in axis.0.home-sw-in
    net both-home-y => axis.1.neg-lim-sw-in axis.1.pos-lim-sw-in axis.1.home-sw-in
    net both-home-z => axis.2.neg-lim-sw-in axis.2.pos-lim-sw-in axis.2.home-sw-in
    And here are the settings for the X-axis in my ".ini" file.
    HOME_OFFSET = -0.1
    HOME_SEARCH_VEL = -1.500
    HOME_LATCH_VEL = 0.250
    HOME_USE_INDEX = NO
    HOME_IGNORE_LIMITS = YES
    HOME_SEQUENCE = 1
    I am homing at the zero end of travel, using 60ipm travel velocity and I move 0.1" off of the switch to set axis zero.

    Alan


  • #7
    Registered
    Join Date
    Oct 2008
    Location
    USA
    Posts
    78
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by jvanick View Post
    I set that to yes... but I'm still getting the limit/joint following error...

    -J
    Is your system a stepper or servo? If a servo then your scaling is off or the the tuning is to far off. If a stepper then contact the mailing list at emc-users@lists.sourceforge.net.


  • #8
    Registered
    Join Date
    Oct 2007
    Location
    USA
    Posts
    33
    Downloads
    0
    Uploads
    0
    it is a stepper system, but I have to say that I feel like a total moron.

    I had a typo in my HOME_IGNORE_LIMITS line.. doh.

    anyways, it's working perfectly now.

    thanks for the help guys!
    -J


  • Similar Threads

    1. Is it possible to use the home switch as the limit switch as well?
      By Darc in forum Mach Software (ArtSoft software)
      Replies: 4
      Last Post: 11-02-2012, 01:25 PM
    2. limit switch- home switch
      By normd in forum CamSoft Products
      Replies: 1
      Last Post: 05-16-2008, 07:56 PM
    3. limit switch and home switch setup
      By Runner4404spd in forum General Electronics Discussion
      Replies: 0
      Last Post: 12-15-2005, 08:58 AM
    4. Limit Switch / Home Switch in Software
      By Sanghera in forum General Electronics Discussion
      Replies: 6
      Last Post: 11-01-2004, 06:58 PM

    Visitors found this page by searching for:

    Nobody landed on this page from a search engine, yet!
    SEO Blog

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.