steve_stallings is now known as steves_logging
good morning all
EMC: 03micges 07joints_axes3 * r8d3b5368caeb 10/src/emc/motion/control.c: Fix preloading free mode planner to avoid ferror on enabling
EMC: 03micges 07joints_axes3 * r78bdafcf4d61 10/src/emc/motion/control.c: Avois small joint move when enabling motion
alex_joni: in http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/emc/motion/teleop-notes;h=079041cb35a1e5f8978499a7e0eaf261709f8cac;hb=646e3506a5a4f71e8a11cbe0d9c185a3dbd37544
in coord mode, free mode planner must be preloaded, it means to set that planner current pos to actual?
other words preload is set planner in state that after enabling it there is no move?
EMC: 03micges 07joints_axes3 * rc8716de03f33 10/src/emc/motion/control.c: Fix preloading free tp on coord->free switch to avoid ferror
jepler: execvp() works correctly in v2_3_branch
jepler: execvp() patch works correctly in v2_3_branch ;)
micges_work: thank you for testing
EMC: 03jepler 07v2_3_branch * rd32c346ce50b 10/ (debian/changelog src/emc/task/emctaskmain.cc): fix hang for M1xx code that cannot be executed (SF#2836077)
EMC: 03micges 07joints_axes3 * r8a47eb60bbf4 10/src/emc/motion/control.c: Improve soft limit checks to report which joint and limit they are exceeded
EMC: 03micges 07joints_axes3 * r093e05a41145 10/src/emc/motion/control.c: Avoid flood of messages when exceed soft limit
I have several situations where hal/ladder can detect that either a requested prep or tool change shouldn't start, or did not finish correctly. One example is if it detects the drawbar doesn't hook properly. Right now it just "never finishes" so emc's execution doesn't go on. I'd like there to be a better way to signal an error/abort, but what?
what would you like to have happen?
some sort of setable timeout? after x amount of time - throw a error?
or toss an error
is this drawbar thing something the operator could correct and continue from, or will it be stop - fiddle - rfl?
abort the program, go to estop, anything is fine - just don't continue - don't make me shut down emc to get it to function again
there's the TC and prep loopbacks. maybe there could be two responses - success and error?
and it would be like an abort?
another error condition is no air pressure
so I guess some of them could be recovered
sorry, I'm not sure what I want
I'm not sure if you're asking what should be added to emc to make this natural, or for a hackish way to get what you want?
jepler: I think what I want is this: I can tell io/task that the requested thing failed. Program execution stops. io/task stops waiting for the confirmation signal and goes to a sane state so I can run the program again.
currently I think there is no way to recover from an unsuccessful prep or tool change
EMC: 03jepler 07master * reee44ba41b9f 10/scripts/emc.in: shorten the error message in this case
is one "toolchanger failed" input enough? how will the toolchanger know when it's OK to stop asserting the error condition?
I don't know
I think it does not make sense for a prep and tc to happen at the same time, so they could both use the same error input.
or maybe the toolchanger could assert "prepared" or "changed" + "abort"
we talked about the loopback handshaking -- if there is a separate "and it didn't work" input, the same handshaking would work I think
I can believe that
yeah I think that's what I typed too
so if prepare failed, you assert prepare-error and prepared, until you see prepare go false again
yes that sounds right
(is it time to kill iotask yet?)
cradek: I've started killing it ;)
cradek, i have had that same problem to when intergrating auto changer on error call back to emc. as if i was to call a tool that does not exsist i can not reject it very easy only try and find it or give a finish signal right back to get out tool changer loop
robh: that's a case I hadn't considered.
hm, can iocontrol not show operator messages?
I can tell you, that on a Yasnac MX-1 (a Fanuc like control), that if something in the tool changer process doesn't happen (like the arm not finishing its swing) the whole thing just hangs up until you push "stop". Then, it's absolute hell trying to convince it that it should move the toolchanger back to a known good state. There's a whole complicated procedure...
Anything better than that is progress!
mshaver: M21! M23! M24!
mshaver: (I saw this)
mshaver: it does it if you don't put the table in the right place before the tool change. It is too dumb to move the table, but smart enough to know the arm will smash into it
... and also too dumb to stop before it gets halfway through the tool change
cradek: yep, that's the sequence! Sometimes it takes a couple passes through for it to get happy again...
those pages in the manual were well-used
cradek: was the control on the jr a fanuc?
it was a yasnac like mshaver is talking about
heh - I scanned over what matt wrote and saw the 'fanuc' and not 'like control'
EMC: 03jepler 07master * re1a968ae8f34 10/docs/man/man3/ (hal_param_new.3hal hal_pin_new.3hal): fix prototypes for several functions