Page 1 of 2 12 LastLast
Results 1 to 12 of 15

Thread: mach2 home switches

  1. #1
    Registered
    Join Date
    Apr 2003
    Location
    UK
    Posts
    1,079
    Downloads
    0
    Uploads
    0

    mach2 home switches

    I've just downloaded the demo of Mach2, having just set my home switches up for emc - nc switches wired in series to one input. I just can't figure out how to get all of the axes to home. I can see the button that says "ref all" which sends all axes to home, but when one hits it's switch, mach2 thinks they are all at home. Is there a ref x or ref y button somewhere?!


  2. #2
    Registered balsaman's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    2,139
    Downloads
    0
    Uploads
    0
    My home switches are working. Mine are NO. Perhaps you need to change that in the software somewhere (uncheck active low?). I don't see a ref x, y, z. I also can't figure out how to send an axis to a location...

    Eric
    I wish it wouldn't crash.


  3. #3
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4,826
    Downloads
    0
    Uploads
    0
    I am not sure how you have your machines set up, but logically, the setup is impossible if you are calling your home position that location where the switch opens. You should not. You should home to a given number of steps from where the switch changes state again. This will allow the continuity of the circuit to home another axis in sequence.

    For machines with encoders, they never home on something as crude as a switch opening. That is merely a signal to mark the approximate position, after which the encoder index is sought in a given range from the switch break.
    First you get good, then you get fast. Then grouchiness sets in.

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  4. #4
    Registered HomeCNC's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    779
    Downloads
    0
    Uploads
    0
    Kong, I have attached some setup screen shots of my Mach 2 setup. Look over the screen shots and compair them to yours.
    Attached Thumbnails Attached Thumbnails mach2 home switches-03_ports-pins.jpg  
    Thanks

    Jeff Davis (HomeCNC)
    http://www.homecnc.info


    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #5
    Registered HomeCNC's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    779
    Downloads
    0
    Uploads
    0
    Next one.


    Also check out the Mach 2 PDF manual
    Attached Thumbnails Attached Thumbnails mach2 home switches-05_ports-pins.jpg  
    Thanks

    Jeff Davis (HomeCNC)
    http://www.homecnc.info


    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #6
    Registered balsaman's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    2,139
    Downloads
    0
    Uploads
    0
    Hu,

    You are correct that the best way is to use the encoder's marker pulse for homing after you hit a home switch. I think there is a circuit for doing that on the CAD_CAM yahoo site. It's just another thing on my to do list that will never get done!

    Eric
    I wish it wouldn't crash.


  • #7
    Registered
    Join Date
    Apr 2003
    Location
    UK
    Posts
    1,079
    Downloads
    0
    Uploads
    0
    Thanks guys, I've wired each one on a seperate pin now, so they work ok when I use "ref all". Balsaman, the only way I can see to send an axis to a location is to use the MDI screen to input a seperate line of g-code. I'm liking this software now, will purchase at the weekend I think.
    Just out of interest, what sort of pulse stream should I expect to get from an AMD 500Mhz pc, as the demo is limited to 25000Hz.


  • #8
    Registered balsaman's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    2,139
    Downloads
    0
    Uploads
    0
    Originally posted by kong
    Thanks guys, I've wired each one on a seperate pin now, so they work ok when I use "ref all". Balsaman, the only way I can see to send an axis to a location is to use the MDI screen to input a seperate line of g-code. I'm liking this software now, will purchase at the weekend I think.
    Just out of interest, what sort of pulse stream should I expect to get from an AMD 500Mhz pc, as the demo is limited to 25000Hz.
    Are you sure? I thought it was user selectable. Up to 35000 hz...

    Maybe you are right. 25 khz is enough for my machine.

    My Pll 233 puts out the 25 khz no problem.

    Hey this is my 1000th post! You guys must be sick of my rambling. LOL

    Eric
    I wish it wouldn't crash.


  • #9
    Registered
    Join Date
    Apr 2003
    Location
    UK
    Posts
    1,079
    Downloads
    0
    Uploads
    0
    Originally posted by balsaman

    Hey this is my 1000th post! You guys must be sick of my rambling. LOL

    Eric
    yawns, only joking!

    Seriously, the demo will allow you to change the settings, but they seem to have no effect. In the motor tuning screen, the max speed stays the same. I can remeber reading this somewhere too. My machine requires 9500ish pulses per inch/second.


  • #10
    Registered HomeCNC's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    779
    Downloads
    0
    Uploads
    0
    Balsaman,

    I was wondering the date you would hit 1000 posts. Wow you do talk alot

    I thought you were using TurboCNC not Mach 2.
    Thanks

    Jeff Davis (HomeCNC)
    http://www.homecnc.info


    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #11
    Gold Member High Seas's Avatar
    Join Date
    Sep 2003
    Location
    Malaysia/Australia/NZ/USA
    Posts
    1,126
    Downloads
    0
    Uploads
    0
    Kong -
    My PIII/500hz machine "seemed" to be ok at 35000. I say "seemed" as I was trying to work some motor problems - steps lost/gained and thought a re-tune would be usefull to explore all rates and pulse width allternatives. BUT - the problem seems to really be the motors. All indications were the system was running at 35,000 +/- but the symptoms remained the same- so off for another set!
    Jim


  • #12
    Registered
    Join Date
    Apr 2003
    Location
    UK
    Posts
    1,079
    Downloads
    0
    Uploads
    0
    HighSeas, it's probably no help, but I have just read about on-board graphics interupting the pulse-stream. It seems in the older systems these graphics chip sets may have a higher system priority than Mach2, which I take it may cause lost steps or jerkiness in motion. Just a thought.


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Limit and home switches EMC and Mach2?
      By ESjaavik in forum LinuxCNC (formerly EMC2)
      Replies: 4
      Last Post: 09-29-2008, 11:39 AM
    2. How do you hook up limit and home switches?
      By CNCadmin in forum DeskCNC Controller Board
      Replies: 6
      Last Post: 09-23-2007, 04:34 PM
    3. The relationship of limit switches to home switches.
      By MikeAber in forum General Electronics Discussion
      Replies: 4
      Last Post: 11-04-2004, 02:28 PM
    4. Limit switches and home switches
      By viktorcnc in forum TurboCNC
      Replies: 2
      Last Post: 08-03-2004, 07:11 AM
    5. Home switches and limit switches.
      By ynneb in forum General Electronics Discussion
      Replies: 5
      Last Post: 04-08-2004, 06:32 PM

    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.