Welcome, Guest. Please Login or Register. Apr 1st, 2023, 10:30pm
Home Home Help Help Search Search Members Members Login Login Register Register
OkOb Web Forum moving X axis carriages for 2 extruders


   OkOb Web Forum
   3D Printing
   3D Printing and RepRap X2 Discussion
(Moderator: Denis Bakin)
   moving X axis carriages for 2 extruders
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: moving X axis carriages for 2 extruders  (Read 2582 times)
Bay
YaBB Newbie
*



I love YaBB 1G - SP1!

   


Posts: 4
moving X axis carriages for 2 extruders
« on: Dec 21st, 2016, 11:03am »
Quote Quote Modify Modify

hi i need some help with firmware that supports RepRapDiscount Full Graphic Smart Controller to work
IP Logged
Denis Bakin
YaBB Administrator
*****





   
WWW

Gender: male
Posts: 163
Re: moving X axis carriages for 2 extruders
« Reply #1 on: Dec 21st, 2016, 10:34pm »
Quote Quote Modify Modify

There's a lot of info online. If you have a question specifically about Marlin X2 firmware this is the right place to ask.
IP Logged

---------------------------
Denis Bakin
Bay
YaBB Newbie
*



I love YaBB 1G - SP1!

   


Posts: 4
Re: moving X axis carriages for 2 extruders
« Reply #2 on: Dec 22nd, 2016, 1:20am »
Quote Quote Modify Modify

this is what i change:// The RepRapDiscount FULL GRAPHIC Smart Controller (quadratic white PCB)
// http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
 
//automatic expansion
#if defined (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
 #define DOGLCD
 #define U8GLIB_ST7920
 #define REPRAP_DISCOUNT_SMART_CONTROLLER
#endif
then i compiling then i got this:Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
 
In file included from sketch\Marlin.h:22:0,
 
       from sketch\ConfigurationStore.cpp:1:
 
sketch\ConfigurationStore.cpp: In function 'void Config_ResetDefault()':
 
sketch\Configuration.h:370:48: warning: narrowing conversion of '5.0e+0' from 'double' to 'long int' inside { } [-Wnarrowing]
 
 #define DEFAULT_EJERK       {5.0, 5.0}    // E0... (mm/sec) per extruder, max initial speed for retract moves
 
        ^
 
sketch\ConfigurationStore.cpp:332:20: note: in expansion of macro 'DEFAULT_EJERK'
 
     long  tmp5[] = DEFAULT_EJERK;
 
     ^
 
sketch\Configuration.h:370:48: warning: narrowing conversion of '5.0e+0' from 'double' to 'long int' inside { } [-Wnarrowing]
 
 #define DEFAULT_EJERK       {5.0, 5.0}    // E0... (mm/sec) per extruder, max initial speed for retract moves
 
        ^
 
sketch\ConfigurationStore.cpp:332:20: note: in expansion of macro 'DEFAULT_EJERK'
 
     long  tmp5[] = DEFAULT_EJERK;
 
     ^
 
sketch\Marlin_main.cpp:2629:34: warning: extra tokens at end of #ifdef directive [enabled by default]
 
   #ifdef EXTRUDER_RUNOUT_PREVENT && (EXTRUDERS == 1)  
 
         ^
 
In file included from sketch\ultralcd.cpp:28:0:
 
sketch\dogm_lcd_implementation.h:91:26: warning: extra tokens at end of #ifdef directive [enabled by default]
 
 #ifdef LCD_SCREEN_ROT_180;
 
      ^
 
sketch\dogm_lcd_implementation.h:95:26: warning: extra tokens at end of #ifdef directive [enabled by default]
 
 #ifdef LCD_SCREEN_ROT_270;
 
      ^
 
In file included from sketch\Marlin.h:16:0,
 
       from sketch\temperature.h:24,
 
       from sketch\ultralcd.cpp:1:
 
