cradek: a note/patch and a question on random_toolchanger with non-random_toolchanger config: http://www.panix.com/~dgarrett/stuff/rtc_note.txt
dgarr: won't the last two blobs in the patch break random? you'll get the pocket twice and never the toolno.
previously I thought the columns were [don't care] then toolno. you are right that they were toolno then [don't care]
maybe random should be toolno THEN pocket
nonrandom (when writing) should be toolno, toolno
nonrandom (when reading) should be toolno, [ignore]
I bet TnM6-twice that you found is a bug
when writing the tool table on nonrandom, we could write out toolno,toolno or toolno,0
for some of history, emc was broken if toolno and fms didn't match. that's why I figured I'd write them out as both toolno, but that's a pretty weak reason.
heck I could even save the fms just like the comment. it would only be a little bit silly.
oops , on the last blobs imeant
+ random_toolchanger? toolno: toolTable[pocket].toolno,
i agree with16:57:23,31
I have a new patch for you to review - one minute
[01:12:01] <cradek> http://timeguy.com/cradek-files/emc/0001-preserve-fms-values-for-nonrandom-tc.patch
yuck, fakepocket can overrun
but aside from that?
[01:32:19] <cradek> http://timeguy.com/cradek-files/emc/0001-preserve-fms-values-for-nonrandom-tc-and-more.patch
^ obvious problems removed
i tested your first patch in sim, read files ok, is the second to be applied sequentially or start over?
start over, sorry
just added some missing error handling
tested reading tbl with sim, ok when is saveToolTable used?
G10 L1, tool touch off, and whenever changing tools if random
write seems ok (mdi g10) too
i ran across these items working on numbered parms for tool items, but the repetition with tnm6 is beyond my ken
I'll have to go back and see where that was previously filtered
because pockets are prepped, you can't just throw out the tool change if the pocket hasn't changed - on random, switching between the same two tools over and over never moves the carousel
thanks so much for testing it. I'm too close to see the problems.
EMC: 03cradek 07master * rf22ab22058a1 10/configs/ (43 files in 37 dirs): fix up all the tool tables, yet again
EMC: 03cradek 07master * rbb0e922fef39 10/src/emc/iotask/ioControl.cc: preserve fms values for nonrandom tc, and more
now I must remember to change my tool table around, or I'll have a mess
EMC: 03jthornton 07v2_3_branch * rcc53a58345bc 10/docs/src/gcode/ (5 files in 2 dirs): Add diagrams to help explain G2/3 moves
EMC: 03jthornton 07v2_3_branch * r5fc94061a521 10/docs/src/hal/drivers.lyx: Fix link
EMC: 03jthornton 07master * r3b76e46e1ee1 10/docs/src/gcode/ (5 files in 2 dirs): Add example for G2/3
EMC: 03jthornton 07v2_3_branch * re6942710a8c3 10/docs/src/gcode/main.lyx: grammar
jepler: setting the probe to 2ms (from 0) really improved it