Hang printer - Print stops with mesh leveling
-
@phaedrux
Ok updated config with g31.G30 now ends up with good spacing afterwards. Good call.
M98 returns no errors. G29 still returns error for all points:
Warning: Skipping grid point X=100.0, Y=100.0 because Z probe cannot reach itUpdated config.g:
; General preferences
G91 ; send relative coordinates...
M83 ; ...but relative extruder moves
M550 P"duet3" ; set printer name; Drives
M569 P0.0 S0 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S0 ; physical drive 0.2 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M569 P0.4 S0 ; physical drive 0.4 goes forwards
M584 X0.0 Y0.1 Z0.2 E0.3 U0.4 ; set drive mapping
M669 K6 A0.0:-2265.0:0.0 B1725.0:1100.0:0.0 C-1740.0:1120.0:0.0 D0.0:0.0:2666.0 P1500.0
M350 X16 Y16 Z16 E16 U16 I1 ; configure microstepping with interpolation
M92 X92.90 Y92.90 Z92.90 E396.00 U93.00 ; set steps per mm
M566 X900.00 Y900.00 Z900.00 E120.00 U900.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z6000.00 E1200.00 U6000.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z500.00 E250.00 U500.00 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E800 U1000 I60 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 Z-05 S1 ; set axis minima
M208 Z1500 S0 ; set axis maxima; Endstops
; WARNING: No endstops configured; Z-Probe
M558 P0 H5 F120 T6000; disable Z probe but set dive height, probe speed and travel speed
G31 P500 X0 Y0 Z0
;M557 R400 S200
M557 X-100:100 Y-100:100 S100 ; define mesh grid; Heaters
M308 S0 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp1
M950 H0 C"out1" T0 ; create nozzle heater output on out1 and map it to sensor 0
M143 H0 S270 ; set temperature limit for heater 0 to 270C
M307 H0 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M140 H-1; Fans
M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
M106 P0 S0 H0 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency
M106 P1 S0 H0 ; set fan 1 value. Thermostatic control is turned off; Tools
M563 P0 S"Extruder" D0.3 H0 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; Custom settings are not defined
M564 S0 H0 ;allow move without homing
; Miscellaneous
M501 ; load saved parameters from non-volatile memory
T0 ; select first tool -
I don't see where you specify M208 for X and Y.
The error is because the probe cannot reach the XY position as it is outside of the min/max for X and/or Y.
Frederick
-
@fcwilt
I was just wondering if that might be it. Thanks!Is there a way to set Radial limits instead of grid?
-
@shinomori
Ok added M208.Still getting the error when running g29. M98 is good.
Config:
; General preferences
G91 ; send relative coordinates...
M83 ; ...but relative extruder moves
M550 P"duet3" ; set printer name; Drives
M569 P0.0 S0 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S0 ; physical drive 0.2 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M569 P0.4 S0 ; physical drive 0.4 goes forwards
M584 X0.0 Y0.1 Z0.2 E0.3 U0.4 ; set drive mapping
M669 K6 A0.0:-2265.0:0.0 B1725.0:1100.0:0.0 C-1740.0:1120.0:0.0 D0.0:0.0:2666.0 P1500.0
M350 X16 Y16 Z16 E16 U16 I1 ; configure microstepping with interpolation
M92 X92.90 Y92.90 Z92.90 E396.00 U93.00 ; set steps per mm
M566 X900.00 Y900.00 Z900.00 E120.00 U900.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z6000.00 E1200.00 U6000.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z500.00 E250.00 U500.00 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E800 U1000 I60 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X-800 Y-800 Z-05 S1 ; set axis minima
M208 X800 Y800 Z1500 S0 ; set axis maxima; Endstops
; WARNING: No endstops configured; Z-Probe
M558 P0 H5 F120 T6000; disable Z probe but set dive height, probe speed and travel speed
G31 P500 X0 Y0 Z0
;M557 R400 S200
M557 X-100:100 Y-100:100 S100 ; define mesh grid; Heaters
M308 S0 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp1
M950 H0 C"out1" T0 ; create nozzle heater output on out1 and map it to sensor 0
M143 H0 S270 ; set temperature limit for heater 0 to 270C
M307 H0 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M140 H-1; Fans
M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
M106 P0 S0 H0 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency
M106 P1 S0 H0 ; set fan 1 value. Thermostatic control is turned off; Tools
M563 P0 S"Extruder" D0.3 H0 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; Custom settings are not defined
M564 S0 H0 ;allow move without homing
; Miscellaneous
M501 ; load saved parameters from non-volatile memory
T0 ; select first tool -
I think if you want to use radial limits then don't specify a M208 for XY. I don't think they have limits other than Z set for a delta. I assume that if you set a square limit range in XY you'd either have the corners protrude into areas that the effector can't reach, or you would have to keep the limits within the reachable radius and you'd loose some travel.
Then for your M557 just use the radius instead of a grid.
-
@shinomori said in Hang printer - Print stops with mesh leveling:
@fcwilt
I was just wondering if that might be it. Thanks!Is there a way to set Radial limits instead of grid?
So a hang printer is limited to a round area like a Delta?
For a delta there is a M665 command somewhere which specifies, among other things, the delta radius.
I would think there would be some command to specify that radius for a hang printer.
Frederick
-
@phaedrux said in Hang printer - Print stops with mesh leveling:
I think if you want to use radial limits then don't specify a M208 for XY. I don't think they have limits other than Z set for a delta. I assume that if you set a square limit range in XY you'd either have the corners protrude into areas that the effector can't reach, or you would have to keep the limits within the reachable radius and you'd loose some travel.
Then for your M557 just use the radius instead of a grid.
Is there no command for a hang printer like M665 for a delta?
Frederick
-
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareHangprinter
The printable radius for a hang printer is set in M669 P. So a bit different than delta.
-
@phaedrux
Yeah the radius is in the M669 command which seems to be the same as the M665 for delta.But either way with or without X Y limits in the M208 it still doesn't want to manually probe the points with G29.
We do plan on getting some type of probe eventually, but the budget makers want to see it using a mesh first. We also are looking at different probe options between a physical sensor or a laser of some sort.
-
@phaedrux said in Hang printer - Print stops with mesh leveling:
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareHangprinter
The printable radius for a hang printer is set in M669 P. So a bit different than delta.
I cannot find that in the "gcode dictionary".
It lists the type (hang printer) for M669 but I cannot find the other values for that type.
Frederick
-
@fcwilt It's all in the link for the hang printer wiki.
-
@shinomori said in Hang printer - Print stops with mesh leveling:
But either way with or without X Y limits in the M208 it still doesn't want to manually probe the points with G29.
Try to avoid using the GUI to set the spacing etc, just send the M557 R S command from the console.
-
@phaedrux said in Hang printer - Print stops with mesh leveling:
@fcwilt It's all in the link for the hang printer wiki.
Found it.
Shouldn't the items related to M669 also be in the gcode dictionary along with all the other types?
Frederick
-
@phaedrux
Tried changing the to the Radius one.M98 shows no errors.
m557
Grid: X-200.0:200.1, Y-200.0:200.1, radius 400.0, X spacing 200.0, Y spacing 200.0, 9 pointsG30 works. G29 still throws the:
Warning: Skipping grid point X=200.0, Y=200.0 because Z probe cannot reach itConfig.g:
; General preferences
G91 ; send relative coordinates...
M83 ; ...but relative extruder moves
M550 P"duet3" ; set printer name; Drives
M569 P0.0 S0 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S0 ; physical drive 0.2 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M569 P0.4 S0 ; physical drive 0.4 goes forwards
M584 X0.0 Y0.1 Z0.2 E0.3 U0.4 ; set drive mapping
M669 K6 A0.0:-2265.0:0.0 B1725.0:1100.0:0.0 C-1740.0:1120.0:0.0 D0.0:0.0:2666.0 P1500.0
M350 X16 Y16 Z16 E16 U16 I1 ; configure microstepping with interpolation
M92 X92.90 Y92.90 Z92.90 E396.00 U93.00 ; set steps per mm
M566 X900.00 Y900.00 Z900.00 E120.00 U900.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z6000.00 E1200.00 U6000.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z500.00 E250.00 U500.00 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E800 U1000 I60 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 Z-05 S1 ; set axis minima
M208 Z1500 S0 ; set axis maxima; Endstops
; WARNING: No endstops configured; Z-Probe
M558 P0 H5 F120 T6000; disable Z probe but set dive height, probe speed and travel speed
G31 P500 X0 Y0 Z0
M557 R400 S200
;M557 X-100:100 Y-100:100 S100 ; define mesh grid; Heaters
M308 S0 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp1
M950 H0 C"out1" T0 ; create nozzle heater output on out1 and map it to sensor 0
M143 H0 S270 ; set temperature limit for heater 0 to 270C
M307 H0 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M140 H-1; Fans
M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
M106 P0 S0 H0 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency
M106 P1 S0 H0 ; set fan 1 value. Thermostatic control is turned off; Tools
M563 P0 S"Extruder" D0.3 H0 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; Custom settings are not defined
M564 S0 H0 ;allow move without homing
; Miscellaneous
M501 ; load saved parameters from non-volatile memory
T0 ; select first tool -
@fcwilt Yes.
-
@shinomori said in Hang printer - Print stops with mesh leveling:
m557
Grid: X-200.0:200.1, Y-200.0:200.1, radius 400.0, X spacing 200.0, Y spacing 200.0, 9 points
G30 works. G29 still throws the:
Warning: Skipping grid point X=200.0, Y=200.0 because Z probe cannot reach itAlright. I'll have to get DC42 to take a look. It may be a bug.
At this point it would be helpful to be able to test in standalone mode so that we could narrow down if the problem is with the firmware or with DSF on the Pi.
-
@phaedrux
That would be with direct USB connection?
Or is there a way to do it direct with network cable?Mounted on the ceiling connecting through wire with laptop is a challenge. Our print area takes up a 13ftx13ft space.
-
Standalone mode means that the Duet has a direct network connection and an SD card is needed in the Duet with your config files and the files for DWC. The Pi isn't used in this mode. No direct USB connection, but the Duet3 requires ethernet. So that may be a problem if you were depending on wifi for the Pi.
https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Running_in_standalone_mode
-
@phaedrux
Yeah we are relying on the PI.We have no networking in this building yet. The pi is connecting to a wifi hotspot on my phone and I'm using that to talk to the printer.
If I can use a network cable to go direct to my laptop I can probably make it work.
-
@shinomori said in Hang printer - Print stops with mesh leveling:
If I can use a network cable to go direct to my laptop I can probably make it work.
Yes if you can route the cable that would work. You'd need to manually set an IP address for the Duet in config.g and then manually set an IP address on your laptop. Both IP addresses must be in the same subnet. Then you can connect to DWC via the Duet IP.