XYZ probing problem
-
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. -
looking at it it might be easiest to connect the probe to x y and z endstops by splicing the wire.
then the normal homing files can be used, as the G0 H2 moves will trigger it.