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

How to use M117 to show message during bed leveling manual Gcode for Ender 3

$
0
0
Hello
I have a Creality Ender 3, I used Repetiere-Host to write a G code that help me to leveling the bed.
In particular The G code command improved, is NOT G42 Mesh based. I use G0 because of I prefer to level the 4 corner, then leveling the bed's center.
Why, when I place the stop feature: "M0 S60 next corner" On the display appear only: "waiting for user"?
I tried to place in the pause g code the M117 Next corner but It doesn't work.
Can you help me?

Thank you

Re: Sending Message to LCD screen

$
0
0
Quote
Roberts_Clif
Marlin's G-Codes

[marlinfw.org]

Hello
I think there are at least two matters: When you place the strings in M117, but you are running G0 and M0, the M117 doesn't work. Is there any way to put message when you use G0 and M0?

Marlin Log Printing Data on SD Card

$
0
0
I need to record the nozzle temperatures and some other parameters while printing. I am currently using the M28 command to open a log.txt file on the SD card and M29 and write it. However, the file only contains automatic periodic calls to M105, but no actual data. I am wondering if I am not doing this correctly. Could someone please show me some examples of how to log printing data and save to SD card? Thanks!

Re: Marlin 1.1.9 - SD Card not working after update

$
0
0
Hi!

The SDCard slot stopped working after I flashed the firmware to Marlin 1.1.9 and _before_ I even connected the BL Touch. Now it is connected, tho, according to the readme in "~\Marlin-1.1.x\Marlin\example_configurations\Geeetech\Prusa i3 Pro B":

Quote
readme.md
Unlike suggested in geeetech.com/wiki/index.php/3DTouch_Auto_Leveling_Sensor, the existing end stop switch is expected to be kept connected to Z_MIN. So, the sensor is to be connected to Z_MAX, according to Marlin's default settings. Furthermore, GT2560-A+ provides a connector for the servo next to thermistor connectors (see GT2560 and GT2560-A+).

All the changes are mechanical of nature (Z-axis bearings and the likes) and there are no modifications on the mainboard. I had an additional fan connected but removed that to install the BLTouch.

For Marlin, I just rememberd I probably enabled "#define XY_SKEW_FACTOR 0.0" as per instructions in the readme.md file... but since I'm now supposed to print a calibration square I assume that should not disable the SDCard slot.

Edit:
I just remember someone once mentioned to me that compiling and uploading from the latest Arduino IDE does not really work even tho not throwing errors; Should I probably use an older Arduino IDE like 1.0.1?

Edit2:
Nevermind, Marlin 1.1.9 requires way newer IDE and cpp :)

Edit3:
Partial success! I've connected with repetier host and sent "M21" and voilá, content of the card is shown and I can now print from it. So it appears that only the "auto init" of the SDCard is not done when the printer is turned on. Anyone a clue how to get the SDCard init to work at boot again? :)

Trouble with Marlin 1.1.9 using Manual Bed Leveling

$
0
0
Hi!

I just installed Marlin 1.1.9 onto my Geeetech I3 Pro B the other day, because i was particularly curious about the manual bed leveling feature, which, as i understand it, lets me level the bed without a probe, using paper and 9 points on the bed. I've had quite the trouble leveling me bed becuase it seems to not be completely even.

So i downloaded the Marlin firmware and replaced the Configuration.h file with the one matching my Geeetech model found inside the example_configurations folder. Then i went into the Configuration.h file through the Arduino IDE, and changed my bed size as mine is a little smaller than the provided amounts and enabled MESH_BED_LEVELING and LCD_BED_LEVELING .. After uploading this to my printer i could begin the manual bed leveling which was now available through the menus. This seemed to work fine and after i was done i selected the Store settings menu option. However if I try to begin printing right after, it seems that the values created from bed leveling is not used at all, as the Z axis is not moving at all between layers when using a test print that covers the whole bed.

Is there something I'm missing?

Re: Trouble with Marlin 1.1.9 using Manual Bed Leveling

$
0
0
I suggest you tu install MK4DUO 4.3.6 on your geeetech i3 pro B. I've got it, and the manually bed level work grate thanks to MagoKimbra. Your matter is to abiility the EEPROM settings winth M502 in Repetier host, and save the Mesh points.

Re: Marlin Log Printing Data on SD Card

$
0
0
There is no way to log data to the sd, its not designed for that

M28 is designed for you to upload gcode to the sd card on the machine, it doesn't run the gcode at that time.

Re: How to use M117 to show message during bed leveling manual Gcode for Ender 3

$
0
0
Pause is funnily enough a blocking command. No other command are processed until the time has elapsed or the button is pressed. This is what is is designed to do....

H-Bot questions for new printer

