* an0n__ sighs
I think I just broke a servo
an0n__ is now known as an0n
How can you "break a servo" ??
Is anybody running emc in simulator mode on fedora core 2? I'm having some trouble getting it to work despite some help from cradek. I've never built emc before, except to run emcplot3d.
* paul_c has only installed fedora once - Just to see what it was like....
the program builds and executing sim.run gets me the xemc interface
but for instance if I jog to about y=2 then hit home, I get a message box that says "Axis 1 following error", and the same for the other axes
switching to mdi mode and executing commands (such as "g0 z1" or "G0 Z1" etc) does nothing but print errors in the terminal
and running a program doesn't work either
what sort of errors ?
trying to execute one of the files from programs/:
emcTaskPlanLine() returned 1
emcTaskPlanCommand() called. (line_number=1)
canterp: unrecognized canonical command
emcTaskPlanExecute(0) return 1
emcTaskPlanClose() called at emctaskmain.cc:1248
Issuing EMC_TASK_PLAN_SYNCH -- (+516,+12, +0,)
executing "g0 z1":
Issuing EMC_TASK_PLAN_EXECUTE -- (+509,+268, +4,g0\040z1,)
canterp: unrecognized canonical command
emcTaskPlanExecute(g0 z1) returned 1
emctaskmain.cc 2104: !ERROR! error executing command 509:EMC_TASK_PLAN_EXECUTE
have you done an update from cvs ?
yes. this is a fresh checkout from this morning of the CVS HEAD of rcslib and emc (not emc2)
OK - I recall seeing where these errors get produced....
but the canterp interface shouldn't be linked in...
hm, I took a copy of cradek's sim.ini, and he's uncommented centerptask and commented minimilltask
OK, I blew away sim.ini and checked it out again, and now I can "g0 x1 y1 z1" in mdi
that also changed me from xemc to tkemc, I wonder which change mattered
no, it works now in xemc.
I still get the "Axis N following error" if I jog to y=1 and then hit home
check your scales
OK, great, everything I was interested in is now working. I can run xemc and see the live plot in emcplot3d
3D_Chips.ngc is now plotting
Is there somewhere I can look in the source tree for the simplest program that would monitor the state of the mill, just printing coordinates to stdout a few times per second?
don't remember seeing anything to do that..
Here's a screenshot of my Python + PyOpenGL rs274ngc viewer: http://craie.unpy.net/~jepler/rs274py-gplot.png
It has no dependency on emc
just a little something I've been working on...
For emc2 ?
I'm not sure what my goals are
I admit I started serious work on it when cradek told me that emcplot3d didn't have a clear license.
on the other hand, I doubt that python + pyopengl is something you want to make a requirement for emc2, and having a separate parser and interpreter for rs274 means the viewer may show different things from what emc will do
It's notusing the same rs274 interp. code then ?
nope, though I am using http://www.linuxcnc.org/handbook/RS274NGC_3/RS274NGC_3TOC.html
as my documentation for the language, and my "canonical form" is also inspired by that document.
sorry, I have to go.
I'll read this scrollback later and may be back tomorrow
I'm not really here '-)
just testing the conection ;}
* an0n broke a servo
I feel like crying or somthing
Don't feel bad an0n...I broke a $1000 laser - and a replacement cost $3000
hi paul, hi jepler
so what did I miss?
not a lot
It's been fairly quiet the last few days.
I'm going to have to complain to my sysadmin about these network outages
cradek yeah I bet they need a good laugh!
pfred1_: the real irony here is that I'm the sysadmin
10:30pm up 29 days, 8:37, 1 user, load average: 0.00, 0.00, 0.00
23:03:23 up 29 days, 8:32, 3 users, load average: 1.49, 1.64, 1.58
My router & server stats ;}
but only a windows user could be proud of that
5:00pm up 1202 days, 6:46, 1 user, load average: 0.12, 0.04, 0.02
I had to reboot 29 days ago after a power outage
-> ls -ld /lost+found/
drwxr-xr-x 2 root root 8192 Oct 17 1991 /lost+found/
I had to shut this machine off because the office moved 4 years ago
so jepler showed off gplot
and it has a proper license
Now... If we could talk him in to committing to emc2 under GPL...
* paul_c thinks about the possibilities of using vtk
I don't see any particular reason it should be in the same repository as emc
they can read the same files
they are useful together
but they are unrelated otherwise (no code in common)
what did he say about this when you asked him?
the main emc tree is a mess when it comes to working out what is GPL, Public Domain, non-free, and non-commercial
emc2 isn't GPL?
emc2 is, but emc(1) isn't
emc1 is public domain?
Parts of the source code is
some is GPL
a couple of files are non-commercial
an a few of the sources in rcslib could be proprietory
damn what a mess!
what is "non-commercial" ?
not for profit
paul_c so that mean you can't resell the code or cna't use it in any commercial application at all?
pfred1_: at least one file's license is "free for non-commercial use"
pfred1_: that's the whole license
emcplot3d is the file in question - And Yes, that is how I read the response to my query
rs274py / gplot is GPL.
if you want it in the emc2 tree you're certainly welcome to it
jepler: Do you have cvs access ?
paul_c: Nope, I sure don't.
jepler: look out, you're about to become a developer
Are you registered with SF ?
Yes, I'm "jepler" there
What's with the % at the top and bottom of .ngc files? It's not mentioned in the reference I'm using (http://www.linuxcnc.org/handbook/RS274NGC_3/RS274NGC_3TOC.html)
It's an optiona marker for the start & end of a file
So if there's a line with a lone "%" on it, followed by more lines, the following lines are ignored by the interpreter?
jepler: Yu now have full write access to CVS
I would suggest creating emc2/src/tools/3dplot (or pick your own name).
jepler: now you need a machine
Does the emc project buy me one?
I think so - just arrange it with paul
actually I think they're about to buy me a new one, and I can pass mine on to you
let me know when that happens
Sherline will do a discount for registered developers (if you ask them)
paul_c: we really need bigger machines with servos for proper testing.
hexapods with 256 tool loaders
sherlines are toys
we need a grant or something don't we
You want to know what I mount my Sherline on ?
pfred1_: you can make parts with them. just smaller parts.
pfred1_: mine's on a piece of oak
mine gets bolted to the table of a Bridgeport Interact II
yay, live plot display in my rs274ngc display app: http://craie.unpy.net/~jepler/rs274py-gplot-live.png
jepler: check it in!
jepler: you need to come up with a name for it
Up early John ?
Hi Paul, are you here ???
Hi Paul how are you
can you give me a short overview what was going on the last two weeks. In one sentence maybe
Not a lot...
Vreified the origins of emcplot3d and found it is subjuct to a non-commercial licence.
so it has to be rewritten
On going discussions about where he emc2 files should go when installed
I am thinking on making EMC able to drive a gantry axis, but i want to discuss the way to do that before
jepler already has a python based replacement for emcplot3d
emc gets a multi language software
tcl c c++ phyton
Python is usefull for rapid development of all sorts of stuff...
do you want to say something about the gantry axis, or did i have to discuss that with john ?
hope he is here today
You wanting to slave two drives ?
i think this is not that big deal, but homing would be a problem
EMC will drive an XXYZ machine
i have spoken with the guys of Heidenhaim, they said that not so much controllers are able to do that
without any changes to the code
but you are correct in your assumptions about homing
It would be a pain...
but the XX Axis must move in any case exactly the same
free mode kills everything :-)
there is no work in prozess at the time, or ??
or anything that could help
Les would know about the problems of an XX axis
* paul_c passes the buck
well, emc was/is not set up for it
but I use a jackshaft to drive the big gantry on my machine
ok, i want to change that, or better i have to because my frends are starting to build such a machine at the moment and my tast is to get it work
ok that is also our backup solutian
the jackshaft transmissions I made were very expensive
but work well
one problem with electronic gearing....
be get two linear encoders from heidenhain with 1700mm and 2200mm at ebay
is that the aparent mass that each end sees is constantly changing
so with fixed tuning some racking forces can exist due to unequal following error
i think that is very easy to solve with the HAL, i have only to conect two PID controller to one X output, but homing is the problem i think
with very tight tuning it works fine though
the best tandem systems would use feedforward based on the position of ANOTHER axis
the one(s) carried by the tandem driven axis
but what about homing?
what problem do you see there?
i must home that two axis the same time !!!
otherwise the machine is gone
and then i have to deside how to synchronise them
well if one truly slaved off the other...
because they are out of sync when i switch of the machine
in other words commanded position of one=measured position of the other
rather than just independent
ithink commanded possision must be the input for both axis
that is with HAL very easy
but they must be synchronised at homing
true slaving/electronic gearing needs this and emc does not do it as far as I know
but right...very easy to code
then home the master and the slave follows
There will always be a group delay between then due to integrators in the control laws but it coulsd be very small
high servo updates...
no big problems that I see...just has to be coded
If a y is riding on a gantry x...
the master and slave x will benefit from a zero order feedforward term based on the square of y position
(due to moment of inertia of y)
there are some smal problems that make the think interesting :-)
in the general sense inverse kinematics need jacobians and stuff in the control laws
but for an xxyz not very complicated
I wish I could have figured out where to write this into emc1
math is easy but figuring out the code was not
so jackshaft, transmission, and mechanical pitch matching cams are what I had to use
BIG $$$$$ that I would have preferred not to spend
well I am going to make some breakfast...back in a while
ok i will have a deep look into the code, see you
ok...one last thing...if one does true slslaving for xxyz where racking error is made closed loop...
he will have solved lathe threading as well.
hm I'm not sure, because that is another thing
but i don't know
good morning golks
are you new here ?? I was two weeks away and i have never seen you before
I am a guy from germany how wants to make emc able to use ganry axis
I've been around a few times before, but not that much.
I'm a friend of cradek, and sometimes I borrow his mill to do circuit boards
I've done a little work improving emcplot3d, and most recently I've been writing a g-code interpreter and viewer in Python, which I believe Paul mentioned earlier.
jep I have heard about it, is it in the CVS ??
Nope, it's not in emc cvs
There's a screenshot online: http://craie.unpy.net/~jepler/rs274py-gplot-live.png
and my cvs can be viewed online: http://unpy.net/cgi-bin/viewcvs.cgi/rs274py/
hm, that looks nice
It only supports a small subset of rs274ngc so far
very good, that are the tools that will make working with emc much easyer
I was surprised that Paul immediately suggested checking it into emc2, it's so far from complete, duplicates the parser and interpreter, and is in a new language not used in emc before...