Results 11 to 20 of 396
-
09-24-2014, 09:11 PM #11
Last edited by printbus; 09-26-2014 at 09:01 AM.
-
09-24-2014, 09:21 PM #12
- Join Date
- Sep 2014
- Posts
- 12
Something else to look at in the configuration.h, right about that line it says :
//If defined, the Probe servo will be turned on only during movement and then turned off to avoid jerk
//The value is the delay to turn the servo off after powered on - depends on the servo speed; 300ms is good value, but you can try lower it.
// You MUST HAVE the SERVO_ENDSTOPS defined to use here a value higher than zero otherwise your code will not compile.
-
09-24-2014, 09:24 PM #13
- Join Date
- Jul 2014
- Location
- Eastern Colorado
- Posts
- 536
I tried that, it threw many more errors which I can't remember well enough to quote right now.
Yes, I saw that too. I used the deactivation delay before this fork came out, so it was working properly before. I have it set up properly.
Comparing the new version with what I was using yesterday, that whole "Retract Z Servo endstop if enabled" section is new. I commented it all out for now.Last edited by AbuMaia; 09-24-2014 at 09:32 PM.
-
09-24-2014, 09:37 PM #14
I don't remember retract_z_probe() ever having any arguments. I have a different theory. If you go find the declaration:
void retract_z_probe()
and then search for the first occurrence of
if (axis==Z_AXIS)
because that is what that error message:
Marlin_main.cpp:1100:13: error: ‘axis’ was not declared in this scope
if (axis==Z_AXIS)
is complaining about... You find this stuff just before the if (axis==Z_AXIS)
#ifndef Z_PROBE_SLED
engage_z_probe(); // Engage Z Servo endstop if available
#endif // Z_PROBE_SLED
run_z_probe();
float measured_z = current_position[Z_AXIS];
#ifndef Z_PROBE_SLED
if (retract_probe) {
do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS],current_position[Z_AXIS]+Z_RAISE_BETWEEN_PROBINGS );
retract_z_probe();
}
#endif // Z_PROBE_SLED
I bet those Z_PROBE_SLED #ifdef problems are biting you!
-
09-24-2014, 09:50 PM #15
- Join Date
- Jul 2014
- Location
- Eastern Colorado
- Posts
- 536
That section with the Z_PROBE_SLED is about 64 lines after the line throwing the error for me.
-
09-24-2014, 10:15 PM #16
-
09-24-2014, 10:25 PM #17
- Join Date
- Jul 2014
- Location
- Eastern Colorado
- Posts
- 536
It is. I downloaded the zip file, and merged my settings into it. If you compile it without changing anything, it will compile clean, but if you uncomment the servo deactivation delay line in configuration.h, it will not compile.
-
09-25-2014, 01:52 AM #18
Thanks to everyone who has tried a build.
I can confirm that if I clone the repo and open the "Marlin-Marlin_v1/Marlin/Marlin.ino" and do a build without altering anything else, it does build cleanly.
BUT: As with AbuMaia, uncommenting line 454 on Configuration.h (#define PROBE_SERVO_DEACTIVATION_DELAY 300) does cause a build failure.
SO: I pushed a fix: https://github.com/beckdac/Marlin/co...d5ba1a103c1f64
DO: You can reclone the repo or do a git pull. Modify your Configuration.h to reflect the DELAY you want and build.
NOTE: I'm pretty wedded to the command line. However, I'm trying to convert as many people as possible to "open source and open science & engineering" and I just discovered the GitHub desktop app. I'm on OS/X, but I see there is a windows version. It is pretty intuitive to use and has a nice visual of the history of a repo. Once you have cloned a repo locally, you can use an app like this in order to have a GUI into your local work.
Edit: For those of you who have "localized" this to your specific printer, would you mind posting a diff or a description of what you changed so that others may have some direction?Last edited by dacb; 09-25-2014 at 02:13 AM. Reason: Added request for more 411
-
09-25-2014, 07:03 AM #19
- Join Date
- Jul 2014
- Location
- Eastern Colorado
- Posts
- 536
Here is mine, set up for an 8 inch i3v with auto bed levelling and an end-of-filament detection switch.
https://dl.dropboxusercontent.com/u/...ia-Marlin.diff
-
09-25-2014, 07:46 AM #20
That was exactly my point. All of a sudden in the retract_z_probe function an attempt to use variable axis shows up and the compiler errors because it doesn't know what it is. It's evidently not a global, so it should be passed to retract_z_probe as an argument.
The number of ifdefs in the Marlin code is incredible.
Ender 3v2 poor printing quality
10-28-2024, 09:08 AM in Tips, Tricks and Tech Help