I'm running the latest GIT master (from the weekend).

This is the gcode.  I've made a simple test case.

(g61.1)

S100
M3

G0 x20z0

G0 x12z-10
G1 X0 F200
G0 x12

G0 X20 z0

M2



Here's a screen shot of what I'm seeing running the lathe simulator.

http://filebin.ca/rqsbrt/curve2.png

The actual path is very hard to see because of the light colour (at least on
my monitor).

You can see that the G61.1 is enabled on the list of active Gcodes.

I just discovered that I don't see this problem if I don't have my pendant
.hal file loaded.  So I stripped down the file, and the line that makes the
problem occur is...

        net pendant_reset2 hidcomp.0.E-Stop.in-not => halui.machine.on

The button on my pendant is a push on, twist off type.  It is used to toggle
the EMC machine on function. (Normally there is also the line "net
pendant_reset hidcomp.0.E-Stop.in => halui.machine.off", to toggle, but it
has been deleted to reproduce the problem).

If the button is closed when EMC starts, ie hidcomp.0.E-Stop.in-not = FALSE,
G61.1 works at startup.  If it is TRUE, G61.1 doesn't work.



 

> -----Original Message-----
> From: John Thornton [mailto:bjt...@gmail.com] 
> Sent: Wednesday, 11 November 2009 9:27 AM
> To: Enhanced Machine Controller EEMC"
> Subject: Re: [Emc-users] G61/G61.1 not working when put in 
> ini filestartupfield
> 
> That doesn't sound anything like what I saw. It is always a 
> good practice to place needed parameters at the beginning of 
> each file because you never know how the last file might have 
> left the system configured.
> 
> Can you pastebin the file and post a link? I forgot are you 
> running the latest version of 2.3?
> 
> John
> 
> On 11 Nov 2009 at 7:23, Frank Tkalcevic wrote:
> 
> > If I only have G61.1 in the ini file, the sim shows a significantly 
> > curved path.  Putting G61.1 in the gcode file will trace 
> the path as 
> > expected.
> > 
> > I only tried it in a sim version.  I wasn't game to run it 
> on the real 
> > machine while it was drawing curved paths.  The particular path I 
> > noticed it on was retracting the parting tool from a deep groove.  
> > Watching it go sideways through the part was a bit upsetting.
> > 
> > Frank
> > 
> > > -----Original Message-----
> > > From: John Thornton [mailto:bjt...@gmail.com]
> > > Sent: Tuesday, 10 November 2009 11:13 PM
> > > To: Enhanced Machine Controller EEMC"
> > > Subject: Re: [Emc-users] G61/G61.1 not working when put 
> in ini file 
> > > startupfield
> > > 
> > > The traced route might not be exactly the cut route because of 
> > > delays in updating the screen. The display is not updated in real 
> > > time AFAIK. I have noticed that when doing very small 
> work with G61 
> > > or G61.1 which are the same.
> > > 
> > > John
> > > 
> > > On 10 Nov 2009 at 9:10, Frank Tkalcevic wrote:
> > > 
> > > > In my lathe configuration, I have...
> > > > 
> > > > RS274NGC_STARTUP_CODE = G18 G7 G61.1
> > > > 
> > > > in the [RS274NGC] section of the ini file.
> > > > 
> > > > Even though on the MDI panel G61.1 is shown to be an active
> > G-Code,
> > > > the route traced is cutting corners.  I need to explicitly
> > > put G61.1
> > > > in my Gcode program for it to work.
> > > > 
> > > > Is this a bug, or my misunderstanding of how this works?
> > > > 
> > > > Thanks,
> > > > Frank
> > > > 
> > > > 
> > > >
> > --------------------------------------------------------------------
> > > > ----------
> > > > 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
> > > > Emc-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > > 
> > > 
> > > 
> > > --------------------------------------------------------------
> > > ----------------
> > > 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
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > > 
> > 
> > 
> > --------------------------------------------------------------------
> > ----------
> > 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
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> 
> --------------------------------------------------------------
> ----------------
> 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
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 


------------------------------------------------------------------------------
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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to