RepRapFirmware 3.0
-
@lb said in RepRapFirmware 3.0:
@bot said in RepRapFirmware 3.0:
Metrol offers switches with repeatability as small as 1 micron. I’m using 3 micron repeatability switches. Sure, they cost a bit but if you only need one it’s reasonable. Like $60 usd iirc for 3 micron.
Omron also has some very precise ones. But what would you use it for? If the motors are strong and do not loose steps within one print, it would not matter if the next print after a restart is slightly on a different place on the plate, or?
I use a Metrol precision switch on my Z axis where it most certainly is important that homing is accurate.
-
Yes, in most cases it is not necessary. I need to align two idex print heads, and so I chose to do it precisely the first time every time.
I also used them for all my homing switches. This should allow me to re-home the printer, in the case of power failure or something, and continue printing without being more than 3 microns off, in theory. In reality, the switches' positions will differ by more than 3 microns due to thermal expansion alone, if the ambient temp increases or decreases, but it's easier to control ambient temp than variability of a cheap microswitch.
-
@dc42 said in RepRapFirmware 3.0:
I have made new builds of RepRapFirmware 3 available:
Duet Maestro: https://www.dropbox.com/s/m0r3ldy424mxf4v/DuetMaestroFirmware.bin?dl=0Initial testing shows endstops, probing, motion, fans and heaters work as expected. Actual printing to follow, but waiting on some warranty replacements from Tiertime for that to work.
-
@bot said in RepRapFirmware 3.0:
Metrol offers switches with repeatability as small as 1 micron. I’m using 3 micron repeatability switches. Sure, they cost a bit but if you only need one it’s reasonable. Like $60 usd iirc for 3 micron.
I have not argued about the switch repeatability, even the relatively low cost switches always insure the same position within 0.01mm. But installing them on the two Y axis (in my case!) in order to perfectly square the gantry is beyond tricky.
-
@veng1 said in RepRapFirmware 3.0:
This may be already implemented but I've not seen it explicitly stated.
On a RailCore, because a single motor causes a diagonal move, it is possible to install two limit switches, probably Y axis and then move to home the Y axis so it is perpendicular to the X axis?
Furthermore, can there be an homing switch offset to compensate for the likely case where the two limit switches are not in exactly the same relative position so when the carriage is homed, it can be made perpendicular?
That is exactly my case! The big X-axis gantry (now it probably weight a little above 20kg - this a CNC after all!) has a very small, rather difficult to measure directly, error from perfect 90 degrees. But it can be seen on small rectangular machined pieces using a professional 90 deg reference. Specifying an offset of the homing switch might be an interesting solution. For now I'm handling it exactly as shown in one of my previous messages.
But the problem can be perfectly handled with Duet3D only in the case of multiple stepper on each axis. With just two steppers for handling both X and Y axis (like in the RailCore configuration), perfectly squaring the gantry is impossible. It could be only if on each linear guide on the dual axis there would be two carriages, significantly spaced apart, or longer carriages are used.
-
@lb said in RepRapFirmware 3.0:
@bot said in RepRapFirmware 3.0:
Metrol offers switches with repeatability as small as 1 micron. I’m using 3 micron repeatability switches. Sure, they cost a bit but if you only need one it’s reasonable. Like $60 usd iirc for 3 micron.
Omron also has some very precise ones. But what would you use it for? If the motors are strong and do not loose steps within one print, it would not matter if the next print after a restart is slightly on a different place on the plate, or?
Again, this is a CNC and it is about insuring perfect 90deg between the two Y-axis and the X-axis. Also, in the CNC world it is not unusual to install various fixtures in several places on the machine and measure precisely their position only once. The steppers, once the machine is started, are kept energized indefinitely and the position quite precise after a proper homing.
-
Fair point. I wasn't specifically referencing your case, but just adding general comments about switch repeatability. In the case of needing to square the y axis, I think two metrol (or similar) switches could work. Just place the switches close enough to the same point on each side, and then determine the correct offset and input that into firmware and call it done. It would be repeatably square within 3 microns, depending on how securely and precisely you can affix the switches relative to one another and the y axis. (Edit: this would require making virtual axes, and assigning each side to a different axis for homing.)
That being said, is your Y axis not stiff/rigid enough to be driven on one side only, while maintaining perpendicularity to the X axis? Even if not, you could still drive both sides by one motor, coupling the two sides mechanically, eliminating the need to adjust perpendicularity with two motor positions.
-
@Catalin_RO
You are probably familiar with this trick considering how long you have been working with CNC. Mill or print a maximally sized L square or carpenter's square and then use it to draw a line on a piece of paper with a pencil along the side of L square at a right angle to one edge of the paper. Then flip the square, align it with the same pencil edge and and attempt to draw a line over the previous one. If the are congruent, the CNC or printer is square. If there is a gap at the far end, they the machine is not square. Only an exact 90 degree angle will cause the lines to be the same if the square is flipped. No expensive measuring equipment is required!So, given a software offset for the individual homing switches, adjust the offset until there is no gap at the far end.
-
@bot I am using the virtual axis split, align and re-combine for about a year already. So this is something that I pretty much understand and accept. The fact that the new firmware simplifies a little bit the homing scripts is a very good thing, but it won't make such a huge difference for me. Again, being mostly a software developer myself and considering that the configuration scripts for the Duet are mostly a one time job (well, until you change some hardware), I think that the current situation is more than OK.
As for the two Y axis stiffness, the WorkBee that I have is 750mm*750mm, so pretty large. Now it has proper linear guides on the two Y axis, and that makes things better. But, still, the distance covered by the carriages is less than 20cm so a single screw would not insure proper alignment even if placed in the center (most professional sites indicate a 2:1 rule, so the carriages should cover at least 37-38cm). Running a belt to drive both screws with the same stepper might have worked, but it would have made the mechanics a little bit more complex.
@veng1 I have professional grade machinist squares as I have used them for aligning various things over time, not related to CNC. So no need for any other tricks. As for the offset between the switches on the twin axis, I have precise mechanical reference points and I use calipers for determining those offsets. So far that has always provided the desired results!
-
I also have said professional measuring tools and assumed you did also based on some of our earlier conversations but I was describing a test approach that anyone could implement to check squareness.
-
@dc42 - Well done on the 3.0beta release!
I love the labels vs pin numbers change. Beginners will appreciate it and it will make things easier to follow in posts about problems. +1 to @deckingman's post using names instead of just designators. "Heater0" makes more sense than "H0". Being that config.g is not changed often it would be easier to come back to as well. I suspect it would grow config.g's file size, but I doubt that would be a problem. Would processing time be increased because of the larger words? I can see that being a factor.+1 for @brunofporto 's idea of a Migration tool, I get the "sanity checker" reply, it would be a great boon to avoid stupid slip ups in the conversion.
Being fairly new at this, I'll wait until it's a bit more mature to try it out, but will weigh in for the fairly large "converted machine" (CR-10S) crowd on the next release if I can. You need to hear from the average Joe's too ... LOL
@veng1 said in RepRapFirmware 3.0:
I also have said professional measuring tools and assumed you did also based on some of our earlier conversations but I was describing a test approach that anyone could implement to check squareness.
Thanks for this, I, for one, was glad to be reminded of this. I have a couple pro grade squares, but tiny differences are easily caught using this method. I had forgotten it, thx!
-
@dc42 More out of curiosity than necessity:
on GitHub I can see work currently only being done in thev3-dev
branch and 2.03beta development has "stopped" (as far as public commits on GitHub are concerned).Will there be a 2.03, 2.xx, ... of RRF or does this mean the next version will be 3.0?
P.S.: I really like the flexibility that RRF 3.0 will provide.
-
I plan to do a 2.03 release but it will be essentially 2.02 with bug fixes. Some of the new features in the existing 2.03 beta releases will be removed.
-
@dc42 said in RepRapFirmware 3.0:
I have made new builds of RepRapFirmware 3 available:
Seems G1 S3 is different on 3.0 with a Duet 2 Maestro (cartesian)
If i do
G0 Z5
G1 S3 Z400I get a Z value of whatever was stored in M208 regardless of where I trigger the end stop. Same if I use H instead of S. On 2.02 release it gives me the correct Z height for whatever posittion I trigger the endstop at (which the wiki lead me to believe was only for delta printers)
(I also notice there is no longer a DuetMaestroFirmware.bin for the 2.02 release, but the Duet2Firmware-2.02b.zip gets the job done I guess)
-
@bearer said in RepRapFirmware 3.0:
@dc42 said in RepRapFirmware 3.0:
I have made new builds of RepRapFirmware 3 available:
Seems G1 S3 is different on 3.0 with a Duet 2 Maestro (cartesian)
If i do
G0 Z5
G1 S3 Z400I get a Z value of whatever was stored in M208 regardless of where I trigger the end stop. Same if I use H instead of S. On 2.02 release it gives me the correct Z height for whatever posittion I trigger the endstop at (which the wiki lead me to believe was only for delta printers)
Thanks for reporting this. I will fix it in the next release.
-
@dc42 said in RepRapFirmware 3.0:
@bearer said in RepRapFirmware 3.0:
@dc42 said in RepRapFirmware 3.0:
I have made new builds of RepRapFirmware 3 available:
Seems G1 S3 is different on 3.0 with a Duet 2 Maestro (cartesian)
If i do
G0 Z5
G1 S3 Z400I get a Z value of whatever was stored in M208 regardless of where I trigger the end stop. Same if I use H instead of S. On 2.02 release it gives me the correct Z height for whatever posittion I trigger the endstop at (which the wiki lead me to believe was only for delta printers)
Thanks for reporting this. I will fix it in the next release.
On that note, would it be worth while having M208 without parameters show the current values? Probably most usefull for testing as opposed to opening the config-overide.g file.
-
@bearer said in RepRapFirmware 3.0:
On that note, would it be worth while having M208 without parameters show the current values? Probably most usefull for testing as opposed to opening the config-overide.g file.
It already does!
The general rule with RepRapFirmware is that a command without parameters, or with just the parameter to select which of several instances you want, reports existing values.
Examples of commands that report values when no parameters are provided:
M201 M203 M204 M207 M208 M302 M564 M572 M574 M584 M906 M913 M915
Examples of commands that report existing values when just the instance selection parameter (e.g. tool number, drive number, heater number) is provided:
M305 M307 M569 M591
-
Odd, I was sure I tried that as you say it seems to be the norm. It does it now for both 3.0beta and 2.02.
-
It only shows the output from M208 if you run it from the G-code console. The quick g-code thing at the top will run the command, but the output gets truncated in the log, even when the console is otherwise showing.
-
@bearer Which version of DWC are you running I think there was a few issues like this with the early V2 releases