Hello Andy
On 11/10/20 3:03 AM, andy pugh wrote:
On Tue, 10 Nov 2020 at 02:57, R C <cjv...@gmail.com> wrote:
I am trying to use the macros you wrote. It seems to work in axis, and
tried the turning macro.
emc/task/emctask.cc 389: interp_error: EOF in
file:/usr/share/axis/images/axis-lathe.ngc seeking o-word: o<turning>
from line: 0
That means that the system hasn't found the routine ngc files.
Where did you put those files? If they are in the config folder
(safest place for them) then you need to add the config file directory
(ie the directory which contains the INI file) to the SUBROUTINE_PATH
I copied the files to:
/home/rocr/linuxcnc/configs/Paxton-Patterson-Lathe-VM that's where the
ini file;
Paxton-Patterson-Lathe-VM.ini lives too.
This is what I put in there:
-rwxr-xr-x 1 rocr rocr 116487 Nov 9 19:30 Bore.png
-rwxr-xr-x 1 rocr rocr 102207 Nov 9 19:30 Facing.png
-rw-r--r-- 1 rocr rocr 3110 Nov 9 19:36 Paxton-Patterson-Lathe-VM.hal
-rw-r--r-- 1 rocr rocr 1982 Nov 9 19:36 Paxton-Patterson-Lathe-VM.ini
-rwxr-xr-x 1 rocr rocr 112396 Nov 9 19:30 Threading.png
-rwxr-xr-x 1 rocr rocr 99881 Nov 9 19:30 Turn.png
-rwxr--r-- 1 rocr rocr 1147 Nov 9 19:30 boring.ngc
-rwxr--r-- 1 rocr rocr 1075 Nov 9 19:30 chamfer.ngc
-rwxr-xr-x 1 rocr rocr 118477 Nov 9 19:30 chamfer.png
-rw-r--r-- 1 rocr rocr 108 Nov 9 19:30 custom.hal
-rw-r--r-- 1 rocr rocr 158 Nov 9 19:36 custom_postgui.hal
-rw-r--r-- 1 rocr rocr 176 Nov 9 19:30 custompanel.xml
-rwxr--r-- 1 rocr rocr 558 Nov 9 19:30 facing.ngc
-rwxr--r-- 1 rocr rocr 3385 Nov 9 19:30 lathehandler.py
-rw-r--r-- 1 rocr rocr 2931 Nov 9 19:33 lathehandler.pyc
-rwxr--r-- 1 rocr rocr 96396 Nov 9 19:30 lathemacro.ui
-rw-r--r-- 1 rocr rocr 1667 Nov 9 20:24 linuxcnc.var
-rw-r--r-- 1 rocr rocr 1667 Nov 9 19:47 linuxcnc.var.bak
-rw-r--r-- 1 rocr rocr 158 Nov 9 19:36 postgui_backup.hal
-rwxr--r-- 1 rocr rocr 1110 Nov 9 19:30 radius.ngc
-rwxr-xr-x 1 rocr rocr 121915 Nov 9 19:30 radius.png
-rw-r--r-- 1 rocr rocr 1075 Nov 9 20:24 savestate.sav
-rwxr--r-- 1 rocr rocr 1003 Nov 9 19:30 threading.ngc
-rw-r--r-- 1 rocr rocr 166 Nov 9 19:30 tool.tbl
-rwxr--r-- 1 rocr rocr 1239 Nov 9 19:30 turning.ngc
That is the function of the ":./" at the end of
[RS274NGC]SUBROUTINE_PATH in the sample INI file.
Ah, ok, I didn't pay much attention to the sample ini file, I followed
directions is the README
SUBROUTINE_PATH = ../../../nc_files/gladevcp_lib:./
except for that line, are there any other things I'd need to change,
other then what's mentioned in the README file?
Also, just wondering. Do your macros generate g-code that you have to
run? Or does it run the machine 'directly' ?
thanks,
Ron
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users