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

Printhead and bed movements off (no replies)

$
0
0
Good evening all,
I apologize for the poor subject line. The short story is that the printer 'thinks' that the rear corner of the bed is almost in the center of the bed and all the movements it makes are about 1/3 about what they should be. Example: I move the head 50mm but it physically only moves about 2.5cm.

The long story is that it was an anet A8 that's had every component replaced (literally). I swapped over to the aluminum extrusion type frame (AM8), the rest of the guts are different, (and here's where you come in) swapped tp a RAMPS board. The idea is to run a Cyclops for soluble supports soon. So the main board is flashed and the hardware kinks worked out, BLtouch is touchin, motors are motoring, heaters heating, things look good. But...the movement thing. I'm pretty technically inclined. The firmware (Marlin 1.1.9) I've done some with. I know enough to flash things, I understand the basics and then some but wouldn't consider myself quite adept yet. Attached is my config and adv config files. So far I've basically tried to mirror the way the Anet FW looked (yeah yeah, I know....) to get it close but look how far that got me.
For a little more detail, when the nozzle is somewhere near the center of the bed the X axis reads that it's at 250 mm. Which should be at the far right (facing the printer) side of the bed.

Excuse my ignorance, I'm sure there's an obvious mistake somewhere in the firmware files. Appreciate the assist!

Thanks, AS

Help on single extruder with servo with chimera (no replies)

$
0
0
Hello..
i need some help if is possible..

I searched a lot but i don't now if is possible or search in wrong way..

I use a mks base 1.4, with a homemade printer based in a FolgerTech i3 2020.

And i want to have 1 extruder with a servo to work with a chimera and Z Dual drive because of the of dual endstop mod...

Video in this link:
dual z axis and dual z stop

If i put 2 extruder and activate Z2 in marlin appears a error that says:

Z_DUAL_STEPPER_DRIVERS requires Z2 pins (and an extra E plug)


If i use only 1 extruder :
error "TEMP_SENSOR_1 shouldn't be set with only 1 HOTEND

Is there any change of work around this?

Thanks.

B)

How to doing Custom Status Screen ? (1 reply)

$
0
0
Hello.

I seached and find;
[reprap.org]

But I could not

I activated "#define CUSTOM_STATUS_SCREEN_IMAGE"
and i create 25x25 pixel a icon(bmp)

So, [marlinfw.org] convert to bmp status screen
I created "_Statusscreen.h" file.

And load code and error;

Arduino:1.8.1 (Windows 10), Kart:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\ultralcd_impl_DOGM.h:49:0,

                 from sketch\ultralcd.cpp:96:

dogm_bitmaps.h:1185: error: 'status_screen1_bmp' was not declared in this scope

   static_assert(sizeof(status_screen1_bmp) == BMP_SIZE, "Status header (status_screen1_bmp) dimensions don't match data.");

                        ^

In file included from sketch\ultralcd_impl_DOGM.h:350:0,

                 from sketch\ultralcd.cpp:96:

sketch\status_screen_DOGM.h: In function 'void lcd_implementation_status_screen()':

status_screen_DOGM.h:246: error: 'status_screen1_bmp' was not declared in this scope

           blink && fanSpeeds[0] ? status_screen1_bmp :

                                   ^

exit status 1
'status_screen1_bmp' was not declared in this scope

C:\Program Files (x86)\Arduino\libraries\MultiLCD-master içerisinde geçersiz kütüphane bulundu: C:\Program Files (x86)\Arduino\libraries\MultiLCD-master
C:\Program Files (x86)\Arduino\libraries\MultiLCD-master içerisinde geçersiz kütüphane bulundu: C:\Program Files (x86)\Arduino\libraries\MultiLCD-master

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


[/quote]

Please help me for this.
I want to like;



Marlin tweak for printing all files in the SD card (no replies)

$
0
0
Hi everybody,

So I am working on a convoyer type XY core 3D printer that uses a Kapton covered belt ( Board: MKS Gen 1.4 based on ATmega 2560) . I need a way to modify the firmware in order to make it possible to print all the G-Codes loaded into the SD card. In other words, after finishing the read and execute process of a file (G-Code), it automatically goes to the next file and does the same until all the files are already been processed.

Thank you.

Problem tb6600 Marlin (3 replies)

$
0
0
Hi, guys I have a problem: I built my 3D printer and I used nema 23 for the X and Y axes and the drivers tb6600. The problem is that the engines seem to lose steps, I do not think the engines are to lose steps but I think they are the drivers to give problems ...
Here are the photos of some prints:

Has anyone had similar problems with these drivers?

Marlin settings for TFT? (3 replies)

$
0
0
Hi,
I are many people hooking up a tft screen to the aux1 of a ramps like board. I connected mine but it doesn't light up or function. What should I change to the firmware?

Thanks,

Hugo

Smart controller screen unreadable, Marlin setting or bad screen? (7 replies)

$
0
0
Hi,

my new screen, the famous RepRapDiscount Full Graphics Controller, is unreadable unless you check at very specific anlges:

[www.youtube.com]

Is it a setting on Marlin I can change to fix this? The potmeter on the bottom of the board doesn't seem to do anything. Please advise.

Cheers,

Hugo

Changing z offset for bltouch have no effect (no replies)

$
0
0
Hello everyone hope you are all doing great ! This is my first post on the forum (hopefully in the future I will make contributions rather then questions :P). So I have a Tevo tornado with an E3D v6, I am trying to install a blrouch on it but I am having some troubles. First I am using an endstop switch to home the z axis and not the bltouch (because it fall outside the bed once x and y are homed). Everything seems to work fine but when I tried a first print I noticed that the head of is too close to the bed and it is not able to extrude any plastic. What I did and what is happening:

1. Home all axis
2. Move the bltouch to any location above the bed.
3. G30 (bltouch probes in place)
4. G0 Z0 (head goes down but hits the bed)
5. I try using M851 Zx.xx to change the z
6. M503 to check the it did change indeed

If I repeat the above the head still bumps into the bed no matter what value the z offset is :(

Any idea what could be happening ?

Thank you :)

Difference between extruder MAXTEMP variable and temp you can set the hotend to (2 replies)

$
0
0
Just a quick question about the maxtemp variable. When this is set to a given value, when I heat up my hotend manually it can only reach a value 15 degrees below the MAXTEMP setting. I just wanted to make sure this is an intended feature in Marlin and not a bug where it's displaying the incorrect temperature or something. Looking into the documentation on the MAXTEMP variable I'm guessing it is an intended feature since it shuts down the machine after reaching MAXTEMP, which would be very impractical if you'd just set the printer to that temperature.

I've just installed an E3D Titan Aero with a V6 hotend and the documentation said to set the MAXTEMP to 285 in the marlin firmware setup guide. However, earlier on in the installation guide it says to set the extruder temperature to 285 in order to hot tighten the hotend, but with this 15 degree difference it can't reach that, hence my confusion. This 15 degree difference is something which should probably be updated on the E3D guide page, but it would also probably help if that was mentioned in the Marlin documentation on MAXTEMP values.

echo: "Unknown Command G21" (no replies)

$
0
0
RAMPS 1.4
Marline 2.0
Laser setup as a printer
Board definition: #define MOTHERBOARD BOARD_RAMPS_14_EFB

So I'm using a program called LightBurn to control the laser. LightBurn's function is to generate and send the gcode to the laser. The begging of each gcode file starts out the same. The first command issued it to put the machine into mm mode as seen below.

; LightBurn 0.8.06
; Marlin device profile, absolute coords
G21
G90
; Scan @ 1300 mm/min, 100% power
M106 S0
G0 X4.56 Y3.51 F0
G91
M106 S0
G1 X0.32 F1300
M106 S25.5
G1 X20.01

When the G21 command is issued to make sure the machine is in mm mode Marlin echo's an error: Command Unknown.

I have been unable to figure out why this is happening. I had downloaded V 2.0 a couple of months ago and had recently decided to implement it. As soon as I did I started getting the error. So last night I decided that perhaps somehow I did not get all the files needed in the download. Well apparently the was incorrect because after configuration I got the same error.

The interesting part is that when I look at the communications stream when LightBurn first connects to the laser machine Marlin accepts G21 as can be seen in the attached file.
But when issued from the gcode gets rejected.

So for now I have reverted to Marlin V 1.8 as it dose not have this problem.

Any thought's on the subject?


[attachment 108325 UnknownCommand_G21-1.JPG]

M140 Heating Bed AND Extruder (6 replies)

$
0
0
Hello every body,

I've struggled for a while now with this problem. I decided to upload the latest Marlin firmware and did all the changes. Every thing works fine except heating up the extruder. When I send M104 nothing happens (thermistor is reading correct room temperature). But when I send M140 RAMPS start to heat the bed AND the extruder... So I uploaded the old firmware thinking of a hardware problem, but it works fine with the old firmware. Does somebody have an idea what is the problem?

Thank you

Trachsou

Probe out of print range error (3 replies)

$
0
0
Hello All. Thanks in advance for any and all help with this error. I am having trouble uploading the Marlin firmware due to the following error and since I'm a newbie at this, I'm not sure where to make my corrections. Using Arduino IDE and Marlin 1.1.9

ERROR:

In file included from C:\Users\rober\AppData\Local\Temp\arduino_build_870422\sketch\MarlinConfig.h:42:0,

from C:\Users\rober\AppData\Local\Temp\arduino_build_870422\sketch\nozzle.cpp:23:

SanityCheck.h:946:5: error: static assertion failed: LEFT_PROBE_BED_POSITION is outside the probe region.

static_assert(LEFT_PROBE_BED_POSITION >= MIN_PROBE_X, "LEFT_PROBE_BED_POSITION is outside the probe region.");

^

Using library U8glib at version 1.19.1 in folder: C:\Users\rober\OneDrive\Documents\Arduino\libraries\U8glib
exit status 1
In file included from C:\Users\rober\AppData\Local\Temp\arduino_build_870422\sketch\MarlinConfig.h:42:0,

from C:\Users\rober\AppData\Local\Temp\arduino_build_870422\sketch\Marlin.h:35,

from C:\Users\rober\AppData\Local\Temp\arduino_build_870422\sketch\stepper_dac.cpp:44:

SanityCheck.h:946:5: error: static assertion failed: LEFT_PROBE_BED_POSITION is outside the probe region.

static_assert(LEFT_PROBE_BED_POSITION >= MIN_PROBE_X, "LEFT_PROBE_BED_POSITION is outside the probe region.");

^

In file included from C:\Users\rober\AppData\Local\Temp\arduino_build_870422\sketch\MarlinConfig.h:42:0,

from C:\Users\rober\AppData\Local\Temp\arduino_build_870422\sketch\cardreader.cpp:23:

SanityCheck.h:946:5: error: static assertion failed: LEFT_PROBE_BED_POSITION is outside the probe region.

static_assert(LEFT_PROBE_BED_POSITION >= MIN_PROBE_X, "LEFT_PROBE_BED_POSITION is outside the probe region.");

^

static assertion failed: LEFT_PROBE_BED_POSITION is outside the probe region.

Part Time Manual Bed Leveling (no replies)

$
0
0
Did not know exactly how to title this so came up with "Part Time Manual Bed Leveling"

I have Bi-linear bed leveling setup in my Marlin firmware 1.1.7.

But though to myself can I Once in a blue moon decide to do a Manual Bed leveling onto a Borosilicate Glass Plate.
Now the reason behind this is the Borosilicate Glass Plate is 3mm thick and my Proximity Sensor has a 3mm range.

I would like to know if it is possible to still have the B-Linear Bed leveling and in the instances when needed.
I use the Borosilicate Glass Plate with the Manual Bed Leveling without causing any adverse side effects.

Using G0 vs G1 when testing movements (1 reply)

$
0
0
Sorry I tried to search this topic but didn’t find anything.

I use a command G0 x150 y150 z0 to check / calibrate z offset.

I just saw the same command but using G1 x150 y150 z0 ..

Why/when would you use G1 vs G0?

Compiler Errors please help (2 replies)

$
0
0
I'm attempting to install Marlin on a CTC Dual fitted with a MKS Gen L board but I'm in trouble.

The printer has 5 stepper motors one each for the two extruders plus one for each axis.

The compiler is returning :-

SanityCheck.h:1607:1: error: static assertion failed: DEFAULT_MAX_FEEDRATE has too many elements
and
SanityCheck.h:1606:1: error: static assertion failed: DEFAULT_AXIS_STEPS_PER_UNIT has too many elements

Now both have five elements one for each stepper so the number of elements is in fact correct.

Any help would be much appreciated.

Thanks All. Aamcle

G91G0X1 (no replies)

$
0
0
bugfix-2.0.x
Im new to Marlin and try to run a CNC mill with my RepRap.
Why is single line command G91G0X1 not running?

G28 Auto Home Not Raising Z Axis (2 replies)

$
0
0
Hello Everyone,
I am using Marlin version 1.8.7 and I am trying to get the G28 command to raise the nozzle before moving but unfortunately it's not and it's scraping against my bed when homing.

Here's the configuration.h section for my Auto Leveling. I've tried to adjust the variables #define Z_RAISE_BEFORE_HOMING 10 and #define Z_RAISE_BETWEEN_PROBINGS 10 with no success. Does anyone have any suggestions?

//******************************|||||||||||||||||****************************
//============================= Bed Auto Leveling ===========================

#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)

#ifdef ENABLE_AUTO_BED_LEVELING

  // these are the positions on the bed to do the probing
  #define LEFT_PROBE_BED_POSITION 15
//  #define RIGHT_PROBE_BED_POSITION 125
  #define RIGHT_PROBE_BED_POSITION 153
  #define BACK_PROBE_BED_POSITION 150
  #define FRONT_PROBE_BED_POSITION 20

  // these are the offsets to the prob relative to the extruder tip (Hotend - Probe)
//  #define X_PROBE_OFFSET_FROM_EXTRUDER -34
#define X_PROBE_OFFSET_FROM_EXTRUDER 84 //X
  #define Y_PROBE_OFFSET_FROM_EXTRUDER 100 //Y
//  #define Z_PROBE_OFFSET_FROM_EXTRUDER -19.2
#define Z_PROBE_OFFSET_FROM_EXTRUDER 0 //Z

  #define Z_RAISE_BEFORE_HOMING 10       // (in mm) Raise Z before homing (G28) for Probe Clearance.
                                        // Be sure you have this distance over your Z_MAX_POS in case

  #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min

  #define Z_RAISE_BEFORE_PROBING 20    //How much the extruder will be raised before traveling to the first probing point.
  #define Z_RAISE_BETWEEN_PROBINGS 10  //How much the extruder will be raised when traveling from between next probing points


  //If defined, the Probe servo will be turned on only during movement and then turned off to avoid jerk
  //The value is the delay to turn the servo off after powered on - depends on the servo speed; 300ms is good value, but you can try lower it.
  // You MUST HAVE the SERVO_ENDSTOPS defined to use here a value higher than zero otherwise your code will not compile.

  #define PROBE_SERVO_DEACTIVATION_DELAY 300


//If you have enabled the Bed Auto Levelling and are using the same Z Probe for Z Homing,
//it is highly recommended you let this Z_SAFE_HOMING enabled!!!

  #define Z_SAFE_HOMING   // This feature is meant to avoid Z homing with probe outside the bed area.
                          // When defined, it will:
                          // - Allow Z homing only after X and Y homing AND stepper drivers still enabled
                          // - If stepper drivers timeout, it will need X and Y homing again before Z homing
                          // - Position the probe in a defined XY point before Z Homing when homing all axis (G28)
                          // - Block Z homing only when the probe is outside bed area.

  #ifdef Z_SAFE_HOMING

    #define Z_SAFE_HOMING_X_POINT (X_MAX_LENGTH/2)    // X point for Z homing when homing all axis (G28)
    #define Z_SAFE_HOMING_Y_POINT (Y_MAX_LENGTH/2)    // Y point for Z homing when homing all axis (G28)

  #endif

  // with accurate bed leveling, the bed is sampled in a ACCURATE_BED_LEVELING_POINTSxACCURATE_BED_LEVELING_POINTS grid and least squares solution is calculated
  // Note: this feature occupies 10'206 byte
  #define ACCURATE_BED_LEVELING

  #ifdef ACCURATE_BED_LEVELING
     // I wouldn't see a reason to go above 3 (=9 probing points on the bed)
    #define ACCURATE_BED_LEVELING_POINTS 2
  #endif

