![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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
| |||
| |||
| 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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Limit and home switches EMC and Mach2? | ESjaavik | LinuxCNC (formerly EMC2) | 4 | 09-29-2008 11:39 AM |
| How do you hook up limit and home switches? | CNCadmin | DeskCNC Controller Board | 6 | 09-23-2007 04:34 PM |
| mach2 home switches | kong | Mach Software (ArtSoft software) | 14 | 11-27-2004 09:09 AM |
| The relationship of limit switches to home switches. | MikeAber | General Electronics Discussion | 4 | 11-04-2004 02:28 PM |
| Limit switches and home switches | viktorcnc | TurboCNC | 2 | 08-03-2004 07:11 AM |