586,123 active members*
3,448 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005
    Posts
    21

    Using G28/G30 Home commands for THC

    Hi Guys,
    G30 is supposed to be a "hard home" which moves the machine until the home switches trigger. It doesn't do that. It does do it when you press the "HOME" button in Manual Mode, so how do I access the routine the button executes? Any ideas?

    I want to use that function to create a poor-man's torch height controller (THC) and home the Z-axis between cuts, maybe even between each move.
    Thor

  2. #2
    Join Date
    Mar 2005
    Posts
    3
    Could use G38.2 to probe instead?

    You could hook your height/home switch to the probe input. The manual says it will set variables 5061 through 5066 to the coordinates of the contact point. You could then use 5063, the Z value, to recalculate your offset.

    Something like

    G38.2 Z-1
    G10 P1 Z[#5223 + #5063]

    Variable 5223 should be the Z offset for coordinate system 1.

    I've never actually used the probe, but it seems it may do what you need.

Similar Threads

  1. Limit and home switches EMC and Mach2?
    By ESjaavik in forum LinuxCNC (formerly EMC2)
    Replies: 4
    Last Post: 09-29-2008, 04:39 PM
  2. How do you hook up limit and home switches?
    By cncadmin in forum DeskCNC Controller Board
    Replies: 6
    Last Post: 09-23-2007, 09:34 PM
  3. mach2 home switches
    By kong in forum Mach Software (ArtSoft software)
    Replies: 14
    Last Post: 11-27-2004, 03:09 PM
  4. The relationship of limit switches to home switches.
    By MikeAber in forum CNC Machine Related Electronics
    Replies: 4
    Last Post: 11-04-2004, 08:28 PM
  5. Limit switches and home switches
    By viktorcnc in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 2
    Last Post: 08-03-2004, 12:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •