Figured it out. I had the y axis min and max reversed in the config file.
Best posts made by cyoung
-
RE: Printer prints mirror of model? How do I fix this?
-
RE: CAD Model of Panel Due 7"
Made a model of it myself. Cant upload to the forum but here is a link to it in my google drive.
https://drive.google.com/open?id=1IyARSRRcDtH00RoSABnYjseVuLOWigeb
Latest posts made by cyoung
-
RE: Need help getting BLTouch Working
It looks like I had conflicting homing instructions between config.g and homez.g. Once I got the S2 parameter every that it needed to be, it seems to be working. I think I still had the z axis set to use an endstop switch in the config file. Here are my config and homez files now.
config.g
; Configuration file for Duet WiFi (firmware version 1.17 to 1.19)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Mon Jul 09 2018 14:02:55 GMT-0600 (Mountain Daylight Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P0 ; Set firmware compatibility to look like native output; Network
M550 PFT5 ; Set machine nameM586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes backwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X256 Y256 Z256 E16 I1 ; Configure microstepping without interpolation
M92 X1280 Y1280 Z6400 E416 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z1500 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2)
M906 X1000 Y1000 Z1200 E1000 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 Y300 Z400 S0 ; Set axis maxima; Endstops
M574 X2 Y2 S0 ; Set active low endstops
;M574 Z1 S2 ; Set active high endstops; Z-Probe
M307 H3 A-1 C-1 D-1 ; disable heater 3, BLTouch - servo pulse on heater 3 pin (expansion
M558 P9 F100 H5 R0.2 T6000 A5 B1 ; Type 9 for BLTouch (Normally closed switch on Z-probe inputs)
G31 X20 Y20 Z2 P25 ; Z=trigger height, P=trigger value, not needed for contact probe, X/Y distance from nozzle
M558 P9 H5 R0.2 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
M557 X15:285 Y15:285 S20 ; Define mesh grid; Heaters
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S220 ; Set temperature limit for heater 0 to 220C
M305 P1 X200 ; Set thermistor + ADC parameters for heater 1
M143 H1 S350 ; Set temperature limit for heater 1 to 350C; 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 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; 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; Custom settings are not configured
G29 S1 ;Load stored bed height mapHomeZ
; homez.g
; called to home the Z axis
G1 Z10 F200 S2 ; Lower bed.
G4 P500 ; Dwell for 500ms - to ensure bed is down
M913 Z70 ; reduce stepper current to xx%
G90 ; Absolute positioning
G1 X140 Y140 F6000 ; Go to first bed probe point and home the Z axis
M401 ; Lower Z probe (BLTouch)
G30 ; Calibrate Z-axis
M402 ; Retract Probe
M913 Z100 ; set stepper current to normal
G1 Z10 F2000 ; bed to 10mmIf these can be tweaked or improved, Im all ears.
Also, thanks for the help thus far.
-
RE: Need help getting BLTouch Working
@dc42 said in Need help getting BLTouch Working:
You need to add the S2 parameter to the first G1 Z command in that file, unless you have M564 H0 in config.g to allow axis movement before homing.
I added the S2 parameter. Now when homez.g is run, the bed moves away from the print nozzle about 10mm then stops. Nothing else happens.
-
RE: Need help getting BLTouch Working
In my homez.g file, which if I understand correctly, is what gets run if you home only the z axis, this is what I have.
; homez.g
; called to home the Z axis
G1 Z10 F200 ; Lower bed.
G4 P500 ; Dwell for 500ms - to ensure bed is down
M913 Z70 ; reduce stepper current to xx%
G90 ; Absolute positioning
G1 X140 Y140 F6000 ; Go to first bed probe point and home the Z axis
M401 ; Lower Z probe (BLTouch)
G30 ; Calibrate Z-axis
M402 ; Retract Probe
M913 Z100 ; set stepper current to normal
G1 Z10 F2000 ; bed to 10mmWhen I push the Z home button, nothing happens. No axis move, probe doesnt do anything...nothing. No errors either.
my homeall.g file still has the settings to use the z endstop switch. I was thinking if I got homez.g to work, I could just copy/paste that text into the homeall.g file.
I have some other things I might need help with, but this seems like a good place to start.
-
RE: Need help getting BLTouch Working
Upgraded to latest firmware and edited my config file to use P9 instead of P5. Also went through the trouble shooting and tried everything that seemed relevant. Still having problems.
-
Need help getting BLTouch Working
I FINALLY got some mounting hardware printed to be able to install the BLTouch sensor on my printer. I've got it wired up and connected to my DuetWifi (duetwifi 1.0, firmware version 1.19). I think I have everything wired correctly and that my problem lies in my config.
If I send command "M280 P3 S10 I1" the probe deploys.
"M280 P3 S90 I1" - probe retracts
"M280 P3 S120 I1" - probe deploys and retracts rapidly, roughly 4 times/second. If I make the probe touch the bed while it is pulsing in and out, it will eventually stay retracted and the probe goes into error mode (red light flashing).
"M280 P3 S160 I1" - resets error stateThe Z-probe value on the web interface stays at 0 at all times EXCEPT when i get the bed close enough that when the probe deploys, it must trigger, Z-probe value goes to 1000, then the probe goes into error state.
Here is my config.g file
; Configuration file for Duet WiFi (firmware version 1.17 to 1.19)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Mon Jul 09 2018 14:02:55 GMT-0600 (Mountain Daylight Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P0 ; Set firmware compatibility to look like native output; Network
M550 PFT5 ; Set machine name
M551 P***** ; Set password
M552 S1 ; Enable network
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes backwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X256 Y256 Z256 E16 I1 ; Configure microstepping without interpolation
M92 X1280 Y1280 Z6400 E416 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z1500 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2)
M906 X1000 Y1000 Z1200 E1000 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 Y300 Z400 S0 ; Set axis maxima; Endstops
M574 X2 Y2 Z1 S0 ; Set active low endstops
;M574 Y2 S0 ; Set active high endstops; Z-Probe
M307 H3 A-1 C-1 D-1 ; disable heater 3, BLTouch - servo pulse on heater 3 pin (expansion
M558 P5 H5 F100 T2000 ; Type 5 for BLTouch (Normally closed switch on Z-probe inputs)
G31 X20 Y20 Z2 P25 ; Z=trigger height, P=trigger value, not needed for contact probe, X/Y distance from nozzle;M558 P0 H5 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
;M557 X15:285 Y15:285 S20 ; Define mesh grid; Heaters
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S220 ; Set temperature limit for heater 0 to 220C
M305 P1 X200 ; Set thermistor + ADC parameters for heater 1
M143 H1 S350 ; Set temperature limit for heater 1 to 350C; 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 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; 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; Custom settings are not configured
Here is my homeall.g file
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Mon Jul 09 2018 14:02:55 GMT-0600 (Mountain Daylight Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 X305 Y305 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 X-5 Y-5 F6000 ; go back a few mm
G1 S1 X305 Y305 F360 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioning
G91 ; relative mode
G1 Z-405 S1 F3000 ; move Z down until the switch triggers
G1 Z+5 F2000 ; move away from endstop a few mm
G1 Z-10 F500 ; move Z down until switch triggers (second pass)
G90 ; back to absolute mode
G92 Z0.15 S2 ; tell the firmware that we are at Z=0.15mmAnd bed.g file
;** BLTouch
;
G28 ; home all - calls sys/homeall.g
G91 ; relative mode
G1 Z5 F2000 ; move bed down a bit for clearance
G90 ; absolute mode
M401 ; call sys/deployprobe.g
M557 X20:270 Y20:270 S50 ; probe every 50mm from 20 to 270 in X and Y (max 225 points!)
G29 ; run auto bed mesh level
M402 ; call sys/retractprobe.g
G1 X10 Y10 Z10 F5000 ; back to safe position out of the wayI have created deployprobe.g and retractprobe.g and they have the correct command in them.
Can anyone help me get this figured out?
-
Duet Wifi & Extrusion Factor?
Like the title says, I set my extrusion factor in the slicer before generating the gcode but it doesnt seem to matter. The duet wifi board im using doesnt set the extrusion factor to what I set it at in the slicer program. For example, if I set extrusion factor to 90% in the slicer program, but the extrusion factor is set to 100% on the duet web control, it prints at 100%. Shouldnt the duet board read the extrusion factor from the gcode and then use that unless overridden by the user in the web control?
-
RE: Need assistance calculating steps/mm for Z axis
@deckingman I was just being silly.
-
RE: Need assistance calculating steps/mm for Z axis
@deckingman said in Need assistance calculating steps/mm for Z axis:
As the saying goes, "Catch a man a fish and he'll feed himself for a day but show a man how to catch a fish and he'll feed himself for life".
I believe what you meant to say is "Give a man a fish and feed him for a day. Dont teach a man to fish...and feed yourself. He's a grown man and fishing's not that hard."
Thanks for the help.
-
RE: Need assistance calculating steps/mm for Z axis
This is how I have my steps/mm set up in the config file.
M350 X256 Y256 Z256 E256 I1 ; Configure microstepping without interpolation
M92 X1280 Y1280 Z6366 E6582 ; Set steps per mm