OpenDACT(Delta Automatic Calibration Tool) - For Repetier

User-Generated tips and tricks for the Rostock Max, Orion, H1.1, or H1 Printers
User avatar
RollieRowland
Printmaster!
Posts: 226
Joined: Fri Jul 17, 2015 5:30 pm
Location: U.S.

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by RollieRowland »

duvdev wrote:Hi all
I need some help - I finally got the time to play with new ver of the app - thank you guys' you are doing a great job.

So I downloaded the latest ver of the app.
I have a micro switch that I want to assemble as a Z-probe.
I will connect it to Z min in the Rambo board
What do I need to do next?

Change "has Z probe" in configuration file to TRUE?

What a the stages to run the app?
What is the correct state of the switch? touches the glass High or low?
My switch will be a bit lower the hot end itself - how do I overcome that difference?

thanks a lot.
My switch position returns H while pressed and L when open. This is because I inverted the state of my switch in the firmware(on_high).

#define FEATURE_Z_PROBE true
#define Z_PROBE_PIN 10
#define Z_PROBE_PULLUP true
#define Z_PROBE_ON_HIGH false
#define Z_PROBE_X_OFFSET 0
#define Z_PROBE_Y_OFFSET 0
#define Z_PROBE_WAIT_BEFORE_TEST false
#define Z_PROBE_SPEED 2
#define Z_PROBE_XY_SPEED 150
#define Z_PROBE_HEIGHT 39.91
#define Z_PROBE_START_SCRIPT ""
#define Z_PROBE_FINISHED_SCRIPT ""

So there is no true correct switch position, it is just that your firmware needs to know which state your switch is. With on_high set to true you need to see L when pressed and H when open.

For the offset between your hotend and the z probe, there is a way to adjust for this in the program. All you need to do is set your z height prior to calibration and set the switch type to ZProbe (as opposed to FSR).
derzaubererer wrote: i have exactly the same questions also my microswitch is a little bit to the left of the nozzle is there a way to change the offsets?
To adjust your offset in the X/Y directions, use #define Z_PROBE_X_OFFSET 0 and #define Z_PROBE_Y_OFFSET 0.


626pilot wrote: As I was told by my American Lit history professor: "Good writing is re-writing."
geneb wrote: ...which is why he's a Lit professor and not a programmer. :)

g.
I agree with both points here. However, it would have been more work to restructure the code than to start from scratch - at least in this case. And of course I did take fragments of functions and refactor them, so it wasn't completely from scratch!

Edit: Also, just had the first successful calibration with the new code. There is still a lot left to do but I plan on wasting my whole weekend on it though!
geneb
ULTIMATE 3D JEDI
Posts: 5351
Joined: Mon Oct 15, 2012 12:47 pm
Location: Graham, WA
Contact:

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by geneb »

Do you have the X/Y scaling nailed down? I want to try the new code on White MAX now that I've got the ball & socket arms on it - the delta arm length is 290.8mm. I need the scaling to be dead on because that's my go-to printer when I'm doing MakeXYZ jobs.

g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
User avatar
RollieRowland
Printmaster!
Posts: 226
Joined: Fri Jul 17, 2015 5:30 pm
Location: U.S.

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by RollieRowland »

geneb wrote:Do you have the X/Y scaling nailed down? I want to try the new code on White MAX now that I've got the ball & socket arms on it - the delta arm length is 290.8mm. I need the scaling to be dead on because that's my go-to printer when I'm doing MakeXYZ jobs.

g.
I will test it before hand but XY measurements were within a .1-.2mm tolerance across the plate last I checked. The Z scaling will need adjusted for, however, it is very easy to find that offset. I will check here in an hour or so and let you know what I find out.
derzaubererer
Printmaster!
Posts: 70
Joined: Tue Aug 25, 2015 10:15 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by derzaubererer »

im currently in need of a mount for my z probe wich will work with my e3d hotend mount with the 50mm fans that are available in europe
can anyone share their designs for limit switch mounts ?
EL Cuajinais
Printmaster!
Posts: 96
Joined: Wed Feb 18, 2015 9:09 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by EL Cuajinais »

I may give the html version a try over the weekend but the github page is down. Is it also available on your google drive?
User avatar
RollieRowland
Printmaster!
Posts: 226
Joined: Fri Jul 17, 2015 5:30 pm
Location: U.S.

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by RollieRowland »

EL Cuajinais wrote:I may give the html version a try over the weekend but the github page is down. Is it also available on your google drive?
GitHub is currently working for me, but here is the link for V2.1.1
https://drive.google.com/file/d/0B06WCA ... sp=sharing
EL Cuajinais
Printmaster!
Posts: 96
Joined: Wed Feb 18, 2015 9:09 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by EL Cuajinais »

