Skip to content

Fixes and suggestions #2

@rwskinner

Description

@rwskinner

Thanks again for sharing your probing routines.
I've tested everything except WEB. I will do that in the next few days. Here are my observations and comments. Choose to ignore if you wish.

  1. I still use negative tool length offsets and not Aaron's. The probing code still works fine.
  2. All code in ProbeAxis, ProbeCorners works fine. I did add some code I will mention further down. (M19 and probe checks)
  3. ProbeBoreBoss - Works fine however there was a mistake in the Probe Bore section. R3 returns the "Radius" from the Fadal macro. So the new code is:
    (Return results in r4)
    #WAIT
    (#R4 = (R3/2) + V11 'Calculate diameter - Wrong result.
    #R4 = (R3*2) + V11 'RWS fixed Calculate diameter calc.

The Boss calculation was correct.

  1. I added a M19 in the init code. Needed unless your spindle is spinning and I didn't see that in your code.
    (---Setup---)
    M64 (Switch to Spindle Probe)
    M66 (Turn On Probe)
    M19 (RWS - Added Spindle Orientation) <<---------------------
    G80 (Cancel fixed cycles)
    G53 (Machine Coordinates)
    G90 (Absolute Mode)
    G17 (XY Plane Selection)

  2. In my personal probing routines I call a sub to check to make sure there isn't an error for the spindle probe, but in your code, I just added it to each program. Handle how you see fit but it keeps from destroying a probe. I(7) is the error input from the probes on a Fadal, or any other input if you want. I'm used to clearing V variables before and after use.

It's worth noting that really old Fadal software will not see inputs as arrays so a way to bypass this would be need for the general public or note it in the code.

(RWS)
(--TEST Probe to see if its ON---
#V32=0 'Reset to known state
#:CHECKPROBE
#V32=I(7)
#IF V32=0 THEN GOTO :PROBEOKAY
#Print "***********************************
#Print "PROBE ERROR OR NOT TURNED ON: "
#Print "***********************************
#Print "Press Enter to Retry Probe or No to Exit - Yes=ENTER,NO=1"
#Input V19
#If V19=0 then GOTO:CHECKPROBE
#If V19=1 then GOTO:FAULT

#:PROBEOKAY
#V32=0 'Zero after use
#V19=0
(---END Probe Test---

  1. Instead of declaring probe tip diameter you can get it from the tool table like you do the length offset. It keeps from declaring it in every program.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions