Welcome! Log In Create A New Profile

Advanced

How can I move E steppers?

Posted by yello3d 
How can I move E steppers?
January 11, 2023 01:03AM
How can I move the E axis steppers? I have like E0 to E3 steppers available.

But How can I move them with G code? (Pronterface)

G0 X50 moves the X axis.

But I don't know how to hove any of the E steppers.

And since they are mainly used for extruders, How can disable any cold filaments etc warning? (axis isn't used for filament)

Tried so far and not working:

G92 E0
G0 E10


Tried all "E" on X axis to make sure they work and all are working.
Re: How can I move E steppers?
January 11, 2023 01:15AM
You need to switch the active extruder.

Send to command Tx where x is the number of the tool/extruder you want to be active. The first extruder is 0.

If you have PARKING_EXTRUDER enabled then you can add S1 to the command to stop the parking sequence.
Re: How can I move E steppers?
January 11, 2023 01:48AM
Also extruders have protection, they will refuse to move if hotend is not hot.


use
M302 P1 ; disable cold extrusion checking

And yes each extruder is a tool

T0
G1 E20 ; move current extruder 20mm
T1
G1 E20
T2
G1 E20

Edited 2 time(s). Last edit at 01/11/2023 01:58AM by Dust.
Re: How can I move E steppers?
January 11, 2023 02:36AM
Thank you. For a starter I had to enable the steppers in Configuration.h (doh!)

#define E0_DRIVER_TYPE TMC2209
#define E1_DRIVER_TYPE TMC2209
#define E2_DRIVER_TYPE TMC2209


(Strangely Y and Z where still set to A4988, still working)

T0 works fine. But with T1 and T2 I get Invalid extruder

My (Marlin 2.1.x) Configuration_adv.h has no #if EXTRUDERS > 1
Re: How can I move E steppers?
January 11, 2023 02:43AM
#define EXTRUDERS 1


Up this number

Just defining the stepper driver is not enough as you can have mixing extrudes...

Edited 1 time(s). Last edit at 01/11/2023 02:44AM by Dust.
Re: How can I move E steppers?
January 11, 2023 02:48AM
code has
#if HAS_MULTI_EXTRUDER
Re: How can I move E steppers?
January 11, 2023 03:00AM
Thank you, I changed to #define EXTRUDERS 3 - plus (0 gives me a firmware error for the other two):

#define TEMP_SENSOR_0 1
#define TEMP_SENSOR_1 1
#define TEMP_SENSOR_2 1


At this point everything works! in combination with M302 P1.

Thanks again!

Edited 2 time(s). Last edit at 01/11/2023 03:01AM by yello3d.
VDX
Re: How can I move E steppers?
January 11, 2023 05:28AM
... for the extruders moving as you expect, you eventually have to switch between absolute and relative coordinates with "G90" and "G91" -- if absolute, then repeated "G0 E10" wont move after first occurance ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: How can I move E steppers?
January 20, 2023 12:13AM
Sorry to bring that up again, is M302 P1 same as M302 S0 ?

It should also go in the startup, right? (Machine is not for 3D filament printing)

#define STARTUP_COMMANDS "M302 P1"

And how to define more than one #define STARTUP_COMMANDS "***"?

Edited 1 time(s). Last edit at 01/20/2023 12:58AM by yello3d.
Re: How can I move E steppers?
January 20, 2023 08:52AM
Here's the docs for M302:
M302         ; report current cold extrusion state
M302 P0      ; enable cold extrusion checking
M302 P1      ; disable cold extrusion checking
M302 S0      ; always allow extrusion (disables checking)
M302 S170    ; only allow extrusion above 170
M302 S170 P1 ; set min extrude temp to 170 but leave disabled

To add commands add a \n and then the second command.
Sorry, only registered users may post in this forum.

Click here to login