RollieRowland wrote:
EL Cuajinais wrote:I may give the html version a try over the weekend but the github page is down. Is it also available on your google drive?
GitHub is currently working for me, but here is the link for V2.1.1
https://drive.google.com/file/d/0B06WCA ... sp=sharing
Thanks. Ok now github is working for me too. The link you posted above is for the app correct? I'm on a Mac so I can't run it. However since the github is working, I was able to download the html version V1.0.3. Is this the latest html version?
User avatar
RollieRowland
Printmaster!
Posts: 226
Joined: Fri Jul 17, 2015 5:30 pm
Location: U.S.

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by RollieRowland »

EL Cuajinais wrote:
RollieRowland wrote:
EL Cuajinais wrote:I may give the html version a try over the weekend but the github page is down. Is it also available on your google drive?
GitHub is currently working for me, but here is the link for V2.1.1
https://drive.google.com/file/d/0B06WCA ... sp=sharing
Thanks. Ok now github is working for me too. The link you posted above is for the app correct? I'm on a Mac so I can't run it. However since the github is working, I was able to download the html version V1.0.3. Is this the latest html version?
Sorry, must have misread your post. Here is the latest html version:
https://drive.google.com/file/d/0B06WCA ... sp=sharing

I will update the one on github, it isn't the latest version.
EL Cuajinais
Printmaster!
Posts: 96
Joined: Wed Feb 18, 2015 9:09 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by EL Cuajinais »

Got it. Thank you very much. If I am able to do this over the weekend I will report my results.
derzaubererer
Printmaster!
Posts: 70
Joined: Tue Aug 25, 2015 10:15 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by derzaubererer »

Hello rowland i have currently mounted my z - probe via this great mount https://www.thingiverse.com/thing:892717
however i have recently purchased the fsr kit but i still want to test my z probe i got it running it is detected however when i run your opendact tool and press calibrate an error pops up

Code: Select all

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

 Ausnahmetext 
System.FormatException: Die Eingabezeichenfolge hat das falsche Format.
   bei System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
   bei System.Convert.ToDouble(String value)
   bei deltaKinematics.Form1.setVariablesAll()
   bei deltaKinematics.Form1.calibrateButton_Click(Object sender, EventArgs e)
   bei System.Windows.Forms.Control.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
   bei System.Windows.Forms.Button.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


 Geladene Assemblys 
mscorlib
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.96.0 built by: NETFXREL2STAGE.
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
Delta Kinematics Calibration Tool
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Users/Remy/Desktop/Delta%20Calibration2.1.1PA/Delta%20Kinematics%20Calibration%20Tool.exe.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.81.0 built by: NETFXREL2.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.81.0 built by: NETFXREL2.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.93.0 built by: NETFXREL2STAGE.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Configuration
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.81.0 built by: NETFXREL2.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Core
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.81.0 built by: NETFXREL2.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Xml
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.81.0 built by: NETFXREL2.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
mscorlib.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.81.0 built by: NETFXREL2.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.81.0 built by: NETFXREL2.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------

 JIT-Debuggen 
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.


(man will i be glad when my fsr kit arrives:))
its so hard to measure my offsets from the x and y axis because the nozzle is tiled in a weird angle do you have some tipps to get good offset values with a digital caliper?
Micael
Printmaster!
Posts: 42
Joined: Fri May 01, 2015 3:47 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by Micael »

That error is very likely because you don't have the language set to english, if you change the keyboard and region settings to English (United States) it should start working, at least it did for me, and I was having the exact same error.
derzaubererer
Printmaster!
Posts: 70
Joined: Tue Aug 25, 2015 10:15 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by derzaubererer »

Micael wrote:That error is very likely because you don't have the language set to english, if you change the keyboard and region settings to English (United States) it should start working, at least it did for me, and I was having the exact same error.
wow i feel really dumb ill test this instantly when i get home
geneb
ULTIMATE 3D JEDI
Posts: 5351
Joined: Mon Oct 15, 2012 12:47 pm
Location: Graham, WA
Contact:

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by geneb »

Rollie, when you're done with your refactoring work, let me know. I'll re-fork the project and fix the culture issue (that's what's triggering the posted exception). I did a pull on my fork (har!) this morning and it's all mangled. :)

g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
Micael
Printmaster!
Posts: 42
Joined: Fri May 01, 2015 3:47 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by Micael »

Well I have spent around 12 hours trying to get the software to work with my printer and I'm at a loss, have tried different versions (2.1.1, 2.05a and 2.0.4PA), tried all of the 3 calibration methods, different settings, tried with an FSR, and a Z-probe, with different Z-probe Start Height, and different probing speeds, I have reset the eeprom and reset the height to the switch/fsr each time before starting, and the software continually tries to crash my hotend after a while, my most "successful" attempt was with the H.A.I. Calibration where the software goes through a few iterations, one of which was already getting pretty good with most of the height maps bellow 1mm error, and some at 0.0Xmm, however it then decided to change values drastically and as a result while moving from one point to the next it crashed the hot end into the glass..

Basic calibration is pretty much useless for me, because after 1 or 2 attempts after it homes again, it goes down and tries to go through the printer, the reason I believe is this "Z-Probe length set to: -39.735" which doesn't happen with the H.A.I. calibration which puts it at "Z-Probe length set to: -0.100000000000023" and then at "Z-Probe length set to: 0.199999999999989", although these values change slightly from test to test, the last test had these "values Z-Probe length set to: -0.15300000000002" and "Z-Probe length set to: 0.20700000000005" this last test was at a 1mm/s probe speed.

My printer tower are calibrated for a difference of less than 0.1º, and while I can't speak of the accuracy of the device used for this, I used a bahco squaring frame and it is aligned to the point that even putting pressure on the bed end doesn't move it, so if it's not at the < 0.1º is is likely close enough to not cause this sort of issues, I also reset the end stop screws which were measured with a digital caliper, and while I can't say they are 100% at the same height they are likely sub 0.20mm difference, and the software is suppose to compensate for the difference in screw height, so doubt this difference is causing the issue too.
The firmware being used is the one that is advised in the Rostock max v2, and ofc my printer is also a Rostock max v2, where the only hardware change is the hotend which is a E3D V6, connected using the seemecnc ez groove mount adapter and aluminium rods like the ones that come with the original hot end (but bigger).

When I was trying with the FSR, the FSR was placed directly on the hot end nozzle, through a plastic circular spacer and glued with hot glue, and the transition between the FSR and the connection to the rambo board was being done through an arduino with a voltage divider circuit to change sensitivity, adding to that I was also controlling how much sensitivity was triggering or not triggering the Z-min through a software on the arduino, tried several different sensitivities, and none of it seemed to make a difference, and ofc the hardware was in fact detecting the input, since it could go through several probings.

Since the software wasn't working I decided to switch the FSR for a microswitch (OMRON SS-5GL13-F), glued to the side of the E3D V6 hotend, the activation point is located at around X: -9.50 Y: -11.00, with the following configuration:
#define MIN_HARDWARE_ENDSTOP_Z true


#define FEATURE_Z_PROBE true
#define Z_PROBE_PIN 10
#define Z_PROBE_PULLUP true
#define Z_PROBE_ON_HIGH false
#define Z_PROBE_X_OFFSET -9.50
#define Z_PROBE_Y_OFFSET -11.00
// Waits for a signal to start. Valid signals are probe hit and ok button.
// This is needful if you have the probe trigger by hand.
#define Z_PROBE_WAIT_BEFORE_TEST false
/** Speed of z-axis in mm/s when probing */
#define Z_PROBE_SPEED 2
#define Z_PROBE_XY_SPEED 150
/** The height is the difference between activated probe position and nozzle height. */
#define Z_PROBE_HEIGHT 0.35
/** These scripts are run before resp. after the z-probe is done. Add here code to activate/deactivate probe if needed. */
#define Z_PROBE_START_SCRIPT ""
#define Z_PROBE_FINISHED_SCRIPT ""
Reporting H when being pressed and L when not, and ofc it is working since I can go through several iterations without running into any issues.

Here is the console and printer console log for the latest attempt (version 2.0.4ap H.A.I. with 1mm/s probe speed)

https://www.dropbox.com/s/mxzqqqruidkhy ... t.rtf?dl=0

and a screenshot of the software at the time of the crash

https://www.dropbox.com/s/svx5gxgewc9h4 ... 6.png?dl=0

as you can see from the log and even from the screenshot the last 2 probes are completely off, what happened was that the printer started making a pretty long arch from probing point to probing point, and in doing so the head (and probe) ended up crashing against the glass, and ofc by that point the printer started skipping steps due to forcing the head into the glass.


Anyway if you have any ideas of what I should do, or even suggestions on what I should test, it would be appreciated.

Thank you.
User avatar
RollieRowland
Printmaster!
Posts: 226
Joined: Fri Jul 17, 2015 5:30 pm
Location: U.S.

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by RollieRowland »

