Homing

I have a small CNC machine with an Arduino ono controller. I have fitted limit switches which work well as alarms when I overshoot the edges. I am now trying to get them to work as homing switches and am having trouble. I find that the Z limit switch works correctly if i plug it into the X pins! I have plugged the X limit swith into the Z pins and the Y into the Y pins. I now find that when I attempt to run homing the Z axis seeks and finds the position correctly, the X axis goes to the limit switch and stops when the switch is triggered but doesn't go back and forth, the Y axis just crashed into the switch and keeps on going.

Any ideas?

Arthur

You messed up the config.

Ok, i didn't think i'd touched the config but possibly. Where do i find the config?

Look at the manual of your CNC controller.

What software are you using to send your g-code ?
Most have an option to read the GRBL parameters.

Which version of GRBL ?

Which CNC shield ?

Those are important questions as changes in GRBL also made some changes to the limit switch reading.

Could you take a few moments to Learn How To Use The Forum.
It will help you get the best out of the forum as a whole.

Posting tips.

  • How to insert an image into your post.
  • Add your sketch where applicable but please use CODE TAGS ( </> )
  • Add a SCHEMATIC were needed even if it is hand drawn
  • Add working links to any specific hardware as needed (NOT links to similar items)
  • Remember that the people trying to help cannot see your problem so give as much information as you can

Bob.