$
0
0
Hi All, part way through designing and building a new H-Bot style printer (less complicated belt(s) than CoreXY) and going to use Marlin, of course. I have the frame set up, coner mounts fro motors and idlers and X-Y axis moving by hand.

Question 1:
Just thinking about mounting the X and Y Home-end-stops at the same corner of the frame (fewer moving wires) and always have Marlin Home the Y first, then the X.

My A6 always Raises Z a little, Homes X, Homes Y and finally Homes Z. All very nice and orderly. I'd like,
Lower Z a little.
Home Y
Home X
Home Z
Is this something I can easily configure? How and roughly where, in configuration.h?

Question 2:
I can't seem to find anything directly related to wiring up and configuring for the H-Bot. Marlin has several options for CoreXY and I have read that I am to use the CoreXY settings.

//#define COREXY
//#define COREXZ
//#define COREYZ
//#define COREYX
//#define COREZX
//#define COREZY

But, that doesn't seem to ring true as the H-Bot, I think has different motor motions to achieve the head positioning. Can someone either explain what I need to do with Marlin Settings and wiring, or, point me at some pages that describe the settings for H-Bot in greater detail.

Thanks.

Extruder acting weird on Anycubic Delta with 1.1.9 Marlin

$
0
0
Hello everyone,

I have a very weird behaviour of my extruder on my Anycubic Kossel Delta Printer. It started probably 2 weeks ago when printing a case for an arduino. There were two cylinders for buttons, the right one was printed normally, on the left one my printhead just stopped on a specific XY-Point every layer and extruded filament for, like, 300 milliseconds. I thougt that probably the model had an issue as this was the only part of the print where this happend and I didnt thought about that.

Yesterday I started printing something which has a lot of round parts, and now, I get this behaviour all the time on different parts of the print. Because of all this unwanted extrusion and as the printhead stops for a split second, it melts the plastic which is already there and adds a big blog which results in a very bad print. As the new object is mostly round, also the brim I print on the first layer is mostly round. Here, I get underextrusion (check image below). What is extra weird is, that on objects wich have a rectangular shape, the first layer has NO underextrusion… (check same image)

I also tried to use some G-Code which is about 5 months old, to check if the gcode is wrong and my slicer (Cura) is the issue, but no, I get the same behaviour of printhead stopping for 300 ms and extruding material here, too. When I printed this gcode in the past, everything was fine.





So, what did I do to try to resolve the problem (Hint: nothing worked so far):

• Rebooted the printer..
• Printed different objects to make sure it is not that specific object
• Printed old G-Code to check if my slicer is the problem
• Reflashed the Firmware (Marlin 1.1.9)
• Reflashed a backup of my Firmware (I change some stuff from time to time) from about 2 1/2 weeks ago.
• Restored Failsave on my printer to make sure no wrong setting is stored in the eeprom
• Compared every line i changed from the stock 1.1.9 Firmware to find something weird
• Did an M111 S247 and watched the debug output live in the console, slowed down the printer until the debug output came in in realtime (did not find something unnormal)

So, I am just out of ideas… Any help is appreciated.

I will add some more information here:

Printer is a Anycubic Kossel Delta Pulley (2016 Version) with Ramps 1.4 Board and A4988 drivers.

I attached some G-Code which produces the error on my side to this post

Here are Videos of the Problem, one how it looks at the printhead (issue is obtainable at 0:15 and multiple times after) [imgur.com] one how it looks on the extruder motor (obtainable at 0:25, 0:23 and 0:12 for example) [imgur.com]

Here is my Configuration.h and my Configuraion_advanced.h
[pastebin.com]
[pastebin.com]

Re: How to fix Marlin code to stop extruder's fan when I Pause the print

$
0
0
Dear MrAlvin, My mainboard is MKS GEN1.4, and my firmware is newest version.
Thanks

trouble wile compile Marlin 2 for sbase

$
0
0
I was trying to compile marlin 2 for my sbase since last night.
but I always get

Quote
Processing LPC1768 (platform: [url]https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip[/url]; board: nxp_lpc1768; framework: arduino) PackageManager: Installing framework-arduino-lpc176x @ >=0.0.2 Error: Detected unknown package 'framework-arduino-lpc176x' Board name: BOARD_MKS_SBASE Build type: build Environment used: LPC1768

It drives me crazy. I did and still do some google search but it seems I am the only one have such a "pleasure" to encounter this problem
advice is appreciated

Re: trouble wile compile Marlin 2 for sbase

$
0
0
clearly a issue with your build environment

so what are you using to build it with and on what platform?

works for me... todays bugfix 2.0, PlatformIO with Atom on ubuntu 18
motherboard set to BOARD_MKS_SBASE

PIO build (LPC1768)

Re: trouble wile compile Marlin 2 for sbase

$
0
0
I am also using PlatformIO with Atom, but on Windows 10 and MacOS, both with no success:(
I am uninstall everything and give it another go.

update: it seems my pfsense blocks something.

Confuguring Marlin for Tronxy X8 board

$
0
0
I have been trying to get a new version of Marlin on to my Tronxy X8, which uses an ATmega 1284P chip, on a ramps 1.4 style board. However, I am not sure what board profile to use in configuration.h file as the ramps 1.4 only allows ATmega 2560 or ATmega 1280 when building. I have installed the board profile on the arduino IDE, but it doesn't allow to compile for that. Anyone able to help?

Re: Confuguring Marlin for Tronxy X8 board

$
0
0
It appears that there are a number of boards that support ATmega 1284P chip
This is in Github for Tron X8
[github.com]

#define MOTHERBOARD BOARD_SANGUINOLOLU_12

OR here is a list more controllers

[github.com]

Z motors repeatedly interrupted

$
0
0
Hi

I have a pretty odd problem. I have an elderly Mendel fitted with RAMPS 1.4 which has been out of use for a while, so I decided to give it a clean up and get it going again. As part of this I decided to upgrade the Marlin firmware, Slic3r, Pronterface etc.

Now the printer basically works - except for this issue affecting the Z motors*. Basically I can connect, move XYZ no problem but shortly after homing the Z motors begin to "tick" every second or so... it feels like they are being de-energised for short pulses. If I move the Z axis it repeatedly pauses, sometimes it squeals when it tries to restart.

The X & Y axis don't suffer - in fact they are quite happy moving while the Z axis is stuttering away.

I've used v1.1 and the latest bugfix. The old v1.0 is OK though.

Any ideas? I can put the old version back, although I'd like to update it if possible.

* Dual motors, but in parallel with a single driver. Also I don't have auto leveling enabled FWIW.

Re: SD init fail.....make me crazy:X 2560 rev b.

$
0
0
I've try to change the flat cable fcc 40pin....but nothing (td)

How can I configure marlin to work between RAMPS and Raspi 3 B by I2C?

$
0
0
Hi,

I've tried to understand the serial port of Marlin, but I didn't find any details about I2C settings in this forum, marlin's documentation and marlin's github. I know that the SERIAL_PORT 0 is to communication through bootloader of Arduino by USB serial. I'm looking for I2C communication directely between RAMPS 1.5 and Raspi. My Arduino is connected with RAMPS 1.5. My goal is the raspi send Gcodes to arduino (marlin). How can I do this? Is it possible?

Regards.



Additional Information
  • RAMPS 1.5
  • Arduino MEGA 2560
  • Raspiberry Pi 3 Model B
  • Marlin 1.1.9

Two-Motor Multi-Material Printing... How to implement in Firmware?

$
0
0
[attachment 107835 poster.png]
Hey Guys,

I'm trying to do something that I don't think has been done before. Okay... its an adaptation of MMU.V2. But I don't think it would be very hard... at least for someone with just a little more experience. Pretty much I'm hoping to crowd-source the solution to this problem.

I want to try and create a multi-colour extruder that will print up to 5 (possibly more) different colours, with one nozzle, and two motors(Single Board). This should drastically reduce the cost to implement the solution. This means no extra boards, no extra cables, only one motor, and then some hardware and some printing.

The concept is based off the two images in my poster. Their "Widgets/Parts" can be found on Thingiverse at the following locations:
https://www.thingiverse.com/thing:2867089 - 2-3-4 way Splitter (doesn't have to be this one... it is just representative)
https://www.thingiverse.com/thing:3123202 - Multi-Extruder

I am pretty confident that I can work out the design files to be able to modify the Y Splitter for more (I'm looking for 5) and engineer it so that the Teflon tubes work well (I would also like to see if I can add a filament sensor). As well as verifying the extruder design for what we are trying to achieve. The problem that I have found, at least I expect that it is a problem, the second motor is not extruding, and thus only gets triggered on a change filament command, but then it uses the same extruder once the filament is selected. I figure it wouldn't take much to implement and I can write the pseudo-pseudo code for it (I could even turn this into GCode)... But i don't know how to have this work with a slicer or firmware:

-retract current filament
-set temp and wait
-switch filament
      -move motor 2 appropriately
-purge nozzle and complete wipe tower or wall
-continue printing until next filament change

From the a post in the developers forum (i thought this would mean modifying the code), I have come to realize that a t-code with the right firmware additions in Marlin may be possible. I was advised to post here to see if someone had a solution to help.

Hopefully someone can help
Viewing all 12104 articles
Browse latest View live


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