Solved error invalid P parameter on start up
-
reprap 3.4 duet 2 wifi with paneldue v3 all in one 5”, on start upPanelDue showing massage: error invalid P parameter.
How to see which P parameter is wrong?
Thanks!My config.g
; Configuration file for Duet WiFi (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.5 on Thu Oct 28 2021 15:34:12 GMT+0200 (Central European Summer Time); General preferences
M575 P1 S1 B57600 ; enable support for PanelDue
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"VORON" ; set printer name
M669 K2 X1:0:1 Y0:1:0 Z1:0:-1 ; select CoreXZ mode; Network
M552 S1. ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z80.00 E427.45 ; set steps per mm
M566 X600.00 Y600.00 Z600.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
M203 X30000.00 Y30000.00 Z30000.00 E3600.00 ; set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z3000.00 E7000.00 ; set accelerations (mm/s^2)
M906 X1500 Y1500 Z1500 E600 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y-215 Z-3.0 S1 ; set axis minima
M208 X250 Y210 Z230 S0 ; set axis maxima; Endstops
M574 X2 S1 P"^xstop" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin ^xstop
M574 Y2 S1 P"^ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ^ystop
M574 Z1 S2 P5 ; configure Z-probe endstop for low end on Z; Z-Probe
M558 P5 C"zprobe.in" H9 F400 T6000 ; set Z probe type to unmodulated and the dive height + speeds
G31 P500 X0 Y25 Z1.76
; set Z probe trigger value, offset and trigger height
M557 X25:270 Y10:210 S100 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C
M308 S10 Y"mcu-temp" A"MCU"
M308 S11 Y"drivers" A"Duet stepper drivers"; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
M950 F2 C"fan2" Q500
M106 P2 T45:65 H10:11; Tools
M563 P0 D0 H1 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
M593 P"zvddd" F40.0 ; use ZVDDD input shaping to cancel ringing at 40.0Hz
G92 S0
M572 D0 S0.025 ; Pressure advance; Miscellaneous
M501 ; load saved parameters from non-volatile memory -
@voronswcroatia send
M98 P"config.g"
in DWC. That might give you more of an indication whats wrong -
@jay_s_uk said in error invalid P parameter on start up:
M98 P"config.g"
This is what’s command put outM98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Error: Invalid use of P parameterMy config.g
; Configuration file for Duet WiFi (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.5 on Thu Oct 28 2021 15:34:12 GMT+0200 (Central European Summer Time); General preferences
M575 P1 S1 B57600 ; enable support for PanelDue
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"VORON" ; set printer name
M669 K2 X1:0:1 Y0:1:0 Z1:0:-1 ; select CoreXZ mode; Network
M552 S1. ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z80.00 E427.45 ; set steps per mm
M566 X600.00 Y600.00 Z600.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
M203 X30000.00 Y30000.00 Z30000.00 E3600.00 ; set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z3000.00 E7000.00 ; set accelerations (mm/s^2)
M906 X1500 Y1500 Z1500 E600 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y-215 Z-3.0 S1 ; set axis minima
M208 X250 Y210 Z230 S0 ; set axis maxima; Endstops
M574 X2 S1 P"^xstop" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin ^xstop
M574 Y2 S1 P"^ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ^ystop
M574 Z1 S2 P5 ; configure Z-probe endstop for low end on Z; Z-Probe
M558 P5 C"zprobe.in" H9 F400 T6000 ; set Z probe type to unmodulated and the dive height + speeds
G31 P500 X0 Y25 Z1.76
; set Z probe trigger value, offset and trigger height
M557 X25:270 Y10:210 S100 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C
M308 S10 Y"mcu-temp" A"MCU"
M308 S11 Y"drivers" A"Duet stepper drivers"; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
M950 F2 C"fan2" Q500
M106 P2 T45:65 H10:11; Tools
M563 P0 D0 H1 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
M593 P"zvddd" F40.0 ; use ZVDDD input shaping to cancel ringing at 40.0Hz
G92 S0
M572 D0 S0.025 ; Pressure advance; Miscellaneous
M501 ; load saved parameters from non-volatile memory -
@jay_s_uk
By the way thanks for quick replayI see that I put “.” After S1
M552 S1. ; enable network
Changed that, still same error massage... -
@voronswcroatia it could be that M574 line for Z. Just comment it out
-
@jay_s_uk thanks!!!!
It’s solve the error...M98 P"config.g"
HTTP is enabled on port 80; Endstops
M574 X2 S1 P"^xstop" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin ^xstop
M574 Y2 S1 P"^ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ^ystop
;M574 Z1 S2 P5 ; configure Z-probe endstop for low end on Z -
-