Dual Extrusion Repetier .91+RAMBO+E3D Chimera

User-Generated tips and tricks for the Rostock Max, Orion, H1.1, or H1 Printers
BenTheRighteous
Printmaster!
Posts: 695
Joined: Fri Nov 07, 2014 9:38 am

Re: Dual Extrusion Repetier .91+RAMBO+E3D Chimera

Post by BenTheRighteous »

JFettig wrote:Something I've noticed - when it calls M84 command to disable the steppers, it disables all except the 2nd extruder motor - any ideas?
I'm wondering if this is the key?

In Printer.cpp, I see these lines:

Code: Select all

void Printer::kill(uint8_t only_steppers)
{
    if(areAllSteppersDisabled() && only_steppers) return;
    if(Printer::isAllKilled()) return;
    setAllSteppersDiabled();
    disableXStepper();
    disableYStepper();
    disableZStepper();
    Extruder::disableCurrentExtruderMotor();
I wonder if that shouldn't be changed to this:

Code: Select all

void Printer::kill(uint8_t only_steppers)
{
    if(areAllSteppersDisabled() && only_steppers) return;
    if(Printer::isAllKilled()) return;
    setAllSteppersDiabled();
    disableXStepper();
    disableYStepper();
    disableZStepper();
    
    for(uint8_t i=0; i<NUM_EXTRUDER; i++)
    {
	Extruder::selectExtruderById(i);
        Extruder::disableCurrentExtruderMotor();
    }
    Extruder::selectExtruderById(0);
I'm testing it now.
nitewatchman wrote:it was much cleaner and easier than killing a chicken on top of the printer.
BenTheRighteous
Printmaster!
Posts: 695
Joined: Fri Nov 07, 2014 9:38 am

Re: Dual Extrusion Repetier .91+RAMBO+E3D Chimera

Post by BenTheRighteous »

I saw a bit of weirdness that I couldn't explain while I was testing the code I posted - some heaters would sometimes get stuck on despite the setpoint being 0, and right around this time one of my RAMBo's MOSFETs went bad. Although I can't say whether or not the firmware change caused that, it is a big coincidence. Rather than muck around with firmware code that I really don't understand and risking accidentally doing something dangerous, I just added this to my postfix gcode which accomplishes the same thing:

Code: Select all

T1
G91
G1 E-0.02 F1800
G90
M84

T0
G91
G1 E-0.02 F1800
G90
M84
nitewatchman wrote:it was much cleaner and easier than killing a chicken on top of the printer.
Ascensi
Prints-a-lot
Posts: 24
Joined: Thu Sep 18, 2014 11:27 am
Contact:

Re: Dual Extrusion Repetier .91+RAMBO+E3D Chimera

Post by Ascensi »

JFettig wrote:I spent a ton of time digging around in different threads and the firmware trying to figure out what I need to do to get my new dual extrusion setup working correctly. Here is the one stop shop.

Thank you for putting all the Duel Extrusion info in one place! I tried this setup and most of it works except that when using Matter Control, if I preheat extruder #2 the climbing temp shows on extruder #1 and if I preheat extruder # 1 it shows on #1 as normal.

I think these lines are combining the temps into one display when it may not be needed or should not be needed to get the same fan on say Extruder #1 to start
#define EXT0_EXTRUDER_COOLER_PIN 8 line 273
#define EXT1_EXTRUDER_COOLER_PIN 8 adds cooling fan to same pin for 2nd extruder

Other than maybe a conflict in Rambo with those lines the only other line I can think of that might have something to do with it is in the pins area: #define E1_PINS E1_STEP_PIN,E1_DIR_PIN,E1_ENABLE_PIN,E1_MS1_PIN,E1_MS2_PIN, line 1517

Anyone know what the issue might be?
Ascensi
Prints-a-lot
Posts: 24
Joined: Thu Sep 18, 2014 11:27 am
Contact:

Re: Dual Extrusion Repetier .91+RAMBO+E3D Chimera

Post by Ascensi »

[quote="JFettig"]I spent a ton of time digging around in different threads and the firmware trying to figure out what I need to do to get my new dual extrusion setup working correctly. Here is the one stop shop:

I followed your exact instructions but in the end it wasn't working and then I discovered the correct Rambo PINs http://reprap.org/wiki/Rambo_development

I guess this is the default "#define EXT0_TEMPSENSOR_PIN TEMP_1_PIN" and I had to change it to:
#define EXT0_TEMPSENSOR_PIN TEMP_0_PIN


Here is my setup:

#define EXT0_TEMPSENSOR_PIN TEMP_0_PIN line 303
#define EXT0_HEATER_PIN HEATER_0_PIN line 305

#define EXT1_TEMPSENSOR_PIN TEMP_1_PIN line 303
#define EXT1_HEATER_PIN HEATER_1_PIN line 305

and on pin.h page:
#define HEATER_0_PIN 9
#define TEMP_0_PIN 0

#define HEATER_1_PIN 7
#define TEMP_1_PIN 1

If anyone sees the temp rising from extruder 1 on extruder 2 or vice versa then you might need to switch your cables running into your Rambo TO and T1 -I was confused for a while thinking that it must be a firmware mistake or that something was wrong with my Rambo card.

Now the extruders seperately heat up and show temps properly for both!
User avatar
dmo
Printmaster!
Posts: 56
Joined: Mon Nov 02, 2015 3:18 pm
Location: Washington, DC
Contact:

Re: Dual Extrusion Repetier .91+RAMBO+E3D Chimera

Post by dmo »

I've followed the instructions but I have a strange thing going on. Using Matter Control I can get both extruder motors working. I can move all the axis unless the 2nd extruder motor has been activated. Then all of the axises move to the top and won't shut off until I turn the machine off.

The other problem I have is that Matter Control connects with it fine but Simplify 3D can't connect to it.

The only settings I did different were for my motor current for the Automation Technology motor so it uses 155,155,155,165,165 for my motor current. And true for inverse direction.

Anyone have any ideas?
User avatar
dmo
Printmaster!
Posts: 56
Joined: Mon Nov 02, 2015 3:18 pm
Location: Washington, DC
Contact:

Re: Dual Extrusion Repetier .91+RAMBO+E3D Chimera

Post by dmo »

So I figured my problem out kind of. For he offsets I was using the 720 for x on E0 and -720 for x on E1. I remembered seeing a not that this was a calculation Repeter would figure out. I was looking through the EEROM and noticed that it also showed 720 and -720 for offsets. It then occurred to me that the EEROM may not be able to make the calculations and need the exact number. I changed it to 0 and it works now. I'm still confused about the difference between Firmware and EEROM. I though the Firmware was the EEROM. So how do I disable certain parts of the ERROM? I'm still looking for a good way to set the offsets.
IMBoring25
Printmaster!
Posts: 616
Joined: Wed Mar 18, 2015 1:11 am

Re: Dual Extrusion Repetier .91+RAMBO+E3D Chimera

Post by IMBoring25 »

Repetier has no idea where your nozzles are. The calculation people talk about it doing is the movement in mm for a number of steps that you set in the firmware or EEPROM. I'm not sure how (if?) it does that math for a delta, but +/-720 steps would indeed be correct for the +/-9 mm positions of the Chimera nozzles for a Cartesian bot with the Rostock's 80 steps per mm. You do have the option of setting these values to zero and doing your nozzle offsets in the slicer.

EEPROM just overrides the default values for some of the firmware settings that are prone to change or need tuning so you don't need to recompile and reload the firmware every time. EEPROM is all or nothing, as far as I know. You can set whatever EEPROM values you like to the same as the defaults, which is functionally the same as disabling EEPROM for those variables.
User avatar
dmo
Printmaster!
Posts: 56
Joined: Mon Nov 02, 2015 3:18 pm
Location: Washington, DC
Contact:

Re: Dual Extrusion Repetier .91+RAMBO+E3D Chimera

Post by dmo »

I wonder what else could be making my machine act up. When I changed the EEPROM to 0 it works fine ( minus the proper offset values.) Is there anything else you can think of that could cause it? The Rostock is set to 80 steps per mm, but the extruder steps are set to 92.4. Which also confused me. Thanks for any help.
IMBoring25
Printmaster!
Posts: 616
Joined: Wed Mar 18, 2015 1:11 am

Re: Dual Extrusion Repetier .91+RAMBO+E3D Chimera

Post by IMBoring25 »

Steps per mm are how many steps it takes for each carriage to move a mm. Extruder steps per mm are how many steps it takes for the drive motor to push a mm of filament.

Being denominated in steps and if it's causing problems for you I'd guess the offset code isn't configured for delta geometries. I'd set them to zero and configure the +/- 9 mm offsets in the slicer.
Post Reply

Return to “General Tips 'N Tricks”