Problem with my bed calibration on my modix
-
I updated to version 3.3
here is my macro for leveling but it gives me an error on line 14
Error: M558: Missing Z probe pin name(s)Can someone help me please?
thx
DieterM300 S555 P666 ;
M291 S3 P"Press OK to continue, or CANCEL to abort"
M300 S1888 P444 ; Beep
M561
G28 ; Home
M561
G30 P0 X2 Y20 Z-99999 ; Probe near a leadscrew
G30 P1 X570 Y20 Z-99999 ; Probe near a leadscrew
G30 P2 X570 Y599 Z-99999 ; Probe near a leadscrew
G30 P3 X2 Y599 Z-99999 S4 ; Probe near a leadscrew
M400
G4 S1
M300 S1111 P444 ; Beep
M558 P9 H5 F120 T18000 A1 R0.7
G30 P0 X2 Y20 Z-99999 ; Probe near a leadscrew
G30 P1 X570 Y20 Z-99999 ; Probe near a leadscrew
G30 P2 X570 Y599 Z-99999 ; Probe near a leadscrew
G30 P3 X2 Y599 Z-99999 S4 ; Probe near a leadscrew
M400
M300 S1111 P444
M291 S3 R"Bed Mapping" P"The printer will now generate a new heightmap of 100 points" ;
G28 -
@icy_snake you need the name of the pin in M558.
Look at the wiki. It's the C paramter -
@pcr said in Problem with my bed calibration on my modix:
the name of the pin in M558
Not really sure what it means.
from th wiki:
M558 P9 C"^zprobe.in" H5 F120 T3000 ; BLTouch connected to Z probe IN pin
What is the meaning of "^zprobe.in"
-
It's the configuration name for whatever input you are using; some boards have fixed names for such as the probe and endstops, some use numbers or letters and numbers.
Look at the connection diagram for whatever Duet board you have and see what it calls the connector your probe is on??
This is my setup for a BLTouch, connected to I/O7 header on a Duet 6HC board:
M950 S0 C"io7.out" ; create servo pin 0 for BLTouch M558 P9 C"^io7.in" H4 F60 T6000 ; set Z probe type to bltouch and the dive height + speeds
If it's an input-only probe (switch etc) you don't need the out pin. The probe type needs setting appropriately.
-
@icy_snake said in Problem with my bed calibration on my modix:
M558 P9 H5 F120 T18000 A1 R0.7
You don't need the full M558 line in your macros. If you just want to alter a parameter for speed or whatever you can just include that parameter. Since you've got a M558 P9 there it is expecting you to define the entire line now, but you're missing the pin name.