Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all 2831 articles
Browse latest View live

1.1.x BugFix Crashes On Print (no replies)

$
0
0
Attached is my configuration.h.

I upgraded from Marlin 1.1.0-RC8, transfered the settings to the current version.
Now when a print job starts, the hotend heats up, the hot bed heats up, the carriage homes......
The print job starts - that is, the start G-code kicks off, the head/carriage moves to 0,0,0, begins to prime, the extruder moves...
But, in the terminal window it has already started to throw errors.

Here is the terminal window output from Octoprint just after the printer 'homes'-

Recv: echo:busy: processing
[...]
Recv: echo:busy: processing
[...]
Recv: echo:busy: processing
Recv: X:120.00 Y:120.00 Z:0.00 E:5.00 Count X:9662 Y:9661 Z:0
Recv: ok
Send: N11 G1 X0 Y5 Z0.2 F3000*47
Recv: ok
Send: N12 G92 E0*116
Recv: X:0.00 Y:5.00 Z:0.20 E:0.00 Count X:9662 Y:9661 Z:0
Recv: ok
Send: N13 G1 X200 E25 F600*98
Recv: ok
Send: N14 G92 E0*114
Recv: X:120.00 Y:5.00 Z:0.20 E:0.00 Count X:9661 Y:9660 Z:1
Recv: ok
Send: N15 G1 E-1.2500 F207*31
Recv: ok
Send: N16 G1 Z0.180 F1000*37
Recv: ok
Send: N17 T0*12
[...]
Recv: echo:busy: processing
[...]
Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
[...]
Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
[...]
Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
[...]
Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
[...]
Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
[...]
No response from printer after 6 consecutive communication timeouts, considering it dead. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
Changing monitoring state from "Printing" to "Offline (Error: Too many consecutive timeouts, printer still connected and alive?)"
Connection closed, closing down monitor

Does this mean anything to anyone?

Here is my G code start script (works fine on my previous version of Marlin):
G21        ;metric values
G90        ;absolute positioning
M82        ;set extruder to absolute mode
M107       ;start with the fan off
G28 X0 Y0  ;move X/Y to min endstops
G28 Z0     ;move Z to min endstops
G1 Z15.0 F{travel_speed} ;move the platform down 15mm
G92 E0                  ;zero the extruded length
G1 F200 E3              ;extrude 3mm of feed stock
G92 E0                  ;zero the extruded length again
G1 F{travel_speed}
;Put printing message on LCD screen
M117 Printing...

Arduino Build stats -
Previous Build I use -
Sketch uses 131688 bytes (51%) of program storage space. Maximum is 253952 bytes.
Global variables use 4711 bytes (57%) of dynamic memory, leaving 3481 bytes for local variables. Maximum is 8192 bytes.

Current build -
Sketch uses 133258 bytes (52%) of program storage space. Maximum is 253952 bytes.
Global variables use 4626 bytes (56%) of dynamic memory, leaving 3566 bytes for local variables. Maximum is 8192 bytes.



Thanks!

Can not get firmware working for Wanhao Duplicator i3 with RAMPS1.4 and BLTouch (1 reply)

$
0
0
I have been trying to generate firmware for my printer for two days now, and I am about to start pulling out my hair, very frustrated. I have tried the Marlin config tool, editingn manually in Notepad++, and even resorted to using questionable firmware I have found on Thingiverse and google, and nothing is working, I get random errors while trying to compile the firmware and I am tired of chasing my tail here. I have a Wanhao Duplicator i3 with 200mm (x) by 300mm (y) bed, recently upgraded to RAMPS 1.4 +RepRap Full Graphics LCD (tried to get it working with Repetier but no luck there either) and BLTouch installed. My offsets for the sensor are X: 41mm Y: 46mm and Z: 1mm. I can provide any other info needed.

I am uploading my current configuration here: [www.dropbox.com]

My current error appears to have something to do with enabling SD card support (which I am assuming I need) I will paste it below. Can someone please take a look make any corrections needed and give me a version that will work, or at least get me headed in the right direction? Thank you in advance

Current error message:
Arduino: 1.8.6 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

D:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware D:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Matt.DESKTOP-EP3D6TO\AppData\Local\Arduino15\packages -tools D:\Program Files (x86)\Arduino\tools-builder -tools D:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Matt.DESKTOP-EP3D6TO\AppData\Local\Arduino15\packages -built-in-libraries D:\Program Files (x86)\Arduino\libraries -libraries D:\Users\Matt\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10806 -build-path C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359 -warnings=none -build-cache C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_cache_695985 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -verbose D:\Users\Matt\Downloads\3d Printer and CNC Stuff\Firmware\MARLIN\Marlin-1.1.x FRESH\Marlin-1.1.x\Marlin\Marlin.ino
D:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware D:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Matt.DESKTOP-EP3D6TO\AppData\Local\Arduino15\packages -tools D:\Program Files (x86)\Arduino\tools-builder -tools D:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Matt.DESKTOP-EP3D6TO\AppData\Local\Arduino15\packages -built-in-libraries D:\Program Files (x86)\Arduino\libraries -libraries D:\Users\Matt\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10806 -build-path C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359 -warnings=none -build-cache C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_cache_695985 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -verbose D:\Users\Matt\Downloads\3d Printer and CNC Stuff\Firmware\MARLIN\Marlin-1.1.x FRESH\Marlin-1.1.x\Marlin\Marlin.ino
Using board 'mega' from platform in folder: D:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: D:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"D:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\MATT~1.DES\\AppData\\Local\\Temp\\arduino_build_113359\\sketch\\Marlin.ino.cpp" -o nul
"D:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\MATT~1.DES\\AppData\\Local\\Temp\\arduino_build_113359\\sketch\\G26_Mesh_Validation_Tool.cpp" -o nul
"D:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\MATT~1.DES\\AppData\\Local\\Temp\\arduino_build_113359\\sketch\\I2CPositionEncoder.cpp" -o nul
"D:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\MATT~1.DES\\AppData\\Local\\Temp\\arduino_build_113359\\sketch\\M100_Free_Mem_Chk.cpp" -o nul
"D:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\MATT~1.DES\\AppData\\Local\\Temp\\arduino_build_113359\\sketch\\MarlinSerial.cpp" -o nul
"D:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\MATT~1.DES\\AppData\\Local\\Temp\\arduino_build_113359\\sketch\\Marlin_main.cpp" -o nul
"D:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\MATT~1.DES\\AppData\\Local\\Temp\\arduino_build_113359\\sketch\\Max7219_Debug_LEDs.cpp" -o nul
"D:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\mega" "C:\\Users\\MATT~1.DES\\AppData\\Local\\Temp\\arduino_build_113359\\sketch\\Sd2Card.cpp" -o nul
In file included from C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\HAL.h:33:0,

                 from C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\MarlinConfig.h:39,

                 from C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:29:

Sd2Card.h:100:39: error: pasting "/* SPI Master In Slave Out pin*/" and "_DDR" does not give a valid preprocessing token

   #define SPI_MISO_PIN MISO_PIN       // SPI Master In Slave Out pin

                                       ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\fastio.h:86:42: note: in definition of macro '_SET_INPUT'

 #define _SET_INPUT(IO)        CBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)

                                          ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:316:3: note: in expansion of macro 'SET_INPUT'

   SET_INPUT(SPI_MISO_PIN);

   ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:316:13: note: in expansion of macro 'SPI_MISO_PIN'

   SET_INPUT(SPI_MISO_PIN);

             ^

Sd2Card.h:100:39: error: pasting "/* SPI Master In Slave Out pin*/" and "_PIN" does not give a valid preprocessing token

   #define SPI_MISO_PIN MISO_PIN       // SPI Master In Slave Out pin

                                       ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\fastio.h:86:61: note: in definition of macro '_SET_INPUT'

 #define _SET_INPUT(IO)        CBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)

                                                             ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:316:3: note: in expansion of macro 'SET_INPUT'

   SET_INPUT(SPI_MISO_PIN);

   ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:316:13: note: in expansion of macro 'SPI_MISO_PIN'

   SET_INPUT(SPI_MISO_PIN);

             ^

