jepler: vee bits rule.
really hard to get .007" isolations with a normal mill
skunkworks: I haven't seen your boards besides the servo amp, and I didn't think you used anywhere near .007 isolation..
nope - but the I could if I needed.. :)
ok - more like .010 with my equipment.
no - .011
where is the pic of that equipment?
skunkworks, good news from the front.... no smoke
got to use all kinds of test gear.... pulse generator, 2 scopes, freq counter, multimeter
eric_unterhausen: Bring it to the fest, they should help ya
seeing as how my mill weighs 5500 pounds, I don't think that's going to happen
3 power supplies
[00:20:52] <skunkworks> http://www.electronicsam.com/images/KandT/DSCgantry.JPG
I forgot how monstrous that thing was -- world's largest pcb mill
3 power supplies?
I have 5, 15 and 170v on mine
well - all my logic is 12v. neener neener neener.
so, you can't use industry standard 24V components
5v logic, 12volt for gate drivers, 20 some volts for motor power
I needed 15 for gate drives, I'm thinking of redesigning with switching low voltage supplies so I can just derive them from the bus voltages
I just tied 3 fets to fixed levels(2 off, one on) and pwm the final upper one
now I need to get the dspic driver running the power stage
JymmmEMC: yes I can - The board has a 12v regulator on it.
skunkworks: no you can't - lies all lies!
Updated to EMC2.3 over the weekend. Tried to run my mill this evening. I found the change in pin definitions for the Mesa 7i43 easily enough. But I am confused about another error I am getting.
I posted my HAL file at http://pastebin.com/m17edcccc.
The highlited line gives an error of "net" is not a pin.
If I comment out this line, EMC starts up, and the signal isn
't there, but the pins are.
Goslowjimbo, could you paste the error(s) from the terminal also?
and maybe dmesg
It'll have to be tomorrow. The mill is a couple miles away.
ssh, man! :)
What is the difference between error from the terminal and dmesg? I thought when you get an error on startup, it just comes up on dmesg.
dmesg is where system (kernel) messages go
so the userspace program halcmd won't send errors there
and an error like "you can't do that with a net" is a halcmd error - it's telling you it can't figure out how to process your command
in some cases you'll get some information on the terminal and more information in dmesg, such as when a kernel module fails
So I need terminal running before I start emc?
isn't that how you saw the net error in the first place?
No, I searched down in (what I think is ) dmesg for the error at the last of the message. I start EMC with a click on an icon.
there is some information that's printed to the terminal, which doesn't go to dmesg
I'll be sure and have it running tomorrow.
Time to turn in. Thanks for your time, SWPadnos.
are you sure you typed in the error correctly?
ok, see you
downloading the newest liveCD, going to get the mill to work or smash the rest of my fingers
or both, who knows?
i used a regular clean hardy install, added the repos and installed that, updated to 2.3 at once and it works so far
steves_logging is now known as steve_stallings
OK, I did it, booked a flight on AirTrans to come to the fest. Someone please tell me I will not regret it, AirTrans that is...
i wish there would be one on the other side of the pond
So how far would you be willing to travel? Half way across the EU? I have the general impression that distance inhibits Europeans more than us in the states.
My trip will be over 1200 miles one way. Fly our, drive back with Matt.
our > out
so question fro the group:
I have to take a humanities elective, and microeconomics is an option
passed calc, liked calc
is microeconomics going to be easy based on that, or does it usually require a ton of memorizing things
(something i am terrible at)
Not a lot of heavy math involved, more like a science class where you learn rules and how to apply them.
i'm just skeptical about the class because everyone whines about it
Statistics is something to whine about. Lots of math that just doesn't feel right.
steve_stallings: neat, it will be good to see you and matt there.
This year I may actually settle down and try to learn something. Looks like there will be fewer distractions. Sure hope I can get the laptop to work as a development system.
yeah, hope you have some time. you will probably not be stuck doing sales.
Not that I actually did much sales work, mostly wandering around talking to folks and looking at goodies.
even if you do not have rtai controlling hardware, you could use your machine to learn emc/hal using a simulator build. it will work on any system/kernel.
True, and even huge latency hits would not prevent me from playing with HAL stuff, just accept the fact that valid test intervals are only 64 seconds long. 8-)
Will there be a stepper based machine there? I am wondering if I should truck mine up to Matt so he can drive out with it.
I thought matt was planning to have a mumble big stepper machine with mesa step gen
The machines that Matt is working with are far to big to stick in a stationwagon. He might be planning on just bringing computers and MESA stuff.
I think jeff was thinking about bringing his small machine. I don't know if he decided yet
a little 3 axis machine doesn't get you much that the simulator doesn't - pretty easy to visualize it.
OK, thanks. I would love to get all the limit switches installed and get Matt to bring my machine, but there just isn't time since he leaves 11 May for Smithy and then continues to Fest.
there will be a machine shop... you could install the switches there.
8-) ... like Stuart needs me breaking his machines! Besides, my time should be spent learning software stuff.
a small challenge and nice learning exercise would be for you to set up virtual limit switches in the simulator, and home to them etc.
I still have one unsold PMDX-112 board like Ray used for classes at the last Fest.
steve_stallings depends on the transport. flights within europe are relatively cheap and fast. so any major city would do
cradek: Eh, there's "something" about just watching the machine do it's thing that on-screen just can't compete with =)
yeah setting up limits and homing on a real machine would be a good exercise. (but nowadays it's just plugging values into stepconf - you can do it without learning a bit of hal)
what about a probe (if you need a demo)
setting up some simulation is more of a learning exercise in HAL - depends what you want to do.
a probe is a good idea.
*maybe* use halscope to "view" the motors/drivers performance?
OH I know... show the real timing vs what MAch shows =)
JymmmEMC: setting up a servo axis and tuning it would be a great exercise
cradek: Too bad I don't have any servos =)
Though, I do have steppers with us logic encoders =)
you could set up stepgen velocity mode plus pid and read the encoders on the parport. it would be the crappiest servo-like system ever!
ROTF... no,no, they arenot being used (on mine) but they are on the steppers that were pulled from automation machenry using the parker drives
tomp is now known as tomp3
dang, were was it that Stuart mentioned the names of hotels? did many of the crew make a choice yet?
[03:56:24] <cradek> http://article.gmane.org/gmane.linux.distributions.emc.user/14041
ah, I was searching for hotel not motel!!
I don't know who have chosen already and where
anyone use brand name servos and amps? like yaskawa/panasonic/baldor etc
we won't all be at one place, that's a "known known" as rumsfeld would say.
dang, for some reason that email was not in my archives, thanks for the link cradek
Matt wants cheap, so it is likely we will be at that Western Holiday
i just checked into an extended stay america in mason ohio, got 29.99 & the place is real nice, tv, stove top, micro, coffe machine, dishes pots pans
whats dates of fest?
Thursday May 21 through Wednesday May 27, 2009
ew, 65$ /nite but consider a bigger suite and split it... maybe 45/50$ a head
state park Cheney has 55$/nite cabins ( no inet ) for small groups... rate is up on weekend to 75$, still i see bunkbed>s< in photos
heh GPS: N37º 43.385 W097.49.855
2 person $48
for 2 is good
I'd go with stuart's recommendations. they are cheaper and he went and LOOKED at them.
see link above
"first choice" ?
Oh come on.... you guys can all just sleep on a the shop floor and pretend it's a campout and sing songs around the camp fire
I'll bring my guitar
thats the way at cardinal eng
Camp fire, blowtorch... it's all the same thing.
take it from one who's slept on a surface plate.... sleep outside on the ground ;)
yeah that would not be my first choice...
tomp3: It's called hit it with a torch first keep warm all night long, and an inflatable mattress
esp if it's +8" thick =)
tomp3: and where in the hell was a body sized surface plate?
i think the 30/33$ suggestions are the good deals ( hell that plate was 8'x 12', iguess it was at least 12" thx )
huh? any shop that rebuilds presses
most machine shops have at least one big plate
tomp3: I'm not a machinest, I just play one on TV
it makes checking even smaller stuff so much easier
toastydeath: sure, but didn't know most were body sized
surface plate has to be bigger than the biggest flat thing you ever want to make!
8x12, that's bigger than most bathrooms, and some bedrooms =)
ideally it's bigger than stuff like the tables on all your machines, too
(sometimes wish mine was twice as big)
[04:22:35] <JymmmEMC> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC_Fest_2009
i hope theres some mandatory shop safety class before entering. 'got safety glasses? side panels? z59 rating? got all your fingers? wanna keep 'em? '
steve_stallings is now known as steves_logging
Hi my name is John and I am from Minnesota, I have been watching this chat for some time now and am strongly thinking about going to the fest. I would like some advice and help with my Bridgeport retrofit. Would it be ok to bring some of my hardware and computer to work on and who would be willing to give me a hand? I have lots of questions.
Hello ..=] ... I'm checking out the live CD EMC2and i have the FET3 from stepperworld ..i have the configuration selector on my screen , does anyone know what choice is to be made here ?
look in the docs for the connection info
online docs seem lacking
i'm reading thru the configs right now .. seems like i'll be able to config it no matter what setting i choose
i googled emc and fet3 before i came on here
not one Ive heard of till now, once you get it going our wiki could do with updating to include connection info and the setup needed
Hawt Damn! found a 6cell battery for my IdeaPad S10 for $50!!! AWESOME!
anyone know if is it planned to add stepgen velocity mode for mesa ?
err for hm2 drivers
anybody a clue who did the logo on www.linuxcnc.org ?
[08:50:09] <roh> http://www.linuxcnc.org/templates/linuxcnc-float/images/linuxcnc_logo.png
searching for a nicer design for planetcnc.hyte.de ...
roh: that's a combined effort
fenn did the penguin with the drill
I put it together in logo form
i like the penguin
i more a hacker than an artist, thus my design skills are quite low. do you think you could make a nice logo for the planet with that penguin?
also the css is up for discussion of course
need to add a software/monitor window for the penguin for the cam its using :)
if one thinks that way.. why not give him an plasmacutter instead of the drill
tomp is now known as tomp3
hmm, when trying to stepconf i get broken pipe? :/
[10:50:53] <anonimasu> http://www.io23.net/ul/files/fixture.png
install parport_pc /bin/true shouyld not be commented out in modprobe.d/emc2 right ?
how do i regenerate the initrd ?
i unloaded all the parport stuff and now it works :)
MrSunshine: if you want to use the parport with emc2 (latest TRUNK - from last night) then you want to comment it out, on older versions it needs not to be commented out
why do you want to regenerate the initrd?
(usually it's something like: mkinitramfs -o /initrd.gz 2.6.24-16-rtai)
anonimasu: it seems theres lots of duplicate constraints, maybe some can be removed? are full rad needed on both end semicircles? all 4 long parallel edges?
when EMC steps, it does hold the direction pin in the direction it should go right ?
CW = DIR = 0, CCW = DIR = 1 for example, constant? :)
aparently it lets go inbetween...
do you need a constant level ?
i dont know the stepper modes but there's timing diagrams avaialble for emc2's different step modes
what i read ... http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Stepgen
and what you see dont seem to jive ( i see constant direction level explained )
when is 'in between' ?
tomp3, dunno realy, im trying to read the step pulses into an AVR
using interrupt for the steps, then checking if the DIR flag is set or not in the interrupt
but no luck :)
MrSunshine, invert the signal so you work on the other edge
'lets go' means float? did you see an 'invalid' signal level?
dont know, cant even trigger an interrupt on the AVR using the pin i have direction on :/
that should be constant trigger on the clock only
hey, the hal ref manual link is broken on main wiki page http://linuxcnc.org/docs/HAL_Documentation.pdf
'sorry cannot be found'
drive microstepping should be 2 if halfstepping ?
[11:33:16] <BigJohnT> http://www.linuxcnc.org/docs/HAL_User_Manual.pdf
BigJohnT: thx, will edit wiki
hello ! I would like to ask something about emc
argh, so are there 3 documents? [HAL User Manual (PDF)] [Manuel de HAL (French)] [HAL Reference Manual (PDF)] or just 2? [HAL User Manual (PDF)] [Manuel de HAL (French)] then the 3rd (ref manual ) just doesnt exist
obinou: just ask :)
tomp3: it's the same, only name changed
its not found 404
I'm building a small cnc machine to make pcb (mainly) , and I intend to use TMC222 stepper motors controllers .
they are small chip able to drive up to 800ma/phase stepper motors, and driver by i2c
the control is simple: after initialisation, you just have to set some parameters (like the maximal speed of the stepper motor), then give the position
and the tmc222 travel to it automatically, respecting the max. speed, up-to-speed and slowdown rate you had specified before. By i2c commands you can also get the current position, or other states (like motor blocked, or overheat)
As the motheroard, I would like to use an ARM9 board (Samsung S32440 @ 400MHz) thay I have
it have a VGA port, and a few USB.
obinou, emc does the step control , serial control does not allow for coordinated moves in realtime
that was my question
would it be possible to hook it up ?
I saw 2 method of controlling : step by step, or "servo" (I assume by geared cc motors)
I was thinking on adding a 3rd method
Last thing: I don't relly need speed
you can use it for blind motion, but it (right now ) wont be an emc axis, just a device, like a valve position or an arm extension
mmmhh ok... that will not be compatible with a direct control from the emc GUIs, I assume
BigJohnT: i dont understand if the entry should be removed or duplicated, i wont change it.
tomp3: which one?
BigJohnT: "[HAL Reference Manual (PDF)]" on main wiki.. is 404, and i hear is just a badly named dupe of 1st entry on line above
obinou: i think you can directly control, but not interpolate ( cant be in position on time )
This way, I though I could leverage a little the need for a real-time OS , since the position control would be done by the TMC222 chips, regulary reporting the position of axis to the emc gui.
yea, the last one is a duplicate so it can be removed
there is only the english and french one
(I'd like that because the arm board is not exactly perfect in the real-time domain). For the "position in time" problem, I wanted to do it by try-and-error with the tmc222 : It can support this kind of thing
that's the type of command you can give it
BigJohnT: consider it dead ( i edeaded it :)
The purpose of all of this is to make a small autonomous machine, the size of a printer, which in particular does not requiere a PC, and is driven by printer motors. (The TMC222 can do 1/2, 1/4 and 1/8 steps)
obinou, you could make a point to point control with it ( no interpolation , single axis moves ) and need very little realtime (maybe none), then... well you dont need emc :(
obinou, emc does not work that way, use a par port and different chips
MrSunshine: possibly using up/down stepping is easier then step/dir, if you're reading it with a micro
archivist: No: I want to use emc ;-) tomp3: I still need emc: Emc is much more than just the stepping control: There is the GUI, the G-Code interpretor, and it's always good to follow standards !
but yes, I will try on the direction you say, tomp3
obinou, then a par port and ordinary stepper chips will be easy
obinou: its not a suggestion, you loose circle arc and lines that use more than 1 axis!
ok tomp3, I did not think of that
I don't want that, archivist, because I would have to use a PC for that, with a parallel more moreover, which I don't have, plus a stepper motor controller card. I can't have that
for now, everything I did cost me $0
(especially since I got the TMC222 as samples)
obinou, its a requirement for arcs that acceleration of motors etc are controlled at the same time, you cannot do that with TMC222
cheap is not always best or possible
but sometime this is not a choice ;-)
anyway , thank you for the advices
you need to learn how more than one axis is coordinated for a move
hm.. anybody ever tried using a beagleboard with emc?
archivist: I think I can do that by providing a new position very often to X and Y axis controllers
obinou, like every step
maybe not every step , but almost
depanding on the required movement
for precise cut, I would do that, and for long, back-to-home travel , juste the long position is enough I'd think
obinou, that would require a rewrite of the motion controller
mmhh .... a big task
providing the new position very often is called 'trajectory planning'. its quite a big thing to embed. and emc does it for you ... or... you have to write one yourself.
gotta work.. bye bye & good luck
If I read correctly, G-Code provide axis movements only: Ex, to make a circle, it does that, give X & Y position very close from each other , no ?
thanks anyway for all the info provided !
hello, in vismach, is there a way to get the value of a hal-pin into a variable in python or can I only use th hal-pins for HalRotate and HalTranslate?
Mark_FAPS, there's a HAL module you can import for python (the one vismach uses), so you can just use that to make a hal input pin to get the data into your python program
oh, yes, I'll have a look at that, thx
I can't seem to work it out, if for example I have the pin "c.newpin("X", hal.HAL_FLOAT, hal.HAL_IN)" and want to get that value, how do I do it? x = c.X doesn't work
[13:26:41] <cradek> http://cvs.linuxcnc.org/cvs/emc2/src/emc/usr_intf/axis/scripts/haltest.py?rev=1.3
there are also some other examples in that directory.
I dont know what I'm doing wrong but it just doesn't work, I have to leave now, I'll be back tomorrow, bb
Paragon27_ is now known as Paragon27
hmm, how precise it microstepping in say allegros chips etc anyways? ... as they have very low resolution dac s?
ive seen chips with 4 bit dacs ... that only ends up to like 8% accuracy when setting the current to the coils ?
why do you think microstepping is precise
archivist, i thought it was more precise then current values of 6.25% :)
my understand is that microstepping does not give you much or any more precision in motion, only smoothness.
as the current table in the allegro devices has step of 1% to like 10%
no, plus winding errors etc
so the 1% steps would be canceled out like 5 steps in a row
so the only step that would be accurate in any maner would be the half steps/full steps even on a micro stepping system ? :)
for what definition of accuracy. note that is not specified for the motor
yes i know :)
measurement of microstep accuracy: http://www.euclidres.com/apps/stepper_motor/stepper.html
interesting that the greatest error was just outside a full step
damned good page that!
I had seen it before but not bookmarked it -- "measure microstep accuracy" google search turned it up right away
er, I guess the position error is least near full and half steps .. what is the "magnetic error"?
I guess it's the measure of current difference from ideal, and there's little relationship between it and position error
I found this interesting.... The frequency of the decaying resonance can be used to estimate the holding torque of the motor.
Hmmm, very interesting... http://www.euclidres.com/apps/stepper_motor/holdingTorque.html
BJT-Work is now known as BJT-Gone-Fishing
LawrenceG: still no smoke? ;)
alex_joni: that looks adicting
is that the one where you switch the traffic lights?
I played it up to the level where there are two, and I couldn't discover whether there was a keystroke to switch them
skunkworks: only for about 15 minutes, till you finish it
jepler: I switched them by mouse
if it's a game of "repeatedly hit tiny targets with the mouse", I don't care to keep playing it
except the last level (20), where it's more of a open them all up, then pray nothing crashes
now the real game would allow you to place sensors and then use a classicladder-style GUI to program the switching
about 6 lights, and 6 crosses
skunkworks, clear air here
* JymmmEMC sends smog from LA to LawrenceG
JymmmEMC, thanks... I wheeze in your general direction
LawrenceG: Hey I'm just trying to colorize your place a little with a nice brown haze over your skyline
M Oh You S Eeeeeee
hi, can anyone here give me some advice
if we get a question
don't squeeze the toothpaste tube in the middle
is it easily possible to run EMC2 on DSL
digital subscriber line>?
by dsl, i mean Damn Small Linux
you would need to compile a realtime kernel, the rtai suite, and then EMC2
cradek: realtime kernel?? rtai ??
if you have to ask... ;) It is not for the faint of heart.
well let's back up. there are two answers to your question depending on whether you want to control machinery, or just simulate/demo EMC2.
actually control. I am building a CNC cutter, building the driver to run a ULN2003 chip via parrallel port. I ahve an old laptop which i will be using and it wont run ubuntu
therefore, DSL is a good choice, but if EMC2 wont run, whats the next best choice?
ok, then the answer is it's fairly hard. further, laptops are a bad choice for running realtime code. what you really need is a cheap old desktop machine.
i can do that, but i really want to use this old laptop
laptops usually have power saving stuff that interferes with realtime performance.
occasionally you can get lucky and find one that works. if you could boot the linuxcnc cd, you could test it.
but it has too little ram for ubuntu
but if it can't boot that cd, you have a lot working against you.
this page details what it takes to build a realtime kernel and rtai: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?RtaiSteps
and building emc2 itself: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Preparing_other_versions_of_Linux_to_compile_emc2
maybe you could borrow some ram?
what processor and how much ram is in the laptop?
but it would need to be SODIMM
like, under 1GHz and under 150kb of ram
yeah, you'd have a hard time running any modern distro in 128MB
especially trying to compile stuff
i realise that, i am used to modern distros, but i have puppy on it atm, and DSL would also run happily
breezy was the latest version that I have running on 128mb ubuntu
it's possible that if you had a swap partition, the live cd could boot. I think it uses any swap partition it can locate.
but i can avoid ubuntu
i didnt realise liveCD could use swap
I *think* so but I'm not sure.
i have about 10 or 20gb of HDD
ill be sure to check that ine out
even 4GB of hard disk is plenty, but you need RAM
ubuntu "alternate" installer says it works on 64MB RAM. https://help.ubuntu.com/8.04/installation-guide/i386/minimum-hardware-reqts.html
[19:13:03] <Hoodoo> http://brainstorm.ubuntu.com/idea/5828/
I have never done this myself
that is what you mean, i think
[19:13:15] <cradek> http://www.newegg.com/Product/Product.aspx?Item=N82E16820172112
i have done alternate before
$8.49 for 512MB of RAM
i can upgrade ram, but i really dont want too. I would just pull out another desktop.. i have like 5
the laptop PROBABLY will not work due to realtime problems, no matter what you do. I strongly suggest that you should just use a desktop.
$8.49 will be a lot cheaper than your time building kernel, rtai, emc2 for dsl
i want ot use this laptop as it is small, has parrallel and could be mounted in a protable box with no external screen
I have used P3-1000 machines with great success. They cost almost nothing.
what about alternate install ubuntu
that could work?
I dunno how well or badly any of the available desktops will be after install
but basically you do alternate install then run emc2-install.sh
[19:15:39] <SWPadnos> http://www.newegg.com/Product/Product.aspx?Item=N82E16813121359
(it's a different cdrom image)
so download buntu alternate 8.04,
once you have the alternate install done, you can follow the wiki instructions as though you had installed 8.04 desktop
running emc2-install.sh is what downloads emc2
the laptop has no network
(it adds the linuxcnc package repository to /etc/apt/sources.list and then runs apt-get install emc2)
* jepler smacks his forehead
note that the install will take a long-sih time, since it will pull in X and gnome (AFAIK)
SWPadnos: no, the alternate install installs the same distribution
it just does it without booting live
oh, I guess I was thinking of server :)
right, that's server
you could use RFC1149 but it'll be very slow
i dont want to buy a new mobo SWPadnos...
you will soon ;)
wish me luck, I just ordered $4000 worth of computers
(15 boxes based on that motherboard)
could i just pull the package on this machine,
make a local repo on the laptop
and install from there
we use apt and dpkg, so any documentation you find online about doing "offline" installs of apt repositories will apply to emc2
you would have to manually get all the dependencies
install how, from the puppy/DSL you have now?
you can read the emc2-install.sh to find the URLs for our package repositories
it would be easy to get dependencies
then dpkg -i it
hey, if you can write up a nice method for doing local repos and/or offline installs/updates, please put it on the wiki :)
the only thing I know about people who go down this road is that, if they succeed, they never bother to document it on the wiki for the next guy.
ok, well then. If i get it going... I will
sure, but the packages depend on things like a realtime kernel, which may or may not install correctly on your machine
i like to contribute to the community as you have all been so helpful
dsl isn't based on apt/dpkg anyway, is it?
i can intall either way
SWPadnos: hm, atom-based but it still has a fan? I thought atom was low power
i will figure it out
(did we go through this once before?)
jepler, the CPU is low power, but the chipset isn't ;)
the chipset uses 2-3x the power of the CPU
(one reason I like AMD chips - they include the always-necessary interface to memory)
jepler, if i use alternate install ubuntu, then i have apt and dpkg
ah - there's the key item
once you have Ubuntu installed, you can apt-get or dpkg it however you want
the confusion was how you would get out Ubuntu packages from a non-Ubuntu (nad non-apt-based) current install
BJT-Gone-Fishing is now known as BJT-Work
ok, time to eat something. bbl
[19:28:16] <Hoodoo> http://u-lite.org/?q=node/125
U-Lite looks like the distro for me then
gotta figure out that network install however
but, I do not know whether our distributed packages would run on it.
it is ubuntu
but which one?
if it is not based on 6.06 or 8.04, then it's a crapshoot whether our precompiled packages (particularly the kernel) will work properly with it
dapper, gutsy or fiesty
I don't see anything which explains the relationship of a u-lite release with an ubuntu release
[19:35:47] <Hoodoo> http://u-lite.org/?q=node/117
you'd need to choose dapper (6.06), then
linuxcnc's support of dapper is expected to continue through the end of the 2.3 cycle but not beyond that
on the small machine I still use, I installed dapper server and then X and the window manager of my choice. It seems like that's what U-lite does too.
ok, maybe i will have more money then
downloading the alt CD, done in 26mins
(although I put lots of RAM in it...)
i can possibly borrow 512 out my tablet pc for time being
ive got the installer script
usb it over... run... easy..
wheres the wiki?
[19:45:27] <skunkworks> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl
page name anyone?
what are you needing?
i mean suggested for a new page... about installing on a very old laptop
actually, dont worry
ill only make it if it works
it looks like this is the Hardy version: http://archive.ubuntu.com/ubuntu/dists/hardy/main/installer-i386/20070308ubuntu40.4/images/netboot/netboot.tar.gz
err - or one of the other files in that directory
the link from ulite to the "current" is for hardy, so that should be usable
dang, ive gone for 6.06 now
ah, its ok, its netboot anyway
no good for a networkless laptop
hey guys; I just told adept to do a full upgrade, then noticed it was downloading kernel images, so I ran into /boot and diddd a cchattr +i *magma
did I do right?
hard to tell
if you can reboot, then you probably didn't break anything
however, you also probably didn't prevent what you might have been trying to prevent, which is the configuring of grub to boot a new (and probably non-RT) kernel
I'm pretty sure that installing one kernel does not cause older kernels to be removed
We'll see if adept chokes on those I guess. Its still downloading about 193 megs of stuff that wil use 60 when its done. I'll get to that too thanks
is this a Hardy system? (8.04)
magma sounds like dapper
oh, good point
but maybe the full upgrade is towards 8.04
I wonder if it's upgrading to Hardy
gene__: if you're upgrading to hardy, remember to run the emc2 install script again
after the install is finished
or else you'll be left on the old dapper kernel
not install. I just got tired of opening the update menu for everything that was labeled updateable
ok, then you should be fine
Here's the Dmesg, .hal, and .ini file for my mill. http://pastebin.com/m6a307fd2
I started up the terminal before trying to run EMC, but didn't get any errors or anything on terminal.
all updates is OK, anything that says "upgrade" makes for more work
And I just made meu.lst immutable too.
That should cover it I think :)
Goslowjimbo, did you run emc from the terminal, or did you still run it from the icon?
I ran it from the icon.
you have to type "emc" into the terminal if you want to see the messages ...
OH . . .
I didn't know it had one, I must be begind the times then...
and I didn't even put any expletives in that explanation :)
m7i43_th.hal:172: pin 'net' does not exist
gene__, don't do that to menu.lst
Goslowjimbo: sounds like a typo
Goslowjimbo: in your m7i43_th.hal file
if you are getting an RTAI kernel upadte, then you want menu.lst to change
I don't see any rtai updates in the list of dl's (yet)
That's what I thought, but I can't find it. I've retyped that line 4 or 5 times. The only editing to this file between 2.2.8 and 2.3 was to remove the .P3 references in the GPIO pins.
Goslowjimbo: you sure it's the right file?
gene__, was this originally installed from kubuntu, then with the emc2.install script?
try putting a typo at the first line, and see if it chokes
thanks for all the help tonight
I think so
Goslowjimbo, hmmm. it may not matter, but have you tried getting rid of the "=>"?
I copied it from the computer after I got the error.
gene__, ok, in that case maybe preventing changes to menu.lst is OK - I don't know (you'll find out ;) )
No, I haven't tried to remove the "arrow". I didn't think of that.
it shouldn't matter
If I need to get the terminal errors, I can still do that tonight.
Anybody need any rain? I have a surplus, in my basement... Yeah, I'll reboot when its done, that is for sure.
Got 4.5" in the last 2 days here
Goslowjimbo, ok. just to be sure, you are expecting to use the config at /home/jsr/emc2/configs/hm2-servo/m7i43_th.ini, right?
And I'l still amazed, that piece of cat5 dangling across the back yard to here is a good 5 years old now, still moving data
adept noted the no permissions on menu.lst & kept on going
as long as it wasn't a -magma kernel being installed - great :)
alex_joni: When I comment out the offending line in the hal file, it starts up. Y doesn't work, but it starts up.
and I know how to edit menu.lst in any event.
Is there anything else I need to type in terminal to see the errors? Just emc?
I think there's a way of running emc in "verbose mode", but I'm not sure how to do it
Since we all seem to be in need of more data here, I'll run out there and try to get the terminal error listing.
I'm back, all rebooted, looks like its all ok.
laterz, gotta go check water levels
SWPadnos: running from the menu will put the error messages to the log
but it's only a bit harder to read..
I'm about to head to bed
but I notice he's missing a line from the Y axis:
net motor.01.command pid.1.output => hm2_7i43.0.pwmgen.01.value
good night all
hi ! typically work has sent me on a job in denmark, so i'm away from my milling machine ;-(
you need one small enough to take with you
ah btw, using a feed i made for my 32GHz receiver, i sucessfully copied a signal from the NASA kepler spacecraft when it was just over 3.5 million miles out!
the feed was machined with emc2
that's quite cool
yeah i was pretty pleased to copy the signal
this reminds me that seb_kuzminsky has something to do with interplanetary communication in his job
he explained it all to me, but then I forgot the details :-P
ah really, that is interesting to know
I think maybe what he told me about is his participation in http://www.ipnsig.org/home.htm
I'm Back. http://pastebin.com/m226d8907
has a terminal listing, a emc_debug listing, and a emc_print listing.
something to do with interplanetary networks
insmod: error inserting '/usr/realtime-2.6.24-16-rtai/modules/emc2/hm2_7i43.ko': -1 Invalid parameters
look in dmesg to find the cause of this problem
dmesg is not shown in what you pasted
in the termina, type "dmesg" and look at the messages near the bottom
hmmm. that's a different problem than before, isn't it?
SWPadnos: to me it sounds different than what Goslowjimbo was mentioning yesterday, yes
[21:49:48] <Goslowjimbo> http://pastebin.com/m6a307fd2
has dmesg, .hal and .ini
or earlier today
like that ^^
As far as I can tell, this is the same problem all 3 times. If I comment out the question, I load completely. This is just what I get with the line in.
no, this was different
it failed on line 45, not 172 like before
this time it couldn't load the 7i43 driver
OH, I didn't catch that. I bet I didn't turn on the 5 volt supply. I'll go back and try again. Bye. I'll be back with the right listings.
* jepler hyperventilates
right there with you
another user in need of lurk training
has he posted a listing of the hal file where it's possible to be confident which line is "172"?
yes, I think the 07fd2 one is it
just add 850 to it
is there a paste with the message that 'net is not a pin'?
[22:02:46] <SWPadnos> http://pastebin.com/m6a307fd2
it's actually "pin 'net' does not exist"
so it looks like there's a line that says net net ...
but I didn't see it
[22:05:50] <JymmmEMC> http://codepad.org/UPwYUr4z
or there's a bug which is making halcmd print the wrong error, or which is making it parse the line in a truly outlandish function
I considered that removing the => from that line might do something, though it shouldn't
at this point I almost want to get the .hal file as an e-mail attachment (no pasting)
maybe there's some weird character that pastes and shows up in a too-friendly editor as a space or newline but is something else like nbsp or carriage return
yeah, I was thinking that
but he does say that adding the # sing (as in the pastebin) lets the system load just fine
and that he's retyped the line several times
though I don't know if that means "select that line and the ones above and bleow, then retype"
I wonder what BTC1.hal does
the only spot ./hal/utils/halrmt.c: sprintf(errorStr, "pin '%s' does not exist", pins[i]);
./hal/utils/halcmd_commands.c: halcmd_error("pin '%s' does not exist\n",
the only spots where that message could be printed are these two
and it isn't halrmt, right?
no, shouldn't be
so how can net get into preflight_net_cmd's pinss array?
heh. funny comment in there: newinst deferred to 2.2
yeah funny eh
turns out I don't think newinst is that important, and anyway it's a distraction right now
sorry - just funny
well, I've made a malformed hal file that 'cat's plausibly and displays that error .. but I can't imagine it would show up in pastebin or any editor looking like we saw it
oh - you can make the error happen, that's cool
it looks funky in my editor, though -- obviously wrong
my editor shows this: net x^Mnet x and2.0.out => and2.0.in
what does gedit show?
it shows "net x" on one line and "net x and2.0.out => and2.0.in" on the next line
it **does** preserve the bad line ending when it saves though
ok, 'cause I'll bet that's what he uses to edit, if he's doing it on the EMC2 machine
** (gedit:19825): WARNING **: Throbber animation not found.
line endings in 2009 should not matter
archivist: I'm sure that's what the gedit developers were thinking
thats so 1980's
OK, let's try again. http://pastebin.com/m46e2addb
has the .ini, .hal. dmesg, terminal, debug, and print listings.
I had fun with some utf8 and gedit the other day
evidently, the error doesn't get reported in dmesg if your run from terminal --?
Goslowjimbo: SWPadnos and I have come to the conclusion that there is some kind of control code in your hal file that is not visible when you put it on pastebin.
How do I get those to show up?
Goslowjimbo: please send the hal file (only) to me as an e-mail *attachment* . Do this without using cut and paste.
Thanks, Jepler. It'll take a minute, but it's coming your way.
if it was a CR and not a CRNL or NL between "864" and "865" in that last paste, it would cause the behavior we're seeing
looking at the pastebin data (copied and pasted into a file), there are a bunch of ^M in the ini file
my experience has been that some of the pastebin sites show all files with DOS line endings when you use the "raw" view
I don't know what that does though, I don't think the line is completely re-parsed after substitution
I dunno about .com but I've seen it with patches on pastebin.ca
(or at least, a new line won't be read)
(or maybe I misinterpreted what I saw)
no, grep -e "^M" only returns some lines from the ini portion of the file, plus the line "M7i43.hal"
Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2009-05-05.txt
What does ctrl-M do?
it's a carriage return
yep, that's the problem
those files have been edited with a DOS/Windows-based editor at some point
I fixed the problems in your file: http://emergent.unpy.net/files/sandbox/m7i43_th-fixed.hal
* archivist thinks thats a valid bug in the parser
Thanks. I'll grab it and see how it works. I don't remember editing in Windoze, but I could have.
I will also make halcmd print a better error in this case:
badly.hal:2: File contains embedded carriage returns. This will lead to unintended parsing of the file
archivist, no, it's not
dosly.hal:1: Warning: File contains DOS-style line endings. This may lead to unintended parsing of the file
^^ something like that
there is no good reason to make halcmd read a file character by character so that it can treat non-line-ending characters as line ends (sometimes)
the better solution is to use dos2unix on offending files
SWPadnos: here's what I intend to do:
SWPadnos: if \r\n is encountered, print a warning and continue
or a a readline that handles it
archivist, if readline can handle it gracefully, then I'd certainly use that option
SWPadnos: if \r followed by something besides \n is encountered, error out and tell the user to fix it (in a way that hopefully indicates what the problem is better than the last error)
jepler, ok, a warning when it's noticed is OK with me
one case is warning-only, the other is an errr
the same logic is necessary in the ini reading library/utility
because it's about to lead to an untended parse
ok, errors are also OK - trying to figure out what the user meant is different :)
though I guess the ini reads use numeric conversions, which will stop at the first non-numeric character
or there will be funny strings, which won't affect a machine
SHould I get the ctrl-Ms out of my .ini file also?
Goslowjimbo: can you download that "fixed.hal" file and tell me if it corrects the problem for you?
Sure. I'll be back in a while. Bye.
Goslowjimbo, for the most part, there's no reason to have that kind of line ending on a Unix system
lurk and stay
yes, you :)
carry on doing though
there is a program called dos2unix
does your EMC2 machine have net access?
Just the one here at the house, not the one with the mill.
ok, hold on one second then
there is probably a command that can fix the files for you, you don't have to re-type things by hand or anythingi
Goslowjimbo, do you have a flash drive or something that you can move a file to the EMC2 machine with?
I've got about 8G left on one.
download this file: http://mirrors.cs.wmich.edu/ubuntu/pool/main/t/tofrodos/tofrodos_1.7.6-2_i386.deb
SWPadnos: will you finish talking Goslowjimbo through this? I need to get going.
is that what you did? (dos2unix)
oh - of course I don't have the original. duh
ok Goslowjimbo, get that file, bring it to the EMC2 machine, and install it (you can roght-click it and select "install with gdebi" from the menu)
that will install a couple of utilities, one of which is called dos2unix
you use it by running (from the command line) dos2unix your_file
where your_file is whatever file you want to convert
Got it. Then this will handle the CR LF and CR mix up?
note that if you press tab in a terminal, it will try to complete words for you (so dos2<tab> will type out dos2unix , and once you have that you can start typing out the file name and press tab to complete it)
I hope so :)
I'm not sure that's what jepler did though
Good. I've got it downloaded and I'll head out and run it on the .ini and .hal files out there.
oh - if you have the files on this machine, you can try it now
just install the package tofrodos
(from a terminal, sudo apt-get install tofrodos)
I'm doing something wrong. I keep getting unable to access file.
change the permissions
sudo won't work?
hmm you copied the file you should have the correct permissions
That's what I thought
what was the exact error
its times like these you need a network cable to the actual pc
jsr@Downstaies-linux:~$ dos2unix m7i43.hal
dos2unix: Unable to access file m7i43.hal.
err no 2 means cant see it 13 means wrong permission
dos2unix m7i43_th-fixed.hal worked for me on the copy from jepler
That's because you remembered to put in the _th at the end of the file. Duh.
the error is a file not found type
or the wrong name :)
tab-complete the names
there was no remembering /me was copy pasting
that prevents spelling errors, in addition to making it faster
Must have hit the shift key instead.
dos2unix has an unusual for unix error
well, it's assumed that dos users will use it :)
Thanks for all the help. I'll go try it out on the machine. Bye.
I was expecting the reason code I tested that here as well
you don't have to exit while you try it
OK. I'll just be miles away for a while. Don't know if the family will leave it up.