Jeff Epler wrote:
>I think the tools are there ("run from line"), at least when O-words
>aren't being used--strictly the old-style g-codes. And unlike in the
>past, verify and run-from-line are both quite fast to process even
>10,000 lines.
>
>
>
I haven't worked with this much, but the speedup is certainly a major
improvement
for users with large programs.
>The trick is to make it more transparent to the user -- replace pause
>with this new button, which actually stops the program and lets them
>drop back to manual and mdi, then when pressed again automatically use
>"run from line" and restart from where they left off.
>
>
>
Yes, transparency really helps.
>The other trick is knowing when this can't be done -- probably anytime
>you're in an 'O- while' or 'O- sub'. but this will feel to the user
>like an arbitrary restriction.
>
>
>
Yes, there are a MILLION possible ways to get into trouble here. Such
as pausing where
the mode is set to G03, and then backing up to a line that was written
with the mode
in G01, with X1.23 Y2.34, and of course there won't be an R or I,J word,
so it croaks.
>Actually, there are probably more problems than O- words: consider a
>canned cycle with a L- repeat, or incremental motion mode, or other
>things I haven't thought of yet.
>
>So forget it -- this is a hard topic, with no easy solutions.
>
>
>
No, I WON'T forget it. It IS up to the operator to know what he CAN,
and CAN'T do!
Good diagnostic messages help, and EMC does give pretty good ones, a LOT
better
than the AB 7320. Many errors would just do crazy moves, or the lighted
cycle start
button would just go out, with no message. Many of the looping
procedures leave
things in particular variables, so they should be restartable from the
middle. If you
want to re-run the whole loop, then you have to back up to the block
that initialized
the variables for the loop. You do have to know what you are doing, and
know the
logic of the G-code being run. But, nobody generates a million-block
program
manually, with a bunch of loops, etc. in it. Most CAD packages we can
afford won't
do that, or subroutines, either.
Perhaps more modern commercial CNC controls handle all these
intricacies, but I
wouldn't be surprised if they don't.
Jon
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers