Hi, i try to make a little tool probing sequence which should work like the homing sequence for one axis. The z-axis should go down fast until the probe switch is touched and the output is closed. After that it should go slowly up until the switch is opened. For that purpose i took a look into the example file tool-length-probe.ngc. This file works correctly except that it only does the probing until the switch is closed (with G38.2).
So i thought i extend the sequence a bit with an additional G38.4 directly after the G38.2 to reach my goal. Now my problem is that the G38.4 command does not work. I only get the error message "probe is already clear when starting g38.4 or g38.5 move" when i try to execute this command. I tried the whole sequence in mdi mode by manually typing the commands. working sequence: g30 (move to probe switch reference position) g91 (relative koordinates) g38.2 z-20 f100 (fast probe until switch is closed) g0 z5 (move 5mm above the switch) #1000=#5063 (save reference tool length) g90 (absolute koordinates) not working sequence: g30 (move to probe switch reference position) g91 (relative koordinates) g38.2 z-20 f100 (fast probe until switch is closed) g38.4 z20 f10 (slow probe until switch is closed) g0 z5 (move 5mm above the switch) #1000=#5063 (save reference tool length) g90 (absolute koordinates) It doesn't matter if the switch still is closed or if i open it manually before executing G38.4. The error still is the same. But instead i can execute the G38.2 command as often as i want without any errors and it always works as expected. When searching for this error message i can only find the reference in the command.c file within the emc sourcode. So i think i must do something wrong without knowing it. I hope someone can shed a bit light in this problem and give me a hint where the culprit hides. :) Ciao, Rainer ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users