Inch/Metric and the new Interpreter
- Subject: Inch/Metric and the new Interpreter
- From: Ray <rehenry-at-up.net>
- Date: Tue, 6 Mar 2001 20:28:24 -0600
- Content-Transfer-Encoding: 8bit
- Content-Type: text/plain
- Reply-To: rehenry-at-up.net
List
Will has done it again! He wrote:
-----snip of post from Will-----
I have checked in one possible way to do it. I edited emctaskmain.cc, and
emctask.cc to look in the INI file for
RS274NGC_STARTUP_CODE.
If its there I pass it as a string to rs274ngc_execute just after
rs274ngc_init() in emcTaskPlanInit()
-----end of snip-----
To use the new variable, I edited my ini to look like this. (adding the
last line)
; General section ----------------------------------------
[EMC]
VERSION = $Revision: 1.4.1
MACHINE = Stepper Minimill
NML_FILE = emc.nml
DEBUG = 0x00000003
RS274NGC_STARTUP_CODE = g18 g20
-----end
This gives me inch and xz plane for my lathe project. The nice thing about
this approach is that they are the defaults for reset and reload var file
as well as startup.
These changes are in the sourceforge repository but not in a full download.
If you are registered as a developer you can just update your copy and
backup the stuff. If you aren't, and you want me to, I can put my test
source version on the dropbox.
Ray
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact