Homing switches not recognized linuxcnc

More
02 Feb 2016 19:46 #69467 by Boltonbrass
I having trouble deciphering what to put in the .hal and .ini for linuxcnc to find my switches.

Please Log in or Create an account to join the conversation.

More
03 Feb 2016 07:17 - 03 Feb 2016 09:06 #69493 by ArcEye
Please post your files, we cannot guess what is currently in them.

If you want to do it yourself, create a test config with homing switches in it and look at that, or put your config back through stepconf and add the home switches.
Last edit: 03 Feb 2016 09:06 by ArcEye.
The following user(s) said Thank You: Boltonbrass

Please Log in or Create an account to join the conversation.

More
03 Feb 2016 12:27 - 03 Feb 2016 12:30 #69505 by Boltonbrass
I have not setup my hal or ini files. I am working on a Sherline lathe with two mechanical switches and I am working in the imperial scale.
I have found example files from other posts which should this going. I appreciate all the help I can get.
Last edit: 03 Feb 2016 12:30 by Boltonbrass. Reason: Additional info

Please Log in or Create an account to join the conversation.

More
03 Feb 2016 16:50 - 04 Feb 2016 09:01 #69520 by ArcEye
There is already a sample config in the install.

This is it in the github repo
github.com/LinuxCNC/linuxcnc/tree/master...erline/SherlineLathe

It has an imperial version at Sherlinelathe_inch.ini

Should be installed at
/usr/share/doc/linuxcnc/examples/sample-configs/by_machine/Sherline/SherlineLathe

on your system already

Need to read the .hal file because some of it is commented out in standard_pinout.hal and you need to uncomment what applies

regards
Last edit: 04 Feb 2016 09:01 by ArcEye.
The following user(s) said Thank You: Boltonbrass

Please Log in or Create an account to join the conversation.

More
06 Feb 2016 20:07 #69709 by Boltonbrass
Here is my ini and hal files. I need to be able to hit home all button and it do an automatic homing sequence.
Attachments:

Please Log in or Create an account to join the conversation.

More
06 Feb 2016 20:15 #69710 by Boltonbrass
I did go and check out that link and it was very helpful. The linuxcnc will now work again. It does not show home all but just home each axis. I took out the sequence command. Any help would be appreciated.

Please Log in or Create an account to join the conversation.

More
06 Feb 2016 22:58 #69717 by BigJohnT
Home sequence must be defined for all axes before the Home All button shows up.

linuxcnc.org/docs/2.7/html/config/ini-ho....html#_home_sequence

JT
The following user(s) said Thank You: Boltonbrass

Please Log in or Create an account to join the conversation.

More
06 Feb 2016 23:46 #69721 by Boltonbrass
My lathe is a sherline and I got the sample setup for it. My breakout board is the same one they sell at omc stepperonline.

Please Log in or Create an account to join the conversation.

More
07 Feb 2016 12:08 #69732 by BigJohnT
Usually on a lathe you set the home sequence for the X axis to 0 and the Z to 1 so the X axis homes first.

JT

Please Log in or Create an account to join the conversation.

More
09 Feb 2016 04:03 #69818 by Boltonbrass
I am wondering if my breakout board is working. I did away with the usb cable and hooked up a 5v power supply. The home all button is back but I am not sure if I have the connections setup in hal or the ini. breakout board has pin 12, 13, 15 as x y and z..

Please Log in or Create an account to join the conversation.

Time to create page: 0.207 seconds
Powered by Kunena Forum