The ini file RS274NGC_STARTUP_CODE only gets executed once (on startup of 
the machine).
If you run any programs, then the codes in the program (or the effects of 
M2) will alter the startup state.
I think it has been suggested (but afaik not implemented yet) to have some 
prerun codes, which get executed before any file.
But the most safe thing to do is to set all your needed prerequisites in the 
file itself.

Regards,
Alex


--------------------------------------------------
From: "Frank Tkalcevic" <[email protected]>
Sent: Tuesday, November 10, 2009 10:23 PM
To: "'Enhanced Machine Controller (EMC)'" <[email protected]>
Subject: Re: [Emc-users] G61/G61.1 not working when put in ini 
filestartupfield

> 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:[email protected]]
>> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to