NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Homing stops immediately

Homing stops immediately 31 Mag 2012 21:28 #20546

  • maxvdh
  • maxvdh's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 69
  • Karma: 0
I'm now trying to get homing set up and get my servo PID loops tuned. For some reason, when I click "home axis" for X, Y, or Z in AXIS, that axis quickly jumps in the appropriate direction and then stops and displays the symbol next to the positoin readout that it is homed. It does not travel all the way to the home switch and it has not tripped an estop or anything. I have verified that the home switches work as I expect and axis.0/1/2.home-sw-in become true when the machine runs over the home switch. If I keep pressing home until it actually passes over the home switch, it will ignore the switch and continue the same behavior until it hits the limit switch. Why doesn't it properly complete the homing sequence? HAL and INI files attached. This attachment is hidden for guests. Please log in or register to see it.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Re:Homing stops immediately 01 Giu 2012 00:48 #20551

  • ArcEye
  • ArcEye's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 1418
  • Thank you received: 114
  • Karma: 130
Hi

Looks like you are missing several things from your .ini file for each axis.

eg
HOME_OFFSET = 0.000
HOME_SEARCH_VEL = 3.5
HOME_LATCH_VEL = 1.5
HOME_SEQUENCE = 0
or similar

I think that if you don't define SEARCH and LATCH VEL they default to 0 which will home immediately

You need to read linuxcnc.org/docs/2.5/html/config/ini_homing.html

regards

PS Don't use the values above if you are using imperial, I am using metric!!

PPS The axis should not move at all but that may be down to your unfinished tuning
Last Edit: 01 Giu 2012 01:08 by ArcEye.
The administrator has disabled public write access.

Re:Homing stops immediately 01 Giu 2012 09:55 #20574

  • maxvdh
  • maxvdh's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 69
  • Karma: 0
Thanks, that looks like the right information.
The administrator has disabled public write access.

Re:Homing stops immediately 01 Giu 2012 10:02 #20576

  • BigJohnT
  • BigJohnT's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 5081
  • Thank you received: 102
  • Karma: 136
The one important thing that I have failed to put in that section is where to connect the home switch input to in HAL... darn manual guys dropped the ball.

axis.N.home-sw-in IN BIT Should be driven TRUE if the home switch for this joint is closed

John
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: Rick G
Time to create page: 2.437 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.