Understanding command lines.
October 31, 2016 07:17PM
Hello

I'm working on modifying Marlin 1.1.0-RC6 to work with 2 extruders and 1 nozzle.

I have found the following code in my pins_RAMPS_24.h file.

#if MB(RAMPS_14_SF) || MB(RAMPS_13_SF) || ENABLED(IS_RAMPS_EFcool smiley

#define HEATER_1_PIN -1

#else

#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter) was pin 9

#endif


I can only find 3 places in my project where "ENABLED(IS_RAMPS_EFcool smiley" is referenced.
Once when it is defined and twice where it is check by "IF" statements.
The way I'm reading this is : IF "enabled(is_ramps_efb" has been "Enabled" then execuite
"Define HEATER_1_PIN as -1 .

This is apparently the case since I get an error message when compiling saying that heater_1_pin is not defined.

Since I've never found a place that "enables" "is_ramps_efb" it makes me wonder if I am missing something?

thank you

kd6hq
Re: Understanding command lines.
October 31, 2016 11:13PM
I changed EXTRUDERS from 1 to 2 and got the same error.

Changed in Configuration.h

#ifndef MOTHERBOARD
//#define MOTHERBOARD BOARD_RAMPS_14_EFB => EFB = extruder fan bed change to ext ext bed = EEB
#define MOTHERBOARD BOARD_RAMPS_14_EEB
#endif

#define TEMP_SENSOR_1 0 => change to sensor # ,probably same as TEMP_SENSOR_0

Program compiled ok.
Re: Understanding command lines.
November 01, 2016 05:37AM
george4657

Well I made the change to "EEB" and that seemed to take care of it like you said.
TEMP_SENSOR was already changed but thanks for mentioning it.

I was looking at RC-7 today and I noticed the following:

// For Cyclops or any "multi-extruder" that shares a single nozzle.
#define SINGLENOZZLE

It appears like RC-7 has some coding in it for this type of setup.

Is anyone using RC-7 with the Cyclops or Y adapter type of hot end?
If so did you have to modify any other statements?

thanks
kd6hq
Sorry, only registered users may post in this forum.

Click here to login