2013/2/4 Chris Morley <chrisinnana...@hotmail.com>:
>
>
>> If anyone needs translation from Russian:
>> The way this works is a g-code filter, which generates a "reverse"
>> g-code for a particular g-code line and inserts it _before_ this
>> particular g-code line with a "/" symbol in front of it.
>> It seems like a change in Axis GUI script to redefine "zoom-in" and
>> "zoom-out" buttons, so that it starts taking into account all the
>> lines with "/" symbol in front of it, when asked to reverse.
>>
>> A little comment from me:
>> It is obvious that this approach can easily reverse _current_ line
>> being executed. But it is not clear to me, how to back up more than
>> one line - it might be necessary if the code consists of really tiny
>> G1 moves.
>>
>> --
>> Viesturs
>>
>
> Thanks Viesturs - now I understand what this code was doing:

You are welcome!

> it set/resets block delete
> it abort execution
> then restarts a line behind or a line in front
> It's a really smart bit of thinking!
>
>     def zoomin(event=None):
>         c.set_block_delete(0)
>    s.poll()
>         c.abort()
>    c.wait_complete()
>    c.auto(linuxcnc.AUTO_RUN , (s.motion_line-1))
>
>     def zoomout(event=None):
>         c.set_block_delete(1)
>    s.poll()
>    c.abort()
>    c.wait_complete()
>    c.auto(linuxcnc.AUTO_RUN , (s.motion_line+1))

I read the whole thread, it seems that guys back there have some
stability issues - it seems that it sometimes does not remain in auto
mode. Not sure, if I understood correctly, but it seemed somewhat
related to using those zoom-in and zoom-out buttons - in later posts
they tried some commands to wait for auto mode and then continue
(sorry, I do not understand python code, so cannot explain.
In other post they receive error messages in Axis about "cannot set
TRAJ_SET_TELEOP_ENABLE in auto mode with interpreter idle", so it
seems that there are some other workarounds to this, but not
completely successful.

-- 
Viesturs

If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to