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

UART connection not working (no replies)

$
0
0
UART seems not to work with TMC2208 / 9, M122 command always returns "BadConnection" error. I have read that many, especially for the first experiences, encounter this error. I have carried out several serial tests, all with satisfactory results, except for the M122 one, which should verify that everything has been done correctly.

My tests

printer: LK4 pro;
mainboard: LGT_KIT_V1.0 based on RAMPS;
IC: atmega2560
Marlin: 2.0.7 readjusted for my model, source [https://github.com/mrv96/Alfawise-U30-Pro-Longer-LK4-Pro-Marlin-2-Stock-Mainboardreste(url)
drivers: TMC2208 / TMC2209, both with 1k internal resistance, this excludes any error related to
self-made UART / PDN adapters, so I only use 2 simple jumper cables without any modification;
serial type: both hardware and software

* tested the serial connection for the 2 drives using the script [https://learn.watterott.com/silentstepstick/configurator//2009(url) and a FTDI, working;
* tested the serial connector of the board, both software and hardware, by means of 2 serial monitors per board <---> FTDI, successful in both directions
* tested several free pins, including those of Serial3 (14,15)
* for each pair of pins I also tried the opposite combination, to avoid distraction errors RX <-> RX ...
* touchscreen connected and disabled, check the files MarlinCore.cpp, stepper.cpp, trinamic.cpp, try different combinations of software settings
* tried with the original copy of the firmware with the original settings of the link mentioned above, modifying only the minimum necessary, modified 2 pins and changed the Z stepper from standalone to uart
* right now I am also trying the bugfix 2.0.x version updated today without different results
* I'm running out of other ideas ...

My settings regarding steppers
#define Z_SERIAL_TX_PIN 14 and others
#define Z_SERIAL_RX_PIN 15 and others
#define Z_DRIVER_TYPE TMC2209 / 8
#define SOFTWARE_DRIVER_ENABLE (defined not defined)
#define TMC_DEBUG
and many other possible setting combinations ...

Could you help me? Thank you.

Madness! PlatformIO is building mega2560 for my ARM processor! (no replies)

$
0
0
Wow, VSCode doing this:

> Executing task: C:\Users\user\.platformio\penv\Scripts\platformio.exe run <
Processing mega2560 (platform: atmelavr; board: megaatmega2560; framework: arduino)

When I have this STM based motherboard in my Configuration.h:

// Choose the name from boards.h that matches your setup
#ifndef MOTHERBOARD
#define MOTHERBOARD BOARD_CHITU3D_V6
#endif

I'm at my wit's end with this. Any ideas how to get it to behave?

Servo motor instead of extruder stepper motor (no replies)

$
0
0
I'm currently in the process of making a pancake printer using Marlin and RepRap. Instead of using a stepper motor for the extruder, is it possible to use a servo motor? The servo motor would rotate and open the dispensing mechanism to distribute the batter. The mechanism would then rotate back to close of the dispensing process.

BOARD_CHITU3D_V6 and LVGL_UI (no replies)

$
0
0
I got Marlin running on my Tronxy XY-2 Pro Titan printer tonight, but it seems there are two choices in platform.ini
(1) chitu_v5_gpio_init
(2) chitu_f103
However my board is BOARD_CHITU3D_V6 which is silk screened with part number CXY-V6-191017

I have reversed engineered some of the PCB so I know which MCU pins go ALL of the connectors on the board, and I found info on the internet about which MCU pins go where on the stepper driver chips because this is similar to the X5SA for which I have a schematic. In other words I have all the connector pin-outs through to the MCU.

I'm thinking that a new config may need to be created for my board in Marlin. Can someone please comment on this, and does anyone want a copy of the information which I have compiled?

Second question. When I compile Marlin then it spits the following pedantic warnings. Should I ignore them or does this indicate a problem? The printer seems to work fine.
C:\users\user\.platformio\packages\framework-arduinoststm32-maple\STM32F1\libraries\STM32ADC\src\utility\util_adc.c:10:30: warning: 'adc_result' initialized and declared 'extern'
 extern volatile unsigned int adc_result = 0;
                              ^~~~~~~~~~
C:\users\user\.platformio\packages\framework-arduinoststm32-maple\STM32F1\libraries\FreeRTOS701\utility\port.c: In function 'xPortStartScheduler':
C:\users\user\.platformio\packages\framework-arduinoststm32-maple\STM32F1\libraries\FreeRTOS701\utility\port.c:178:2: warning: implicit declaration of function 'systick_attach_callback' [-Wimplicit-function-declaration]
  systick_attach_callback(&xPortSysTickHandler);
  ^~~~~~~~~~~~~~~~~~~~~~~
At top level:
C:\users\user\.platformio\packages\framework-arduinoststm32-maple\STM32F1\libraries\FreeRTOS701\utility\port.c:285:6: warning: 'prvSetupTimerInterrupt' defined but not used [-Wunused-function]
 void prvSetupTimerInterrupt( void )
      ^~~~~~~~~~~~~~~~~~~~~~

Third question: I see there is an effort to move toward LVGL_UI libraries. I would like to try this in my build but I see this message in Configuration.h and I don't understand exactly what steps I'm supposed to perform and when.
// TFT LVGL UI                   //(dflt line not present)
// Using default MKS icons and fonts from: [git.io]  //(dflt line not present)
// Just copy the 'assets' folder from the build directory to the //(dflt line not present)
// root of your SD card, together with the compiled firmware.    //(dflt line not present)

Last question: It seems that when using LVGL_UI it becomes necessary to make some other changes in Configuration.h and Configuration_adv.h so I wonder if someone could point me to a place where this might be either discussed or documented. I'm assuming that this reprap forum is the best place to be asking these questions.

...with appreciation.

No SD icon on Full Graphic Smart Controller and no SD available:-( (3 replies)

$
0
0
I have decided to have a stand alone printer (I have a Prusa i3 clone, aluminium frame, ramps1.2) that always worked with a pc connected.
I have bought the Full Graphic Smart controller and updated Marlin to 2.0.x
I also enabled SDSUPPORT
and of course enabled the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
The controller works, displays temperature, time etc.
BUT no SD icon is available (as other pictures retrieved on internet and attached to this post) and SD is not working.
Several SD card, formatted in fat32 with gcodes in them but "NO MEDIA" is displayed in the menu.
Can you help?
thanks, Gaetano

Marlin 2.x & PlatformIO erste Schritte, hat mein flash geklappt? (no replies)

$
0
0
Hallo zusammen,

da mein aktueller Drucker mit einem 8 Bit MKS GEN V1.4 leider mit Board defekt ausgefallen ist habe ich mir ein 32 Bit MKS SGEN_L V2.0 geholt. Ich bin gerade dabei mir einen zweiten drucker als CoreXY zu bauen und wollte mit diesem Schritt dann beide Drucker mit dem gleichen Board aufbauen.

Nun ist Marlin 2.0 und PlatformIO komplett neu fuer mich. Bis Dato hab ich mein 8 Bit Board mit Arduino und Marlin 1.1 ohne Probleme flashen koennen.

Mein neues Set up:
Markerbase MKS SGEN_L V2.0
Markerbase MKS LCD12864B V1.0

Aktuelle Situation:
Dank vieler Stunden lesen und Youtube und mit PlatformIO warm werden denke ich, dass ich erfolgreich mit der SD-Karte geflshat habe. Aber eben nur denke, denn vom Display gehen nur Hintergrundbeleuchtung, der Summer und der Resettaster (SD Kartenslot noch nicht getestet). Es wird aber nichts angezeigt.
Ich habe aktuell keine externe Spannungsversorgung an dem Board sonder habe es via USB am Rechner angeschlossen.

Warum glaube ich der flash hat geklappt:
Jetzt wird nach Neustart des Boardes mit der Firmware.bin auf der SD Karte die Datei Firmware.bin in eine Firmware Cursor umgewadelt.
Ich sehe die SD Karte wenn sie im Board steckt als USB Laufwerk im Windows Explorer. Kann sogar durch das USB Kabel auf der Karte im Board steckend schreiben und lesend zugreifen.

Was habe ich in der Firmware angepasst:
Aktuelle 2.0 Bugfix Version von Heute aus GitHub gezogen.
In der PlatformIO.ini default_envs = LPC1769 gesetzt.
In der Configuration.h #define MKS_LCD12864 einbedatet.
Kompeliert.

Mein Ziel war es erst mal mit dem Setup klar zu kommen, deshlab auch nur diese beiden einfachen Aenderungen in der Firmware. Ich dachte damit sollte ich schon mal den Startbilschirm von Marlin bekommen.

Ist mir der flash gelungen? Oder hab ich noch woanders auf dem Board oder im Doing eine Baustelle, das ggf. der Bootloader fehlt oder ich noch ein Paar mehr Studen lesen sollte :)?
Wenn der flash geklappt hat dann kann ich versuchen das Display ans laufen zu bekommen, pinning etc checken, aber vorher macht das noch keinen Sinn.

Danke fuer eure Hilfe!!

VG
Jochen

Cannot use the same TX pin for both Z steppers (TMC2208 UART) (no replies)

$
0
0
Hello everybody.

I am currently running an old Marlin 2.0.x-bugfix version on my heavily modded 8-bit Anycubic i3 Mega with TMC2208s in UART mode. With my current setup, the two Z steppers both share a TX pin! This was not a problem at all with the bugfix version and would compile just fine. The two steppers are also working just fine being connected to the same TX pin, there are no problems whatsoever.

Today I decided to finally update the firmware to 2.0.7.2. This is where I am facing a problem when compiling. I get the following error:

"static assertion failed: Z2_SLAVE_ADDRESS conflicts with another driver using the same Z2_SERIAL_RX_PIN or Z2_SERIAL_TX_PIN"

So quite obviously, assigning one TX pin to both Z steppers is no longer allowed, which is a shame! I'd be very thankful if somebody could help me out here and let me know what I need to change to restore functionality. Thanks a lot everyone!

Marlin 2.0 Fan PWM frequency too low (2 replies)

$
0
0
Hello everybody,

I changed the cooling system (hotend+part cooling) on my Ender 3 Pro, and in this process I also changed the stock fans with some Sunon MF40202VX-1000U-A99, 40x40x20 fans.
I am now facing the current problem: the part cooling fans don't run unless the PWM is higher than 248/252 (stock firmware).

I flashed Marlin 2.0.7.2 on the board (Creality3D v1.1.4), but the problem still persists (for PWM lower than 98% the fans don't run). I then checked the pin on the controller which controls the cooling fans and saw it's OC0B, so the PWM is controlled by Timer0 of the ATmega1284PU.
I measured the frequency at 976.6Hz on my osciloscope. Increasing the PWM to the level at which the fans start rotating showed me that the fans have some sort of under voltage lock-out, and if the "off" time of the PWM is longer than 20us then the fans will not start / will turn off. This would have been ok since Timer0 could achieve a PWM period under 20us with the correct configuration.

I then started searching through the Marlin source code and found out that Timer0 also controls the temperature PID controller and other SW algorithms, so changing the timer frequency is not permitted. I then thought that I can move all the SW control functions to Timer2 and leave Timer0 only for the PWM output and set a frequency of 62.5kHz.
My actual problem is that the Timer configuration registers are adressed from multiple files in the Marlin firmware (I found until now timer.h and temperature.cpp that adress the registers directly). I don't know where to look in the software for the required changes because of the abstractized approach.

Has someone had this issue, or is there someone with more experience with the Marlin source code who can guide me to where/what should I change in the source code?

P.S.: I can confirm that the low PWM frequency is the issue. I have tested he Sunon fans on a PCB I designed, which used 31.25kHz for PWM-ing a motor. On that PCB I can adjust the speed of the fans without any problems.

Thermocouple hotend sensor question (no replies)

$
0
0
Is there an existing configuration of Marlin which would support two thermocouples with Adafruit AD8595 conditioners?

The output from these is 5mv/°C with a -1.25V offset.

Mike

Marlin 2.0 Error:checksum mismatch, Last Line: 38 (2 replies)

$
0
0
Hello experts

I used marlin 2.0 on my anycubic i3 mega since nearly 2 month.

Now i have a problem.

At my last prints i got sometimes a error.

Situation: The printer work for a few minutes and suddenly stopps. The Noozle didn't move in any ways. The extruder did nothing and the temperature still works.(Bed and Hotend). I only can press "restart" on the LCD. All other buttons doesn't work. But it was really mysterious...... I print a file and it works. After the job was finish, i choosed the SAME file again and suddenly the printer stopped after a few minutes.

I connect it with my PC and try it again. In the Terminal of the Repetier-Software i got this error:
Error:checksum mismatch, Last Line: 38
I checked the Thermistor of the bed. i fixed new cabels and checkted it again. it looks really good! so i don't believe to a broken wire.

So i clear my start code. Nothing happens....
My last idea was, to reinstall Cura again and don't use any backups. So i configured all settings new. Now the printer works.(it was for 1 week)

Yesterday i print a new gcode file(2hours), no problem.
I do it again and i got the error....

My startcode:
G28; Fahr zum Nullpunkt
M501
M420 S1
G92 E0; Setze den Extruder auf Null
G1 X5 Y5 Z0.28 F5000.0; Fahre an die Startposition X5 Y5 Z0.28
G1 X200 Y5 Z0.28 F1500.0 E15; Ziehe eine Linie nach X200
G92 E0; Setze den Extruder auf Null

My endcode
M104 S0 ; turn off extruder
M140 S0 ; turn off bed
M84 ; disable motors
M107
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 ;X-20 Y-20 F100 ;move Z up a bit and retract filament even more
G28 X0 ;Y0 ;move X/Y to min endstops, so the head is out of the way
G1 Y180 F2000
M84 ;steppers off
G90
;The-Final-
M300 S0 PNaN
M300 S2349 P63
M300 S0 P63
M300 S2217 P63
M300 S0 P63
M300 S2349 P63
M300 S0 P190
M300 S2217 P63
M300 S0 P190
M300 S987 P762
M300 S0 P508
M300 S2349 P63
M300 S0 P63
M300 S2217 P63
M300 S0 P63
M300 S2349 P508
M300 S1479 P508
M300 S0 P762
M300 S987 P63
M300 S0 P63
M300 S880 P63
M300 S0 P63
M300 S987 P63
M300 S880 P63
M300 S0 P190
M300 S1661 P63
M300 S0 P190
M300 S987 P63
M300 S880 P762
M300 S1661 P127
M300 S880 P63
M300 S0 P63
M300 S987 P762
M300 S880 P127
M300 S987 P127
M300 S2217 P254
M300 S987 P127
M300 S0 P127
M300 S880 P254
M300 S1661 P254
M300 S1479 P508
M300 S2349 P508
M300 S2217 P1016
M300 S2217 PNaN
M300 S2349 PNaN
M300 S2217 PNaN
M82 ;absolute extrusion mode
M104 S0

Before i used marlin 2.0, i worked with marlin 1.1.9

Thank you for your help.

Gadget3D Printer updating to latest Marlin (no replies)

$
0
0
Hi

I have had a Gadget3D printer for many years now but needed to change the Arduino Mega controller.

Looks like gadget3d have long since gone and therefore I can not download the firmware.

I gather (please correct me if I'm wrong) the Gadget3D is based on a Prusa i3 running Marlin.

So the heres the questions.

1) Do you think this printer would be able to take Marlin 2.x?
If no, then Marlin 1.0 or 1.1?

2) Does anyone have a configuration.h and adv files for a Gadget3D?

Many thanks

When i enable power loss my printer halted when my hotend is turned on (no replies)

$
0
0
I have A DIY CoreXY printer every thing works great but when i enable power loss with pin 44 set to low my printer wouldn't work.
If i heated bed is on it's ok but when i start printing a file or starting heating my hotend my printer halted.
I'm using version 1.1.9.1

Auto bed levelling doesn't probe the bed properly (no replies)

$
0
0
Ive built my own corexy machine with a 300 by 300 bed. It uses an inductive Z probe. all works as it should if the y limits are set so that the probe does not go past the y=255 in the probing sequence. The hot end homes to x-=0 y=0. The offset for the nozzle to probe is -45, -5, -1.7 i.e.probe to the front and left of the nozzle and I've got a 5mm margin set round the edge of the bed. The bed size is 315 by 315. as soon as the probe is configured to pass y=255, and actually tries to get past this point during the abl sequence (3X3 bi linear) i get probing error..and the probing grid fails to complete. If I set y<255 all is good and it works. If I set y>255 it fails. I am using Marlin 2.06.The printer has no problem trying to print in the zone y>255, but of course the auto levelling is not calibrated there properly.

Any body got any ideas? regards JH

úprava FW Marlin na přání (no replies)

$
0
0
Zdravím,
hledám programátora - nadšence, který by dokázal upravit FW Marlin
Mám projekt na kterém pracuji - 4x extruder na IDEXu.

Díky.

Petr

Problem with M226 and full graphic smart controller (no replies)

$
0
0
Hello,

i have a custom application with a ramps1.4 running marlin and it works all fine.
But when i want to use the M226 command for the Pressbutton Pin on my smart controller it keeps it set, even when i reset the Pin State with M42. This issue results in the Display cycling between Menu and the Info screen.
I need to use M226 and not M0 because i wanna use Octoprint for the application.

Does anyone have an idea on how to fix this issue?

"Pause" causes printer to get totally lost on "continue" (no replies)

$
0
0
If I pause my printer, it executes the pause script, which is to go to park position. When I tell it to continue it is totally lost, bangs the stops and eventually does continue, but obviously not in the correct place.

I have no idea even where to start to look. It has had this problem for a long time and thru many versions of Marlin. I never tried to figure it out because I never had a reason to use pause. Today my filament broke so I tried to pause it and replace the filament.

I am using Repetier Host and Prusa slicer both up to current releases.. Marlin was updated in june to the then current 2.0.x bugfix. Maybe someone can give me a hint where to start looking.

Kompiliere STM32F407ZGT6 Marlin 2.0.7.2 SKR Pro v1.2 VSCode platformio(Atom) Fehler (no replies)

$
0
0
Moin,

ich bin da an einen CubeX Duo gekommen.
Den würde ich nun gern open source umgestalten.
Ich hab mich mit wenig Hintergrund Wissen wegen dem Youtuber
Philipps 3D Druck für das SKR Pro Board v1.2 entschieden. [www.youtube.com]

Ich habe nun 3 verschiedene Firmware Versionen organisiert:
Einmal die aktuelle 32bit Marlin Version: 2.0.7.2
Einmal von Thingiverse eine angepasste Version für den CubeX. Die Marlin Version ist nicht 32bit kompatibel, hier wollte ich nur Werte aus der configuration.h entnehmen.
Bigtree'th bietet ebenfalls eine Firmware Version zum Download von Marlin an.

Weil, schon installiert, hatte ich es erst mit Atom & Platformio probiert.
Im Grunde mit ähnlichem Misserfolg.
Nach Recherche habe ich zusätzlich VS Code mit Platformio installiert.

Dann habe ich leider alles deinstalliert.
VSCode mit Platformio jungfräulich installiert.

Die Firmware Version von Bigtree kann ich nicht Komplilieren, weil keine platformio.ini vorhanden ist.

Das Fehlerbild der Marlin 2.0.7.2 ist folgendes:

Terminal:
> Executing task: C:\Users\Erazer\.platformio\penv\Scripts\platformio.exe run <

Error: Unknown environment names 'STM32F407ZGT'. Valid names are 'chitu_f103, STM32F103RC, MightyBoard1280, melzi_optimized, STM32F103VE_longer, FLYF407ZG, mks_robin_pro, melzi, teensy31, linux_native, mega1280, STM32F103RC_fysetc, mks_robin_mini, include_tree, FLY_MINI, STM32F7, at90usb1286_cdc, SAMD51_grandcentral_m4, STM32F4, at90usb1286_dfu, STM32F103RC_btt_512K, sanguino644p, STM32F103RC_meeb, DUE_debug, LPC1769, STM32F103RET6_creality, BIGTREE_GTR_V1_0, STM32F070RB_malyan, DUE, mks_robin_nano35, DUE_USB, mks_robin_e3, FYSETC_S6, LERDGEK, mks_robin_lite, BIGTREE_BTT002, trigorilla_pro, LPC1768, STM32F103RC_btt_512K_USB, mega2560ext, teensy35, STM32F103RE, jgaurora_a5s_a1, BIGTREE_SKR_PRO, teensy41, FYSETC_F6_14, LERDGEX, mks_robin_stm32, chitu_v5_gpio_init, mega2560, malyan_M300, esp32, melzi_optiboot, STM32F103RC_btt_USB, mks_robin_e3p, STM32F103RE_btt, teensy36, DUE_archim, MightyBoard2560, STM32F103RC_btt, STM32F103RE_btt_USB, STM32F401VE_STEVAL, LERDGES, rumba32, mks_robin_lite3, ARMED, DUE_archim_debug, STM32F070CB_malyan, FYSETC_F6_13, mks_robin, STM32F103VE_GTM32, rambo, sanguino1284p, STM32F103CB_malyan, STM32F407VE_black, NUCLEO_F767ZI'
The terminal process "C:\Users\Erazer\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Output:
[5.11.2020, 23:23:35] Die Konfiguration mit compilerPath "C:/Users/Erazer/.platformio/packages/toolchain-atmelavr/bin/avr-gcc.exe" kann nicht aufgelöst werden. Stattdessen wird "C:\Program Files\LLVM\bin\clang.exe" verwendet.
[5.11.2020, 23:23:35] Die Konfiguration mit compilerPath "C:/Users/Erazer/.platformio/packages/toolchain-atmelavr/bin/avr-gcc.exe" kann nicht aufgelöst werden. Stattdessen wird "C:\Program Files\LLVM\bin\clang.exe" verwendet.

Problems:
{
"resource": "/e:/xM/Marlin/Configuration.h",
"owner": "C/C++",
"code": "1696",
"severity": 8,
"message": "#include-Fehler erkannt. Aktualisieren Sie Ihren includePath. Wellenlinien sind für diese Übersetzungseinheit (E:\\xM\\Marlin\\src\\core\\serial.cpp) deaktiviert.",
"source": "C/C++",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1
}{
"resource": "/e:/xM/Marlin/Configuration.h",
"owner": "C/C++",
"code": "1696",
"severity": 8,
"message": "#include-Fehler erkannt. Aktualisieren Sie Ihren includePath. Wellenlinien sind für diese Übersetzungseinheit (E:\\xM\\Marlin\\src\\core\\serial.cpp) deaktiviert.",
"source": "C/C++",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1
}{
"resource": "/e:/xM/.vscode/c_cpp_properties.json",
"owner": "e:\\xM",
"severity": 4,
"message": "\"C:\\Users\\Erazer\\.platformio\\packages\\framework-arduino-avr\\libraries\\SoftwareSerial\\src\" wurde nicht gefunden.",
"startLineNumber": 10,
"startColumn": 17,
"endLineNumber": 10,
"endColumn": 106
}

Den Prozessor STM32F407ZGT6 und das Board habe ich in der .ini und Confiruration.h angepasst.

Wie aktualisieren ich includePath?

H I L F E !

Issue with homing on Marlin 2.0.7.2 ( ok with 1.1.9 ) (no replies)

$
0
0
Hi guys,

This is my first post here.
Please help to understand the following issue.
I have RigidBot 3D Printer ( Cartesian, 250x250x250, single extruder, no probes )
Successfully configured and installed Marlin 1.1.9 on it
Decided to go with Marlin 2.0.X
Well it did not go as smooth as I wanted to be:
I'm skipping all marazm with getting it compiled ( virtual studio + platformio + marlinauto + and so on )

Straight to the problem:
When I use 1.1.9 all my stepper direction is fine ( homing and linear moves )
When ported all the same setting to Marlin 2.0.7.2 based firmware homing direction is reversed but manual travel direction is fine ( G1 X Y Z is fine too )
I was bashing my head and cannot wrap my brain around what is going on, It just suppose to work. I did not change stepper wiring in any way. I can flash 1.1.9 back and it work as a charm.

What Am I missing ?
I included 2 config files ( 1.1.9 based and 2.0.7.2 based )
May be you can spot the problem?
Thank you

Please tell me the recommended operation with ABL (Bilinear) Dual Z & BL Touch (no replies)

$
0
0
I have a dual Z & dual end stop(micro switch) printer.
Now the Z home position is determined by the end stop.
The Z-home is located slightly below the surface of the build plate.
It is about 0.5 mm.

I installed BLTouch this time.
ABL (Bilinear) seems to be working properly.
The height of the trigger-point and the tip of the nozzle are different by 0.8mm.

I'm using Marlin 2.0.7.2.
NOZZLE_TO_PROBE_OFFSET {X, Y, Z}
Z is compiling with 0.


What is the recommended G-CODE operation at the start of printing?
I think there are two ways.

Please tell me if there is a better way
Please let me know if the command order and usage are different

Plan A
Preparation (execute only once)
G28
G29
M851 Z-0.8
M500
Power OFF / ON

PRINT G-CODE (execute every time printing)
G28
M206 Z-0.5
M420 S1
print-code



Plan B
Preparation (execute only once)
M851 Z-0.8
M500
PowerOFF/ON

PRINT G-CODE (execute every time printing)
G28
G29
M206 Z-0.5
M420 S1
print-code

Not moving below Z0 when Mesh Bed Leveling is used (2 replies)

$
0
0
I use the latest Marlin bugfix 2.0.x. With version 2.0.1 mesh bed leveling (MBL) worked without problems.

But now I have to disable the software end stops with M211 S0 and I did the MBL without problems. Then I sent M211 S1 to enable software endstops.

Have I to put M211 S0 in my START Gcode script in slicer in order MBL to work when printing and to be able the nozzle to go a negative Z in first layer ?
Viewing all 2831 articles
Browse latest View live


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