Close



Page 10 of 11 FirstFirst ... 891011 LastLast
Results 91 to 100 of 109
  1. #91
    Engineer-in-Training voodoo28's Avatar
    Join Date
    Jan 2015
    Location
    South Florida - Cooper City
    Posts
    212
    My prints vary in size. Are you refering to tall or large on the platform?

  2. #92
    Quote Originally Posted by voodoo28 View Post
    My prints vary in size. Are you refering to tall or large on the platform?

    large in the x y direction, edges seem to be more of an issue compared tyo teh outer edxges.

  3. #93
    Student
    Join Date
    Mar 2015
    Location
    Coraopolis, PA USA
    Posts
    20

    Getting errors when compiling configuration.h

    I was trying to compile the configuration.h file tonight in preparation for Auto Bed Leveling and I get the following errors when compiling. I know nothing about this stuff so I am hoping someone who does know something about it can help me out. Below is the output:

    Code:
    Arduino: 1.6.1 (Windows XP), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    
    Marlin_main.cpp:958:7: error: 'X_MAX_LENGTH' was not declared in this scope
    
         { X_##CONFIG, Y_##CONFIG, Z_##CONFIG };     \
    
           ^
    
    Marlin_main.cpp:965:1: note: in expansion of macro 'XYZ_CONSTS_FROM_CONFIG'
    
     XYZ_CONSTS_FROM_CONFIG(float, max_length,      MAX_LENGTH);
    
     ^
    
    Marlin_main.cpp:958:19: error: 'Y_MAX_LENGTH' was not declared in this scope
    
         { X_##CONFIG, Y_##CONFIG, Z_##CONFIG };     \
    
                       ^
    
    Marlin_main.cpp:965:1: note: in expansion of macro 'XYZ_CONSTS_FROM_CONFIG'
    
     XYZ_CONSTS_FROM_CONFIG(float, max_length,      MAX_LENGTH);
    
     ^
    
    Marlin_main.cpp:958:31: error: 'Z_MAX_LENGTH' was not declared in this scope
    
         { X_##CONFIG, Y_##CONFIG, Z_##CONFIG };     \
    
                                   ^
    
    Marlin_main.cpp:965:1: note: in expansion of macro 'XYZ_CONSTS_FROM_CONFIG'
    
     XYZ_CONSTS_FROM_CONFIG(float, max_length,      MAX_LENGTH);
    
     ^
    
    In file included from Marlin.h:30:0,
    
                     from Marlin_main.cpp:30:
    
    Marlin_main.cpp: In function 'void gcode_G28()':
    
    Configuration.h:486:36: error: 'X_MAX_LENGTH' was not declared in this scope
    
         #define Z_SAFE_HOMING_X_POINT (X_MAX_LENGTH/2)    // X point for Z homing when homing all axis (G28)
    
                                        ^
    
    C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:88:24: note: in definition of macro 'round'
    
     #define round(x)     ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))
    
                            ^
    
    Marlin_main.cpp:1892:39: note: in expansion of macro 'Z_SAFE_HOMING_X_POINT'
    
               destination[X_AXIS] = round(Z_SAFE_HOMING_X_POINT - X_PROBE_OFFSET_FROM_EXTRUDER);
    
                                           ^
    
    Configuration.h:487:36: error: 'Y_MAX_LENGTH' was not declared in this scope
    
         #define Z_SAFE_HOMING_Y_POINT (Y_MAX_LENGTH/2)    // Y point for Z homing when homing all axis (G28)
    
                                        ^
    
    C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:88:24: note: in definition of macro 'round'
    
     #define round(x)     ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))
    
                            ^
    
    Marlin_main.cpp:1893:39: note: in expansion of macro 'Z_SAFE_HOMING_Y_POINT'
    
               destination[Y_AXIS] = round(Z_SAFE_HOMING_Y_POINT - Y_PROBE_OFFSET_FROM_EXTRUDER);
    
                                           ^
    
    Marlin_main.cpp: In function 'void gcode_M48()':
    
    Marlin_main.cpp:2943:51: error: 'X_MAX_LENGTH' was not declared in this scope
    
             radius = (unsigned long)millis() % (long)(X_MAX_LENGTH / 4);      // limit how far out to go
    
                                                       ^
    
    Error compiling.
    
      This report would have more information with
      "Show verbose output during compilation"
      enabled in File > Preferences.
    
    I have attached my Configuration.h file if someone could take a look at it and see if maybe I missed something. Thanks
    Configuration.zip
    Last edited by walkercreations; 03-27-2015 at 06:42 PM. Reason: added attachment

  4. #94
    Quote Originally Posted by walkercreations View Post
    I was trying to compile the configuration.h file tonight in preparation for Auto Bed Leveling and I get the following errors when compiling. I know nothing about this stuff so I am hoping someone who does know something about it can help me out. Below is the output:

    Code:
    Arduino: 1.6.1 (Windows XP), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    
    Marlin_main.cpp:958:7: error: 'X_MAX_LENGTH' was not declared in this scope
    
         { X_##CONFIG, Y_##CONFIG, Z_##CONFIG };     \
    
           ^
    
    Marlin_main.cpp:965:1: note: in expansion of macro 'XYZ_CONSTS_FROM_CONFIG'
    
     XYZ_CONSTS_FROM_CONFIG(float, max_length,      MAX_LENGTH);
    
     ^
    
    Marlin_main.cpp:958:19: error: 'Y_MAX_LENGTH' was not declared in this scope
    
         { X_##CONFIG, Y_##CONFIG, Z_##CONFIG };     \
    
                       ^
    
    Marlin_main.cpp:965:1: note: in expansion of macro 'XYZ_CONSTS_FROM_CONFIG'
    
     XYZ_CONSTS_FROM_CONFIG(float, max_length,      MAX_LENGTH);
    
     ^
    
    Marlin_main.cpp:958:31: error: 'Z_MAX_LENGTH' was not declared in this scope
    
         { X_##CONFIG, Y_##CONFIG, Z_##CONFIG };     \
    
                                   ^
    
    Marlin_main.cpp:965:1: note: in expansion of macro 'XYZ_CONSTS_FROM_CONFIG'
    
     XYZ_CONSTS_FROM_CONFIG(float, max_length,      MAX_LENGTH);
    
     ^
    
    In file included from Marlin.h:30:0,
    
                     from Marlin_main.cpp:30:
    
    Marlin_main.cpp: In function 'void gcode_G28()':
    
    Configuration.h:486:36: error: 'X_MAX_LENGTH' was not declared in this scope
    
         #define Z_SAFE_HOMING_X_POINT (X_MAX_LENGTH/2)    // X point for Z homing when homing all axis (G28)
    
                                        ^
    
    C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:88:24: note: in definition of macro 'round'
    
     #define round(x)     ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))
    
                            ^
    
    Marlin_main.cpp:1892:39: note: in expansion of macro 'Z_SAFE_HOMING_X_POINT'
    
               destination[X_AXIS] = round(Z_SAFE_HOMING_X_POINT - X_PROBE_OFFSET_FROM_EXTRUDER);
    
                                           ^
    
    Configuration.h:487:36: error: 'Y_MAX_LENGTH' was not declared in this scope
    
         #define Z_SAFE_HOMING_Y_POINT (Y_MAX_LENGTH/2)    // Y point for Z homing when homing all axis (G28)
    
                                        ^
    
    C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:88:24: note: in definition of macro 'round'
    
     #define round(x)     ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))
    
                            ^
    
    Marlin_main.cpp:1893:39: note: in expansion of macro 'Z_SAFE_HOMING_Y_POINT'
    
               destination[Y_AXIS] = round(Z_SAFE_HOMING_Y_POINT - Y_PROBE_OFFSET_FROM_EXTRUDER);
    
                                           ^
    
    Marlin_main.cpp: In function 'void gcode_M48()':
    
    Marlin_main.cpp:2943:51: error: 'X_MAX_LENGTH' was not declared in this scope
    
             radius = (unsigned long)millis() % (long)(X_MAX_LENGTH / 4);      // limit how far out to go
    
                                                       ^
    
    Error compiling.
    
      This report would have more information with
      "Show verbose output during compilation"
      enabled in File > Preferences.
    
    I have attached my Configuration.h file if someone could take a look at it and see if maybe I missed something. Thanks
    Configuration.zip

    get arduino 1.06 and see if that fixes the issue. I don't think 1.6 is supported right now. you'll also want to compile for the Rambo board not the arduino mega.

    In the reprapelectro user manual they explain how to setup arduino so that it will give the option for a rambo board instead of just the base mega

  5. #95
    Student
    Join Date
    Mar 2015
    Location
    Coraopolis, PA USA
    Posts
    20
    Thanks sniffle. I will give that a try. I just got to work so it will be later this afternoon before I can try it but will let you all know if that fixes it.

    Update:

    I was able to use a laptop at work to compile it and it does work with Arduino 1.0.6 without any errors. Many thanks sniffle for that bit of info.

    I have one last question before moving on to the last part of implementing Auto Bed Leveling. I have installed the hardware, flashed the firmware, and have done preliminary tests to make sure that it is all working as expected. I can extend and retract the probe. Something I have noticed is that when I Extend the probe I get no warning or anything on the lcd. When I Retract the probe, I noticed that I get a message on the lcd of something like "endstop hit z" I was wondering if that is normal prior to moving on to the next step or do I need to change something in the firmware prior? When that error is showing on the lcd, i can not move the printer until I reset it.
    Last edited by walkercreations; 03-29-2015 at 06:59 AM. Reason: added information

  6. #96
    Student
    Join Date
    Mar 2015
    Location
    Coraopolis, PA USA
    Posts
    20
    Update:

    I have spent the last 2 hours trying to get this setup and working. I go through the steps per Zennmaster's 3rd video and get my offsets. I enter them into the Configuration.h and when I try to upload it to my printer I get the following error:

    Code:
      This report would have more information with
      "Show verbose output during compilation"
      enabled in File > Preferences.
    Arduino: 1.0.6 (Windows NT (unknown)), Board: "RAMBo"
    In file included from /Configuration_adv.h:502,
                     from /Configuration.h:733,
                     from /Marlin.h:22,
                     from BlinkM.cpp:5:
    /SanityCheck.h:106:37: error: floating constant in preprocessor expression
    /SanityCheck.h:106:37: error: floating constant in preprocessor expression
    /SanityCheck.h:108:40: error: floating constant in preprocessor expression
    /SanityCheck.h:108:40: error: floating constant in preprocessor expression
    /SanityCheck.h:110:40: error: floating constant in preprocessor expression
    /SanityCheck.h:110:40: error: floating constant in preprocessor expression
    /SanityCheck.h:112:39: error: floating constant in preprocessor expression
    /SanityCheck.h:112:39: error: floating constant in preprocessor expression
    /SanityCheck.h:120:11: error: floating constant in preprocessor expression
    /SanityCheck.h:124:13: error: floating constant in preprocessor expression
    /SanityCheck.h:130:11: error: floating constant in preprocessor expression
    /SanityCheck.h:134:13: error: floating constant in preprocessor expression
    Any ideas on what I may be doing wrong?

  7. #97
    Technician
    Join Date
    Nov 2014
    Posts
    61
    Can you post your configuration.h so we can take a look at it?

  8. #98
    Student
    Join Date
    Mar 2015
    Location
    Coraopolis, PA USA
    Posts
    20
    Below is what I am trying to flash:

    Configuration.h

  9. #99
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    The error being flagged is in SanityCheck.h We need to see that file too.

  10. #100
    Technician
    Join Date
    Nov 2014
    Posts
    61
    In the auto bed leveling section try removing the decimals of #define X_PROBE_OFFSET_FROM_EXTRUDER 30.00 and #define Y_PROBE_OFFSET_FROM_EXTRUDER 9.90 so that they are 30 and 10

Page 10 of 11 FirstFirst ... 891011 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •