cradek: hm, the gcode tests have bitrotted .. they all fail because the output is trivially different than the last time the expected files were updated
N..... SET_ORIGIN_OFFSETS(0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
+ N..... SET_FEED_MODE(0)
+ N..... SET_FEED_RATE(0.0000)
+ N..... SET_SPINDLE_MODE(0.0000)
that's from when I fixed M2 for CSS etc
this would not have been my first guess from "realtime checks failing"
(those new results look right to me)
I'll fix those if you'll fix this SCALE documentation (I'm scared by the math mode in lyx)
remind me later
I'm on my dinky laptop and it has no lyx
inifile SCALE stuff?
did I screw it up trying to simplify it?
the example is an inch leadscrew and mm config, and the math doesn't match the answer
a pure inch or mm example is surely better?
oh, in trunk it's right
well different anyway
I inherited the mixed inch/mm example
yeah it's right but different
perhaps I should have had the guts to change it
so you're saying that the number at the end of the math doesn't come out if you work the problem -- not that it's not the same number shown in the sample-ish line, 40000?
looks like to me the examples are the same in 2.2 and 2.3
yes I'm saying the former
three are two -- one for INPUT_SCALE on servos and one for SCALE on steppers
are they both wrong, or just one of 'em?
2count/1.8 degree * 10rev/inch * 1inch/25.4mm = 157 counts/mm
this one is wrong
degree and rev don't cancel
the answer is right, the equation is missing a 360deg/rev
it's also confusing because it's actually finding a reciprocal -- you end up with distance in the denominator
but that's what you want: counts/mm
units knows rev = turn = circle = 2 pi radian = 6.28...
but maybe my audience doesn't :-P
nor what 'or' means
cradek: so you think I'd be better off with an example that stays within the same units system?
I think so
that'll be 90%+ of the configurations
cradek: Have you found any method of going between autolisp and python? I'm getting into Intellicad/Autocad running under wine. I have been using 'Realize' - Thanks!
EMC: 03jepler 07TRUNK * 10emc2/src/emc/usr_intf/stepconf/stepconf.py: two items reported by Harlock: axis test would fail if probe_parport was needed, or if the axis speed was very low (e.g., 200Hz)
EMC: 03jepler 07v2_2_branch * 10emc2/debian/changelog: from TRUNK: stepconf bugfixes
EMC: 03jepler 07v2_2_branch * 10emc2/src/emc/usr_intf/stepconf/stepconf.py: from TRUNK: stepconf bugfixes
DanielFalck: what do you mean going between?
and you're welcome, glad you like it
(I have a version with a bunch of additional features for the BOSS8 if you care about that)
I see that there are ways of communicating with other programs using DDE and autolisp (pretty ugly)
sorry I don't know what DDE is
an old scheme like COM or OLE in Windows
but, I don't use windows
I don't either
I was just curious how far you've taken autolisp
I've been playing with it a lot this last week
ideally Realize would be rewritten by an interested person, maybe in a different language (who cares what language), to read DXF and run without Autocad
and there are a ton of autolisp scripts out there
yes they've been accumulating for about 25 years :-)
the fun part is most of them don't work with your version of autocad (whatever it may be)
what version of autocad are you using iwth Realize?
I've had pretty good luck so far
ah mine is much older: R12
I use convertpoly
to make it work
right, glad that still works
R12 was a damn good release
I used it for work for a long time
it's the newest one I've ever used!
learned on R11, R12 added grips
Intellicad and all it's variants is about like acad2000
Intellicad, Progesoft, Bricscad, etc...
and they are all cheap
Bricscad sells a linux version
I wish there was something FOSS and decent
I have Autocad, Progesoft, and Intellicad working here under Ubuntu and Wine
looks like qcad is the best we'll have for a while I guess
someone just needs to fix brlcad so it's actually a cad program
I'm using R12 on FreeDOS on qemu
In the meantime.... autolisp and intellicad might be fun
I have qemu and win98 in a little box on this machine
R12 is new enough to have output for plotting, a vesa video driver, and a microsoft mouse driver. That means it will work forever which is very nice.
have -postscript- output
qemu is pretty slow to run windows isn't it?
mine works pretty well here
this is a 3 Ghz intel box
that's gotta help
autocad under wine works great
it's very snappy
I made autolisp open up some linux applications
back in a bit.
I don't remember what R12/windows3.1 looks like - it might be pretty bad
cradek: post your Boss8 version on your website
I did (but not quite the latest)
ok, I see it now
the BOSS8 will actually blend adjacent moves in special circumstances - I took advantage of that in my latest hack
do you have one of those machines too?
by default it stops for about 1/4 second at the end of every segment
no, but it's always fun to see how it's done
on the BOSS8, F8 gives you 0 ipm, F8. gives you 8, F8.0 also gives you 8, and F8.00 gives you 80
I used to run a machine with a 'shadow' brand control on it- it was a clone of the Bridgeport Bandit.
bandit is even older than boss isn't it?
it was very primitive
steppers and little lcd windows to watch the g code scroll by
this machine at least had servos
this has a 2x20 lcd as the only user interface too... it's pretty bad
but it was funny how the company made it just like a bandit
that sounds very familiar...
an unlicensed clone?
I don't know if it was unlicensed.
can't show X,Y,Z at the same time, you have to pick which you want!
The company is 'Shadow' out of Montana
I sure wouldn't want to go back
so your GPL license statement in brealize.lsp must have been copied out of TTT
I can't even find a picture of a bandit - they must have mostly all died before the internet caught on
oops is it wrong?
it refers to TTT instead of brealize
I saw a Bridgeport with a Bandit for sale 2 years ago, when I was looking for my mill. It didn't work (Y axis was toast) and the guy still wanted $4500
I decided to pass and I bought mine with servos, 4th axis, tooling, and a Centroid control for that same price
wow, $4500 is very ... optimistic
back to the Intellicad/Autocad lisp thing- I think it's a viable option for hobbiest
you can download Progesoft and use it for free
they just want to charge for the Pro version
Intellicad2000 , which was a freebie, is still floating around the web
I like the idea of FOSS for CAM too, but it's good to have options now for people
I still see people talking about dual booting and using windows, and it kind of bothers me
so, get everyone used to Linux a bit at a time...
DanielFalck: do you know anything about the wireless (IR) renishaw probes?
I've heard that they get sold on ebay - after they are crashed though
I bet so
I'm looking for the receiver part, have the probe
(or, information about how it works)
sorry, I've never run across that.
it's not reassuring to get the "unexpected realtime delay" message 2 minutes into a 60 minute job
jmkasunich: ouch, you're going to have to fix that...
which one did you get?
task 1 IIRC
it only prints once per run of EMC, right?
so I really don't know how often its happening
I think that's right
well, I'm gonna run this part tonight with fingers crossed, and worry about it later
my stepson is leaving tomorrow, it either works or it doesn't
at very slow feed you might survive a glitch
turn down FO so rapids are slow too
I dropped accels down quite a bit
if I turn down FO, it will take all night
the lettering has very few rapids (one per letter mostly)
I think I'll take my chances there, and slow it down for the starts (more rapids there)
cradek: in autolisp- you can load other applications like this: (startapp "/usr/bin/gedit")
or : (startapp "/usr/local/bin/vapt" "/home/dan/apt360/examples/test.apt")
So, I got this crazy idea that I can interact with other programs (python of course) with autolisp
in a crude way- using files
sorry for the non-emc content, but I will open EMC with autocad too : )
you could write out some xml
sorry for my ingnorance, what are you using xml for ?
as an easy way to dump your autolisp data structures
then they can be parsed with a standard xml parser
(in the target python program)
DanielFalck: since I use dos autocad there is no such thing as another program
the easiest way to dump a lisp data structure is to write out the lisp :-)
cradek: in axis I can hit the number keys to set FO, right?
yes while running that is what the numbers do
0 = 100, 1 = 10, 2 = 20 ... 9 = 90 ?
there's a nice key reference in the help menu
right now I'm trying not to touch it
the touchpad mouse interprets a quick double tap as a click, I don't want to accidently stop the program or something
jmkasunich_ is now known as jmkasunich
cradek: would you be surprized if axis + xorg were using 100% of the CPU for a long time at "file open"?
never mind, I found the problem
used the same O number for two loops - result = infinite loop
EMC: 03jepler 07TRUNK * 10emc2/docs/src/config/ini_config.lyx: fix up SCALE examples based on irc discussion
EMC: 03jepler 07v2_2_branch * 10emc2/docs/src/config/ini_config.lyx: from TRUNK: fix up SCALE examples
my problem is:
I have 3 cnc machines with EMC+AXIS
two mills and laser
that doesn't sound like a problem :)
and problem is that my machines doesnt have repetivity
I'm not sure I understand what you're saying
for egzample few days ago I had send message that EMC 2.2.2 have joint following errors on starting from line
ok - I remember seeing that message
I set up program, run, and stop, select some vector and run, then joint errors is showing
this was on oryginal AXIS + EMC 2.2.2
but after resetup install of EMC
and after one day I installed again 2.2.2 and restart PC
the problem dissapeared :/
I don't think I can help you. stay on IRC and hopefully someone who can will show up soon
I'm totally have no idea where to start searching what was wrong :(
what hardware are you using? (steppers or servos, which servo card if any ...)
servodrivers BALDOR and hardware step generators connected to parallel port
which parallel port step generator?
or do you mean software step generation?
its silly becouse on 2.1.7 everything is ok idependent what I'm doing with EMC installation
step generators based on AVR atmega128
own production based on PLUTO
ok - interesting
you may need to use halscope to look at the position feedback signal when you try to restart
also position command
I'd like to add mathematics to halcmd, e.g., setp stepgen.0.maxvel (1.05 * [AXIS_0]MAXVEL)
I can't see any existing uses of () outside of comments in our sample hal files
anybody anticipate a problem with that notation, or want to suggest an alternative?
you don't think it's a good idea?
inventing a new scripting language is usually not the right answer
I don't know what the right answer is if you already have 75% of the new scripting language you want already invented
I've also exposed halcmd to tcl, but then you don't have the halcmd-specific inifile notation
yeah that's a nice feature we have
you'd have to write something else .. $AXIS_0(MAXVEL) or $ini(AXIS_0,MAXVEL) or [ini AXIS_0 MAXVEL] are some of the simplest spellings I can imagine, but which are legal tcl
I thought () were used for environment vars
or is that curly braces?
% puts stdout $env(LANG)
I mean in halcmd
oh I didn't know about that feature
hmmm. ok - parens are significant, but not that way
you can use parens to do the eqivalent of token pasting in C
they're like quotes - so setp parport.$(PARPORTNUM).pin-12-in-invert 1
will work correctly - the envvar is PARPORTNUM (otherwise it would be PARPORTNUM.pin-12-in-invert)
I guess I could have used quotes there instead, huh?
$VAR accesses a tcl var. $ARR(IDX) accesses an entry in a tcl associative array (strings need not be contiguous integers). There are a few other bits of syntax for variables in tcl, but those are the basics
env is a built in array which holds the environment
I could have sworn I sketched out what it would take to let task dlopen() a behavior library, and waved my hands and said we could provide one that made all the customizable stuff into python calls..
can't find it now
jepler: was it task? or canon?
hmmm.. since when has SF support for wiki's?
bug: homed flags NEED to be cleared after an estop