Sd2Card.h:99:39: error: pasting "/* SPI Master Out Slave In pin*/" and "_DDR" does not give a valid preprocessing token

   #define SPI_MOSI_PIN MOSI_PIN       // SPI Master Out Slave In pin

                                       ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\fastio.h:87:42: note: in definition of macro '_SET_OUTPUT'

 #define _SET_OUTPUT(IO)       SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)

                                          ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:317:3: note: in expansion of macro 'SET_OUTPUT'

   SET_OUTPUT(SPI_MOSI_PIN);

   ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:317:14: note: in expansion of macro 'SPI_MOSI_PIN'

   SET_OUTPUT(SPI_MOSI_PIN);

              ^

Sd2Card.h:99:39: error: pasting "/* SPI Master Out Slave In pin*/" and "_PIN" does not give a valid preprocessing token

   #define SPI_MOSI_PIN MOSI_PIN       // SPI Master Out Slave In pin

                                       ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\fastio.h:87:61: note: in definition of macro '_SET_OUTPUT'

 #define _SET_OUTPUT(IO)       SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)

                                                             ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:317:3: note: in expansion of macro 'SET_OUTPUT'

   SET_OUTPUT(SPI_MOSI_PIN);

   ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:317:14: note: in expansion of macro 'SPI_MOSI_PIN'

   SET_OUTPUT(SPI_MOSI_PIN);

              ^

Sd2Card.h:101:39: error: pasting "/* SPI Clock pin*/" and "_DDR" does not give a valid preprocessing token

   #define SPI_SCK_PIN SCK_PIN         // SPI Clock pin

                                       ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\fastio.h:87:42: note: in definition of macro '_SET_OUTPUT'

 #define _SET_OUTPUT(IO)       SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)

                                          ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:318:3: note: in expansion of macro 'SET_OUTPUT'

   SET_OUTPUT(SPI_SCK_PIN);

   ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:318:14: note: in expansion of macro 'SPI_SCK_PIN'

   SET_OUTPUT(SPI_SCK_PIN);

              ^

Sd2Card.h:101:39: error: pasting "/* SPI Clock pin*/" and "_PIN" does not give a valid preprocessing token

   #define SPI_SCK_PIN SCK_PIN         // SPI Clock pin

                                       ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\fastio.h:87:61: note: in definition of macro '_SET_OUTPUT'

 #define _SET_OUTPUT(IO)       SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)

                                                             ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:318:3: note: in expansion of macro 'SET_OUTPUT'

   SET_OUTPUT(SPI_SCK_PIN);

   ^

C:\Users\MATT~1.DES\AppData\Local\Temp\arduino_build_113359\sketch\Sd2Card.cpp:318:14: note: in expansion of macro 'SPI_SCK_PIN'

   SET_OUTPUT(SPI_SCK_PIN);

              ^

exit status 1
pasting "/* SPI Master In Slave Out pin*/" and "_DDR" does not give a valid preprocessing token

mintemp triggered heater_id:0 (no replies)

$
0
0
I have a REPRAP Prusa i3 running Marlin firmware. I just changed the extruder/hotend that came with the kit to a Tital Aero. When trying to print, the heatbed begins to warm up, but the hotend never begins to heat. I've made the changes to the firmware as required, but something isn't right. Any ideas?

Machine never raises Z axis to probe while leveling the bed (no replies)

$
0
0
I have a problem with my recently added inductive probe and Marlin 1.1.9. The probe is connected to the Z min endstop, and works fine for homing. The printer moves in XY to the middle of the bed, raises Z, lowers Z until the probe senses the bed, raises Z again and lowers Z more slowly. So far so good.

I confingured AUTO_BED_LEVELING_BILINEAR, and when I run G29 after homing, the following happens:
The printer lifts Z, moves in XY to the first probing point, lowers Z until the probe senses, but only once. It the moves in XY to the next probe point, but it never lifts Z again. Instead, it quickly drags along in XY to all other probe points, and gives identical numbers for each point.

