Awesome, the Z-axis is working fine now. So only the slight issue in the Y -axis persists, as described before. I'm going to move now to the extrudes and the temperature sensore.
Best posts made by CoolM8
-
RE: Configuring Ultimaker
Latest posts made by CoolM8
-
Duet Wifi: Bed Heater stopped working
I have been using my Duet Wifi for many years, but the bed heater faulted in the middle of a print. Since then, no current gets applied anymore to the bed heater.
I do not see anything burnt, but as it is a Duet Wifi, it does not have a replaceable fuse for the bed heater shown in the Duet 2 Wifi Schematic.My Powersupply is 24V and the heatbed is also 24V. When I connect Vin+ and Vin- to the bed heater, the bed gets heated as expected.
What can I do now?
-
RE: Wrong position after homing axes
Well, that was it. Now it seems to be working correctly.
Funny, as longer as it takes to solve a problem, the simpler the solution is.
Thank you very much for your support.
-
RE: Wrong position after homing axes
@Phaedrux said in Wrong position after homing axes:
G92 Z10
If I run this before G30, no error is thrown. But the behavior with G30 is still the same: Strange movement in X and wrong placement in the end.
@Veti
Might be a good idea, I will try that tomorrow. -
RE: Wrong position after homing axes
Yes, everything is configured as you stated in your check list.
The command G1 X100 Y100 F1800 moves the print head to the center.
G30 throws the error:G30 Error: G0/G1: insufficient axes homed
-
RE: Wrong position after homing axes
Yes, if I add S2 to my Z-axis movement, I can again properly home X and Y.
But G30 still throws the same error when running homeZ or homeAll. -
RE: Wrong position after homing axes
@Veti
I had M564 H0 in there, because i was used to be able to move the printhead without homed axes with the original printer hardware. When I remove completely, I cannot even home any of my axes, always getting: G0/G1: insufficient axes homed. This is also the case when I have M546 H1 S1.homeX:
; Lift Z relative to current position
G91
G1 Z5 F6000
G90; Move quickly to X axis endstop and stop there (first pass)
G1 X-210 F1200 S1; Go back a few mm
G91
G1 X5 F6000
G90; Move slowly to X axis endstop once more (second pass)
G1 X-210 F360 S1; Lower Z again
G91
G1 Z-5 F6000
G90homeY:
; Lift Z relative to current position
G91
G1 Z5 F6000
G90; Move quickly to Y axis endstop and stop there (first pass)
G1 Y-210 F1800 S1; Go back a few mm
G91
G1 Y5 F6000
G90; Move slowly to X axis endstop once more (second pass)
G1 Y-210 F360 S1; Lower Z again
G91
G1 Z-5 F6000
G90homeZ:
; Lift Z relatively to current position
G91
G1 Z5 F6000 S2; Back to absolute positioning
G90; Go to first bed probe point and home the Z axis
G1 X100 Y100 F6000
G30; Uncomment the following lines to lift Z after probing
;G91
;G1 Z5 F100
;G90homeall:
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Wed Apr 19 2017 22:18:05 GMT+0200 (W. Europe Daylight Time); Relative positioning
G91; Lift Z
G1 Z5 F6000; Course home X and Y
G1 X-210 Y-210 F1800 S1; Move away from the endstops
G1 X5 Y5 F6000; Fine home X and Y
G1 X-210 Y-210 F360 S1; Absolute positioning
G90; Go to first bed probe point and home Z
G1 X100 Y100 F1800G30
-
RE: Wrong position after homing axes
This is my full config.g:
; General preferences
M111 S1 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
M564 H0 S1M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X180 Y180 Z205 S0 ; Set axis maxima
M669 K0; Endstops
M574 X1 Y1 S0 ; Define active low and unused microswitches
M574 Z1 S2
M558 P1 H5 F120 T6000
M557 X0:180 Y15:180 S20 ; Define mesh grid
G31 P500 X40 Y0 Z0.35 ; Set Z probe trigger value, offset and trigger height; Drives
M569 P0 S0 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X32 Y32 Z8 E16 I0 ; Configure microstepping without interpolation
M92 X157.4804 Y157.4804 Z533.3333 E832 ; Set steps per mm
M566 X1200 Y1200 Z480 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X8100 Y8100 Z300 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z100 E250 ; Set accelerations (mm/s^2)
M906 X1200 Y1200 Z1100 E1100 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M143 S290; Set maximum heater temperature to 310C
M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
;M305 P1 R4700 T100000 B4388
M305 P1 X200; Tools
M563 P0 D0 H1 ; 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; Network
M550 PUltimaker ; Set machine name
M552 S1 ; Enable network and acquire dynamic address via DHCP; Fans
M106 P0 S1 I0 F500 H1 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
;M106 P1 S1 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
;M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off -
RE: Wrong position after homing axes
When I move to X100 Y100 in homeZ and then call G30, why does G30 move anyway? In the documentations it says: "Probe the bed at the current XY position".
HomeZ.g:
; Lift Z relatively to current position
G91
G1 Z5 F6000 S2; Back to absolute positioning
G90; Go to first bed probe point and home the Z axis
G1 X100 Y100 F6000
G30 -
RE: Wrong position after homing axes
I haven't found the time too look at it. Now I think I might have found something:
When I home X and Y it works fine and when the endstops trigger, the print head stops immediately. But when when i manually control the print head movement or homing Z, the motors do not stop wen the endstop triggers. Therefore when homing Z moves to X0, it hits the endstop but it does not stop the motor. So I end up with an Offset in X.
What I see is, the manual movement through WebControl sends this: G1 X-210 F1200.
Homing sends this: G1 X-210 F1200 S1
So the S1 parameter makes the edstops work. Now G30 must be using the move commands without S1.When I do the following change in config.g:
M564 H0 S0 to M564 H0 S1
Then, both G1 X-210 F1200 S1 works as does G1 X-210 F1200. That's because it limits the axis by calculation and not by the endstops anymore. However, G30 still hits the endstop but the motor keeps running for a short time as seen in the video here:
https://youtu.be/9m7Y-PwS-pIHow can I force G30 to make use of the axis limitation as well? Or can I somehow use the endstops all the time without using the calculated axes?
-
RE: Wrong position after homing axes
Yes, when my single probing point before G30 is the middle, the printer thinks it is the 0,0 position after G30. But when my single probing point before G30 is X0 Y15 the printer takes X58 Y15 as 0,0.