Micael wrote:Well I have spent around 12 hours trying to get the software to work with my printer and I'm at a loss, have tried different versions (2.1.1, 2.05a and 2.0.4PA), tried all of the 3 calibration methods, different settings, tried with an FSR, and a Z-probe, with different Z-probe Start Height, and different probing speeds, I have reset the eeprom and reset the height to the switch/fsr each time before starting, and the software continually tries to crash my hotend after a while, my most "successful" attempt was with the H.A.I. Calibration where the software goes through a few iterations, one of which was already getting pretty good with most of the height maps bellow 1mm error, and some at 0.0Xmm, however it then decided to change values drastically and as a result while moving from one point to the next it crashed the hot end into the glass..

Basic calibration is pretty much useless for me, because after 1 or 2 attempts after it homes again, it goes down and tries to go through the printer, the reason I believe is this "Z-Probe length set to: -39.735" which doesn't happen with the H.A.I. calibration which puts it at "Z-Probe length set to: -0.100000000000023" and then at "Z-Probe length set to: 0.199999999999989", although these values change slightly from test to test, the last test had these "values Z-Probe length set to: -0.15300000000002" and "Z-Probe length set to: 0.20700000000005" this last test was at a 1mm/s probe speed.

My printer tower are calibrated for a difference of less than 0.1º, and while I can't speak of the accuracy of the device used for this, I used a bahco squaring frame and it is aligned to the point that even putting pressure on the bed end doesn't move it, so if it's not at the < 0.1º is is likely close enough to not cause this sort of issues, I also reset the end stop screws which were measured with a digital caliper, and while I can't say they are 100% at the same height they are likely sub 0.20mm difference, and the software is suppose to compensate for the difference in screw height, so doubt this difference is causing the issue too.
The firmware being used is the one that is advised in the Rostock max v2, and ofc my printer is also a Rostock max v2, where the only hardware change is the hotend which is a E3D V6, connected using the seemecnc ez groove mount adapter and aluminium rods like the ones that come with the original hot end (but bigger).

When I was trying with the FSR, the FSR was placed directly on the hot end nozzle, through a plastic circular spacer and glued with hot glue, and the transition between the FSR and the connection to the rambo board was being done through an arduino with a voltage divider circuit to change sensitivity, adding to that I was also controlling how much sensitivity was triggering or not triggering the Z-min through a software on the arduino, tried several different sensitivities, and none of it seemed to make a difference, and ofc the hardware was in fact detecting the input, since it could go through several probings.

Since the software wasn't working I decided to switch the FSR for a microswitch (OMRON SS-5GL13-F), glued to the side of the E3D V6 hotend, the activation point is located at around X: -9.50 Y: -11.00, with the following configuration:
#define MIN_HARDWARE_ENDSTOP_Z true


#define FEATURE_Z_PROBE true
#define Z_PROBE_PIN 10
#define Z_PROBE_PULLUP true
#define Z_PROBE_ON_HIGH false
#define Z_PROBE_X_OFFSET -9.50
#define Z_PROBE_Y_OFFSET -11.00
// Waits for a signal to start. Valid signals are probe hit and ok button.
// This is needful if you have the probe trigger by hand.
#define Z_PROBE_WAIT_BEFORE_TEST false
/** Speed of z-axis in mm/s when probing */
#define Z_PROBE_SPEED 2
#define Z_PROBE_XY_SPEED 150
/** The height is the difference between activated probe position and nozzle height. */
#define Z_PROBE_HEIGHT 0.35
/** These scripts are run before resp. after the z-probe is done. Add here code to activate/deactivate probe if needed. */
#define Z_PROBE_START_SCRIPT ""
#define Z_PROBE_FINISHED_SCRIPT ""
Reporting H when being pressed and L when not, and ofc it is working since I can go through several iterations without running into any issues.

Here is the console and printer console log for the latest attempt (version 2.0.4ap H.A.I. with 1mm/s probe speed)

https://www.dropbox.com/s/mxzqqqruidkhy ... t.rtf?dl=0

and a screenshot of the software at the time of the crash

https://www.dropbox.com/s/svx5gxgewc9h4 ... 6.png?dl=0

as you can see from the log and even from the screenshot the last 2 probes are completely off, what happened was that the printer started making a pretty long arch from probing point to probing point, and in doing so the head (and probe) ended up crashing against the glass, and ofc by that point the printer started skipping steps due to forcing the head into the glass.


Anyway if you have any ideas of what I should do, or even suggestions on what I should test, it would be appreciated.