I tried deliberately skewing the bed, so that it leaves the initial Z height that gets probed on the first point. I notice that when the LED on the sensor goes off, the Z steppers move down a little until the LED is on again, and then the machine continues through the remaining positions without ever moving Z again. The result is that I get two different numbers: one for the first to Y rows, and one for the last two Y rows.
Why does the machine never lifts the Z axis again?

Here's my config: [gist.github.com]

TMC2130 use_tmc_sw_spi driver error (2 replies)

$
0
0
Hi,

I've setup everything with tmc2130 to use with spi mode. I did multiple tests that mosi is on pin 44 and able to confirm that I can't use pin 44 because when there's a wire plugged into that pin, firmware just got into "driver error, please restart" screen. Even if the wire just plugged there not connected to the driver pin.

By default, pin 44 are default to e1 if I'm not mistaken and this may be due to clash between them. I still haven't tried to shift mosi pin to other pins yet as I am quite confused which is which. I also tried moving the sw_mosi from pin 44 to 58, the firmware kept throwing me same error regardless of the wire being plugged or not on both ends.

I am using an arduino ch340 mega 2560 burnt 12v regulator along with bigtreetech's ramps1.6+tmc2130 as well as 2004 lcd panel.

I also put 2 power source, 12v to the ramps, usb to the arduino mega so the mega able to function properly

Desperate (no replies)

$
0
0
Hi.

I'm new to the forum and 3d printing. I've had my printer a while now, probably about six months (Anycubic Prusa I3 Ultrabase Acrylic). My latest issue has got me completely stumped. My extruder and part cooling fan are coming on when i switch the printer on and stay on. I have no control of them through the slicer S3d or Gcode terminal (M107) for example. I have updated to Marlin 1.1.8, I've also tried 1.1.9 and reinstalled the original Hex file. The problem remains the same.
I've Googled, Youtubed, Facebooked and tried everything to sort this to no avail. Can someone please help.

Jim

SD card auto init after boot? (no replies)

$
0
0
Dear all,

I upgraded from Marlin 1.1.5 to 1.1.9 and so far all is great except that the SD card, provieded an SD card is inserted, does not auto initialize itself when the printer is reset or rebooted. It might be that this is due to some changes in how I had to select the display etc. as I initially had some small trouble finding the right settings (again, everything otherwise works as excepted) but is there a configurationsetting that would bring me back the former behaviour?

TIA,
Markus

Back off endstops after homing (no replies)

$
0
0
Hi,
is there a way to configure marlin to back off the endstops by about ~5mm after homing (all axis)? I'm used to repetier and it has this feature but I couldn't find it on marlin...
Thx :)

move Z - axis beyond zero without LCD (no replies)

$
0
0
hi ,


i equipped this week my P802MA (melzi board) with a BLtouch probe.
For this i have choose a pin i use normally for the LCD and buttons because there is no other pin left.

Bltouch works fine and detect everything but the problem is now , when i wanne do my offset for the z axis , i can't go beyond 0 .

I ve read and read , i also dissable the Z software endstops but no good result.

Someone a idea or clue how to solve this ??

Marlin 3d Printer Tool question.. (no replies)

$
0
0
Is anyone familiar with using the "marlin 3d printer tool" ?
in the marlin tool, when i go to do the Z-Maintenance, it shows my maximum Z travel as 300mm, when i believe on the tevo tornado, it should be 400. it does not let you change that value on this screen.
any ideas ?
thanks,
kevin rea

Duet Wifi over extrusion on later change with Slic3r (no replies)

$
0
0
Hi all

I recently upgraded to a Duet Wifi board for my core xy printer. I’m running Slic3r 1.2.9 and firmware 1.19 on the duet. At a later change the printer does a large retract followed by an over extrusion where it leaves a large blob (large enough to bury the nozzle). In the config.g file I’ve tried using M83 and M207 to define the retraction. In Slic3er retraction is set at 3mm. I’ve also tried turning it off by setting it to 0mm. This seems to have no impact. Irrespective of the settings in the gcode or in the firmware I get the same printing fault. However, if I switch to Cura I no longer get this fault? I use Slic3er on my A8 printer with a MKS. Board without any problems. What am I missing?

Below is my config.g file

