Automatic Emergency Stop
-
@sculpt-fabricator oh, and also your config.g
-
@jay_s_uk
I can get you the step file If you want@dc24 I can reset it from the panel with the M999, rehome etc. and it back
to normal -
@sculpt-fabricator the step file is no use, which is why i have asked for the
gcode
-
Config G -
; General preferences_________________________________________________________ G21 ; dimentions in mm G90 ; for X,Y,Z use absolute coordinate values M83 ; for E0,E1,etc use relative coordinate values M111 S0 ; Debug off M555 P2 ; Set output to look like Marlin M575 P0 B57600 S2 ; communication parameters for USB serial M575 P1 B57600 S1 ; Set auxiliary serial port baud rate and require checksum (for PanelDue) ; Network_____________________________________________________________________ M550 P"Big 60" ; set printer name M552 S1 ; enable (S1) networking (WiFi) M586 S1 P1 ;T0 ; enable (S1) FTP (P1) Disable TLS (T0) M586 S1 P2 ;T0 ; enable (S1) Telnet (P2) Disable TLS (T0) ; mode control variables _____________________________________________________ global g_probe_z_trigger = 1.752 ; default - set as appropriate for the Z probe global g_z_home = 5 ; can be used to always move Z to known height global g_z_datum_set = false ; can be used to prevent unneeded setting of Z=0 datum global g_map_mode = "300 point" ; determines which kind of height map is created/loaded global g_probe_mode = "two consecutive" ; determines if z proving used consecutive or averaging global g_level_mode = "4 point" ; determines if 3 or 4 points are used for leveling global g_print_beg_prime = 10 ; default - set desired in filament config.g global g_print_beg_retract = 0 ; default - set desired in filament config.g global g_print_end_retract = 0 ; default - set desired in filament config.g global g_print_end_mode = "heat off" ; determines if heaters are turned off when print is done ; Drives_________________________________________________________________________ ;Main board______________________________________________________________________ M569 P0 S0 ; Physical drive 0 . X1 M569 P1 S1 ; Physical drive 1 . X2 M569 P3 S0 ; Physical drive 3 . Main Extruder M569 P4 S0 ; Physical drive 4 . Secondary Extruder ;Duex5 board_____________________________________________________________________ M569 P5 S0 ; Physical drive 5 . Y M569 P6 S0 ; Physical drive 6 . Z1 (-188 , 656.5) M569 P7 S0 ; Physical drive 7 . Z2 (-188, -35.5) M569 P8 S0 ; Physical drive 8 . Z3 (658.6 , -35.5) M569 P9 S0 ; Physical drive 9 . Z4 (658.6, 656.5) ;Settings_________________________________________________________ M584 X0:1 Y5 Z6:7:8:9 E3:4 P3 ; Driver mapping ;___________________________________________________________________ M350 X16 Y16 I1 ; Configure microstepping with interpolation M350 Z16 E16:16 I0 ; Configure microstepping without interpolation M92 X100.00 Y100.00 Z2000.00 E425:300 ; Set steps per mm M566 X300 Y500 Z100.00 E120.00:120.00 P1 ; Set maximum instantaneous speed changes (mm/min) M203 X18000.00 Y18000.00 Z300.00 E1200.00:1200.00 ; Set maximum speeds (mm/min) M201 X1000 Y1000 Z120.00 E250.00:250.00 ; Set accelerations (mm/s^2) M204 P500 ; Set print and travel accelerations (mm/s^2) M906 X1800 Y1800.00 E1000:1000 I40 ; Set motor currents (mA) and motor idle factor in per cent (E1270 per dyze) M906 Z1800.00 I50 ; Set motor currents (mA) and motor idle factor in per cent M84 S100 ; Set idle timeout - 100 seconds ; Axis Limits M208 X0 Y0 Z-0.5 S1 ; set axis minima M208 X585 Y575 Z630 S0 ; set axis maxima 580;580 ; Endstops M574 X1 S1 P"xstop + e0stop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop M574 Y2 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop ; Z-Probe ;M558 P9 C"^zprobe.in" H5 F120 T6000 A1 R1 ; set Z probe type to bltouch and the dive height + speeds ;M950 S0 C"duex.pwm5" ; set probe pin M98 P"config_probe.g" M556 S50 X0 Y0 Z0 ; set orthogonal axis compensation parameters woher kommt der test wie wurde der Winkel bestimmt Unklar! M376 H20 ; stop z-leveling after 10 layers ; Heaters___________________________________________________________ M140 H-1 ; disable heated bed (overrides default heater mapping) ;E0_________________________________________________________________ M308 S0 P"spi.cs1" Y"rtd-max31865" A"Main Extruder" ; create sensor number 1 as a PT100 sensor in first position daughterboard M950 H0 C"e0heat" T0 ; create nozzle heater output on e0heat and map it to sensor 0 M307 H0 B0 R2.059 C461.5:461.5 D8.35 S1.00 V23.5 ; PID calibration ;M307 H0 B0 R6.167 C268.6:268.6 D4.07 S1.00 V23.5 M143 H0 S1400 ; set temperature limit for heater 0 to 450C ;E1_________________________________________________________________ M308 S1 P"spi.cs2" Y"rtd-max31865" A"Support Extruder" ; create sensor number 2 as a PT100 sensor in sec position daughterboard ;E4_________________________________________________________________ M308 S1 P"duex.e4temp" Y"thermistor" T100000 B4267 ; configure sensor 1 as thermistor on pin e1temp M950 H5 C"duex.e4heat" T1 ; create nozzle heater output on e4heat and map it to sensor 4 M143 H5 S120 ; set temperature limit for heater 1 to 120C ; Fans & LED___________________________________________________________ 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 on M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S0 H-1 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"fan2" Q500 ; create air filter fan on fan 2 on pin fan2 and set its frequency M106 P2 S0 H-1 ; set fan 2 value. Thermostatic control is turned on M950 F7 C"!duex.fan7" Q500 ; create LED on pin fan7 and set its frequency M106 P7 S0 H-1 ; Disable fan channel for LED M106 P7 S255 ; remove ";" to set the LED to full brightness by default M950 F3 C"duex.fan3" Q500 ; create fan 3 on pin fan3 and set its frequency M106 P3 S1 H-1 ; set fan 3 value. Thermostatic control is turned on Bed relay to on ; Tools______________________________________________________________ ;T0_________________________________________________________________ M563 P0 S"E0 Main" D0 H0 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S265 ; set initial tool 0 active and standby temperatures to 0C ;T1_________________________________________________________________ M563 P1 S"E1 Support" D1 H1 F1 ; define tool 1 G10 P1 X0 Y65 Z0 ; set tool 1 axis offsets Y-2 moves filament 2mm to back of machine X-1 moves filament 1mm to the right G10 P1 R0 S265 ; set initial tool 1 active and standby temperatures to 0C ;T2____________________________________________________________________ ;T3___________________________________________________________________ M563 P3 S"CHAMBER TEMP" H5 G10 P3 R0 S40 ; Custom settings__________________________________________________ M950 J0 C"exp.e2stop" M581 T1 P0 S0 R1 M591 D0 P7 C"e1stop" S1 L4.2 E10 R10:1000 M950 J1 C"exp.e3stop" M581 T1 P1 S0 R1 M591 D1 P7 C"zstop" S1 L4.2 E10 R10:1000 ;M591 D0 P1 C"duex.e2stop" S1 ; Regular filament sensor for E0 ;M591 D1 P1 C"duex.e3stop" S1 ; Regular filament sensor for E1 M950 J2 C"duex.e4stop" ; create Input Pin 2 on Zstop for the M581 command. M581 P2 T0 S0 R0 ; Crash Detector [Add-On] M42 P2 S255 ; Start up air filter ; Automatic power saving____________________________________________ M911 S21 R29.0 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss. Power Failure Pause
-
@sculpt-fabricator also, does it reset if you simulate the job?
-
@sculpt-fabricator and have you always used global variables or have you only recently started to use them?
-
@jay_s_uk I have never run a job simulate. I don't know how to do that ?
-
@sculpt-fabricator right click on the job and simulate
-
I haven't changed any g-code or any setting in 4 months, printer was working
perfectly sense 3.3 update and getting all the code dialed in. Machine has been
running 24/7 for 4 weeks -
@jay_s_uk
It made it 100% thought simulation. -
@sculpt-fabricator not much we can do now until the reset map is looked at.
-
@sculpt-fabricator said in Automatic Emergency Stop:
Error status: 0x04
Error 0x04 = Output buffer starvation, I think. I'd guess that your SD card is either full or damaged. Please check your SD card by running the commands here: https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card#troubleshooting-sd-card-issues
Ian
-
@droftarts
The SD card was really full we deleted everything out of it. I will look into
that more -
@sculpt-fabricator probably file fragmentation on the SD card slowing down read time, then.
Ian
-
@droftarts
I ran the tests from the documentation, It all seems to be fine -M39 SD card in slot 0: capacity 7.95Gb, partition size 7.94Gb, free space 7.82Gb, speed 20.00MBytes/sec, cluster size 64kb```
SD read speed for 10.0Mbyte file was 1.36Mbytes/sec SD write speed for 10.0Mbyte file was 2.34Mbytes/sec Testing SD card read speed... M122 P104 S10 Testing SD card write speed...
M22 SD card 0 may now be removed M21 SDHC card mounted in slot 0, capacity 7.95Gb
-
@sculpt-fabricator some questions:
- Do you have any M581 triggers configured?
- Do you have a PanelDue connected? If so, does the PanelDue cable run close to any stepper motor cables?
-
@dc42 We 3 M581, two for filament sensor and one for crash detector
; Custom settings__________________________________________________
M950 J0 C"exp.e2stop"
M581 T1 P0 S0 R1
M591 D0 P7 C"e1stop" S1 L4.2 E10 R10:1000M950 J1 C"exp.e3stop"
M581 T1 P1 S0 R1
M591 D1 P7 C"zstop" S1 L4.2 E10 R10:1000
;M591 D0 P1 C"duex.e2stop" S1 ; Regular filament sensor for E0
;M591 D1 P1 C"duex.e3stop" S1 ; Regular filament sensor for E1M950 J2 C"duex.e4stop" ; create Input Pin 2 on Zstop for the M581 command.
M581 P2 T0 S0 R0 ; Crash Detector [Add-On]We also have a front X motor which wires run along the same path as the PanelDue
-
Found the problem, the Modix crash detector is a magnetic sensor and when
triggered it sends the same Emergency Stop that we were getting mid print. Even the one 20 min into the print. My guess is a faulty crash sensor, running
like normal now that it is temp. bypassed. -
@sculpt-fabricator You may want to feed that back to Modix.
-
@sculpt-fabricator Send a mail to support@modix3d.com with your information and we'll send you a replacement sensor.
I can also see you're running an interesting config file, we've done a fair few updates to the config/macro files, so look at the latest ones at https://github.com/Modix3D/Modix-V3-configuration-and-Macro-files/releases