Unsolved How to get DWC to Display what line of Gcode it is on?
-
@Tinman I've had a look through the files and nothing is immediately obvious that would cause the issue. Do you have any
triggers
, adaemon.g
, or any other code that may be running on the Duet/sending commands to the Duet?Also were you able to try the print file without the M0 command at the end?
Another thing I would like you to try is to add
M400
to the start of each of the macros. If it is an issue with the second file reader, this should cause them to resynchronise. -
@Tinman I have been able to reproduce similar symptons to what you have described using a much shorter gcode file. The only differences appear to be that this will cause the Duet to hang consistently at the same line in the file compared to the position changing, and the duet becomes unresponsive to gcode (except estop).
-
@AndyE3D Thanks for looking at everything. I did try with M0 removed and had the same trouble. I haven't used any triggers or daemon.g or anything fancy. I will try inserting an M400 in the macros.
In my most recent attempt at a multi toolchange file I removed the M0. Early in the job the z axis decided it wanted to dive at top speed into the workpiece. It was alarming.
As before when I take exactly the same job and break it up into individual jobs everything runs fine.
-
@AndyE3D OK, I think I found out the cause of the problem- at least I have a theory... In my macro I had the z probe macro and xy probe macro making three samples and then averaging them to come up with the final WCS figures. The averaged figures have more decimal places and this seems to mess with the ability of the board to process a longer multi-machining-process file. When I remove the averaging procedures from the probing macros everything seems to run fine.
-
@Tinman I can't see any reason why additional decimal places should cause a problem. Please share those macros so that we can do some testing.