; Configuration file for Duet WiFi (firmware version 1.17 to 1.19)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sun Sep 09 2018 15:42:06 GMT-0600 (Central Standard Time)

; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves

M667 S1 ; Select CoreXY mode

; Network
M550 PEvo 500x500 ; Set machine name
M552 S1 ; Enable network
;M587 S"Guest" P"password" ; Configure access point.
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet
;M553 P192.168.100.146

; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z400 E432 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y480 Z250 E250 ; Set accelerations (mm/s^2)
M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout

; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X490 Y490 Z500 S0 ; Set axis maxima

; Endstops
M574 X1 Y1 Z2 S1 ; Set active low endstops


; Z-Probe
M558 P1 I0 R2 H2.0 F300 X0 Y0 Z0 ; Set Z probe type to modulated, the axes for which it is used and the dive height + speeds
G31 X0 Y0 Z0.00 P710 ; Set Z probe trigger value, offset and trigger height
M557 X25:495 Y25:495 S50 ; Define mesh grid

; Heaters
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C

; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S0.5 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

; Tools
M563 P0 D0 H1 ; 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 configured

M207 S4.0 F4000 Z0.0 ; set retraction

xy offsets (5 replies)

$
0
0
Marlin 1.1.8

My home is 15mm from edge of bed on x and 8mm from bed on the y
Is there an offset in Marlin for this so when I do mesh bed leveling manually it's above my workarea

230v heatbed protection (no replies)

$
0
0
Hello everyone.

My printer is equipped with 230v silicon heatbed and I want to make an additiona protection in case of SSR fails
I mean is it possible to add an extra code for switch power OFF when heatbed will exceed 150C
of course I have activated POWER_SUPPLY and additional circuit with relay for switching the printer on and off using M80 and M81
eg.

If heatbed_temperature >= 150
then PS_power_OFF

Thanks a lot for reply

Manual mesh bed leveling issue? (1 reply)

$
0
0
Hi!
Using an Ender 3 with a warped bed, so I got the TH3D firmware to get mesh bed leveling.

