@dc42 I've got a delta with end stops that are shy of ultimate height movement. There's a tool changer in the dead space of the delta and this way I can easy move in XY to get new tools. Any way the "target position outside machine limits" could controlled with the M208?
Posts made by jakemestre
-
RE: Firmware 2.03RC5/1.24RC5 released
-
RE: Duet 2 Wifi Expansion board IO usage
@dc42 The more I look at the schematics and work with the boards I realize that you're a badass wizard.
-
RE: Duet 2 Wifi Expansion board IO usage
Thanks David!
Where do I sign up to be on that beta?!? In the mean time, do you happen to have a diagram of which wires on the ribbon are which signals? -
Duet 2 Wifi Expansion board IO usage
I'm using a duet wifi with the signal expansion board. I've got 10 motors to drive and 5 of which are external close loop steppers.
I'm out of IO to control heaters, fans, air scrubber, led's and a couple other things so I'm curious which of the signals say heater 5-7 could be used to control things. Does that ribbon cable make use of all those signals for the external drives or can the cable be rewired to make use of plugged up signal? Or is there another board that somebody's working on to control 6 external drivers? Something like the Duex5 but for external drives? -
RE: Print Buffer pauses
Got the diagnostic from after it started again. I'll update the firmware. The "ground wire" is just a jumper between the Vin's? I'm thinking that Vin directly to ground will not turn out well. lol I'll keep you posted If the pausing is happening again. Thank you so much David for keeping up with this forum and solving so so many problems we didn't even know we had.
JakeM122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02RC3(RTOS) running on Duet WiFi 1.02 or later + DueX5
Board ID: 08DDM-9FAM2-LW4SD-6JTD6-3SJ6T-1LZVZ
Used output buffers: 1 of 20 (15 max)
=== RTOS ===
Static ram: 28532
Dynamic ram: 99212 of which 0 recycled
Exception stack ram used: 440
Never used ram: 2888
Tasks: NETWORK(ready,328) HEAT(blocked,1132) MAIN(running,3476)
Owned mutexes:
=== Platform ===
Last reset 46:02:34 ago, cause: power up
Last software reset at 2018-11-16 11:45, reason: User, spinning module GCodes, available RAM 2932 bytes (slot 3)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
Error status: 0
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 234.8ms, max retries 0
MCU temperature: min 39.2, current 41.1, max 52.0
Supply voltage: min 24.1, current 24.2, max 24.5, under voltage events: 0, over voltage events: 0
Driver 0: standstill, SG min/max 0/1023
Driver 1: standstill, SG min/max 0/1023
Driver 2: standstill, SG min/max 0/1023
Driver 3: standstill, SG min/max not available
Driver 4: standstill, SG min/max 0/1023
Driver 5: standstill, SG min/max 0/1023
Driver 6: standstill, SG min/max not available
Driver 7: standstill, SG min/max 0/216
Driver 8: standstill, SG min/max 0/266
Driver 9: standstill, SG min/max not available
Expansion motor(s) stall indication: yes
Date/time: 2018-11-18 13:00:50
Cache data hit count 4294967295
Slowest loop: 174.79ms; fastest: 0.07ms
=== Move ===
Hiccups: 1, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 120, MaxWait: 71306433ms, Underruns: 0, 1
Scheduled moves: 6, completed moves: 6
Bed compensation in use: none
Bed probe heights: 0.000 0.000 0.000 0.000 0.000
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
Heater 0 is on, I-accum = 0.0
Heater 2 is on, I-accum = 0.3
=== GCodes ===
Segments left: 0
Stack records: 3 allocated, 0 in use
Movement lock held by null
http is idle in state(s) 0
telnet is idle in state(s) 0
file is idle in state(s) 0
serial is idle in state(s) 0
aux is idle in state(s) 0
daemon is idle in state(s) 0
queue is idle in state(s) 0
autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 266.71ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8- WiFi -
Network state is running
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.21
WiFi MAC address 5c:cf:7f:ee:69:8c
WiFi Vcc 3.36, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 16792
WiFi IP address 192.168.1.19
WiFi signal strength -64dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
=== Expansion ===
DueX I2C errors 729882
- WiFi -
-
Print Buffer pauses
Hello All,
I'm having one heck of a time troubleshooting a problem. The printer will very randomly pause durring the print. It seems as if the gcode buffer is only down to a couple of lines and then it sits idle for a 2-30 seconds before continuing to the next commanded location. The gcode monitor shows a ton of motor phase disconnections for all phases of a bunch of motors. I'm running 2A Nema17 steppers at 1A for noise. The problem is that I can print the exact same part and one time it will come out perfectly and the next it will f-up.
Also I should mention that when I try to pause and home it doesn't recognize the endstops and smashes everything into everything.
Problem started when I upgraded to 2.02RC1 but it's still around with RC3.Here's M122 diagnostic
M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02RC3(RTOS) running on Duet WiFi 1.02 or later + DueX5
Board ID: 08DDM-9FAM2-LW4SD-6JTD6-3SJ6T-1LZVZ
Used output buffers: 1 of 20 (16 max)
=== RTOS ===
Static ram: 28532
Dynamic ram: 99140 of which 0 recycled
Exception stack ram used: 344
Never used ram: 3056
Tasks: NETWORK(ready,400) HEAT(blocked,1184) MAIN(running,3484)
Owned mutexes:
=== Platform ===
Last reset 00:27:57 ago, cause: software
Last software reset at 2018-11-16 11:45, reason: User, spinning module GCodes, available RAM 2932 bytes (slot 3)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
Error status: 0
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0
MCU temperature: min 46.5, current 51.3, max 51.5
Supply voltage: min 24.1, current 24.3, max 24.5, under voltage events: 0, over voltage events: 0
Driver 0: standstill, SG min/max 0/239
Driver 1: standstill, SG min/max 0/1023
Driver 2: standstill, SG min/max 0/1023
Driver 3: standstill, SG min/max not available
Driver 4: standstill, SG min/max not available
Driver 5: standstill, SG min/max not available
Driver 6: standstill, SG min/max not available
Driver 7: standstill, SG min/max not available
Driver 8: standstill, SG min/max not available
Driver 9: standstill, SG min/max not available
Expansion motor(s) stall indication: yes
Date/time: 2018-11-16 12:13:39
Cache data hit count 4294967295
Slowest loop: 3.37ms; fastest: 0.07ms
=== Move ===
Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 234, MaxWait: 2584ms, Underruns: 0, 0
Scheduled moves: 6, completed moves: 6
Bed compensation in use: none
Bed probe heights: 0.000 0.000 0.000 0.000 0.000
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
=== GCodes ===
Segments left: 0
Stack records: 1 allocated, 0 in use
Movement lock held by null
http is idle in state(s) 0
telnet is idle in state(s) 0
file is idle in state(s) 0
serial is idle in state(s) 0
aux is idle in state(s) 0
daemon is idle in state(s) 0
queue is idle in state(s) 0
autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 14.47ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8- WiFi -
Network state is running
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.21
WiFi MAC address 5c:cf:7f:ee:69:8c
WiFi Vcc 3.35, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 16792
WiFi IP address 192.168.1.19
WiFi signal strength -64dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
=== Expansion ===
DueX I2C errors 0
- WiFi -
-
Liquid Cooling monitor
Hello all,
Is there a way to monitor a 10K thermistor(Like this one over on amazon that is connected to the heatsink of a liquid cooling system and pause the machine if it reads above a certain temperature? -
RE: Is there an enclosure stl for the PanelDue 5i?
This is one I designed to be as minimal as possible.
https://www.thingiverse.com/thing:2476165 -
RE: Home for UVW is not setting a zero
Thank you so much. The G92 works in the homedelta.g file. I had tried that in the individual home files but it wouldn't hold the value when I used G28. Facepalm.
David, your responsiveness to issues and helpfulness on the forum is unparalleled. Thank you.
Jake -
RE: Home for UVW is not setting a zero
Hi David,
I can't post any photos just yet but the UVW are all belt driven linear axis. I can message a direct photo to you David if that would help with debug. All three UVW are identical with home switches at the top of the machine in the Z axis and the travel is in the negative direction by 180mm. I'm homing together but I've got U, V, and W home files separate as well. If I home seperately UVW from delta(comment out the homing sequence in homedelta.g) it shows -2 on all UVW right after the home but if I command a move to -180 it adds those weird values and crashes things.Homedelta.g:
; Homing file for Kolossal Carbon with UVW
M400 ; make sure everything has stopped before we make changes
M913 U100 V100 W100 ;Make sure UVW are powered
G21 ;Metric Units
G91 ;Relative positioning
G1 S1 U200 V200 W200 F4000 ;Find UVW home
G1 U-2 V-2 W-2 ;Park UVW 2mm lower
G1 S1 X700 Y700 Z700 F4000 ;Find endstops
G1 S2 X-3 Y-3 Z-3 ;Effector down 3mm
G1 S1 X6 Y6 Z6 F250 ;Move carriages slowly up 6mm to endstops
G1 Z-10 F4000 ;Park Effector 10mm lower
M913 U50 V50 W50 ;Depower the UVW motors
G90 ;Back to absolute positioningconfig.g:
; Configuration for Kolossal Carbon Duet WiFi (firmware version 2.0);--------------- Communication and general ---------------------------------------------
M111 S0 ;Debug off
M550 PGodzilla ;Machine name (can be anything you like)
M551 P******** ;Machine password (used for FTP)
M555 P2 ;Set output to look like Marlin
M575 P1 B57600 S1 ;Set auxiliary serial port baud rate and require checksum (for PanelDue);--------------- Network ---------------------------------------------
M552 S1 ;Enable network;--------------- DELTA ---------------------------------------------
;M453 P4 R5000
M451
M665 L365.961 R151.90 H346.6 B160 X1.1 Y.4 Z0.7
M666 X.3 Y.2 Z-.7 A0.00 B0.;--------------- Drive Maping and Axis Direction THIS MUST COME BEFORE THE MOTION CONTROL SECTION---------------------------------------------
M584 X0 Y1 Z2 E3:4:5 U6 V7 W8 ;Maps Motor Drives
M569 P0 S0 ;X Drive 0 Clockwise positive
M569 P1 S1 ;Y Drive 1 Counterclockwise positive
M569 P2 S1 ;Z Drive 2 Counterclockwise positive
M569 P3 S0 ;E0 Clockwise positive
M569 P4 S0 ;E1 Clockwise positive
M569 P5 S0 ;E2 Clockwise positive
M569 P6 S0 ;U Counterclockwise positive
M569 P7 S1 ;V Clockwise positive
M569 P8 S1 ;W Clockwise positive
;M569 P5 R1 T2.5:2.5:5:5 ; External driver 5 requires an active high enable, 2.5us minimum step pulse, 2.5us minimum step interval, 5us DIR setup time and on hold time;--------------- Endstops ---------------------------------------------
M574 X2 Y2 Z2 S1 ;Set endstop configuration (all endstops at high end, active high)
M574 U2 V2 W2 S1;--------------- Motion Control ---------------------------------------------
M92 X80.3 Y80.3 Z80.3 ;Set axis steps/mm
M92 E2550:2550:2550 ;Set extruder steps/mm
M92 U80.3 V80.3 W80.3 ;Set UVW steps/mm
M350 X16 Y16 Z16 E16:16:16 U16 V16 W16 I1 ;Set Microstepping Mode
M906 X1000 Y1000 Z1000 I50 ;Set Axis currents (mA)
M906 E1500:1500:1500 ;Set Extruder currents (mA)
M906 U1000 V1000 W1000 ;Set UVW currents (mA)
M201 X4000 Y4000 Z4000 ;Accelerations Axis (mm/s^2)
M201 E700:700:700:700 ;Accelerations Extruder(mm/s^2)
M201 U2000 V2000 W2000 ;Accelerations UVWmm/s^2)
M203 X20000 Y20000 Z20000 ;Maximum speeds Axis (mm/min)
M203 E2500:2500:2500 ;Maximum speeds Extruder (mm/min)
M203 U10000 V10000 W10000 ;Maximum speeds UVW (mm/min)
M566 X300 Y300 Z300 E70:70:70 U50 V50 W50 ;Maximum instant speed changes
G21 ;Work in millimetres
G90 ;Send absolute coordinates...
M83 ;Relative extruder moves;--------------- UVW Specifics ---------------------------------------------
M208 U0.01 V0.01 W0.01 S0 ;Sets UVW axis maximum(S0) or mininum(S1)
M208 U-200 V-200 W-200 S1There's more about tool definitions but that hasn't effected anything.
-
Home for UVW is not setting a zero
Hello all,
I've got a delta with UVW and they are not homing correctly. I've had it homing correctly when using stall detection, but it was not as reliable as I'd have liked so I installed optical switches. I've setup the optical endstops in the config.g and updated the homeu homev homew and homeall to behave exactly as the delta towers home but for some reason it sets some random home as U=837.33 V=1024.38 and W=677.77. I'm pretty lost as to why this would happen. 0 should be the max and -180mm is the min. Obviously bad things happen when I ask for a U toolchange. Any ideas?homeu.g
; Homing file for the U axis of the Toolchanger
M400 ; make sure everything has stopped
G91 ; Use relative positioning
M913 U100 ; Power U axis
G1 S1 U200 F5000 ; Up to find home
G90 ; Back to absolute
M400 ; Make sure everything has stopped
M913 U50 ; Keep the motor cool -
Delta machine coordinates with auto-calibration and tool offsets
Hello All,
How exactly are machine coordinates handled for a delta with auto calibration? Does the probing routine change G53 or does it apply those offsets to a G54/55/etc? I've got some things that need happen in machine coordinates(that never change) at the top of a delta and the operation keeps crashing when I update say the babystepping or the tool length offsets. Any wisdom would be very appreciated. Thanks.
Jake -
11 Steppers
Is It possible while using a Duetwifi and Duex5 to get an 11th stepper drive hooked up externally? If so what where would I hook up the step direction enable? I need 11 steppers for the build I have envisioned. Thank you.
Jake -
RE: S3D tool change script - IdeX
This is beautiful David! Very nice feature to round out the functionality of your boards.
-
RE: Filament sensor
I would also love to know when the filament monitor will be ready for sale. I'm in need of quite a few.
Jake -
RE: Multi axis Delta homing issues
I was running the 1.19Beta11. Updated to the newest release and everything works It's just like you to solve problems I didn't even know I had, lol! Thank you so much David! The features you're working on are amazing!!!
-
Multi axis Delta homing issues
Good evening forum,
I've got a Delta printer of my own design that uses the traditional towers but also has another three axis(used for another purpose) that need to home. I'm having a heck of a time getting even just one extra axis to execute G28 correctly. I keep getting "Attempt to move the head of a delta printer before homing the towers" I've added the U axis just like in the https://duet3d.com/wiki/Configuring_multiple_independent_X-carriages_on_a_Cartesian_printer with M574 U2 P1(Endstop active high at top). I've also mapped the motor drive and direction with M584 and M569 respectively. M208 U-170 S1 and M208 U0 S0 for min and max travel. I've assigned acceleration, steps/mm, current, and jerk values.
My homedelta.g file is as follows:
G91 ;Relative positioning
G1 S1 X1000 Y1000 Z1000 F3500 ;Move all carriages up 700mm, stopping at the endstops
G1 S2 X-3 Y-3 Z-3 ;Move all carriages down 3mm
G1 S1 X6 Y6 Z6 F250 ;Move carriages slowly up 6mm, stopping at the endstops
G1 S1 U310 ;Home U axis up
G1 S1 U-3 ;Back off U axis 3mm
G1 S1 U6 ;Home U slowly up 6mm, stopping at the endstop
G1 Z-5 F2000 ;Down a few mm so that we can centre the head
G90 ;Back to absolute positioningAlso the homeu.g file:
; Homing file for the U axis of the
G91 ;Use relative positioning
G1 S1 U310 F500 ;Home U axis up, stopping at the endstop
G1 S2 U-3 ;Down 3mm
G1 S1U6 F250 ;Home U slowly up 6mm, stopping at the endstop
G90 ;Back to absolute positioningI'm a little lost as to how to get this guy up and running and any help would be very appreciated. I'm hoping this isn't an issue with firmware and g28 commands for delta configurations. Thanks so much.
Jake