I could use some help
-
@fcwilt so, how is 247 350?
-
@fcwilt 467-350 is 117. I wonder where that's coming from?
-
@fcwilt the back of the bed travelled 247 mm. The front did to. But DWC measured 350.0? That's interesting.
-
@fcwilt if DWC is at the center of the bed, could it travel 350.0?
-
@mac said in I could use some help:
@fcwilt we have to subtract the depth of the bed!!!!! Which is 220. I'm getting 247?
Well, 247 is not 350.
I think you may not be measuring movement with the ruler correctly.
For instance you could measure where the front edge of the bed is, make the move of say 100mm, then measure where the front edge of the bed is then.
BUT the ruler would have fixed in position so it could not move for the measurement to be accurate.
A 100mm move using the Y jogging buttons should move the front edge exactly 100 mm.
IF IT DOES NOT then the value of 100 in M92 for Y is wrong.
If the 247 is correct then the value in M92 would be closer to 70 then 100. I'm not sure about that value but it least it is an integer.
Frederick
-
@fcwilt the END STOP is 2 and a 1/4 inches forwards of where the back of the bed started. That's 58mm, times 2 is 117 mm. 467mm minus 350mm is 117mm, divided by 2 is 58mm forwards from the back endstop, and 58 mm back from the front edge of the bed when it's fully forwards.
-
@DWC is measuring from Endstop to Endstop.
-
@fcwilt Hey, Frederick, I gotta turn in. 4:30 comes awfully early tomorrow morning.
This was a great session. I think we accomplished A LOT.
If you have time tomorrow, let's try some more, okay?
-
@mac said in I could use some help:
@fcwilt Hey, Frederick, I gotta turn in. 4:30 comes awfully early tomorrow morning.
This was a great session. I think we accomplished A LOT.
If you have time tomorrow, let's try some more, okay?
Glad to and I agree it's time to sleep.
Good night, mac.
-
@fcwilt thanks again!
-
@mac Wow, this thread is a journey.
Another way to get the steps per mm correct is to know what type of belt you have, and count the number of teeth on the pulley. If there's no marking on belt, measure the distance between 10 teeth on the belt, in millimetres, then divide by 10 to get the tooth pitch. This is the distance between teeth. Usually (but not always) it's 2mm. If the manufacturer used cheaper MXL belt, it would be 2.032mm.
The pulley on the Y axis in your picture looks quite small; I'd guess a 16 tooth pulley, but it's worth checking. I'm pretty sure the motors are 200 steps per revolution, and you are now using x16 microstepping.
Then use this formula:
steps_per_mm = (motor_steps_per_rev * driver_microstep) / (belt_pitch_mm * pulley_number_of_teeth)For example
step per mm = ( 200 * 16 ) / ( 2 * 16 ) = 100Which seems to be close to what you are seeing, but then that's just me guessing at the numbers from the pictures, so please check.
I'm not sure why when you posted your video yesterday it was going so fast, and I got you to set steps per mm to 40. Maybe settings got changed without restarting. But slow is better than fast and crashing!
Ian
-
@droftarts Good morning, 10 teeth on the Y-belt measures 9/16th of an inch, which converts to 17.4625mm's. Divided by 10 gives my belt a pitch of 1.74625 something or others.
The pulley does indeed have 16 teeth. So, 200 steps X's 16 teeth is 3200 something or others, 1.74625 something or others X's 16 teeth gives us 27.94mm, I think, and 3200 divided by 27.94 equals 114.5311 something or others after a full revolution of the belt? Is that what we have?
I remember you giving me those lower M92 numbers (?), correct? Frederick was surprised by the higher number in that line of gcode in the config.g.
I remember entering your lower numbers into the code. Apparently, I didn't save it after I made the changes?
At this point, Frederick has done an enormous amount of work on this problem. We were working on all of this until late last night measuring the full travel of the Y-axis.
Here are the results: From the endstop at the back of the printer, all the way to as far as the bed can roll towards the front of the printer is 18 inches, or, 457.2mm's. Interestingly, DWC called that travel 350.0 something or others.
So that's where the journey has lead us so far. I'm enjoying it. Coding can be a nail-bitter, but when it works, it's great!
-
-
-
@droftarts you see? It was there! But somehow it was changed. Probably my bad.
-
@mac From your image, I'm seeing around 12.5 teeth to an inch. 1 inch = 25.4 mm, so...
25.4 / 12.5 = 2.032mm. So I think the belt could be MXL, but MXL has a trapezoidal shape to the tooth, and yours look more rounded, so I think more likely it is 2mm GT2 belt.I'd stick with 100 steps per mm on X and Y for now. You can always measure prints, or the bed movement, if it needs to be more accurate.
Ian
-
@mac I think, for clarity, can you post your current config.g, homeall.g, homex.g, homey.g and homez.g please?
Ian
-
@droftarts I remember buying GTS belts for my BLV-Anet, so that’s exactly what it is. I replaced the oem belt on this XVico about two weeks ago.
-
; Configuration file for Duet 3 Mini 5+ (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jun 27 2022 12:50:38 GMT-0700 (Pacific Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Frankenstein's Cinderella" ; set printer name ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 ; physical drive 0.0 goes forwards M569 P0.1 S0 ; physical drive 0.1 goes backwards M569 P0.2 S1 ; physical drive 0.2 goes forwards M569 P0.3 S1 ; physical drive 0.3 goes forwards M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X100.000 Y100.00 Z4000.00 E420.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z600.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z200.00 E250.00 ; set accelerations (mm/s^2) M906 X600 Y600 Z600 E600 ; set motor currents (mA) M84 S0 ; Disable motor idle current reduction ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X220 Y220 Z240 S0 ; set axis maxima ; Endstops M574 X2 S1 P"!^io5.in" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin !^io5.in M574 Y2 S1 P"!^io6.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin !^io6.in M574 Z2 S1 P"!^io2.in" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin !^io2.in ; Z-Probe M950 S0 C"io3.out" ; create servo pin 0 for BLTouch M558 P9 C"io3.in" H5 F120 T3600 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X15.875 Y0.625 Z2.5 ; set Z probe trigger value, offset and trigger height M557 X5:190 Y5:215 S10 ; define mesh grid ; Heaters M308 S0 P"temp0" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S33 ; set temperature limit for heater 0 to 33C M308 S1 P"temp1" Y"thermistor" T100000 B4092 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S100 ; set temperature limit for heater 1 to 100C ; Fans M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P0 S"optional" D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Custom settings are not defined ; Miscellaneous M501 ; load saved parameters from non-volatile memory M911 S21 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jun 27 2022 12:50:38 GMT-0700 (Pacific Daylight Time) M98 P"homeZ.g" M98 P"homeX.g" M98 P"homeY.g" ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F60 ; lift Z relative to current position ;G90 ; absolute positioning
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jun 27 2022 12:50:38 GMT-0700 (Pacific Daylight Time) G91 G1 H1 X-230 F3600 G1 X15 G1 H1 X-10 F360 G90 G1 X110 F3600 ; this just moves X to the centerline of the bed - doesn't matter where - it can be any place at all that suits you.
; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jun 27 2022 12:50:38 GMT-0700 (Pacific Daylight Time) G91 G1 H1 Y-230 F3600 G1 Y15 G1 H1 Y-10 F360 G90 G1 Y110 F3600 ; this just moves Y to the centerline of the bed - doesn't matter where - it can be any place at all that suits you.
homez.g
G91 ; relative movements G1 H1 Z-250 F3600 ; fast move toward Z endstop G1 Z10 ; backup off a bit G1 H1 Z-15 F360 ; slow move toward Z endstop G90 ; absolute movements G1 Z10 F3600 ; move to 10mm off the bed to allow X and Y movements
The above is current on 6-28-22 at 7:15 AM, PST.
-
@mac what is currently working, and not working? Maybe go through the commissioning guide. If something doesn’t work, make a note and move on to the next.
https://docs.duet3d.com/en/How_to_guides/CommissioningIan