bear with me through my learning curve.. I'm using self-built trunk  
via git on hardy.


1. my lathe has limit switches just outside the softlimit. Homing  
works fine. Also, if I jog a joint
   to its limit, jogging stops at the soft limit and wont bump into  
the limit switch, which makes me believe the limit setup is ok.

   However, halui.joint.<..>.on-soft-max-limit remains false in this  
case, which leaves me puzzled.
   btw tripping the limit switch manually is reflected fine in  
halui.joint.<..>.on-hard-max-limit .

   Does on-soft-XXX-limit work for other folks in this case?


   I'd be willing to gdb my way out but I'm a bit at loss where to  
start.

2. I'd like to run a small g-code program triggered by a pyvcp widget.  
halui.mdi_command looks promising, so I thought I'd use a O-word
   subroutine and call that from halui.mdi-command.

   However, I'm stuck at trying to call *any* oZZZ or o<filename>  
subroutine even manually from MDI. Any variant which would execute
   a g-code sequence which is NOT currently loaded and would be pulled  
from a file (either ZZZ, ZZZ.ngc or oZZZ.ngc, or <filename>.ngc,
   or just <filename>) would give me a 'file not open' error.

   I'd be grateful for a *working* example of a o-word subroutine  
stored in an external file.


   I realize emcrsh might be an option (eg 
http://fabricationsofthemind.blogspot.com/2009/03/using-joystick-buttons-to-run-complex.html)
   but this strikes me as a bit involved.

3. now some real dumb question..

   How do I access the current machine coordinates in G-code? I  
couldnt find a #5xxx register for that. I could zero G92 and use the
   G92 offset registers. Is there a more direct way to do this?

   same for tool number..how do I reference the current tool number in  
G-code - is there a register for that?


thanks for the patience..

-Micahel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to