Homeall
-
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Wed Jan 10 2018 18:30:22 GMT+0300 (Türkiye Standart Saati)
G91 ; relative positioning
G1 Z5 F6000 ; lift Z relative to current position
G1 S1 X-250 Y250 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 S1 X-250 ; home X axis
G1 S1 Y250 ; home Y axis
G1 X5 Y-5 F6000 ; go back a few mm
G1 S1 X-250 F1800 ; move slowly to X axis endstop once more (second pass)
G1 S1 Y-250 ; then move slowly to Y axis endstop
G90 ; absolute positioning
G1 X125 Y125 F1800 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed
;G1 Z5 F100 ; uncomment this line to lift the nozzle after homing; Configuration file for Duet WiFi (firmware version 1.20 or newer)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sun Dec 31 2017 14:08:46 GMT+0300 (Türkiye Standart Saati); General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates…
M83 ; ...but relative extruder moves
M555 P5 ; Set firmware compatibility to look like Repetier
; Automatic saving after power loss is not enabledM667 S1 ; Select CoreXY mode
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X250 Y-250 Z250 S0 ; Set axis maxima; Endstops
M574 X1 Y1 S1 ; Set active low endstops
M574 Z1 S2 ; Set endstops controlled by 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:235 Y15:235 S20 ; Define mesh grid; Drives
M569 P0 S0 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M569 P4 S1 ; Drive 4 goes forwards
M350 X256 Y256 Z256 E256:256 I0 ; Configure microstepping without interpolation
M350 Z32 I1 ; Configure microstepping with interpolation
M92 X2560 Y2560 Z3200 E420:420 ; Set steps per mm
M566 X900 Y900 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z1200 E1200:1200 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 E250:250 ; Set accelerations (mm/s^2)
M906 X1500 Y1500 Z1500 E2000:2000 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 X200 ; Set thermistor + ADC parameters for heater 1 and remap it to channel 201
M143 H1 S280 ; Set temperature limit for heater 1 to 280C
M305 P2 X201 ; Set thermistor + ADC parameters for heater 2 and remap it to channel 202
M143 H2 S280; 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
M563 P1 D1 H2 ; Define tool 1
G10 P1 X0 Y0 Z0 ; Set tool 1 axis offsets
G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C; Network
M550 Pnanovol ; Set machine name
M551 P123456789 ; Set password
M552 S1 ; Enable network
M587 S"nt" P"nt" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Fans
M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Custom settings are not configured
; bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool on Sun Dec 31 2017 13:20:17 GMT+0300 (Türkiye Standart Saati)
M561 ; clear any bed transform
; Probe the bed at 4 points
G30 P0 X15 Y15 H0 Z-99999
G30 P1 X15 Y50 H0 Z-99999
G30 P2 X50 Y50 H0 Z-99999
G30 P3 X50 Y15 H0 Z-99999 S -
-
You have the Y axis maximum set at -250 in the M208 S0 command, which is wrong because it is less than the Y axis minimum in the M208 S1 command. I suggest you change them to:
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X250 Y250 Z250 S0 ; Set axis maximaI think your Y axis endstop is at the back of your printer, in which case, in your M574 command change Y1 to Y2.
Your homeall.g file is also wrong. Your second G1 S1 Y command has Y-250 but it should be positive Y like the earlier one.
-
Yes David. Home all and bed problems have been solved. Thank you very much. But the engines connected to e1 and e2 drivers do not work. I checked the engines and the cables but there were no problems. Is there something wrong with the config file?
; Configuration file for Duet WiFi (firmware version 1.20 or newer)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sun Dec 31 2017 14:08:46 GMT+0300 (Türkiye Standart Saati); General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates…
M83 ; ...but relative extruder moves
M555 P5 ; Set firmware compatibility to look like Repetier
; Automatic saving after power loss is not enabledM667 S1 ; Select CoreXY mode
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X250 Y250 Z250 S0 ; Set axis maxima; Endstops
M574 X1 Y2 S1 ; Set active low endstops
M574 Z1 S2 ; Set endstops controlled by 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:235 Y15:235 S20 ; Define mesh grid; Drives
M569 P0 S0 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes forwards
M569 P4 S0 ; Drive 4 goes forwards
M350 X256 Y256 Z256 E256:256 I0 ; Configure microstepping without interpolation
M350 Z32 I1 ; Configure microstepping with interpolation
M92 X2560 Y2560 Z3200 E92.6462:92.6462; Set steps per mm
M566 X900 Y900 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z2500 E1200:1200 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 E250:250 ; Set accelerations (mm/s^2)
M906 X1600 Y1600 Z1000 E2000:2000 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 X200 ; Set thermistor + ADC parameters for heater 1 and remap it to channel 201
M143 H1 S280 ; Set temperature limit for heater 1 to 280C
M305 P2 X201 ; Set thermistor + ADC parameters for heater 2 and remap it to channel 202
M143 H2 S280; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X11.5 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
M563 P1 D1 H ; Define tool 1
G10 P1 X11.5 Y0 Z0 ; Set tool 1 axis offsets
G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C; Network
M550 Pnanovol ; Set machine name
M551 P123456789 ; Set password
M552 S1 ; Enable network
M587 S"nt" P"nt" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Fans
;M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
;M106 P1 S1 I0 F500 H T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
;M106 P2 S1 I0 F500 H T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned onM106 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 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Custom settings are not configured
-
My best guess is that the E steps per mm @ 92.6462 are for 16x micro stepping but you've set the micro stepping to 256X. If that's the case, divide the steps per mm by 16 and multiply by 256 which will give you 1482.3392.
Edit. Or use 16x micro stepping for the extruders.
-
Check for error messages on the GCode Console page of DWC. To operate the extruder motors, two conditions must be satisfied:
1. You must have selected a tool (T command) that uses that extruder motor;
2 Either the nozzle for that tool is hot, or you have enabled cold extrusion using M302.
-
Hello. I choose the microstep 16 and I use 16x200=3600 formula and thread diameter is 11 mm. 11x3,14159=34,55749. I multiply this result by 3600 and write the result (110,534)to config file but although the flament needs to be 5 mm, it is 5.5mm.
-
Which thread diameter is 11mm, and where did you write 110534 to config.g? If you mean extruder steps/mm then that is much too high for an extruder. Typical values are 100 for ungeared extruders and 420 for 3:1 geared extruders, using x16 microstepping and 1.8deg motors.
-
Which thread diameter is 11mm, and where did you write 110534 to config.g? If you mean extruder steps/mm then that is much too high for an extruder. Typical values are 100 for ungeared extruders and 420 for 3:1 geared extruders, using x16 microstepping and 1.8deg motors.
Yes but he's using 256x times micro stepping. He had it set to around 92 but he'd set the micro stepping (to 256x) prior to setting the steps per mm. That's what I pointed out earlier and I guess that's what he was responding to.
Edit. It kind of leapt out at me when I saw steps per mm for X and Y at 2560, Z at 3200 but E at 92(ish).
2nd Edit. Don't understand the comment "I choose the microstep 16" when the M350 in config.g is set to 256.
-
extruder thread diameter is 11mm and it is running stepper motor directly. There is no gear box in between and I found the "set steps per mm" value using the formula below and wrote it in the config file. How did you calculate the value you wrote? Also my driver type is bowden. Can you briefly write me the logic of calculation?
e_steps_per_mm = (motor_steps_per_rev * driver_microstep) * (hob_effective_diameter * pi)
(200 * 16)=3200
3200* (11 * 3.14159) = 110.584 -
Those steps per mm are OK as a starting point for 16X micro stepping. My point is that in your config.g file you have M350 X256 Y256 Z256 E256:256 I0 which sets the micro stepping to 256X - not 16X. Then after that you have M92 X2560 Y2560 Z3200 E92.6462:92.6462 to set the step[s per mm at whatever value mcro stepping you used in the M350 command (in this case 256).
In your formula above, the "driver_microstep" value is 256 (because that is what you have set it to in M350) and not 16.
You either need to set micro-stepping to 16X then set the steps per mm, or set the steps per mm for 16X then change the micro stepping after and allow the firmware to do the calculation, or leave it as it is and set the micro-stepping first to 256X but then you must calculate the steps per mm using 256X.
It's explained in the wiki here https://duet3d.com/wiki/G-code#M350:_Set_microstepping_mode
-
e_steps_per_mm = (motor_steps_per_rev * driver_microstep) * (hob_effective_diameter * pi)
It should be:
e_steps_per_mm = (motor_steps_per_rev * driver_microstep) / (hob_effective_diameter * pi)
That gives 200 * 16 / (11 * pi) = 92.6 steps/mm at x16 microstepping.
-
I got perfect results by using 110.584 on smooth surfaces. But i will try your values too. By the way step engines overheat although max current is 2 ampers and although i run them 1,5 ampers. What causes this overheat. The brand of the Engines are moons.
-
[22:33, 15.1.2018] Yasin Kizilay: Hello there. In the RepRapFirmware Configuration Tool, in the Microstepping Values section, which step I choose in the Values section, the Steps per mm value always remains at 420, the old machine has the marlin software. I was writing the result into the related section according to the formula I gave above, I choose 16x on microstepping values section and engine angle is 1.8 degrees and the engine is directly connected without a gearbox. The extruder gear is mk8 and the diameter is 11 mm. Which values do I need to enter on the RepRapFirmware Configuration Tool page. Please help me. I am about to go mad.
-
I'm sorry, I don't understand the problem. I typed 100 into the extruder steps/mm box that originally said 420; then when I generate the files, I get E100 in the M92 command, which is correct.