On 2020-04-18 8:27 a.m., Reinhard wrote:
Hi Robert,
On Samstag, 18. April 2020, 17:15:48 CEST Robert Ellenberg wrote:
Reinhard, I strongly recommend using G10 for this because the NML command
doesn't update the offsets in interp. This would cause subsequent motions
to have the wrong offset values, and get the machine into an inconsistent
state.
Puh - the interpreter is getting from bad to worse :(
This actually makes sense to me, the interpreter is what defines offsets
IFAIK.
The motion component only runs raw motion commands.
Offsets are a hirer level concept.
For instance you could build an new interpreter that doesn't have
offsets and the motion component should be able to run it fine.
In general, I'd be very wary of bypassing G-code for this kind of thing.
Thats not to say we couldn't make commands specific to do manual things?
I'm a little fuzzy on how manual commands get done. Am I right that
manual spindle commands bypass the interpreter process altogether?
Ok, so if something can be done by G-code, I should use G-code?
Ok, I will do so.
NML-experience was strange enuf ...
First try in manual mode failed.
So I tried to switch mode to mdi, but that failed too.
... and executing such a command in auto-mode - hairrising.
So I go for hidden gcode ...
Guess I have to use appmode MDI for sending G-codes ...
... but for that, I have to change whole app, as MDI-mode is intended as user
action :(
Miss an appmode for internal communication.
Thanks for the hints!
Reinhard
Is there a reason we can't allow G10 in manual mode? As long as the
machine is homed I can't think of a reason. Because I agree switching to
MDI/AUTO to do manual things is annoying and there is lots of this done
in the screens. It's a major PITA to manage mode changes in screens.
I'm thinking the whole MAN/MDI/AUTO mode process should be evaluated.
Aside from a couple basic rules such as don't allow running (most of
the) manual commands while running a program, why do we need the
interpreter to decide what can and can't be done.
Same with MDI and AUTO what really is the difference to the interpreter?
Chris
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers