anyone know if this controller can work on emc ? http://mac1.ifrance.com/cnc3ax/
Do not waste your money
Unipolar L/R drives are outdated
i bought many mouhts ago 2 motors
unipolar, 4 A
so, i was looking for some controller..
that i have using l297-l298 can't work up 2 A
back in a sec
incredible hot today :\
* Jacky^ umpf
Jacky^ : http://184.108.40.206/search?q=cache:9RuhjhOFLvwJ:www.luberth.com/cstep/hardware.htm+L297+microstepping&hl=en
Jymmm: nice, tnx :)
Jacky^: One simple piece of advice - If it says "unipolar", leave well alone regardless of how cheap it looks.
You wiil be very disapointed with the performance.
anyway.. i will no build otther machine with these motors..
this is the motor i bought: http://www.micromed.it/Elettronica/images/C014.jpg
i will use it just for fun..
next machine, i will starting build in september, will have servos !
stop steppers :)
but i already have these motors, so i will find the way to use.. but not for real use
i started some year ago buyng some part, without know what really i was doing :\
paul_c: got a few?
paul_c: I came across "DeskNCrt" which runs under MS-DOS and based upon EMC. How much of EMC was/is PD?
Hrmm... I did an audit of rcslib/emc a while back.... Not al of it is PD
A couple of files in rcslib are copyright M$
paul_c: I want to try this DOS thing, but he has funky key bindings.
there are/were one or two copyright someone else (certainly not PD or GPL)..
and if you look @ emc/src
stripchart/* is ALL GPL, and
[01:04:36] <Jymmm> http://deskam.com/deskncrt.html
emcplot3d/* is "non-commercial use only" and subject to copyright (from a derived work)
ncutils/ is also GPL, but the sources are not NIST works.
That url I gave has been archived (around) since 2001-04-10 if that helps
Look at the dat - Oct. 2000
i know some old film here (75 year old) is already (c)
I was looking at the 'internet archive' --> http://web.archive.org/web/*/http://deskam.com/deskncrt.html
Three axis only, and probably victim of several old bugs that have been nailed.
Oh, some of the h/w drivers are GPL (as is classicladder/* )
I was just trying to find a way to get the source code out of him =)
Oct 2000 pre-dates any of my contributions...
why not "just ask" ?
I was/am planning on it, but due to his HUGE disclaimer before you can dl anything, I thought he might be reluctant and wanted a lil ammo in advacde "just in case"?
well... the original source code is freely available, so "reverse engineering" is not required.
but I don't know enough C to code anything
Disregardingsquashed bugs for a moment, I just wanted to add/change UI in respect to key bingings
I see one small error in the EULA for DeskNCrt
He can not claim copyright over us.gov source code.
if he thinks it's PD, I suspect he would do that.
100% PD that is
you need to read up on code written by the US goverment....
You can release binary only, heavily modify, sell at high prices...
but you can not 1) claim patents on the code. 2) claim copyright.
ah, ok. wasn't aware of that
If you look at much of the emc2 code, you will see "Derived from a work by [Proctor|Shackleford|Kramer]"
"Released under GPL"
But no outright copyright claims.
yet if you look at the rtap/hal/(plus a few other misc bits)
you will see "Copyright XXXXX"
It's not that big a deal, I suppose. I'm just fond of DOS is all
If it is commandline & ncurses you want....
EMC on Linux can do that.
Got sommat you could try....
Rogier Blom's segment queue code was written as part of his thesis at a Dutch University - Not under the auspices of NIST.
therefor not subject to the same PD agreement as the rest of the code.
Jymmm: i like these steppers: http://www.homeshopcnc.com/page3.html
1200 oz/in Model # RHT34-1200: $140
and they are quite cheap
hey Yuga :)
on ebay Starting bid: US $420.00
(3) 1200 oz/in Bipolar Stepper Motor(s) CNC Nema34 New
they mean 3 motors ?
yeah, 3 ..
how much will cost the shipping ? :\
a lot ..
Jymmm is now known as Red70sShow
Red70sShow is now known as Jymmm
I have officially set the last 5 fence posts in cement this very evening, I enjoyed my time, taking full use of the hours available to me, and am happy to have sunk them into the holes I dug, plumb and square to existing walls :)
I will finish the edges, and make the gates tommrow :)
the beighbor kids will put them all at 45 deg angles before 6am
btw.... very cool =)
heh, on the phone
have u chaps ever used skype?
yeah, but ni mic at the moment
Jymmm : no the neighbwhore's kids arnt home for some reason
I think she and the guy across the street broke up or somehting, and she is trying to stay away, I could be wrong, im not sure
im just getting stoked about almost having the fence finished, that means I have completed a project :)
I've got a project that's been up in the air for months now.
how have you been A-L-P-H-A ?
in the last 36 hours. Happy, upset, angry, confused, and now... I don't know.
im just tired
I think I'd like to trade you tired, very my situation. wanna trade?
hehe, I think ide get the bad end of that stick
sorry if I cant exactly remember what you were working on, can you show me a photo?
omg, I can't type.
maybe that may help me out
I think I'd like to trade you tired for my situation. wanna trade?
damn stupid brain.
heh, I knew what you meant :)
gezr, just a plate. I have the gcode written and everything, just don't want to sit there to make them.
A-L-P-H-A : can you show me a link to say your lathe?
[04:26:46] <A-L-P-H-A> http://lloydleung.com/gallery/Lathe_Related/
ah, okay, now i remember :)
gezr, making these. http://lloydleung.com/gallery/eurospeed/
A-L-P-H-A : did you make that high speed spindle you have drawn up?
it's partly completed. I have the spindle made, but no the pullies, or the motor mounted.
so spindle, spindle housing are completed.
bought an ER11 extension, to be the spindle.
nice, im watching the videos now :)
not a bad size at all
first lathe video thats aluminum your turning?
I usually only touch alu.
what is the circuit board?
I think it's my atmel 90s2313 testing board.
ive got to go and crash, worked about 15 hours today
you guys have fun :)
well, the wife is on her way home, so that means ill be working on the fence again shortly
I got the Bridgeport mill in my garage this week
test yourself :-)
hi alex_joni...just tryingout KVIRC on my mill computer....
was not sure it was working...do not like this keyboard !!!
seems to be working
Mill still has the Z problem...
Welp have some errands to do...bye...
my STG box just rebooted :D
* paul_c is busy with strace & tkemc
* alex_joni is busy testing the STG driver
even after my changes with semaphores, tkemc will still hang...
Even worse when strace is connected to emcsh.
got tkemc to hang too
is there any way to use emc as a dro from a pulse generator??
on this slow machine with a high period
I don't mean just MDI/Auto widgets....
paul_c: the whole window
I know, I get it too
even redraw won't work
connect another tkemc, and the core emc is still running.
i have a pulse from a coil i want to monitor for speed, accell, and displacement
hit ctrl-c in the emc console and it takes the whole thing down cleanly
dmess: it is possible
use HAL components
what kind of GUI thingies do you need?
are a few meters ok?
What is the pulse rate ?
hmm.. and use what as the input
probably in the 10-20 Hz max
or maybe less...
sounds good to me..
that's what I'd do.. it's the easiest (imho)
parport will do it...
connect the input to parport
but it'll accept a low voltage sinal from a tachogenerator
you need to run it through some filter/amp
to make it digital first
counting the pulses for displacement is $(trivial)
probably 2-5 millivolts MAX unless i apm it
doing the speed & accel calcs, not so trivial.
paul_c: there's a integrator module in HAL
im working on a gravity powered electric generator
dmess: you need to amp it up to 0-5V for the parport
ok amp it is
or put an optical sensor on the shaft
best to run it through a histeresis filter then
these are linear generators and a glass scale is an option.. but an $$ one
get a scrap encoder
thats was my thoughts
paul_c: got a min for a theoretical question?
with a probability of e
* alex_joni waits patiently till that probability goes up
get on and ask....
say you have emc spitting out velocity commands
to HAL ;) or to any other interface
can you place a 3rd degree limiter on that signal, and then connect it to the actual driver?
3rd degree which obeys max speed, max accel, max jerk ?
and let PID & co do the rest?
what's your first two limits ?
speed & accel
and the third would be jerk ?
and jerk would be the 1st derivative of accel... right??
what I'm actually asking is if it's theoretically possible to do a simple traj planning
and do more complicated (jerk limiting) on that output
ok.. that would be too easy I guess ;)
You need to know what the bounding conditions are (and the values) before calculating the trajectory
the resolution data has to be as thorough as can possibly be.. before any tweaks are done
Accel needs to be limited by jerk
and vel is limited by accel.
so it all ties int knowing the kinematick of a particular machine
beyond a certain point, yes.
and you must consider the whole system in the kinematic model electro-mechanical interfaces as well
dmess: theoretically yes
but in a real world you don't
you take some common stuff
five axis machines with those knuckle jointed spindles require some additional pre-planning.
and tune it later
till it runs cleanly
paul_c: jacobian's ?
correct... ive set up the dmg 5 axis evolution... its got a dual jointed nutating table..
under a 3 axis m/c
* paul_c disappears.
dmess: say if you need help with HAL
i will alex.. still in developmental stages thx for the offer
alex_joni_ is now known as alex_joni
i will alex.. still in developmental stages thx for the offer
its kinda a linear motor drive run backwards off of gravity.. aided by a little non magnetic reusable mass differential
we could save the planet with this one..
to date we mgf electricity by useg gravity to propel a fluid to drive the magnets...to radioactivity to make steam to drive thi magnets...
i wanna drop the magnets... and connect 2 elementary forces directly...
to allow me to achieve over unity in my device
and the same force of gravity acting in the form of air pressure and differential thereof flows the non magnetic reusable mass differential fluid back to the surface to be used again
trust me guys it aint easy being me
* alex_joni curses the stg ;)
dmess: you've got quite a task
anonimasu: the driver is there
but it needs to work ;)
right now it doesn't
* alex_joni blames himself for that
this evening partyyyyy ! :P
since yesterday my browser won't open sfk website..
anyone can try ? http://www.skf.com/portal/skf//home
id like to set up remot mobile monitoring of these devices... over the weeb
so i can track overall power generation
these will be small mobile personal generating stn's to allow any and all of us to go off grid.. any time
you'll be able to tow them with the little SMAT cars even
tie you camping gear to the power plant..
and plug in once camp is set up..
dmess: what are you powering it with?
Jacky^: skf works for me
need i tell right now??
non magnetic reusable mass differential
alex_joni: is stalled for me :\ trasfering ... get no page
_WHAT_ is that mass?
and subject to 14.7 psi at sea level
ah well, kiosk time..
this is strange, from lynx i can open skf website.. not from firefox :\
its a long convoluted dream but the freakin math and physics work... so i gotta try it... my lost twin is givin' me sighns...
born under the RIGHT star...
at the WRONG time
anonimasu: I think I found the problem
seems I assigned a unsigned short to an int
that causes some trouble ;)
without a cast
unable to handle kernel NULL pointer dereference at virtual address
cradek: you around?
Jacky^ is now known as jack_party
something new ???
* alex_joni tests the stg driver
not working yet :(
* Imperator_ is fighting with the Xilinx design software
wot's a decent delay function in linux?
in C? sh?
I tried mdelay from linux/delay.h
you can also use select, which is an older way to do it
In kernel space ?
nope, user space now
usleep or nanosleep
never drive other peoples new cars.
* anonimasu borrowed a new saab to the kiosk
I need one
* paul_c always rents flashy new cars
* cradek always rents *big* cars
anonimasu: I thought that was called stealing
* paul_c always returns grubby high mileage wrecks
I don't want one to use every day, but they are so nice for trips
nah, it's off a friend of my mother :)
[21:03:37] <anonimasu> http://www.blocket.se/view/5528408.htm?caller=nbl_s&l=0&c=1&city=0
and he doesn't know ;)
anonimasu: still called stealing
even if you plan to bring it back
ah, she told me to take it :)
now that's a nice car..
*tries to regain sanity*
it's a aero - 04
it's not absurd.. it's a nice price
I can't imagine paying over 10-12k for a car
it's only a car.
no car is worth $30k
actually that's cheap for a car
not in my world
cradek: are all your cars 10 years old?
one is 50 years old, other car and motorcycle are both '01
from the factory a new aero without extras go on 40500�
like I said, absurd
it's a new car..
$10k taxes? $1000 insurance payments?
cradek: actually I oay more then $1000 to insure my car per year..
the current one..
I pay maybe $600/yr for excellent coverage on my mustang
a newer car would probably be cheaper to insure
insurance payments here are every 6 months
I meant $2000/year but that's probably still low
insurance for my car is insane :) because kids over here tend to drive them off roads..
and you don't
alex_joni: no, I used to drive a volvo before.
it went \ in the winter..
always, whenever you like it or not
it handled like a boat in corners ;)
certainly not my energy level ;-)
been a blah kind of week
did you get the update to the modeswitch bug?
just finished some parts for a customer tho, that has been bugging me
(the one from early in the week you mean? has there been another?)
the one I submitted
not sure when it was
I tried to duplicate it on my 1.3Gz box, and my 600MHz box, no luck
I didn't realize you submitted one
* jmkasunich looks
I traced/found the problem
jmkasunich: if you increase the period setting it appears
no idea why it appears
anonimasu: only on a slow box
alex_joni: that should depend on how much you increase it..
anon: I made period smaller, until the box was almost unusable, still no lukc
not so sure
jmkasunich: you need to change modes quite often to lock it up
did 50uS, 30uS, 21uS, 20uS, 18uS, 15uS
on some machines it does lock up imediately
it's much better with the patches now..
anonimasu: that's not a patch ;P
before it locked up while I changed modes to set a new home to load a new operation..
alex_joni: paul made some changes before
before that it was really often
ok, just read alex's msg
hope it made sense
paul told me he was able to get it to happen without ever moving the axis
jmkasunich: I have never moved the axis:es when trying to show it..
or making it lock up
what I think...
then inpos should be true all the time
just been going out of estop and machine on..
maybe there's a position offset
just a very small value
and it sometimes (no idea why) increases over the limit
and inpos gets reset
that would be strange
anonimasu: stranger things have been seen
* jmkasunich starts looking
not in MY code dammit! ;-)
no strange things in there, no sir...
* alex_joni wouldn't bet ;)
dammit, this is gonna suck
I can study the code till I'm blue in the face, but without being able to make the problem happen....
you can ssh to an0n's box
if he's so kind
it's still open
anon: do you have a developers checkout?
bummer... that means any changes I commit will take some hours before you can test with them
jmkasunich: you could check out using your user/pass over ssh
to another dir
anon: please mail me your ini file
jmkasunich: the period is changed to 25 instead of 50
that's the only change I've been testing with
other than that it is absolutely stock, fresh from CVS?
I was starting to wonder if it was somethign that shows up when you are using mm instead of inches
alex: you confirmed that the code at line 1458 was executing? with a print or somethign?
I commented it debug stuff out
there's a #define to watch flags
you placed it there ;)
you mean my ENABLE_CHECK_STUFF?
you midified it to look at motionFlag instead of whatever it was watching?
// #define WATCH_FLAGS 1
it was looking at motionFlag
huh... completely forgot about that
* jmkasunich greps
control.c at the beginning
/*! \todo FIXME - debugging - uncomment the following line to log changes in
AXIS_FLAG and MOTION_FLAG */
// #define WATCH_FLAGS 1
anyways.. seeing that INPOS gets changed (and it shouldn't)
I started taking out lines that change INPOS
and the last one was the one I suspected
there are only 2 that clear INPOS
but I removed them in the reverse order to prove the others innocent
so you can replicate the prob, and removing that line fixed it
this was all on an0n's machine
my own is unusable on that period
tkemc locks up (that's a different bug)
anon: how fast is your box?
and I can barely move around
what is yours?
but it has ISA
and a STG in it ;)
which is giving me the hell of a time
and you couldn't replicate it? (with a more reasonable period)
didn't try much
I tried with 25
and it was there
I was gonna try to use the farm (PI/200)
but that system has no X, no mouse, lots of other hassles to get it running
also.. usrmot provided some valuable info
tried it on P3/600 and AMD/1.3G with no lick
what do I need to do for this ssh thing?
P200 isn't a farm.... that's the back 40!
the price was right
gimme a rack of 8x 2GHz machines and I'll replace it ;-)
I just bought a P3 733 w/96MB ram for $15USD
also got some igus energychain for $12
6 chains each being 14"
I got some 1m long, 20x5cm for about 1.5$
I took 10 pcs.
these are about 3mm wide
you and your fucking metric shit
mine are bigger :))
didn't know they make them in mm sizes
I wouldn't want bigger, only 24" travel
all igus stuff is in metric
what is in the emc2/debian directory in CVS?
I keep having CVS problems when it gets to that dir
jmkasunich: go ahead and grab a copy off cvs
dang. that's fast
I am using about 200 in at the moment also :)
and 300kb/s out..
[22:16:55] <alex_joni> http://cvs.sourceforge.net/viewcvs.py/emc/emc2/debian/
nothing there ;)
some stuff in the Attic though
I hate this
* anonimasu pats alex on the shoulder
poor poor alex
I am missing some initialization somewhere
I wrote a test program
to test routines for the STG
and it didn't work
then I moved routines from stg's test program
and those don't work either
although the stg test program (writteng by servotogo inc.) does
board jumpers? ISA address?
nah.. that's ok
my routine even recognizes the stg
at the correct address
but that's about it
DIO doesn't seem to work
anon: this is a 2.4 box?
I though it was BDI-4 (2.6)
I run a BDI-4 and had the bug
an0n has emc1 on that machine too
so I guess it's 2.4
jmkasunich: I downgraded it a long wile ago
yeah, paul posted that the bug showed up on bdi-4, so I assumed that's what anon had
I cant remember what BDI-something
guess it shows up regardless of the version
uname says SMP?
is this an smp box?
hey guys, I have a question about a motion control card
no, I forgot and compiled it with smp..
and something is broken so I cant recompile it easily
alex: you are running a regular kernel tho, right, no SMP?
ok, just checking ;-)
sometimes strange intermittent bugs are due to race conditions
if im going to use say geckos and a stg card, does the encoder feed back go just to the gecko, or to both, or what should I be thinking here?
you don't use geckos with a stg
geckos are step/dir, stg is analog servo
anonimasu: can you tell jmk how to export DISPLAY so he can run emc?
or run it for me
jmkasunich: export DISPLAY=<ip>:0.0
in one of the ssh windows? or on my box?
type it, and I'll fire up my box
type it where?
in the console of the box(the emc box)
that exports the display to my workstation..
I cant remember how you allow your box to accept other x connections..
why not export to his box?
you need to alter with ssh iirc
alex_joni: that would be better..
but I have no clue on .xauth..
I exported to yours
just start emc and tell me what you like me to do..
I would just run a vncserver
and a vncclient on the winbox
I run xwin32.. on the winbox..
just a mo, forgot to edit the ini
jmkasunich: ssh -X -p 222 220.127.116.11 -l an0n
should do the trick
it automatically exports the DISPLAY variable
and forwards it to your PC
alex_joni: are you connected to it right now also?
right now, no
but I was shortly before
ok, the -X thing isn't working ofor me either (just hangs)
can I try again?
btw, which one are you running?
~/emc2, or ~/John/emc2
did it work that time?
ok, I'm gonna try to start ~/John/emc2, so stand back !
* alex_joni left
all kinds of errors
CMS related crap,
anon: does this box have a local keyboard and monitor?
can you go there and try running ~/John/emc2
probably have to kill the export DISPLAY
because emc2 won't even start
about 50 pages of libnml related crap
this is a fresh checkout, so I don't know what is fscked up
hm.. that error is something else..
you saw it too?
but I am not at the box..
is it far away?
wait a bit
the emc in the emc3 folder runs
there's something other wrong with that checkout
I _highly_ doubt it will run even locally.
but if you like I can go out and try it, but it shouldnt make any difference ata ll
I don't know what to do
I'll go out and try it, so we can rule it out..
jmkasunich: I suggest a cvs diff
also check the local time on that machine
time 20:42 UTC
localhost:/home/an0n/emc3# ntpdate ntp.uio.no
13 Aug 23:54:10 ntpdate: step time server 18.104.22.168 offset 4235.993490 sec
Sat Aug 13 22:43:13 CEST 2005
Sat Aug 13 23:54:35 CEST 2005
it failed running locally too, didn't it?
diff it aginst emc3..
should give you a hinch..
what is emc3
a emc2 copy I think paul/alex modified
I surely did
not sure about paul
just you then
*points to alex for the blame*
hmmm... on of my ssh'ed windows dies
* alex_joni hides
I killed the X running on the box also
I didn't realize it was outside befire
ah, it's in the shop
it's not far away, just on another floor and through the garden
hmmm... emc3 has a significantly different emc.nml
I have absolutely no idea what emc.nml does, and I don't want to know ;-)
* alex_joni points to paul for that
I only touched emc/src/motion
jmkasunich: want me to take a look at it?
sure - I'm looking too - I don't want to know, but I probably have to anyway
hm, seems to be lacking some stuff
you could always grab the copy of it, in emc3 since that's a fresh checkout also..
the emc3 copy of emc.nml has 10.0 instead of 1.0 in the 3rd from last column for many lines
no idea what that means tho
* jmkasunich copies from emc3 to John/emc2
ok, it's all fscked up
is there a way to trace function calls?
what do you mean?
connect to a program
and print calls as they happen
probably gdb can do that
but I don't know how
hm yeah with gdb
well this just sucks
jmkasunich: I'll log in, and get a function emc.. ok?
I thought we might actually have a chance at this problem today, and instead there is a gawd damned CMS/NML/lord-knows-what problem
alex: I would be most grateful
* alex_joni tries that
your working in the John dir?
which dir then?
stock checkout in there?
let me know when your compile is done, I want to recompile the John version but don't want to bog things down
compile is done
yet the rcs stuff is failing :(
I saw similar things some months ago, unfortunately I don't remember the reason
waitaminnit, I think I remember
remember there was a problem with IO not starting because of some tooltable problem?
these errors remind me of what heppened back then
this time io is starting
but it is the one reporting the problems
the one other difference between emc3 and CVS is a sleep 1 added somewhere inside emc.run
wtf? Is paul there too?
a happy crowd
* alex_joni recompiles
heh.. it just compiled hal_stg
which is broooken
how long has it been broken?
it is brand new
it wasn't anything else but broken yet ;)
getting killer deals all around today.... 5 heads of roman lettuce $2.83 pre=packaged, 5 lbs of cream cheese $4.25
ok.. seem to have found what's wrong
jmkasunich: recompile your folder
just recompile, or check out?
what did you find?
a function beeing assumed which isn't there
just wtf is that... paul has been messing around with that recently
it's a helper function for x324fsg12h()
ever since he added GNU_SOURCE to the makefiles
this is unrelated
semtimedop is a function in newer kernels >2.4.22
right - the warning in sem.c is about that
anyways.. it's supposed to iprove smthg
but why did it work before
and ./configure thinks semtimedop is there
and it isn't
anyways.. emc should run
* alex_joni goes away
I'm too tired & pissed off because of this stg thingie ;)
* Jymmm hears 'stg' and keeps thinking those cheap I/O cards
stg ain't cheap
something like $800 for an ISA card
these are... like $5.00
like parallel and serial cards