Thank you.
I see that there is an issue with setting the zprobe length, I haven't actually tested that but I can tell that the value is inverted from what it should be set to. But from your log/screencap, I cannot see why your effector is crashing. The two of the last heights in your log had no corresponding change from a change in your EEPROM values - the only change was to the horizontal radius, which would have a consistent change around the plate and not in two specific places. This is what I don't understand. Also, since your initial horizontal radius was 126.85 and it changed to 130.6, your outer six heights would lower by 2mm. So, I don't quite understand how that would happen. It actually isn't possible to get a value such as that through changing settings in your eeprom. If the X, Y, or Z offsets were changed, then other heights would change along with the change in the tower. The same goes for the change in delta radii, similar but still changes in other heights(other than the tower that was changed).

Center: 10.04, X: 10.31, XO: 10.6, Y: 10.69, YO: 2.41, Z: 13.83, ZO: unchecked

An error such as this cannot easily happen from changes in your eeprom. I would have to assume that your Y towers belt slipped midway through moving from the Y position to the opposite Y position. Using your X,Y, and Z tower offset percentages to find the change in your towers:
Y tower: = (1.639/0.721) * (10-2.41) = 17.25 --> what your Y tower would be if your belt slipped
Z tower: = (0.525/1.639) * 17.25 + 10 = 15.525 --> estimation of what the Z tower would be given this change - of course this is just an estimation but is close to 13.83

This change does correspond to your Y towers belt slipping. I am not saying this is the exact issue but this is the only way that I can think of this kind of error being possible. Since this is at least a possibility, you should check the tension of your belts or otherwise the travel speed may need slowed down.

If anyone else has any other suggestions, then let me know.


geneb wrote: Rollie, when you're done with your refactoring work, let me know. I'll re-fork the project and fix the culture issue (that's what's triggering the posted exception). I did a pull on my fork (har!) this morning and it's all mangled. :)

g.
Ok, I will let you know. I am close to finishing, I may be done in about a week!
Micael
Printmaster!
Posts: 42
Joined: Fri May 01, 2015 3:47 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by Micael »

RollieRowland wrote:This change does correspond to your Y towers belt slipping.

Hi when you mention this, I assume you are referring to this part "YO: 2.41, Z: 13.83" in particular, if you are, then yes by that point the belt had slipped, because the head had crashed into the table, and ofc the motors continued to force the head into the glass, making the belt slip, but I didn't stop the printer right away, which is why it still took those 2 values which are ofc very wrong.

In short the last 2 values that were taken were taken after the head had already crashed into the glass, I'm sorry if I didn't make this explicit in my original post.
User avatar
RollieRowland
Printmaster!
Posts: 226
Joined: Fri Jul 17, 2015 5:30 pm
Location: U.S.

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by RollieRowland »

Micael wrote:
RollieRowland wrote:This change does correspond to your Y towers belt slipping.

Hi when you mention this, I assume you are referring to this part "YO: 2.41, Z: 13.83" in particular, if you are, then yes by that point the belt had slipped, because the head had crashed into the table, and ofc the motors continued to force the head into the glass, making the belt slip, but I didn't stop the printer right away, which is why it still took those 2 values which are ofc very wrong.

In short the last 2 values that were taken were taken after the head had already crashed into the glass, I'm sorry if I didn't make this explicit in my original post.
Sorry, must've read your post too quickly. Ok, so where exactly on the plate did the effector first hit? If the slipping of the belts did not cause this error then I am still not sure what may have caused this.
Micael
Printmaster!
Posts: 42
Joined: Fri May 01, 2015 3:47 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by Micael »

RollieRowland wrote:
Micael wrote:
RollieRowland wrote:This change does correspond to your Y towers belt slipping.

Hi when you mention this, I assume you are referring to this part "YO: 2.41, Z: 13.83" in particular, if you are, then yes by that point the belt had slipped, because the head had crashed into the table, and ofc the motors continued to force the head into the glass, making the belt slip, but I didn't stop the printer right away, which is why it still took those 2 values which are ofc very wrong.

