@Phaedrux I'll check it out. thank you
Posts made by Sbutterfield
-
RE: adding multiple z endstops
@Phaedrux yeah I've seen that. I have a creativity elf printer with 2 lead screws that each have an endstop. I was trying to get both of the endstops to work. so far I have the both motors moving independently but only one endstop is recognized.
-
RE: adding multiple z endstops
@Phaedrux I made the changes you suggested. thank you. Any idea on how to get both endstops to work? right now if I trigger the endstop that is recognized both motors stop.
-
RE: adding multiple z endstops
good morning @Phaedrux
M98 P"config.g" HTTP is enabled on port 80 FTP is disabled TELNET is disabled Error: in file macro line 62 column 33: M106: expected number after 'H'
m122 === Diagnostics === RepRapFirmware for STM32F4 based Boards (fly_super8) version 3.4.4_102 (2022-11-08 14:19:10) running on STM32F4 Board ID: P10J3-0417A-G83VJ-6N9DA-H6ATU-70000 Used output buffers: 3 of 40 (13 max) === RTOS === Static ram: 19480 Dynamic ram: 76508 of which 164 recycled Never used RAM 33892, free system stack 214 words CCMRam static ram: 16760 dynamic ram: 19076 free ram 29696 Tasks: NETWORK(notifyWait,166.5%,261) HEAT(notifyWait,0.5%,347) Move(notifyWait,0.1%,316) FSWRITE(notifyWait,0.0%,474) MAIN(running,303.1%,397) IDLE(ready,0.3%,29), total 470.4% Owned mutexes: WiFi(NETWORK) === Platform === Last reset 13:26:44 ago, cause: software Last software reset at 2022-12-05 20:07, reason: User, GCodes spinning, available RAM 33892, slot 2 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 Aux0 errors 0,0,0 Step timer max interval 0 MCU temperature: min 46.1, current 55.1, max 59.1 Supply voltage: min 24.0, current 24.2, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Events: 0 queued, 0 completed Driver 0: Driver 1: Driver 2: Driver 3: Driver 4: Driver 5: Driver 6: Driver 7: Driver 8: Driver 9: Driver 10: Driver 11: Driver 12: Driver 13: Date/time: 2022-12-06 09:34:20 Slowest loop: 6.40ms; fastest: 0.07ms === Storage === Free file entries: 10 SD card 0 detected SD card longest read time 5.0ms, write time 1.2ms, max retries 0 === Move === DMs created 83, segments created 3, maxWait 555503ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 14, completed 14, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0 === GCodes === Segments left: 0 Movement lock held by null HTTP is idle in state(s) 0 File is idle in state(s) 0 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 Daemon is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty === Network === Slowest loop: 26.20ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(2) HTTP(0) HTTP(0) FTP(0) HTTP sessions: 1 of 8 Uploads/Errors: 1/0 = WiFi = Network state is active WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 0 Bad header: 0/0 WiFi firmware version 1.27-01S32-D WiFi MAC address ############## WiFi Vcc 0.00, reset reason Power up WiFi flash size 0, free heap 124388 WiFi IP address ########## WiFi signal strength -51dBm, mode 802.11n, reconnections 0, sleep mode none Clock register 00002003 Socket states: 0 0 0 0 0 0 0 0
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.4.0-LPC-STM32+4 on Sat Dec 03 2022 13:21:04 GMT-0600 (Central Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-315 Y-315 F500 ; move quickly to X or Y endstop and stop there (first pass) G1 H1 X-315 ; home X axis G1 H1 Y-315 ; home Y axis G1 X5 Y5 F6000 ; go back a few mm G1 H1 X-315 F360 ; move slowly to X axis endstop once more (second pass) G1 H1 Y-315 ; then move slowly to Y axis endstop G1 H2 Z325 F360 ; move Z up stopping at the endstop G90 ; absolute positioning G92 Z320 ; set Z position to axis maximum (you may want to adjust this) ; 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 ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.4.0-LPC-STM32+4 on Sat Dec 03 2022 13:21:04 GMT-0600 (Central Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-315 F1800 ; move quickly to X axis endstop and stop there (first pass) G1 X5 F6000 ; go back a few mm G1 H1 X-315 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 ; ; generated by RepRapFirmware Configuration Tool v3.4.0-LPC-STM32+4 on Sat Dec 03 2022 13:21:04 GMT-0600 (Central Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Y-315 F500 ; move quickly to Y axis endstop and stop there (first pass) G1 Y5 F6000 ; go back a few mm G1 H1 Y-315 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 ; ; generated by RepRapFirmware Configuration Tool v3.4.0-LPC-STM32+4 on Sat Dec 03 2022 13:21:05 GMT-0600 (Central Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Z325 F1800 ; move Z up until the endstop is triggered G92 Z320 ; set Z position to axis maximum (you may want to adjust this) ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
-
adding multiple z endstops
Hey guys, I have 2 endstop questions.
corexy creativity elf printer
dual lead screw with endstops
mellow super 8 board
RRF3-
I have a dual lead screw corexy 3d printer that uses endstops and so far only one works. I looked up M574 and tried the example for using independent endstop switches for z axis but I must be missing something. when I run M119 one endstop is recognized but the other shows as "z probe: at min stop"
I added M569 and mapped the second Z motor with M584 -
my y endstop doesnt trigger very fast and the gantry crashes into it and the motors skip for half a second. How do I get it to trigger faster?
; Configuration file for Fly Super8 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.4.0-LPC-STM32+4 on Sat Dec 03 2022 13:21:04 GMT-0600 (Central Standard Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"elf 1" ; set printer name M669 K1 ; select CoreXY mode ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 "X" goes forwards using default driver timings M569 P1 S0 ; physical drive 1 "Y" goes forwards using default driver timings M569 P2 S1 ; physical drive 2 "E" goes forwards using default driver timings M569 P3 S0 ; physical drive 3 "Z" goes backwards using default driver timings M569 P4 S0 ; physical drive 3 "Z1" goes backwards using default driver timings M584 X0 Y1 Z3:4 E3 ; set drive mapping #=drive number M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E415.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E1200.00 ; set maximum instantaneous speed changes (mm/min) M203 X24000.00 Y24000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X3500.00 Y3500.00 Z20.00 E2000.00 ; set accelerations (mm/s^2) M906 X1100 Y1100 Z900 E650 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S1800 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X310 Y310 Z320 S0 ; set axis maxima ; Endstops M574 X1 S1 P"io2" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io2 M574 Y1 S1 P"io1" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1 ;M574 Z0 S1 P"io3" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin io3 ;M574 Z1 S1 P"io0" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin io0 M574 Z1 S1 P"io3+io0" ; Z axis with two motors, individual min endstops, active high ; Z-Probe ;M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed ;M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters M308 S0 P"ADC_0" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin ADC_0 M950 H0 C"bed" T0 ; create bed heater output on bed 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 S120 ; set temperature limit for heater 0 to 120C M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"ADC_5" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin ADC_5 M950 H1 C"heat0" T1 ; create nozzle heater output on heat0 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S320 ; set temperature limit for heater 1 to 320C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 C"Part Cooling Fan" S0 H T45 ; set fan 0 name and value. Thermostatic control is turned on M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 C"Hotend Fan" S0.01 H1 T45 ; set fan 1 name and value. 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 ; Custom settings are not defined ; Miscellaneous M575 P1 S0 B57600 ; enable support for Flymaker 4.3/7" screen
-
-
RE: extruder e steps doubled
I finally figured it out. The grub screw on my bondtech extruder was loose. The stepper motor would spin shaft assembly but the drive gear would only turn sporadically. I put some locktite on the grubscrew, put it all back together and its working great and the E steps are the same as before! For future reference if you see the large gear spinning on the shaft assembly and are getting inconsistent sporadic extrusion check to see if a screw is loose.
-
RE: extruder e steps doubled
Yea, it's weird. Both motors are 0.9 deg. Per Bondtech's website a 1.7 deg stepper motor should be around 415 steps/mm. I was at 840 for the old slimline motor which is a 0.9 deg stepper motor. That makes sense.
Here is my process:
-using PETG
-set my extruder temp to 235°C
-measured 100mm of filament and marked it
-On the duet WiFi I opened the extrusion menu
-selected 100mm
-selected 5mm/sec
-selected extrude
-only 50mm was extruded
-doubled the value and iterated until I was able to extrude 100mmThe final e step value was 1560.
Other than the fact that it's weird and I want to figure out WHY this is happening is there any negative impact to having the steps so high?
-
extruder e steps doubled
I just changed extruder motors and my e steps doubled. Any ideas why that happened? Does it even matter?
Here is my setup.
firmware: Duet WiFi 1.0 or 1.01
Firmware version: 2.02(RTOS) (2018-12-24b1)
WiFi Server Version 1.23
Web interface Version 1.22.6Old motor: E3D Slimline stepper motor (0.9 deg)
Bondtech BMG extruder
Microstepping 16x
e steps 840
current 1400New motor: LDO pancake motor part number LDO-42STH25-140MAC (0.9 deg)
Bondtech BMG extruder
microstepping 16x
e steps 1560
current 1200I didn't change the wiring.
It should have been a drop in replacement. I'm stumped why I needed to almost double my e steps.
here is some of the config file
; Axis and motor configuration
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z3230 ; Set steps per mm
M92 E1560 ; Set extruder steps/mm
M201 X500 Y500 Z250 E600 ; Set accelerations (mm/s^2)
M203 X10000 Y10000 Z200 E2000 ; Set maximum speeds (mm/min)
M566 X200 Y200 Z20 E500 ; Set maximum instantaneous speed changes (mm/min)M906 X2600 Y2600 Z1500 E1200 I30 ; Set motor currents (mA) and motor idle factor in percent
-
RE: origin inverts when trying to print twice in a row
Ok lets try this again. I pressed submit and walked away only to find out that my session had timed out and never sent my reply.
Phaedrux, I think you figured it out. I made the changes that you suggested and so far its working great! thank you! It is much better now that I don't need to power cycle all of the time which I am assuming isn't that great for the duet board.
Alex.cr and bearer, Thank you for the responses as well. I did make the change to my start code (just G28) and cleaning them up more is on my to do list.
Alex, I'm not sure how the end code can cause my printer to crash. I have the bed lower after it prints then move to the origin. I'm a novice at programming though so maybe I'm not seeing what you are seeing. could you elaborate a bit more on that?
dc42 I made the change Phaedrux recommended before trying the M579. So far its working but I have to test it some more to make sure. Should I still try the M579? What will it do? Does that invert the origin?
Thanks everyone for the responses. If I have more problems I'll post again.
-
origin inverts when trying to print twice in a row
I'm experiencing a weird error. After I print something, if I try to print again, my extruder goes to the opposite corner. Its like the origin gets inverted. I let it keep running once when I was trying to print an object near the origin to see what would happen and it ended up crashing in the x max y max corner. It doesn't matter if I try to print the same object or a different one or home my printer before starting the second print. I have even tried to press stop on the printer, homing and starting a second print. The only thing that works is to power cycle the board.
I'm stumped on this. Anyone have any ideas on how to fix it?
Printer info:
My Duet WIFI is from the first production run
custom CoreXY with a rectangular bedFirmware electronics Duet WiFi 1.0
RepRapFirmware version 2.02
WiFi server version 1.23
Web Interface version 1.22.6I'm using Cura 15.04
start code
G21 ; metric values
G90 ; absolute Positioning
M82 ; set extruder to relative mode
M107 ; start with the fan off
G28 X0 Y0 ; home x and y axis
G29 S1 ; load heightmap
G1 Z50.0 F{travel_speed} ; move the platform down 50mm
G92 E0 ; zero the extruded length
G1 F200 E40 ; extrude 40mm of feed stock
G92 E0 ; zero the extruded length again
G1 F{travel_speed}
M117 Printing... ; Put printing message on LCD screenend code
G90 ; absolute positioning
G1 Z50 ; move down 50mm
M104 S0 ; extruder heater off
M140 S0 ; heated bed heater off (if you have it)
G28 X0 Y0 ; home x and y axis
M84 ; turn off motors
my configuration 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 Mon Jun 18 2018 19:10:38 GMT-0700 (Pacific Daylight Time); General preferences
G90 ; Send absolute coordinates...
M564 H0 ; allow movement without homing axis
M83 ; but relative extruder moves
M555 P1 ; Set firmware compatibility to look like RepRapFirmareM667 S1 ; Select CoreXY mode
; Network
M550 PMy printer ; Set machine name
M552 S1 ; Enable network;*** Access point is configured manually via M587
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S0 ; Drive 0 x motor goes forwards (change to S0 to reverse it)
M569 P1 S1 ; Drive 1 y motor goes forwards
M569 P2 S1 ; Drive 2 z motor goes forwards
M569 P3 S0 ; Drive 3 extruder goes backwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z3230 ; Set steps per mm
M92 E820 ; Set extruder steps/mm
M566 X1500 Y1500 Z20 E500 ; Set maximum instantaneous speed changes (mm/min)
M203 X50000 Y50000 Z200 E2000 ; Set maximum speeds (mm/min)
M201 X2000 Y2000 Z250 E600 ; Set accelerations (mm/s^2)
M906 X2600 Y2600 Z1500 E1400 I30 ; Set motor currents (mA) and motor idle factor in percent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S0 ; Set axis minima
M208 X585 Y330 Z400 S0 ; Set axis maxima; Endstops
M574 X1 Y1 S1 ; Set active high endstops
M574 Z1 S2 ; Define Z to use Probe. Home to Min; Z-Probe
;M375 P"MyAlternateHeightMap.csv"
G29 S1
M558 P5 H5 F2000 T4000 X0 Y0 Z1 ; Set Z probe type to unmodulated and the dive height + speeds
G31 P25 X-6.5 Y-27 Z0.050 ; Set Z probe trigger value, offset and trigger height
M557 X30:580 Y15:330 S132 ; Define mesh grid;BLTouch - Heaters
M307 H7 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duex board; 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 PT100 sensor for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; 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
-
RE: Updating firmware from 1.15 to 1.19
It was a problem with the router. I unplugged it then plugged it back in. I'm connected !
Thank you guys for the help. Being able to update the firmware directly to 1.21 really helped. In the instructions it makes it sound like you need to update to 1.19 first then upgrade to a more recent version. The hardest part was finding where the files were. It took a lot of digging to find them https://github.com/dc42/RepRapFirmware/releases
My main confusion was I couldn't find which files to download. After that the instructions were clear and easy to follow. -
RE: Updating firmware from 1.15 to 1.19
Thanks Phaedrux,
It turns out the macro isn't needed when you upgrade directly to firmware 1.21.
when I sent M552 S1 I received the error below. I believe my router is at 2.4mh any ideas why i'm not able to connect?
M552 S1
ok
WiFi module started
WiFi reported error: Timed out while trying to connect to MOTOROLA-3121A
WiFi module is idle
Error retrieving WiFi status message: bad reply format version -
RE: Updating firmware from 1.15 to 1.19
Wow David you are really fast with the responses. Thank you. For SetNetwork what program do you create the macro in?
-
Updating firmware from 1.15 to 1.19
I could use some help updating the firmware on my DuetWifi V1.0. I am new to this and I am stuck.
I have been following the instructions for getting connected to your duet
https://duet3d.dozuki.com/Guide/1.%29+Getting+Connected+to+your+Duet/7?lang=en
and got to step 5 "check your firmware version". In that step it I found that I am running firmware version 1.15b
That step recommends updating the firmware to 1.19. I clicked on the hyperlink. I put the SD card in my Windows computer. At this point I am stuck. I can't find version 1.19 on github. The only firmware I found was 1.21 and in that folder I'm not sure what I am supposed to download. I didn't have a www folder on the SD card so I created a new folder.Any help would be greatly appreciated.
-
RE: Batch 4&5 ready to ship early (and Batch 4 is sold out!)
For some reason the email didn't show up in my inbox. I use gmail. I did a search for it and sure enough it was there. It's wierd that I moved it to the inbox folder and I still can't see it unless I search for it. It could just be a 6am looking it up on a cell phone thing. I'm order 286 batch 4.