#endif


// The position of the homing switches
//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)

//Manual homing switch locations:
// For deltabots this means top and center of the cartesian print volume.
#define MANUAL_X_HOME_POS 0
#define MANUAL_Y_HOME_POS 0
#define MANUAL_Z_HOME_POS 0
//#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.

//// MOVEMENT SETTINGS
#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E
#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}  // set the homing speeds (mm/min)

// default settings

#define DEFAULT_AXIS_STEPS_PER_UNIT   {80,80,1600,80.22}  // default steps per unit for Ultimaker
#define DEFAULT_MAX_FEEDRATE          {500, 500,   2.5, 250}    // (mm/sec)
#define DEFAULT_MAX_ACCELERATION      {1500,1500,100,10000}    // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for skeinforge 40+, for older versions raise them a lot.

#define DEFAULT_ACCELERATION          1500    // X, Y, Z and E max acceleration in mm/s^2 for printing moves
#define DEFAULT_RETRACT_ACCELERATION  1500   // X, Y, Z and E max acceleration in mm/s^2 for retracts

// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
// For the other hotends it is their distance from the extruder 0 hotend.
// #define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
// #define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis

// The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
#define DEFAULT_XYJERK                20.0    // (mm/sec)
#define DEFAULT_ZJERK                 0.4     // (mm/sec)
#define DEFAULT_EJERK                 5.0    // (mm/sec)

Z steppers in series on E1, now they move seperately (no replies)

$
0
0
Hi Everyone,
Alan from London been into 3d printing about 6 months now, built my anet a8 updated noe to bowden hotend and 2 mosfets
and updated the Y carriage.
But there my bubble went bang, now my Z motors move up and down one after the other.I,ve tried different drivers but without
any change, tried reflashing firmware, checking the cables but to no avail. What am I missing that would make my world all
shiny and glittery once again.

Any help appreciated. Alan

Adding a drill to a 3D Printer (no replies)

$
0
0
Hello,

I have a dual extruder 3D printer and I aim to remove the 2nd extruder and mount a spindle to it. The goal is to have the capability to pause the printer mid print, and do some subtractive manufacturing process, and then resume the print and repeat. I am wondering what changes to the software need to be made to accomplish this task. or if this can be done by the slicer

Bed Levelling, Home and Pause. (no replies)

$
0
0
Hi guys!
I'm Antonio from Italy, I've an A20M Geeetech with 3DTouch sensor.

I read config.h but I'm not able to get it works!
The problem is that if I try to level the bed, the levelling is done for 2/3 of the heatbed (left side - 2/3 x assis); Ithe heatbed is 250x250mm and X0 (home) is more or less at 40mm far from left side of x assis.

Anyone can tell me what's wrong in the config.h?

Then, another question...
When the printer goes in Home, it usually do X0, Y0 and then it goes for Z0 ... but it moves to the middle of the heatbed and there it use 3DTouch for setup Z0. Well, done Home it remain in that position, but this is a problem due to the the casting of material while heating the nozzle. Any ideas about how to solve?

Last but not the least, PAUSE command! I think it's a stupid command! It just stops printing but I think it would be usefull if it lift the nozzle. How I have to setup this? in config.h? Do you think if it should be possibile to have Pause in the main menu? First row?

Thanks!!!
Viewing all 2831 articles
Browse latest View live


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