In short the last 2 values that were taken were taken after the head had already crashed into the glass, I'm sorry if I didn't make this explicit in my original post.
Sorry, must've read your post too quickly. Ok, so where exactly on the plate did the effector first hit? If the slipping of the belts did not cause this error then I am still not sure what may have caused this.
Hi, making a video of it now (at 5 mm/s probing for expediency sake), but it was when moving between the Y, and the YO if I remember correctly, while doing the moves between probing positions, it was doing a really significant convex arc between the probing points, so when transitioning between Y and YO it hit the glass and the printer continued to force itself, until it thought he had reached the position at which point it took the measure, of since the movements were happenign while the head was being pushed against the glass, in reality the point at which it probed, was not the exact YO point, and also since it was already crashing against the glass, the switch was already active before it actually took the measurement, it then proceeded towards the Z point, taking the previous errors, and I believe adding a few new ones, since the switch metal tab was dragging through the glass during the movement, it was when trying to measure ZO that I stopped the printer, since it crashed hard again, and ofc by that point the measurements were useless.
User avatar
RollieRowland
Printmaster!
Posts: 226
Joined: Fri Jul 17, 2015 5:30 pm
Location: U.S.

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by RollieRowland »

Micael wrote: Hi, making a video of it now (at 5 mm/s probing for expediency sake), but it was when moving between the Y, and the YO if I remember correctly, while doing the moves between probing positions, it was doing a really significant convex arc between the probing points, so when transitioning between Y and YO it hit the glass and the printer continued to force itself, until it thought he had reached the position at which point it took the measure, of since the movements were happenign while the head was being pushed against the glass, in reality the point at which it probed, was not the exact YO point, and also since it was already crashing against the glass, the switch was already active before it actually took the measurement, it then proceeded towards the Z point, taking the previous errors, and I believe adding a few new ones, since the switch metal tab was dragging through the glass during the movement, it was when trying to measure ZO that I stopped the printer, since it crashed hard again, and ofc by that point the measurements were useless.
Ok, a video will help us find out what exactly is happening. Link me once you have it uploaded.
Micael
Printmaster!
Posts: 42
Joined: Fri May 01, 2015 3:47 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by Micael »

RollieRowland wrote:
Micael wrote: Hi, making a video of it now (at 5 mm/s probing for expediency sake), but it was when moving between the Y, and the YO if I remember correctly, while doing the moves between probing positions, it was doing a really significant convex arc between the probing points, so when transitioning between Y and YO it hit the glass and the printer continued to force itself, until it thought he had reached the position at which point it took the measure, of since the movements were happenign while the head was being pushed against the glass, in reality the point at which it probed, was not the exact YO point, and also since it was already crashing against the glass, the switch was already active before it actually took the measurement, it then proceeded towards the Z point, taking the previous errors, and I believe adding a few new ones, since the switch metal tab was dragging through the glass during the movement, it was when trying to measure ZO that I stopped the printer, since it crashed hard again, and ofc by that point the measurements were useless.
Ok, a video will help us find out what exactly is happening. Link me once you have it uploaded.
Ok, think I found the problem while making the videos, it seems to me that the X cheapskates might be too loose, will adjust them and retry, and if it still fails I will post a video of it.

EDITED: still no idea if this solves the problem or not since I don't have the keys to adjust it now, but having checked the video the cheapskates are definitely wrong, and I have absolutely no idea how I got this so wrong, must have just checked the first part of the video, and completely ignored the rest, because this X carriage (and even the others to an extent), are just really wrong since they have some side play, and in the case of the X, when pressed from the sides, some of the wheels even stops making contact.
EL Cuajinais
Printmaster!
Posts: 96
Joined: Wed Feb 18, 2015 9:09 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by EL Cuajinais »

I tried the html version over the weekend and got nowhere. First issue was the Repable Electronic Caliper holder was super loose on my caliper. I had to shim and stuff it with a paper towel. Took me a good while to feel confident that there was no play and I was getting accurate readings. The uploader did not provide the source file so I need to spend a bit of time recreating the model just to make the slot narrower to fit my caliper. Will do it before my next attempt. On to the calibration process:

I tried about three times. Every time my measurements were in the < .5mm range excepted the Y-Tower which was a huge 1.8mm off. And this huge error is consistent with all the issues I’ve had with printing large objects with my printer. I fed the new values the software gave me and it didn’t help anything. All it did was that when I homed the printer, after the carriages reached all the end stops, they would quickly move to a new position. At first I thought the printer was glitchy but then I realized that this was the new “corrected” center position. Only it looked disturbingly off-center. My diagonal rod increased from the default 269 to 274 and change. After running the printer with the “corrected” values, it was worse. All I remember is that the X tower now had a > 2mm error. So I reset everything, did the calibration again, got similar readings, input similar corrected values into the EEPROM and always had the same worse “after-calibration” result. Tried about three times and gave up and installed the hotend back again since this is my only printer. I never tried the expert settings since there was too much stuff to figure out. The version on the Youtube video is an earlier build and does not have so much fields I didn’t know what to with. In the end I came away disappointed but I have my printer up and running again so at least I didn’t incur in much downtime like I was afraid I would.

Some questions:
1. What is the correct Steps/mm to use? I left that at the default 80. Probe height I left at zero.
2. Is the 1.8mm value of my Y tower too large for the program to work?
3. Will purchasing the new SeeMe carriages and delta arms help make my printer use the entire bed. I do believe the towers and bed are not the issue, because I checked (with a square ruler not a digital angle thingy). I did check the arms a zillion times too and have some zip ties limiting pay. God I don’t even want to start a discussion on things I could try since I’ve exhausted the list and my patience a few months ago. I don’t want to resurface the memories of that nightmare.
4. I did not touch any of the endstop screws. It was a good thing since the process didn’t work, going back to my working settings was just a matter of putting everything back at default and changing only the horizontal radius back to what it was. There is no need to mess with the endstop screws for the program to work correct? I did input into the EEPROM the new endstop values the calibration software gave me.
User avatar
RollieRowland
Printmaster!
Posts: 226
Joined: Fri Jul 17, 2015 5:30 pm
Location: U.S.

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by RollieRowland »

Micael wrote: Ok, think I found the problem while making the videos, it seems to me that the X cheapskates might be too loose, will adjust them and retry, and if it still fails I will post a video of it.

EDITED: still no idea if this solves the problem or not since I don't have the keys to adjust it now, but having checked the video the cheapskates are definitely wrong, and I have absolutely no idea how I got this so wrong, must have just checked the first part of the video, and completely ignored the rest, because this X carriage (and even the others to an extent), are just really wrong since they have some side play, and in the case of the X, when pressed from the sides, some of the wheels even stops making contact.
I could see that causing an issue.. Definitely make sure that your skates are tight - but not too tight. Although, there should not be any play in your skates though.
EL Cuajinais wrote: I tried the html version over the weekend and got nowhere. First issue was the Repable Electronic Caliper holder was super loose on my caliper. I had to shim and stuff it with a paper towel. Took me a good while to feel confident that there was no play and I was getting accurate readings. The uploader did not provide the source file so I need to spend a bit of time recreating the model just to make the slot narrower to fit my caliper. Will do it before my next attempt. On to the calibration process:

I tried about three times. Every time my measurements were in the < .5mm range excepted the Y-Tower which was a huge 1.8mm off. And this huge error is consistent with all the issues I’ve had with printing large objects with my printer. I fed the new values the software gave me and it didn’t help anything. All it did was that when I homed the printer, after the carriages reached all the end stops, they would quickly move to a new position. At first I thought the printer was glitchy but then I realized that this was the new “corrected” center position. Only it looked disturbingly off-center. My diagonal rod increased from the default 269 to 274 and change. After running the printer with the “corrected” values, it was worse. All I remember is that the X tower now had a > 2mm error. So I reset everything, did the calibration again, got similar readings, input similar corrected values into the EEPROM and always had the same worse “after-calibration” result. Tried about three times and gave up and installed the hotend back again since this is my only printer. I never tried the expert settings since there was too much stuff to figure out. The version on the Youtube video is an earlier build and does not have so much fields I didn’t know what to with. In the end I came away disappointed but I have my printer up and running again so at least I didn’t incur in much downtime like I was afraid I would.

Some questions:
1. What is the correct Steps/mm to use? I left that at the default 80. Probe height I left at zero.
2. Is the 1.8mm value of my Y tower too large for the program to work?
3. Will purchasing the new SeeMe carriages and delta arms help make my printer use the entire bed. I do believe the towers and bed are not the issue, because I checked (with a square ruler not a digital angle thingy). I did check the arms a zillion times too and have some zip ties limiting pay. God I don’t even want to start a discussion on things I could try since I’ve exhausted the list and my patience a few months ago. I don’t want to resurface the memories of that nightmare.
4. I did not touch any of the endstop screws. It was a good thing since the process didn’t work, going back to my working settings was just a matter of putting everything back at default and changing only the horizontal radius back to what it was. There is no need to mess with the endstop screws for the program to work correct? I did input into the EEPROM the new endstop values the calibration software gave me.
Yes, when the virtual X, Y, or Z offsets are changed, the effector will not be perfectly in the center of the plate - the same occurs when you change your mechanical offsets. Also, changing the virtual offsets will cause it to be "glitchy" after the printer homes.

When that type of error occurs it would be better to use the expert settings, however, I understand that it could be difficult to figure out - never put as much time into the How-To before I started working on the auto calibration.

1. The default for the max v2 is 80 spm - if that is what you are using.
2. Nope, not too large, although you may want to check if you have an error elsewhere that you can mechanically fix prior, i.e. tower angles.
3. I'm not too sure that the carriages are causing an issue. I do not have the new carriages, so if anyone else who has made the upgrade has any input then let us know.
4. Nope, no need to touch the endstop screws.

Since this hasn't worked for you, and I don't have much information to really see what's wrong - the log in the auto calibration makes the process much easier - then I don't know exactly what to suggest at the moment.
EL Cuajinais
Printmaster!
Posts: 96
Joined: Wed Feb 18, 2015 9:09 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by EL Cuajinais »

RollieRowland wrote:Since this hasn't worked for you, and I don't have much information to really see what's wrong - the log in the auto calibration makes the process much easier - then I don't know exactly what to suggest at the moment.
No prob. I’ll just print a modified version of the caliper holder to fit my caliper and hold on tight until someone can describe all the expert fields of the V1.0.3 html version; Or MHackney posts the Mac app and I find a guide to installing FSR’s. But I’d rather go the manual route before spending any money. This seems to be mostly a set it and forget it process so I don't know if installing FSR's would be worth it.
Micael
Printmaster!
Posts: 42
Joined: Fri May 01, 2015 3:47 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by Micael »

RollieRowland wrote:
Micael wrote: Ok, think I found the problem while making the videos, it seems to me that the X cheapskates might be too loose, will adjust them and retry, and if it still fails I will post a video of it.

EDITED: still no idea if this solves the problem or not since I don't have the keys to adjust it now, but having checked the video the cheapskates are definitely wrong, and I have absolutely no idea how I got this so wrong, must have just checked the first part of the video, and completely ignored the rest, because this X carriage (and even the others to an extent), are just really wrong since they have some side play, and in the case of the X, when pressed from the sides, some of the wheels even stops making contact.
I could see that causing an issue.. Definitely make sure that your skates are tight - but not too tight. Although, there should not be any play in your skates though.
Fixed the cheapskates so they have no play, they are pretty much how the manual video shows now, then after doing them re tried the software and still doesn't work, even redid the switch from a mechanical connection to soldered wires, and re-glued it on the side of the hotend, and unfortunately still doesn't work, so did a video to show the problem, in this case with H.A.I. Calibration, but also tried the other calibration modes and none of them work

https://www.youtube.com/watch?v=FWz-G63Rt8k

The video includes the entire process from start until the crash, and obviously the crash is just at the end, I used a build diameter of just 80mm so as to minimize any other problems that could potentially exist, but the problem is also there when I set other build diameters (usually try it at 240 or 250). The probing speed is at the default 5mm, but the problem also happens with lower and higher speeds, and the Z-probe Start Height is also at default 10, but changing it makes no difference, diagonal rods are set at 269 since I have a Rostock max v2 with the default arms, the Z-minimum Type was set to Z-probe, and I now also have "#define Z_PROBE_X_OFFSET 0.00
#define Z_PROBE_Y_OFFSET 0.00" #define Z_PROBE_HEIGHT 0.00" since at this point I'm not really interested in the end result of the calibration merely what happens after the process is complete, and setting this all to 0 creates what is more or less equivalent to a perfect FSR setup as a switch, not that it makes a difference the problem happens either way.
Cleared the eeprom before each attempt, and ofc reflashed the repetier firmware after clearing the eeprom, after doing both those things I also set the height at the 0 point when the switch activates, as can be seen at the start of the video

In the video there is also a multimeter which is connected to the switch wires, to serve as verification that it isn't a mechanical/electrical issue with the switch.

Here is the screenshots of the software and it's Heightmaps:

http://imgur.com/a/X9rNO

and the logs from the Console and printer console:

https://www.dropbox.com/s/isa8f4d3uvzje ... 5.rtf?dl=0

If more information is needed to solve the issue, please let me know.
EL Cuajinais
Printmaster!
Posts: 96
Joined: Wed Feb 18, 2015 9:09 am

Re: OpenDACT(Delta Automatic Calibration Tool) - For Repetie

Post by EL Cuajinais »

Ok so now I've tried enough to feel confident in saying html version 1.04 is simply not working for me unless I'm supposed to know the motor step angle, driver micro stepping, belt pitch, and pulley tooth count. All which I have no frickin' idea.

Can you please tell me what I'm supposed to use with a stock RMAX V2 on those fields? Does it have an effect?

More importantly, can you please post the html version 1.01, the one featured in the video, back up so I can use that one instead. I like that it does not mess with the endstop values, and most of all, I like that it works (as demonstrated by the video). I'm really eager to be able to use my entire bed!
Post Reply

Return to “General Tips 'N Tricks”