Unable to home z axis
-
@Phaedrux
Thank you for the help, regarding the motor current you suggested 1200mA and Ian suggested 1400mA so I thought 1300mA would be a happy medium.Going to the motor commissioning, I've done this, X and Y behave correctly and Z moves correctly whilst doing the small moves in the homing routines, beyond this is the wall I've hit where Z doesn't home but hopefully this may be overcome a little later today by entering the correct data in to Motors section of the config tool.
Not sure how I got M558 set with P0 but because of subsequent file creation in the config tool I have got the correct P setting but it was interesting to find out what was happening. I am definitely learning a LOT from these discussions.
@droftarts
I remember reading somewhere in the guides that Reprap firmware handles floating point maths so I divided the appropriate figures by 60 to convert from mm per sec to mm per min. Assuming that is correct I just now need to determine what data in Josh's Github data goes where in the config tool as there appears to be more data than spaces in the tool (I'm clearly missing something). You wouldn't believe I got an A level in maths back in 1968, I was all set for uni and my dad died aged 47 and I was 17, I was devastated, totally and my education fell away to zero, nothing mattered and that went on for years. Sorry, I'm digressing again, I'm posting the figures I calculated, could you cast an eye over them and if I'm right could you guide me as to where I should enter them in the tool.#define DEFAULT_AXIS_STEPS_PER_UNIT {2.66,3,26.66,5.06} // default steps per unit for BigBox #define DEFAULT_MAX_FEEDRATE {2.5, 2.5, 0.1, 0.42} // (mm/sec) #define DEFAULT_MAX_ACCELERATION {12.5,12.5,1.66,83.33} // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot. *#define DEFAULT_ACCELERATION 750 // X, Y, Z and E acceleration in mm/s^2 for printing moves *#define DEFAULT_RETRACT_ACCELERATION 5000 // E acceleration in mm/s^2 for retracts *#define DEFAULT_TRAVEL_ACCELERATION 750 // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously) #define DEFAULT_XYJERK 0.13 // (mm/sec) #define DEFAULT_ZJERK 0.066 // (mm/sec) #define DEFAULT_EJERK 0.083 // (mm/sec)
I've not altered the comments just the data.
Also the probe data shown in DWC, I get the correct readings, 0 when not activated and 537 when I put something under the probe.
Once again I have to thank you for your help, you've both been a great help.
Keith
-
@Kayjay to go from mm/s to mm/min, you need to multiply by 60, not divide. This only applies to max Feedrate M203 and jerk (RRF calls this max instantaneous speed change M566), everything else should stay the same. So I think your settings should be:
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X160.00 Y180.00 Z400.00 E304.00 ; set steps per mm M566 X480.00 Y480.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min) M203 X9000.00 Y9000.00 Z360.00 E1500.00 ; set maximum speeds (mm/min) M201 X750.00 Y750.00 Z100.00 E5000.00 ; set accelerations (mm/s^2) M906 X1300 Y1300 Z1300 E1300 I30 ; set motor currents (mA) and motor idle factor in per cent
Try these figures, and report back.
Edit: sounds like your probe should work. Test the above, and if it works try sending G30 with the probe over the bed.
Ian
-
Thanks for doing the calculations for me Ian, it has been half a century since I studied maths in anger Seriously though looking at your results it's clear why it's multiply and not divide, I have no excuse!
Anyway the Z homing, unfortunately it's still the same. I thought things would be right now, ah well.... I'll post the files again, if you could take a look to ensure I have everything correct and that commands are in the correct order where they need to be.
In homez.g and homeall.g I have a line set to move the hot-end to centre of the board X150, Y100, the line before G30 to ensure the probe and hot-end are over the bed. Running either file moves the hot-end to X170, Y50 and stops at that point without executing G30.
; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Bigbox1" ; set printer name ; Network M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S0 ; physical drive 2 goes backwards M569 P3 S1 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X160.00 Y180.00 Z400.00 E304.00 ; set steps per mm M566 X480.00 Y480.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min) M203 X9000.00 Y9000.00 Z360.00 E1500.00 ; set maximum speeds (mm/min) M201 X750.00 Y750.00 Z100.00 E5000.00 ; set accelerations (mm/s^2) M906 X1300 Y1300 Z1300 E1300 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X300 Y200 Z200 S0 ; set axis maxima ; Endstops M574 X1 Y1 S1 ; set active high endstops M574 Z1 S2 ; set endstops controlled by probe ; Z-Probe M558 P1 H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M305 P1 X200 ; configure PT100 for heater 1 M143 H1 S320 ; set temperature limit for heater 1 to 320C ; Fans M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Tools M563 P0 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
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Aug 06 2020 10:36:11 GMT+0100 (British Summer Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-305 Y-205 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H2 X5 Y5 F6000 ; go back a few mm G1 H1 X-305 Y-205 F360 ; move slowly to X and Y axis endstops once more (second pass) G90 ; absolute positioning G1 X150 Y100 F6000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
; homez.g G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G90 ; absolute positioning G1 X150 Y100 F6000 ; go to first probe point G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
-
@Kayjay I can’t see any particular problem with your config.g or homeall.g. What position does the Y axis say it’s at when it moves only 50mm? There may be a mechanical issue that is stopping the Y axis moving the full distance at 100mm/s; as it pulls two belts, one each side of the machine, these need to have no backlash in them or the X axis will twist and catch (called racking). The X carriage must be set at 90 degrees to the Y rails, or again there will be resistance to movement. The two Y rails must also be parallel; check by moving the axis by hand (with power off) and feel if it gets more difficult to move at one end of the axis compared to the other.
Test X, Y and Z axis movement individually, in both directions, and that each moves the correct distance (ie G91 G1 X50 G90 moves the X axis 50mm, and 50mm of movement is reported in DWC), as @Phaedrux suggested (see the link he posted).
Then, make sure there is enough space between nozzle and bed so the probe is not triggered (no LED lit, reads 0 in DWC), and with the probe over the bed, send G30.
Report what happens, how far each axis moves, any error messages etc.
Ian
-
DWC reports the head position as should be, X150,Y100,Z5. This last attempt left the physical position as X170,Y40,Z5.
I've run through the set up process as per the Bigbox manual, tensioning the belts etc. The X gantry runs sweet and true as does the X Carriage, the belts are correctly tensioned. The odd thing with this (I think I mentioned it at the start) is that the printer was working fine until I took out the SD card to make a full copy of it on my pc and I accidentally dropped it in a point where I couldn't recover it, basically it dropped below the floorboards, at least I think it did, I searched everywhere else without success and the floorboards have a gap close to my pc/laptop setup. I wish I could find it, oh boy do I !!
Anyway, the tensions and mechanical alignments are all ok. I can also get X and Y to their full extents safely. If I homeall from this position then X and Y again arrive at X170,Y40,Z5 and DWC reports the positions as correct as programmed. I checked the movement of X and Z using head movement tool in DWC, X moved correctly but Y was only moving 50% of the requested setting. I checked config.g M92 and changed Y from 180 to 360, that has cured the Y being incorrect against the distance requested although X is still a little out physically reaching X170 where DWC reports the head at X150, I'll work out the margin of error and change the X setting in M92 to suit. This of course doesn't explain why it won't execute G30 after moving to the centre of the bed.
There is one error message, after X and Y have homed the head moves to X150,Y100 and stops. If I then select HomeZ this error appears - G28 Z G0/G1: Insufficient axes homed
Keith
-
@Kayjay hmm, sounds like the steps per mm from that github page are wrong for your machine, for some reason. The way to check is to count how many teeth are on the X and Y pulleys, and know the tooth pitch of the belts. Then use the formula
steps per mm = (motor steps per revolution x microsteps) / (belt pitch x pulley number of teeth)
From the build instructions, it should be a 20 tooth pulley on X, with a 2mm belt pitch, and a 400 step motor at 16x microstepping, giving (400x16)/(2x20)=160. If the X axis is moving 170mm rather than 150, this points to a 22-tooth pulley, and steps per mm of 145.4545. This would move the X axis 165mm for same number of steps. But seems rather strange; measure the movement again, and count the number of teeth on the pulley. Did you change the pulley?360 steps per mm on Y seems correct; the pulley on the Y motor is 16 tooth, driving a 36 tooth pulley on the Y drive shaft. This drives the Y axis with two 20 tooth pulleys. So steps per mm are (400x16)/(2x20) x 2.25 (which is the gear ratio between the 16 and 36 tooth pulleys), which equals 360. I guess they originally specified a 200 steps per revolution motor.
Still not sure why your probe isn’t working, though. Have you tried sending just G30?
The error from homez.g is probably because it has not been updated to use the probe. Post the file.
Ian
-
It's a really weird situation isn't it. I'll go through all the checks you suggest of course but all the parts are as per supplied by E3D and the even weirder thing is it worked until I lost the sd card which was why I thought it was a software prob rather than hardware maybe these quirks were accounted for when I got the printer.
I've tried G30 after using homex and homey and it's the same, a no go.
When you say post the file do you mean homez.g? if so I posted it yesterday, it's just above, if it's any other then I'll post the others below.
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Aug 06 2020 10:36:11 GMT+0100 (British Summer Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-305 Y-205 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H2 X5 Y5 F6000 ; go back a few mm G1 H1 X-305 Y-205 F360 ; move slowly to X and Y axis endstops once more (second pass) G90 ; absolute positioning G1 X150 Y100 F6000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
; homex.g G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-305 F1800 ; move quickly to X axis endstop and stop there (first pass) G1 H2 X5 F6000 ; go back a few mm G1 H1 X-305 F360 ; move slowly to X axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning
; homey.g ; called to home the Y axis ; G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Y-205 F1800 ; move quickly to Y axis endstop and stop there (first pass) G1 H2 Y5 F6000 ; go back a few mm G1 H1 Y-205 F360 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning
; homez.g ; called to home the Z axis ; G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G90 ; absolute positioning G1 X150 Y100 F6000 ; go to first probe point G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
I may be a while coming back with the results as I'm not feeling too well, I hope it's not the dreaded but I'm feeling as though it may be and having COPD I need to be very careful and look after myself. At the moment I'm lacking energy in a big way so I've spent the majority of today in bed and intend returning there in a few minutes. THe good thing is it will give your possibly (given my problem with the Bigbox) overstretched mind a well earned rest I'll get back to you with the pulley counts etc when I'm feeling a little better.
At least I can't pass Covid by the internet unlike some people who think owning a 5G phone is a certain way of getting the virus direct from China I shall mention no more politically linked topics, don't worry.
Keith
-
Good day all, I'm happy to say I'm not suffering from covid or at least I don't think I am, which is such a happy thing for me and probably those around me. I think it was more a case of over-tiredness (it's been almost 22 hours since I slept, a problem I suffer with occasionally and also being a sufferer of COPD I have a regular cough). Today I feel 'almost' on top of the world so to speak, certainly a lot better than yesterday apart from my headache over my Bigbox.
I have taken the machine apart as far as necessary to get at all the pulleys and counted their teeth, each one is as expected especially the possible mix up between the one 16 tooth pulley and the rest of the 20 tooth variants, that each was selected and applied correctly. The belt pitch is also correct, 2mm, in fact all spec is as it should be as shown in the last iteration of the manual, I'm totally at a loss as to why the darned thing doesn't work. I could understand something being 400mm and coming out 200mm, it would be a simple issue to find and fix but the way it's showing up is almost crazy, maybe Lord Voldemort has been waving his wand
I did have a thought of temporarily hooking up RAMPS to it to prove various points, it would either work correctly or have the same problem, hopefully it wouldn't add problems, I may just do that tomorrow.
-
Does anyone have any negative or positive thoughts on this temporary process? It's simply meant to prove a point. Of couse I intend to return to the far superior Duet board I just want to see if I can make the Bixbox work correctly using RAMPS.
If RAMPS works successfully then it gives grounds to work on and where to set about making alterations
-
@Kayjay I don’t see a problem fitting the RAMPS temporarily to check the steps per mm on X. It’s a shame you lost your old SD card; that would have answer on it! I still can’t fathom why the X moves further than it should. When it homes in X, is X=0 with the nozzle on the left edge of the bed? If it homes with the nozzle over the bed (say 20mm in from the edge) then moving it 150mm would put it at 170mm from the edge. The other way to check steps per mm is to measure (with ruler or tape measure) from a fixed point on the printer to the X carriage (in line with X movement), move X 100mm, and measure again.
Maybe post a picture of the printer, or even better a video of the homing.
The other thing that occurs to me is the homing direction. When standing in front of the printer, X0 Y0 should be front left of the bed. The X endstop should be on the left, and Y endstop on the front. Is that how yours is set up? I haven’t looked at the BigBox build manual to check myself.
Ian
-
In addition to all those checks, please make sure that the files you are editing at in the /sys folder and not somewhere on the SD card. It does happen occasionally.
Testing with a RAMPS might be a good sanity check. Nothing wrong with that.
-
I have found an interesting anomaly regarding the x stop, in the diagram https://wiki.e3d-online.com/File:X-AXIS_IDLER_CARRIAGE.jpg part 10 which is a 25mm socket cap screw would appear to be too long and stops the x carriage 20 mm short of its correct stopping point, it wouldn't screw in enough to allow the x stop to reach 0, the minimum it reaches is 20mm, unless I'm wrong this would be the problem. I've removed this screw and replaced it with a shorter screw around 5mm giving it a little room for maneuver in either direction. This modification now gives the correct movement to meet the bed centre at the exact point.
I'm wondering if later iterations of the manual have modified this error so this problem no longer occurs although as the Bigbox is now obsolete perhaps the mods haven't been made.
Although this problem has been solved it still leave me with the Z homing using G30 ..... which unfortunately i have to solve.
-
Can you post the results of M122 and M98 P"config.g" ?
-
Yes, I'll do that when I'm feeling better. I thought I was suffering with covid then after a day or two I was feeling better but now it's returned with a vengeance so I'll post those results when this disgusting disease passes and I feel better, sorry.
Keith
-
@droftarts Sorry, I don't feel like posting much more but yes, you are correct about the positions of the x and y stops
-
@Kayjay Get well soon.
-
@Phaedrux
Thanks for the kind words. I'm busy watching snooker at the moment which is cheering me up at little -
There is one point I'd like to make.
I find that reading through the Gcode page to try to give me some knowledge but I find that the more I read the more there are references to more Gcodes which basically make thing harder and harder to understand.
What I think would help me would be a working set of files for the Bigbox using Duet Ethernet with one hot end.
Could someone please supply me with these, I ask for this because all the explanations I get of different methods I should try simply confuse me more and more. Yes, I had A level in maths back in 1968 but that was so long ago now most of it has been forgotten.
I really would be grateful if someone could do this for me.
May I add that I an very, very grateful to everyone who has contributed in this post, you have all been amazing, I just struggle to understand the various commands, hence my request for a working set of files for Bigbox with Duet2
Thanks to all
Keith -
Doing some searching in the E3D Big box forum (https://forum.e3d-online.com/#bigbox-3d-printer.1) I was able to find this, but it's from 2016, which makes it rather old firmware at this point, but it does contain the basics. I also don't know if it matches your BigBox as there were a few different versions and revisions I think... So that complicates matters and makes directly porting a config between machines non-trivial.
; Movement section M569 P0 S1 ; Drive 0 goes forwards (change to S0 to reverse it) M569 P1 S1 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards M574 X1 Y1 Z1.2 S1 ; set endstop configuration (X and Y endstops only, at low end, active high) M906 X800 Y600 Z800 E1000 ; Set motor currents (mA) M201 X800 Y800 Z15 E1000 ; Accelerations (mm/s^2) M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min) M566 X600 Y600 Z30 E20 ; Minimum speeds mm/minute M208 X300 Y200 Z200 ; set axis maxima (adjust to suit your machine) M208 X0 Y0 Z-0.2 S1 ; set axis minimum (adjust to make X=0 and Y=0 the edge of the bed) M92 X160 Y360 Z1600 ; Set axis steps/mm M92 E304:304 ; Set extruder steps per mm G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M350 X16 Y16 E16 I1 ; Set 16x microstepping with interpolation
I found a couple others which all had different values for steps per mm and number of tools etc as each person has customized the machine.
Perhaps this versions list would help identify exactly which one you have? https://wiki.e3d-online.com/BigBox_Version_Overview
At any rate, most of the important parts can be derived from the machine itself during commissioning. Comparing distance requested versus distance moved, etc to get steps per mm.
I think you're quite close though with what you have currently.
-
@Phaedrux
Thanks so much Phaedrux, I'll review the files you've given me.I agree with being close with my current set up but what I'm worrying about is why I can't Z probe or Z home. I have thought before trying to swap Duet for RAMPS or to try the files you've given me is to put a switch on Z lower position plugging it into the normal z socket rather than the Z probe connector, of course doing this just as a trial to prove a point.
I'll keep copies, of course, of all my previous files (I learnt this hard way ) Other points are lifting the floorboards but being 68 and suffering with severe back problems from birth and no children to do the job for me this is the very last option.
Can I post a series of all the other relevant files, homeall, homex etc,etc for your perusal just so those are correct. I know you have said previously that they appear good but I think I may have made a small change or two so I'd just like to be sure.
There is one other thing of course, I gather that there are various settings that are different even though they're on the same machine, am I right? If I am right in this assumption could you direct me to which these commands are and I'll attempt to set them to suit.
Keith