Skip to main content
User avatar

XYZ probe programming difficulties

Hello,

I purchased the Workbee 1010 screw driven from openbuilds, but am using the duet to control it as I like it more. the problem i am running into is with the XYZ probe they sell and the programming. I’ve had to write some Macros for the probing as it seems when you press the ones on the machine control page they rewrite the macro in the system file.

My custom macro for the Z probe is

; This Macro will find the z offset to the workpiece

M400

G91

M563 P999 S"XYZ-Probe"

T999

G1 Z5 f500

G1 X17 Y17 f500

M585 Z15 E4 L1 F500 S1

T-1

G10 L20 Z9

G1 Z5 F500

M500

G90

M563 P999 D-1 H-1

M291 P"Probe complete. Please remove probe." R"Success" S1

The problem is that no matter what I set M563 Lnnn to it never changes. I have changed the probe sensor to E4 correctly and tested it by holding it to the bit during the move and it when i remove it during the probing stages it works correctly, and I’ve also tried adding the line

M574 E4 S1 ; Set active high endstop

to make sure the E4 was defined, which I know is probably overkill. Do you have any suggestions?

Update (11/25/2020)

One more thing I discovered, when you go into the machine setting for the probe to set the custom size and offset of the probe, along with if it is triggered when High or Low. This setting doesn’t work either it seems, the probe.g file does change the Lnnn for the M585 command but doesn’t change how it operates.

Answered! View the answer I have this problem too

Is this a good question?

Score 0
Add a comment

1 Answer

Chosen Solution
User avatar

Hi Rip,

Thanks for your email.

The Touch Probe panel rewrites the macro every turn you probe something new to match the new settings.

It should allow you to attach custom probes like the Openbuilds probe, even if they are active high/low.

Best Regards

Ryan Lock

Was this answer helpful?

Score 0

Comments:

That's what I figured out, but no matter what I set that option to for the probe, activated High or Low it always acts like its looking for the active low state. It does change the M585 Lnnn in the macro but that doesn't seem to do anything. Do you think reloading the firmware will help?

by

Ok, reflashing the firmware seems to have fixed the issue, thanks for the help!

by

Add a comment

Add your answer

Author avatar Rip will be eternally grateful.
View Statistics:

Past 24 Hours: 0

Past 7 Days: 0

Past 30 Days: 2

All Time: 409