NEWS
LinuxCNC 2.5.2 Release
LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release

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
New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Other Stuff OT Posts Home button, raise z axis first

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

TOPIC: Home button, raise z axis first

Home button, raise z axis first 24 Jun 2012 08:14 #21256

Using HAL and the information provided I managed to get a go to home button set up ..
one problem..
I have broke the tip off 2 small bits , because I forgot to raise Z axis first ,, the home button coordinates all 3 axis ,, i need to know how to make it raise Z to home before sending x and y home...I tried separating the code in hal with Z0 on one line and X0 Y0 on the second line ,, didn't work for me ... any help is appreciated..
Clint
The administrator has disabled public write access.

Re:Home button, raise z axis first 24 Jun 2012 08:52 #21259

  • cncbasher
  • cncbasher's Avatar
  • OFFLINE
  • Moderator
  • Posts: 678
  • Thank you received: 30
  • Karma: 53
i usualy have the gcode set to
G01 Z0
G01 X0Y0

as gcode works a line at a time it executes the G01 Z0 before the x & y
( dont forget the G01 )
you can use other methods or use the post processor to generate it in this order
The administrator has disabled public write access.

Re:Home button, raise z axis first 24 Jun 2012 09:25 #21266

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4101
  • Thank you received: 139
  • Karma: 129
cwalker1960 wrote:
Using HAL and the information provided I managed to get a go to home button set up ..
one problem..
I have broke the tip off 2 small bits , because I forgot to raise Z axis first

If you look in the iNI file each axis has a HOME_SEQUENCE
You probably want that set to 0 for Z and 1 for X and Y.

All the sequence-0 axes home first, then the sequence-1 and so on.

More details here: www.linuxcnc.org/docs/html/config/ini_co...d_sub_axis_section_a
The administrator has disabled public write access.

Re:Home button, raise z axis first 24 Jun 2012 12:53 #21275

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4940
  • Thank you received: 84
  • Karma: 133
It sounds like you have your machined homed but want to return to home after an operation. G28 is usually used for this task. If you call G28 Z(some safe value) and you have set G28 according to the user manual to the place you want to goto then the machine will move to the Z position you specified then on to the position stored with G28.1.

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