New experimental firmware 1.19beta8
-
Testing IDEX on beta8 and when I change tool, the "new" tool moves to the position of the old tool after running my post.g code.
This means that the heads collide and the new tool looses position.
I could post all my config, but I don't want to clutter the post. Let me know what parts you are interested in.
//M122 while printing single head:
=== Diagnostics ===
Used output buffers: 3 of 32 (15 max)
=== Platform ===
RepRapFirmware for Duet WiFi version 1.19beta8 running on Duet WiFi 1.0 + DueX5
Board ID: 08DAM-999TL-MQ4S8-6JKF0-3SN6N-1NBHW
Static ram used: 20900
Dynamic ram used: 96620
Recycled dynamic ram: 1264
Stack ram used: 1304 current, 9016 maximum
Never used ram: 3272
Last reset 00:22:04 ago, cause: power up
Last software reset reason: User, spinning module GCodes, available RAM 3196 bytes (slot 2)
Software reset code 0x0003, HFSR 0x00000000, CFSR 0x00000000, ICSR 0x00400000, BFAR 0xe000ed38, SP 0xffffffff
Error status: 0
Free file entries: 9
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms
MCU temperature: min 36.9, current 37.2, max 37.5
Supply voltage: min 19.4, current 20.0, max 20.3, under voltage events: 0, over voltage events: 0
Expansion motor(s) stall indication: no
Driver 0: stalled
Driver 1: ok
Driver 2: stalled open-load-B
Driver 3: stalled standstill
Driver 4: standstill
Driver 5: ok
Driver 6: standstill
Driver 7: standstill
Driver 8: standstill
Driver 9: standstill
Date/time: 2017-07-03 21:40:47
Slowest main loop (seconds): 0.005737; fastest: 0.000000
=== Move ===
MaxReps: 4, StepErrors: 0, MaxWait: 1ms, Underruns: 0, 0
Scheduled moves: 18501, completed moves: 18472
Bed compensation in use: mesh
Bed probe heights: 0.000 0.000 0.000 0.000 0.000
Probe change coordinates:
=== Heat ===
Bed heater = 0, chamber heater = -1
Heater 0 is on, I-accum = 0.0
Heater 1 is on, I-accum = 0.2
=== GCodes ===
Segments left: 1
Stack records: 3 allocated, 0 in use
Movement lock held by file
http is idle in state(s) 0
telnet is idle in state(s) 0
file is doing "G1 X127.370 Y125.110 E3.3039" 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
Code queue is empty.
Network state is running
WiFi module is connected to access point
WiFi firmware version 1.19beta8
WiFi MAC address a0:20:a6:16:e7:72
WiFi Vcc 3.08, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 40024
WiFi IP address 192.168.1.180
WiFi signal strength -63db
HTTP sessions: 1 of 8
Socket states: 2 0 0 0 0 0 0 0
Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) -
@Kulitorum, don't you have your tfree#.g files set up to park the old tool?
-
; Put G/M Codes in here to run when Tool 0 is freed
M83 ; relative extruder movement
G91 ; relative axis movement
G1 E-3 Z3 F3600 ; retract 2mm and lift head
G90 ; absolute axis movement
G1 S2 X-27 F42000 ; park the X carriage at -27mm
G1 E3 F3600 ; unretract 3mm
M82 ; absolute extruder movement -
Post#.g:
M116 P0 ; wait for tool 0 heaters to reach operating temperature
M83 ; relative extruder movement
G1 E2 F3600 ; extrude 2mm
M82 ; absolute extruder movement
G91 ; relative axis movement
G1 Z-3 F500 ; up 3mm
G90 ; absolute axis movement
;G1 R1 F42000 ; Goto where we left off -
Ok, so if the head is moving to the position of the old tool, which position is that? The position before it ran tfree0.g, or something else?
-
It moves to the park position of the old head.
PS: Can you change the 60 sec between posts? - Seeing this for the third time today….. Also the 30 sec between searches is annoying - if you did not find what you were looking for, you can't re-search for 30 secs.
-
I can guess what might be happening. For now I suggest you try starting the tpost file with a G1 S2 command to move the new year to its park position. There should be no actual movement because it should already be parked, but that command should update the desired X coordinate.
In the latest beta you should be able to use G1 R2 at the end of tpost to move the head to the position of the old tool before the tool change.
-
Clicking upload print disconnects me randomly on this build. and it takes a few to reconnect.
-
@dc42 . on the latest build G30 S-1 does not flash a value anymore. Is this a change that i missed?
-
G30 S-1 should still report the trigger height to the device that you sent the command from.
-
-
If everything is slow and laggy then first establish whether the PC or the Duet is to blame. Reboot both, connect to the Duet from the PC with nothing else running on the PC and see whether it is still slow and laggy. If yes then you have hit an issue that nobody else has reported afair and I suggest you revert to 1.18.2. If it remains slow and laggy then suspect an IP address conflict.
You can configure the number of reconnect retries in DWC.
HTH David -
David,
I've been meaning to say thanks for the thermostatic fan hysteresis which works like a charm.
Ian