I first do corner leveling, test print, repeat until good.
Then I do 5x5 mesh level procedure, store the data, check with M420 V1.
Enable bed leveling form the LCD.
Start corner leveling and my corners are off (I don't touch the adjustment knobs)?
Disable bed leveling.
Enter corner leveling, my corners are level again?

With bed leveling my nozzle gets to high and all prints fail.

I've redone the the procedure multiple times, with the same results.
I check the completed mesh after every run and I get the same geometry every time.

I guess I'm doing something wrong, but have no clue what.

STEPS_per_unit (no replies)

$
0
0
Hello fellows,


my ,machine uses leadscrew driven system (1cm diameter of leadscrew). I was working with RAMPS + Repetier + 1/32 microsteping and i have set STEPS_PER_UNIT to 4266 according to calculator. Everything was working perfect.

Now have changed the board with Rambo + Marlin (1/16 microsteping).
I have set STEPS_PER_UNIT to 2133 but motors don't work fine. they are flickering. Just for test i downgrade STEPS_PER_UNIT to 213 and the work like a charm with the exception that everything is downsized by 10.

I thing marlin does not support STEPS_PER_UNIT values that high (2133). Is there any factor that i missed ? Any suggestions ?

All motors are the same. Nema 17 1.8deg 2.5 amps (231 motor current)

Thanks in advance.

reprap full graphic controller flickers/ lags when in SD menu (no replies)

$
0
0
I've just "upgraded" my prusa i3 clone from a reprap smart controller to a reprap full graphic smart controller.
It seems to work ok (after I've reversed the ribbon cables) but when i select the "print from SD" menu on the lcd it flickers and lags when I scrolls through the print files on the SD. what can be the problem(s)? and how can i (hopefully) fix it?

- the resaon why I've "upgraded" to a full graphic controller is (obviously) that I want to change bootscreens etc...

PS. I'm using a MKS Gen board

How do I know which line of Gcode my printer is currently executing? (2 replies)

$
0
0
Hi All,

I'm writing a custom print host in Python using PySerial, very similar to Printcore but with some added features.

Currently, I'm sending line-by-line as I receive the 'ok' back from the board which is pretty much instant.

I therefore understand that the lines are getting buffered in the board waiting to be executed.

However, from my python code I need to know which line is currently being executed, how can I do so?

A workaround could be to send a 'M114' but this just gives me coordinates and not line number.

Can someone clarify?

Thanks,
Charles

TMC2130 Sensorless homing with Marlin 1.1.9 and MKS gen 1.4 (no replies)

$
0
0
Hi.

I tried to use sensorless homing with tmc2130 via stallguard.

So I prepare coreXY frame, 3 X TMC2130, MKS gen 1.4

In the end, X axis and Y axis 's sensorless homing Successfully

But Z axis isn't working.

If I start Z axis homing, just go backward likes he already in touched endstop



I sent M122 for checking driver's status

[attachment 107533 stallguardonwithnoloadmotor.png]

All setting(likes current, motor's model) was same and even it have any load for it

In conclusion, X axis Y axis worked, but Z isn't, stallguard always on with no motor load,

Thanks in advance

Trigorilla RAMPS1.3 with LCD and Dual Z-Motor and TMC2130 (no replies)

$
0
0
Goodday,

For the last few days I am busy to get my Anycubic printer to work with the TMC-2130 drivers
I downloaded the Marlin firmware version 1.1.9.
I made the SPI wiring and started with enable the X-axis, I placed the driver board after the modification from the two solder bridges and removing the 0-ohm resistor and powered on the printer.
After compiling with Arduino no error messages appear and could upload it in the printer, after restart from the printer the motor did not work, although M122 give X800.
I tried other options in the software but no result, after long time working on it I replaced the driver board which as result it started to work.

I added the Y-driver board which also started to work.
After placing the Z-motor driver boards I got first on the printer driver error printer halted, please reset.
I modified the software and tested all driver board on the X-Axis, which give me that all boards are well functioned and the error got away

Again I start to place all boards for X, Y and Z and E1 for the big challenge was to get the two Z-Motors to work,
after enable #define Z_DRIVER_TYPE TMC2130 and #define E1_DRIVER_TYPE TMC2130, give me that the left motor is working and the right motor is standing still with no power on it (I can turn the leadscrew with my fingers).
When removing the right motor driver and replace it for a the A4988 driver both axis move but the A4988 rotate reversed of the direction from the left motor
I think software prevent the working of the TMC2130 for the right motor

#define Z_DUAL_STEPPER_DRIVERS in configuration_adv.h is enabled

#define X_DRIVER_TYPE TMC2130
#define Y_DRIVER_TYPE TMC2130
#define Z_DRIVER_TYPE TMC2130
#define E1_DRIVER_TYPE TMC2130

In pins_RAMPS.h there are only 4 positions to address CS from the driver boards, but there are 5 needed to address all boards, on the hardware side pin 4, 5, 6, 11 and 12 are open.
Maybe it is possible to make parallel line from the Z-Driver SPI connector to the E1 SPI connector, to address both

After use the TMC2130 on the extrude motor with CS_pin 11 defined, this motor works but as noticed with all TMC2130 rotating directions, reversed from the A4988 drivers modules
In the configuration.h file I can't reverse the extrude motor, maybe this still can be done

I found that at least two fans are not working: Fan for cooling the driver boards and the fan too cool the extruder, the fan for cooling the part when printing I could not test
I compiled all again with using the board_trigorilla_14 which give me the errors as seen in the text file.

I will update this post after changes in the software, thanks

Errors on fresh install 1.1.9 (no replies)

$
0
0
Hello all, I am attempting to re-flash my new flsun printer( going to cyclops extruder, but that's not the issue). When I download Marlin 1.1.9 and try to compile I receive a ton of errors before even modifying the code. Attached is a picture most of the errors. If I use an older version of Marlin I have no issues but my board is not listed in boards.h . MKS Gen_L V1.0 . I have been able to update and modify older versions for older printers and have never encountered this before. If anyone would be so kind as to point me in the right direction or tell me what simple step I missed(probably this) I would be very grateful.
Viewing all 2831 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>