Welcome! Log In Create A New Profile

Advanced

G29 command nothing happens

Posted by isacat 
G29 command nothing happens
November 12, 2016 04:50PM
when I run G28 the printer goes to the home position. After I try to start the auto levelling program by running the G29 command, nothing happens.
Who can help me out here, configuration.h file attacht
thanks
Attachments:
open | download - Configuration.h (51.8 KB)
Re: G29 command nothing happens
November 13, 2016 05:46AM
I found my mistake, forgot to enable the autobedleveling itself :-( so stupid of me.
Bud when I try to upload the new settings to the printer I got an error messages:

Arduino: 1.6.8 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\Marlin.ino.cpp:1:0:

Configuration.h:479: error: floating constant in preprocessor expression

 #define X_PROBE_OFFSET_FROM_EXTRUDER 25.00  // X offset: -left  +right  [of the nozzle]

                                      ^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:85:24: note: in definition of macro 'max'

 #define max(a,b) ((a)>(b)?(a)sad smileyb))

                        ^

sketch\Conditionals_post.h:158:51: note: in expansion of macro 'X_PROBE_OFFSET_FROM_EXTRUDER'

   #define MIN_PROBE_X (max(X_MIN_POS, X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER))

                                                   ^

sketch\SanityCheck.h:403:37: note: in expansion of macro 'MIN_PROBE_X'

       #if LEFT_PROBE_BED_POSITION < MIN_PROBE_X

                                     ^

Configuration.h:479: error: floating constant in preprocessor expression

 #define X_PROBE_OFFSET_FROM_EXTRUDER 25.00  // X offset: -left  +right  [of the nozzle]

                                      ^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:85:32: note: in definition of macro 'max'

 #define max(a,b) ((a)>(b)?(a)sad smileyb))

                                ^

sketch\Conditionals_post.h:158:51: note: in expansion of macro 'X_PROBE_OFFSET_FROM_EXTRUDER'

   #define MIN_PROBE_X (max(X_MIN_POS, X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER))

                                                   ^

sketch\SanityCheck.h:403:37: note: in expansion of macro 'MIN_PROBE_X'

       #if LEFT_PROBE_BED_POSITION < MIN_PROBE_X

                                     ^

Configuration.h:479: error: floating constant in preprocessor expression

 #define X_PROBE_OFFSET_FROM_EXTRUDER 25.00  // X offset: -left  +right  [of the nozzle]

                                      ^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:84:24: note: in definition of macro 'min'

 #define min(a,b) ((a)<(b)?(a)sad smileyb))

                        ^

sketch\Conditionals_post.h:159:51: note: in expansion of macro 'X_PROBE_OFFSET_FROM_EXTRUDER'

   #define MAX_PROBE_X (min(X_MAX_POS, X_MAX_POS + X_PROBE_OFFSET_FROM_EXTRUDER))

                                                   ^

sketch\SanityCheck.h:405:40: note: in expansion of macro 'MAX_PROBE_X'

       #elif RIGHT_PROBE_BED_POSITION > MAX_PROBE_X

                                        ^

Configuration.h:479: error: floating constant in preprocessor expression

 #define X_PROBE_OFFSET_FROM_EXTRUDER 25.00  // X offset: -left  +right  [of the nozzle]

                                      ^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:84:32: note: in definition of macro 'min'

 #define min(a,b) ((a)<(b)?(a)sad smileyb))

                                ^

sketch\Conditionals_post.h:159:51: note: in expansion of macro 'X_PROBE_OFFSET_FROM_EXTRUDER'

   #define MAX_PROBE_X (min(X_MAX_POS, X_MAX_POS + X_PROBE_OFFSET_FROM_EXTRUDER))

                                                   ^

sketch\SanityCheck.h:405:40: note: in expansion of macro 'MAX_PROBE_X'

       #elif RIGHT_PROBE_BED_POSITION > MAX_PROBE_X

                                        ^

Configuration.h:480: error: floating constant in preprocessor expression

 #define Y_PROBE_OFFSET_FROM_EXTRUDER 16.00  // Y offset: -front +behind [the nozzle]

                                      ^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:85:24: note: in definition of macro 'max'

 #define max(a,b) ((a)>(b)?(a)sad smileyb))

                        ^

sketch\Conditionals_post.h:160:51: note: in expansion of macro 'Y_PROBE_OFFSET_FROM_EXTRUDER'

   #define MIN_PROBE_Y (max(Y_MIN_POS, Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))

                                                   ^

sketch\SanityCheck.h:407:40: note: in expansion of macro 'MIN_PROBE_Y'

       #elif FRONT_PROBE_BED_POSITION < MIN_PROBE_Y

                                        ^

Configuration.h:480: error: floating constant in preprocessor expression

 #define Y_PROBE_OFFSET_FROM_EXTRUDER 16.00  // Y offset: -front +behind [the nozzle]

                                      ^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:85:32: note: in definition of macro 'max'

 #define max(a,b) ((a)>(b)?(a)sad smileyb))

                                ^

sketch\Conditionals_post.h:160:51: note: in expansion of macro 'Y_PROBE_OFFSET_FROM_EXTRUDER'

   #define MIN_PROBE_Y (max(Y_MIN_POS, Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))

                                                   ^

sketch\SanityCheck.h:407:40: note: in expansion of macro 'MIN_PROBE_Y'

       #elif FRONT_PROBE_BED_POSITION < MIN_PROBE_Y

                                        ^

Configuration.h:480: error: floating constant in preprocessor expression

 #define Y_PROBE_OFFSET_FROM_EXTRUDER 16.00  // Y offset: -front +behind [the nozzle]

                                      ^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:84:24: note: in definition of macro 'min'

 #define min(a,b) ((a)<(b)?(a)sad smileyb))

                        ^

sketch\Conditionals_post.h:161:51: note: in expansion of macro 'Y_PROBE_OFFSET_FROM_EXTRUDER'

   #define MAX_PROBE_Y (min(Y_MAX_POS, Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))

                                                   ^

sketch\SanityCheck.h:409:39: note: in expansion of macro 'MAX_PROBE_Y'

       #elif BACK_PROBE_BED_POSITION > MAX_PROBE_Y

                                       ^

Configuration.h:480: error: floating constant in preprocessor expression

 #define Y_PROBE_OFFSET_FROM_EXTRUDER 16.00  // Y offset: -front +behind [the nozzle]

                                      ^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:84:32: note: in definition of macro 'min'

 #define min(a,b) ((a)<(b)?(a)sad smileyb))

                                ^

sketch\Conditionals_post.h:161:51: note: in expansion of macro 'Y_PROBE_OFFSET_FROM_EXTRUDER'

   #define MAX_PROBE_Y (min(Y_MAX_POS, Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))

                                                   ^

sketch\SanityCheck.h:409:39: note: in expansion of macro 'MAX_PROBE_Y'

       #elif BACK_PROBE_BED_POSITION > MAX_PROBE_Y

                                       ^

exit status 1
floating constant in preprocessor expression

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Be aware I am a rookie trying to learn and configure the autobedleveling on my printer.
I have started from scratch to configure the marlin firmware because I did not had any information from my printer. Now I connected a servo arm with micro-switch. When I send a G28 all works fine, the arm lowers and stops the extruder from lowering. Because I am a rookie I search the internet for sollutions, I follow this guy's tutorial from youtube [www.youtube.com] (I know it's 3years old) so I enter my measurements like the guy explant in the video.
can somebody help me further with my problem?
here is the link to my configuration.h file link
Re: G29 command nothing happens
November 13, 2016 05:49AM
Quote
// @section bedlevel

//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)



Looks like you have auto bed leveling dissabled






oops, beat me to it spinning smiley sticking its tongue out

Edited 1 time(s). Last edit at 11/13/2016 05:50AM by obewan.
Re: G29 command nothing happens
November 13, 2016 06:49AM
indeed it was disabled but I cannot upload the marlin after I enable it, got the error messages that I explane in this topic.
Re: G29 command nothing happens
November 13, 2016 03:56PM
Found my problem, don't know just the reason but I change version of Marlin, I used RC7 now I installed RCBugFix instead and it works.
Auto bed levelling is working now but I find that the nozzle is a little bit to high from the nozzle.
Where can I adjust this setting in the configuration.h file ?
Thanks in advance
Re: G29 command nothing happens
November 13, 2016 05:23PM
If you have eeprom enabled you need to store the offset into the eeprom,if you are useing repetier host then this can be done via the
'config' menu.
Allso here is a link to tom's guide on auto bed levelling
[www.youtube.com]
Sorry, only registered users may post in this forum.

Click here to login