DOGMbitmaps.h:4: error: variable 'start_bmp' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
 
 unsigned char start_bmp[574] PROGMEM = { //AVR-GCC, WinAVR
 
     ^
 
DOGMbitmaps.h:74: error: variable 'status_screen0_bmp' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
 
 unsigned char status_screen0_bmp[] PROGMEM = { //AVR-GCC, WinAVR
 
      ^
 
DOGMbitmaps.h:99: error: variable 'status_screen1_bmp' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
 
 unsigned char status_screen1_bmp[] PROGMEM = { //AVR-GCC, WinAVR
 
      ^
 
exit status 1
variable 'start_bmp' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
 
  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.
 
IP Logged
Bay
YaBB Newbie
*



I love YaBB 1G - SP1!

   


Posts: 4
Re: moving X axis carriages for 2 extruders
« Reply #3 on: Dec 22nd, 2016, 1:28am »
Quote Quote Modify Modify

i went back to an old setup with single xtruder no problem i print just fine the only thing when i try to run marling X2 i can't define this line  
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
 
//automatic expansion
#if defined (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
 #define DOGLCD
 #define U8GLIB_ST7920
 #define REPRAP_DISCOUNT_SMART_CONTROLLER
#endif
IP Logged
Denis Bakin
YaBB Administrator
*****





   
WWW

Gender: male
Posts: 163
Re: moving X axis carriages for 2 extruders
« Reply #4 on: Dec 23rd, 2016, 12:30am »
Quote Quote Modify Modify

You might want to try compiling it with an older Arduino. It should work with v1.0.6.  
https://www.arduino.cc/en/Main/OldSoftwareReleases#previous
 
Alternatively, you can fix the compilation errors. It looks like the new compiler is better at catching the errors. There are certainly a few that need fixing (the warnings where #ifdef is used instead of #if and semicolon is left at the end of the define statements).  
The "const" has to be added in front of the "unsigned char..." in DOGMbitmaps.h, but that might cause new errors where those arrays are used and the code might need to be changed there to expect "const unsigned char"...
« Last Edit: Dec 23rd, 2016, 12:33am by Denis Bakin » IP Logged

---------------------------
Denis Bakin
Bay
YaBB Newbie
*



I love YaBB 1G - SP1!

   


Posts: 4
Re: moving X axis carriages for 2 extruders
« Reply #5 on: Dec 23rd, 2016, 8:20am »
Quote Quote Modify Modify

here my change
//LCD and SD support
//#define ULTRA_LCD  //general lcd support, also 16x2
//#define DOGLCD    // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
#define SDSUPPORT  // Enable SD Card Support in Hardware Console
 
//#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
//#define ULTIPANEL  //the ultipanel as on thingiverse
 
// The RepRapDiscount Smart Controller (white PCB)
// http://reprap.org/wiki/RepRapDiscount_Smart_Controller
//#define REPRAP_DISCOUNT_SMART_CONTROLLER
 
// The GADGETS3D G3D LCD/SD Controller (blue PCB)
// http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
//#define G3D_PANEL
 
// The RepRapDiscount FULL GRAPHIC Smart Controller (quadratic white PCB)
// http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
 
//automatic expansion
#if defined (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
 #define DOGLCD
 #define U8GLIB_ST7920
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
 
and i can compiling but i have a blue screen, i try to connect Pronterface i can home every thing not the x1
IP Logged
Denis Bakin
YaBB Administrator
*****





   
WWW

Gender: male
Posts: 163
Re: moving X axis carriages for 2 extruders
« Reply #6 on: Dec 23rd, 2016, 12:23pm »
Quote Quote Modify Modify

Please post diff of the code if trying to show your changes. For example:
Code:

D:\MarlinX2>git diff master..lcd
diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h
index eef9c42..75b6968 100644
--- a/Marlin/Configuration.h
+++ b/Marlin/Configuration.h
@@ -405,7 +405,7 @@ const bool Z_ENDSTOPS_INVERTING = false; // set to true to i
nvert the logic of t
 // http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
 //
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.g
oogle.com/p/u8glib/wiki/u8glib
-//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
+#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
 
 //automatic expansion
 #if defined (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)

You are not supposed to have just the blue screen... assuming you are using Arduino 1.0.6, downloaded the latest code from the "master" branch of the http://github.com/dob71/MarlinX2 repository and the only change in the code was to enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER.  
If all the above is true then most likely you are having a hardware issue. Proper wiring would be the first thing I'd check.
IP Logged

---------------------------
Denis Bakin
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Home OkOb Web Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB 2000-2003. All Rights Reserved.