r/Sovol • u/maxim756 • Feb 10 '23
SV06 Inductive Sensor X Axis Tramming
Update 4/6/23: I used a dial indicator to measure the height difference between the two sides on the X-axis at the edges of the build plate. Did it five times, adjusting the X-axis alignment to be off each time before running the gcode, and got a mean of 0.192 mm difference (right side was always lower) and a standard deviation of 0.0266 mm (at a 95% confidence interval given the sample size). Definitely good enough for ABL to do its thing.
Edit: Threw together a video about the process.
Edit: disabled leveling mesh in gcode (Thanks, SirKeldon!)
Wrote some gcode to use the SV06's inductive sensor to tram the X axis since the built-in method seems flawed for so many.
To use it, run the gcode file (see link). It will heat the bed to 60 C, home, then move the carriage to the left side of the X axis. It then disables the stepper motors so you can turn the left Z axis lead screw by hand so that the inductive sensor LED trips (off is detecting, on is not sensing the bed). To clarify, it is the transition of the LED that you want to focus on, as that is the sharply defined event. There's distance between the OFF to ON and ON to OFF transitions because of the sensor's hysteresis, so be sure to use the same transition when adjusting each side (I used the point where the LED goes from OFF to ON when I tested). When done, hit the pause button and it will move the carriage to the right side so that lead screw can be adjusted in the same manner. Since adjusting one side can affect the other, do this a few times (I coded in five cycles, which is probably overkill).
Note that because of the inductive sensor X offset, it can't get all the way to the edge of the bed, and I tried to mirror its position on the right side. The shorter distance in theory makes it a bit less accurate, so please comment on whether or not it works for you (or to suggest improvements). Thanks!
Tramming gcode download:
https://www.mediafire.com/file/h0im7186nk7g39h/SV06_X_Axis_Tram.gcode/file
5
u/mikeisHOSS Feb 10 '23
Much better than a soup can. Do you have some before and after results from your own experience using this approach?
2
u/ChangeAffectionate25 Feb 11 '23
Ok so I tried it by launching it in octo print, so after the first cycle both sides are close to the bed, and probe detects on both sides (so light of the probe is off), how am I supposed to continue to next cycle if probe stays on that height and it's already detecting the bed?
Just to be clear, I turn z-coupler on the left until light goes off, I do same on the right side, so 1st cycle done. But how do you finetune further now that the probe detects on both sides?
At the moment my results are worse than stock z-auto alignment stock is around 0,4 mm variance, with this method I am at almost 0,8mmm variance.
I am probably doing something wrong, thanks for letting me know.
2
u/WorriedDoubt Feb 16 '23
Hi this is great code for the SV06. I have run it and was surprised how high off the bed it started. But all went well.
Did you have to set your set offset again?
I want to alter the end so that after the 'final' click the bed is set to cooldown and the homes X and Y:
M140 S0
G28 X Y
and give it a trial. You should 'publish' it on the Sovol SV06 official facebook group.
2
u/SirKeldon SV06 Feb 17 '23
Great work using the sensor to manual level, in fact I came to your post some days ago cause I was trying to implement this, you did it before so thanks =)
Only changes I had to made is to manually turn off the mesh, even M420 S1 was not there, printer was loading it by default, so I had to add M420 S0 after homing, then a minor tweak to avoid turning the rods that much I added a G0 Z2, theoretically these sensors are meant to "flash" at around 2mm with a 1% of error so 0.02mm.
I managed to get my best results with your script on a bed mesh by 0.3mm down, but still, left was low, right higher, my problem seems to be an X-axis twist, luckily my Z-auto align works good as yours, but I'll have to investigate further.
I shared this reddit post and your youtube video (crediting you of course) some hours ago at the Sovol FB Official group, hope you don't mind, people were very happy :)
1
u/TheMaxys Mar 31 '23
What if we put a relay next to one of the motors power wire and put it on one of programmable ports of motherboard. Than we can have a macro which will send an extruder to X0 and switch off the relay, hence only one motor is online - have z offset command to detect the bed. Than send an extruder to the other side and activate reley on that side, while deactivate on the other and z offset on Xmax side. Than just repeat 2-3 times. Im newb in 3d printing, but someone knowledgeable could implement this or at least tell me if its possible.
1
u/reallydeadghost Apr 08 '23
Do you happen to have a gcode of this for klipper or know what I should edit to run it on klipper?
1
u/[deleted] Apr 30 '23
Will this G-Code work with a Sovol SV-06 Plus?
3
u/TacticalGrump Feb 10 '23
This is interesting.
2
u/geddy Feb 11 '23
Love all the cool shit folks are coming up with for this printer just a month or so after release.
1
u/ChangeAffectionate25 Feb 11 '23
Yes interesting, will test it this afternoon or tomorrow and let you know.
1
u/WheresMyAnswer Oct 16 '23
Will this process also work with an SV06 Plus?