not really after i fixed it i felt like my 7 year old
theorb is now known as theorbtwo
I was playing 7 years old during Thanksgiving with my grand kids
it is fun
what is a decent manufacturer for spindles in the 3KW or so class
There was a chap on cnczone who bought a cheap Chinese one and seemed very pleased indeed with the quality. I am guessing it wasn't one of the millions on eBay, but who can say?
This is the thread. http://www.cnczone.com/forums/benchtop_machines/77851-bt30_spindle_-_tool_changing_switch.html
I don't think I would install one of those if I was being paid for the job though.
How can i simulate my z axis for the time being so i can run my mill in x and y only?
what do you need to simulate?
i dont have a z axis yet but would like to run programs
but i do have my z axis setup in the ini and hal files
needless to say when i run a program that call for a z movement i get following errors
Servo or stepper?
I assume servo (with a stepper you can just not enable to drives).
You could use the sim_encoder hal function to give a convincing feedback, but it is probably easier to just loop-back axis.2.motor-pos-cmd to axis.2.motor-pos-fb in the HAL file (commenting out the real links for the time being, and assuming that Z is axis.2
[01:30:17] <andypugh> http://www.linuxcnc.org/docview/html//man/man9/sim_encoder.9.html
i will try that thanks.
basically comment out the line that has axis.2.motor-pos-fb on it, and copy the motor-pos-fb to the end of the line with motor-pos-cmd in it
You will also need to comment out the lines in the INI file which define the homing speed, direction and sequence. (maybe just change the LABEL names, as I don't think the concept of commenting out really applies to the iNI file)
well, i now have a table the size of the side of a full tower case, that moves in one axis, at 160 stops, on 16TPI threaded rod.
its got an arm mounted above it, for my Y and X axises to be mounted to.
er. Y and Z.
Has anyone used the facing py routine found on the wikki
err... not me.
elmo401 is now known as elmo40
Hi All, I ma trying to write a M1XX file to read a pin and exit a while loop when the state change from 1 to 0 ?
Hi psha, how are you doing ?
I am trying to write a M1XX file to read a pin and exit a while loop when the state change from 1 to 0 ?
and what's wrong?
hello psha, you have a question?
the_wench: yea, main question is what i'm doing here so early...
How about some thing like this . a = net pin10 parport.0.pin-10-in
while [ "x`halcmd getp pin`" != "x0" ]; do sleep 1; done
something like this wil lhelp you :)
AH ! thanks psha :0)
What time is it over there ?
not earyly :) 08.50
What is the temp like ?
nice weather for bicycle :) not too cold and not much ice on the roads :)
Oh shit. We are suffering 25c here and it is 5.00 pm
my wife would be happy if we have 25 here :) but for me it's good when its cold:)
I was work in Germany in the early 70 and it was -35c that kills if you are too long out in it.
I guess you would be normal in winter in Moscow ?
heh... good weather (<-20) are rare in moscow lately...
it's too large city with too many 'heaters' like cars, poorly insulated buildings etc...
so there is at least +5 diff with temp in any place 50-100 km from moscow
This is where I live on the coast. http://www.portmacquariedirectory.com.au/
-35 is excelent weather for kids since some schools are closed and they may play in the street for a whole day :))
They must be tough kids at that temp or really good gear on them.
they are active :) when you are active there is no difference (to some extent) what's temp
Do you live in the centre of Moscow ?
was living in the center, now somewhere in 2/3 distance to the border
Which border is that ?
I am 400 Km North of Sydney and about 1 Km from the coast.
of moscow border ;)
Are you emploted in the CNC game ?
closest coast is baltic sea (~720km)
CNC contract is my side work since main job gives not enought money to live :(
high performance computing, distributed systems
primary scientific tasks
I've been a programmer for 25 tears mainly C and stand alone system for small machines.
Years not tears :0)
heh, i'm working only for ~8 years...
first commercial prog was somewhere in 2002
I am nearly 70 ! :0)
I was designing computers in 1970 for a German Company and it ran up until 2000 all in TTL
nice age for computer...
they were more reliable in that time
They were not interested in pulling it out because it kept working OK
'don't touch what is working'
If it ain't broke don't fix it ! :0)
I am Howard and you are ?
We were were trained on valve technology back in the 60's
i was studying math so low-level techs are not common to me :(
only recently i've started to study something like PIC's and simple schematics
My son has a Masters degree in computing science
it seem that i'm too lazy to do my thesis :)
I have a friend that is a whiz kid on PIC'S and think nothing of writing 1000 line programs in a couple of days.
Are you at work now ?
now, at home... i'm sitting with kid in the first middle of the day while my wife is at work
i'm programmer and there is no difference where i'm working - at home or at work
How many kids do you have ?
or just the one ?
and she is working with cells
just one till now...
cells. she's working in some cancer research
Boy or a Girl ?
girl, 2 yrs
I have some very interesting research for her if she is interested and it is giving excellent results.
My son who 30 30 has just had a large brain tumor removed about 75 mm diameter 5 weeks ago and is doing very well.
she is working on methods of using own blood cells to carry cancer markers. but i'm not confident in what's she is doing since my education is highly technical :)
There are many people that have survived 10 years and more with this type of tumor "Glioblastoma Multiform" and normall they only last 1 year.
I'll give you my email address if you wish and I can send the data over to you is you wish ?
i'll ask her but she's work is mostily in theoretical stage -- considering different methods of binding cancer markers to lymphocytes and not with immuno-related areas
OK but there is about 30 years of research in this area and we know some of the leading people in the area.
here is my email firstname.lastname@example.org
thanks, i'll ask her today and report to you tomorrow
truly speaking her current work is same as CNC is for me - side projects... here main one was in fundomental science but here lab was closed this year...
that's great as we are helping a number of people with serious cancer problems.
it's good :) it seem that cancer is very widespread nowdays
Yes it is and there are some really simple solution to handle it that have been discovered and I'll send you the link tomorrow.
Do you have Skype ?
no, but have gmail
lately it's on par with skype with functionality...
I have a camera on Skype and I haven,t used Gmail in this mode as yet.
i've registered skype acc some years ago but have not used it... and also have neither video cam nor mic on main computer :)
only recently i've acquired one for work on integrating EMC with cameras
OK so we are in chat mode only :0)
What is your band width like over there ?
depends on time of day :)
in evenings it as low as 4mbit
now it's like 30-40mbits
heh, tests tell me that it's symmetric 5mbit now...
it seem that provider broke something recently :)
That's good as most of the time 30 mbits also
I'll have to disappear for about 30 mins while I get something to eat as it's 6.00 pm here
We are a very large country and the remote areas are usually a bit on the slow side.
Do you know how to setup emc in 6 or 8 axis ?
add new [AXIS_X] sections to ini and increase number of axis?
and bind relative controls to real pins?
I got you now
psha I'll be back ni 20 mins :0)
psha are you still around ?
You daughter is 2 years old ?
I have a Grand son that is also 2.
2 + epsilon
psha do you have time to solve yesterday problems or you have some other important job to do.?
(wan't to be polite)
I am getting a new machine up and running in the next week or two and I have been working on it for 2 years.
for wood or metal?
Not a mill or Lathe
what then cam be?
Bonny: external slider for circle radius?
psha yes.. and DRO as overlay.
for dro - make symlink $EMC2_HOME/include -> emc2
did you read forum for Andy's idea?
you talking spanish to me. How to do that?
yes, i'll catch him in the evening and we'll talk about it some more
ln -s $EMC2_HOME/include emc2
in emc-camunits dir
i'll be back shortly
[08:31:24] <Bonn1> http://pastebin.com/EdzwshGG
/usr/include/emc2/rtapi.h:752:26: error: linux/ioport.h: No such file or directory
it's from emc2-dev from 2.3?
you have installed package from buildbot?
i'm talkin about file /usr/include/emc2/rtapi.h
What this? I get package with git and compile.
so you have emc2-dev package installed or not?
check with dpkg -l emc2-dev
dpkg -S /usr/include/emc2/rtapi.h
slavko@emc2:~/emc-camunits$ dpkg -S /usr/include/emc2/rtapi.h
dpkg: /usr/include/emc2/rtapi.h not found.
but you have one...
I have emc 2.4. from live cd installed there and 2.5.0~pre as run in place. But I use just 2.5 version.
(I mean ubuntu and emc2.4 are from live CD)
I didn't recompile rtapi kernel.
it's not rtapi kernel
it's header file from somewhere :)
seems that I didn't have needed it (yet(
I have option to instal emc2-dev
it's listed in package manager but not installed.
wait a bit, i'll test and fix it
slavko@emc2:~/emc-camunits$ git pull
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
81c339c..74b2c34 master -> origin/master
Makefile: needs update
fatal: Entry 'Makefile' not uptodate. Cannot merge.
I had problems like that in past with git. Seems that is caused by editing file (you told me yesterday to change one line but it wasn't changed back)
I type RTAPI instead ?!
git reset --hard
lot better but not yet ready
gcc -I. -Iemc2/ -fPIC -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/emc2 -DULAPI -c -o halio.o halio.c
Package glu was not found in the pkg-config search path.
Perhaps you should add the directory containing `glu.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glu' found
gcc -L/home/slavko/emc2-new/lib -shared -o halio.so halio.o -lemchal -lglut
but compiled fine?
then don't mind :)
that's my fault
??? I see error?!
ah I see halio.so
where to put?
please command line (in GUI there are not enought privilegies)
sudo cp ...
ok its done.
but here are no DRO readout still.
axis is running?
EMC axis is running
anything in stderr?
[09:04:57] <Bonn1> http://pastebin.com/GiPzS1qZ
I run EMC from terminal.
seems that only orientation is problem.
you have home brewed chain?
or running camview-emc without any arguments?
expand controls and see if there is emc.halio in list of tabs
so add it with camview
?? there are no such thing in camview!
read write data to HAL pins?
[09:14:28] <Bonn1> http://pastebin.com/6DXkQRYh
the tab is here, dro still not work and crosshair are not drawn (tab is present)
it's ok that video.circle is not found
both crosshair and halio tabs are present?
in which order? crosshair, halio or halio, crosshair?
opengl is overwriting everything :)
crosshair and halio are overlays
ok I got image with DRO
but DRO has wrong numbers!
fix axis pins in source
when G43 is on the numbers are wrong
to correct one
when G43 is off (g49) then numbers are correct!
same as mine DRO yesterday!
snprintf(name, 255, "halui.axis.%d.pos-feedback", i);
[09:25:35] <psha> http://psha.org.ru/cgit/psha/emc-camunits/tree/halio.c#n120
put your name here
I had wrong numbers until I subtract halui.tool.length_offset.x
as i recall you've added 'add' component to hal so you have pins with correct names now?
yes that's true...
so replace "halui.axis.%d.pos-feedback" with "you-pin-name.%d" if you pins are you-pin-name.0, you-pin-name.1, ...
0,1,.... are axis indices
How to do that. There are loop to pass over all axes. To destroy loop and only do 3x sprintf 1x for each axes?
... no I haven't named pins like 0,1... but other.
and DRO output is wrong even if I do TouchOff
if pin is not found then it's not initialized
so if you have only 3 it's all right
hmm... that file I need to compile ?!
just create 3 pins correct.0 correct.1 correct.2 for correct values and replace string with "correct.%d"
after you've changed it run 'make' and copy halio.so to /usr/lib/camunits
sudo make install will work as i recall
Hmm if I change source then I wan't to show axis names instead numbers (XYZ instead 012)
it's a bit harder but also possible
wait a bit, i'll add both adjustable axis format and letters
I don't want to have some custom file as if you change something then I need to recompile that
i'll add pin names to parameters
so you don't need to have you own version, just config
I got correct DRO with halui.axis.0.pos-relative (minus) halui.tool.length_offset.x
if thees correct axis name sequence?
for me XYZ
don't know for others
halui.tool.length_offset.x are named by axis name not number.
I think (well I'm near sure) that all machines need that to do correct output
(without having custom calculation in HAL )
that has to be fixed in halui, not in video
hmm the right names are declared in INI file
AXES= X Y Z ... whatever
i've no way of reading INI file
Then just use some commandline switch to declare just right axes names for other than XYZABC...
I think lathe doesn't use XYZ
I think to change snprintf(name, 255, "halui.axis.%d.pos-feedback", i);
to use halui.axis.0.pos-relative
but if can then just do i=halui.axis.%d.pos-relative
that's seems to be correct formula to have DRO compatible to axis one...
i'll better add this to halui :)
I didn't check the source but in that way I get consistent reading from both
Is that hard?!?! (that seems easy to do for me)
and as I know the HAL component's disturbs RT performance
it's not very hard but it's really not that place where to do it
so I don't like to have to much in HAL
for example in my tasks i need only absolute position
... but I have CNC and realy don't like to have DRO on one window to show different value/
if it will be added into halui then it's not needed to do any HAL magick
Em I miss something?
seem's that I mess term halui with something...
I need all that http://pastebin.com/xUH01ftd
in my hal file to do correct DRO. It should be somewhere else I think. (but maybe I'm wrong)
yes, you miss
halui is userpsace component which provides you with a lot of useful pins
for example halui.tool.length_offset.x
hmm I know that :D
So you intend to put some pins here like halui.DRO.axis.0 here?
that's probably change in EMC source?
but if it's reasonable - why not
Just wonder what formula AXIS use to show DRO....
(I mean why isn't that done already as all UI have DRO?!?)
git reset --hard; git pull; make
just discovered that order in halui for lenght offset is abcuvwxyz if that mean something
default in video is 012345678 :)
so place what you want :)
hmm numbers are now off a lot more...
* Valen has just purchased a chineese spindle
* Valen is nervous
set correct pin template in emc.halio configuration
for halui pins i have to consult other devs
something is wrong.
I set halui.axis.%d.pos-relative
but walue seems to be wrong one.
halui.axis.%d.pos-relative does manage touch off offsets but value on DRO doesn't
I run halmeter on halui.axis.1.pos-relative and i see value of 10 (correct) but dro shows 97
have you set parameter in emc.halui settings?
I do set,save, and restarted EMC!
i've just tested and pos-relative shows me correct results
hmm... saving is problem.
The value is correct until I restart EMC
I do cahnge text and do SET.. The value is ok.
Then I save configuration..
and restart EMC
the value is wrong until I click SET again. (the text is saved ok)
i've fixed it
you don't :(
work until reboot
I must click SET button every time I reboot
reboot emc or reboot camview?
have you pulled last changes
1c45846 halio: Fix pin reload on control change
I reboot EMC
camview is OFF all the time
i've tested with pos-relative, saved chain and then loaded from it again
and it works
hmm.. after few times that change...
Now I get correct reading when boot up..
but value doesn't change when JOG machine until I click SET!
I reproduced that two times.
Start EMC the walue is correct.
jog machine the walue is frozzen
click SET the value change and folow JOG
with emc2-sim it's working just fine...
you've connected them to relative or to corrected pins?
(relative from halui not from my HAL result)
btw what is SET? is it 'Reloat hal pins' checkbox?
or something else?
right to Base name for Axis pins
and I have halui.axis.%d.pos-relative there
psha, will you be about tomorrow ?
sry to quick respond.
Bonn1: ah, found
OK I'll be in contact about the same time, till tomorrow Bye.
psha can you limit number of decimal places and make little biger font too?
decimal places - yes, via adjustable format string
bigger font - dunno how :)
is it ready to pull?
Bonn1: for fonts there are only values HELVETICA 10 12 18
i think i'll better switch to cairo
but it's not easy :(
hmm still same problem.
value are frozzen until I click SET
The TAB DRO in axis save 'just right' font.
maybe just setting BOLD ?
I set Basename to halui.axis.%d.pos-feedback and value are not frozen
ie folow JOG instantly
but with halui.axis.%d.pos-relative I need to click SET every time I startup EMC
Today is great day.
EMC + Mesa 5i20 + 2 servos, and 24 air valves driving a index werke screw machine ready to run 2,200 lbs of 1" round 1215 steel....which will be unloaded off the semi 4 hours :) Thanks for everyone for helping me along; such as pcw_home SWPadnos Cradek and many more =D
Not bad for a 23 year old HighSchool dropout =D
take a video of it
I need a good camera, I have none :(
what kind of part are you making
Its just a round barrel with two different sized holes
they are part of a heavy duty deadbolt for trash dumpsters
I put an air driven recess tool in it so I wont have to second operation for a the bur in the inside rear hole
I rarely make more than 2 of a part so I'm always changing over :/
yeah they need 5,000 pcs
Maybe if I need some small runs done we can share work, whats your machinery?
Hardinge CHNC chucker lathe, BP Discovery 308 VMC
jthornton plasma :)
maybe take a couple of photos of it and share on the forum or wiki
sounds like an interesting machine
looks like the rains have stopped finally and my levee has held up... this time
Does anyone have an example of how to use the on board LEDs ((bit in) CR<NN>) on the MESA 7i43 via HOSTMOT2 in HAL?
do you see CR<NN> pins in HAL?
you should have those pins available. just hook them to some bit signal and the LED will turn on when the signal is true
you can test it out by hand using halcmd:
halcmd setp hm2_5i20.0.cr00 1
halcmd setp hm2_5i20.0.cr00 0
you should see the LED turn on after the first command and off after the second
(the first LED that is)
No, but I'm not certain where they would appear. I don't see them under hm2_7i43 or below.
oh. does the 7i43 have user-usable LEDs?
oops - it looks like they start with CR01, not CR00
there are 8, and hostmot2 docs say they start with CR01. I just can't seem to get it...
with emc running, open a terminal and run this command:
halcmd show pin | grep CR
if you get no output, then the LEDs aren't available to you (which is probably a bug)
if you get a list of pins, then they are
ON my setup I get hm2_5i20.0.led.CR01-8, just for reference... :) Of course, it should be 0-7 if we are true geeks!
I think he might have matched the silkscreen :)
I tried "halcmd show pin | grep CR" in a terminal, but didn't see any output.
hostmot2 docs say the pins begin with CR01, and correspond to the PCB silkscreen
I would have assumed they would begin with 0 or 00 too, but the docs say 01
is "hm2_5i20.0.led.CR01-8" the whole line, or is there something else like newsig, setp, net, etc? - I'm new at this.
Sorr, AFK for a minute! It's hm2_5i20.0.led.CR01, hm2_5i20.0.led.CR02, hm2_5i20.0.led.CR03, etc. This assumes you have a 5i20.
I'm loading a kind of special bit file at the moment, but I think these are in the regular ones as well.
servos4ever, with a 7i43, you would use hm2_7i43.0.led.CR01
halcmd setp hm2_7i43.0.led.CR01 1
should turn on the first LED
halcmd setp hm2_7i43.0.led.CR01 0
should turn it back off
(assuming that emc is running, or you have the 7i43 driver loaded and the realtime system running some other way)
Using the exact halcmd line you quoted (copy & paste exact) I get a display of these signal with firmware=hm2/5i20/SVST2_4_7I47.BIT
Are these CR bits listed in the 7i43 .pin file?
here's the error I get if I try turning it on that way...
"hal halcmd setp hm2_7i43.0.led.CR01 1"
("eval" body line 1)
invoked from within
"eval hal $what"
(procedure "showEx" line 3)
invoked from within
they should be. I can't seem to find my 7i43 here
invoked from within
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tk::ButtonUp" line 22)
invoked from within
the lines I gave you are tho be run from a terminal, not from halshow
(command bound to event)
I have EMC running, and I'm using the show HAL configuration tool.
yes. don't do that :)
the command line is more flexible, and is what I have been giving examples for
they are _not_ listed in the pin file
ok, in that case there's something wrong.
just start a second terminal and paste them in like: mshaver@Matt:~$ halcmd show pin | grep CR
9 bit IN FALSE hm2_5i20.0.led.CR01
9 bit IN FALSE hm2_5i20.0.led.CR02
9 bit IN FALSE hm2_5i20.0.led.CR03
9 bit IN FALSE hm2_5i20.0.led.CR04
9 bit IN FALSE hm2_5i20.0.led.CR05
9 bit IN FALSE hm2_5i20.0.led.CR06
9 bit IN FALSE hm2_5i20.0.led.CR07
9 bit IN FALSE hm2_5i20.0.led.CR08
I can't find my 7i43 at the moment (I'm sure it's here somewhere), so I can't try to figure out what's wrong
all the expected IO pins are in the pin file
but no CRxx or LEDxx are there
well, if the firmware is loading, they should be there. Do your other pins, like GPIOs show up?
all the "other" pins are there
What Version EMC? LED access in the driver is pretty recent
Well I'll be monkey's uncle!
there are other things that don't appear in the pin file, like .is_output, .is_opendrain, etc.., so i was not sure if they should appear or not.
those are parameters, not pins :)
version 2.4.5, upgraded from 2.3.? using the instructions on WIKI
see what I mean about being new to all this ;)
I'm running a compiled version of 'master' in the git repository (2.5.0~pre), but I think my firmware is from 2.4.4 or 5, so you should be PK.
OK, not PK...
Well, maybe you're PK too!
I probably am. I feel kinda PK...
You could run your hal script and the pastebin the output of dmesg for Peter to look at.
U yea, psycho something!
I meant, "Uh"... It's early yet.
psycho killer, qu'est-ce que c'est?
Dont think its a firmware issue, its more likely a driver issue (Are LEDS only supported in Master?)
my HAL script runs just fine - until I try to add anything about LEDs. Except..., I do have one error message I been ignoring.
pcw_home, that's possible
You know, I've never noticed them before installing master to do the 8i20 stuff...
ah, pcw_home, reminds me, i need to get a quote this week
I always get a parport mode 4 not supported error - "continuing anyway" every time I run Axis / EMC2
yeah, it looks like Andy P added support in May of this year, but the change was never backported to 2.4
How about, "To be or not to be...", that's a good quote.
how about "no matter where you go, there you are"
I've also always like, "No good deed goes unpunished." - Dorothy Parker
0x2B | ! 0x2B
not being there - that might explain why I can't figure it out...
"Don't push THAT button!"
servos4ever, it does make it more difficult
Is that Yogi Berra?
I think it is.
should I just forget about LEDs for now...?
I sit corrected.
you could install master
servos4ever, there are several ways to run Master instead of 2.4.x, you can do any of those, or forget it for now :)
I really like blinky lights, but I can live without them
You can use raw-write if you must have blinky-lights
the Installing EMC2 page tells how to compile the source, and I believe there are experimental packages that are automatically built whenever someone makes a change
the more blinky lights and meters the better I like it, but maybe I should move on.
(Installing EMC2 on the wiki, that is)
does the buildbot still make them (nightlys)?
at every checkin, I think
I'm just not exactly sure where to get the packages
seb would know
you guys know how "feature creep" sets in, and then...
"the task at hand expands to fill the time available"
yes. tasks are like liquids that way
more like gasses
gases and liquids are both fluids :)
right you are, but I meant expanding in a 3D space rather than 2D
or 4d, in the case of tasks :)
Thanks for your help everyone. I'll skip the LEDs for now since I don't need them anyway. I'll try again after the next release.
I was hoping to bring all this MESA hardware to Stuart's shop a few weeks ago, but just could not get away.
After this 7i43, 7i37, 7i33 project i'm planning to use a 5i20 with a 7i48, 7i37, etc. for a 5 axis CNC mill.
7I48 needs master as well... (or maybe 2.5 will come out)
Will I need to use something other than the current release for the 7i48?
You answered before I could ask! Thanks.
SWPadnos - I just used the last one of those 24vdc power supplies I bought from you in about 2006. They are still under warranty, right?
heh, I wonder ... :)
do they all work?
Yea, they're perfect.
(if so, then they're under warrantee :) )
ok. the lifetime warrantee ends when they die ...
One more real question before I leave.
Is there any way to get an "analog" signal into EMC2 using the 7i43, 7i33, 7i37 combination?
what are you trying to do?
if you can make a voltage to frequency converter, then you can get a pseudo-analog input by connecting that to an encoder input in counter mode
Mesa THC is a voltage to frequency converter
I really want a some kind of functional "feed override POT".
aha, that's exactly why I asked
use an encoder. pots are not recommended
the way to do that with EMC is using an encoder knob hooked to halui
each click of the encoder is so many percent change in feed override
can I use GPIO for this? I'm using 4 encoders as encoders already
I hooked up a pokeys with 4 pots for FO etc. and tested it out but never did install it
yes, you can just turn on more encoder counters, and hook up to the right input pins
...or could you point me to an example on the wiki or something? I thought I could ony have 4 encoders with this hardware combination
turn on more of them - check dmesg to see what pins they show up on - wire accordingly
check the firmware options for the 7i43. there may be one with 8 "servo channels"
what firmware are you using?
Nov 30 08:39:53 dah-lih-desktop kernel: [ 4727.863735] hm2: loading Mesa HostMot2 driver version 0.15
Nov 30 08:39:53 dah-lih-desktop kernel: [ 4727.870098] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3
Nov 30 08:39:53 dah-lih-desktop kernel: [ 4727.870108] PARPORT: linux parport parport0 does not support mode 4.
Nov 30 08:39:53 dah-lih-desktop kernel: [ 4727.870109] PARPORT: continuing anyway.
you should be able to use the ..SV8 version of the firmware, unless you need some stepgens
Also, I've tried different BIOS settings to eliminate the PARPORT error, but no luck. I'm pretty sure it was not there with 2.3
if you started with one of the sample configs, then you can change the [HOSTMOT2]CONFIG line in your ini file
just ignore it, if the device works. it's a (mis)feature of your system's bios.
change this: CONFIG="firmware=hm2/7i43/SVST4_4B.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"
EPP is the correct bios setting
CONFIG="firmware=hm2/7i43/SV8.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"
I don't need any stepgens if they are only needed for steppers.
err, well without the stepgens word, and changing the number of PWM/encoders to suit your machine
CONFIG="firmware=hm2/7i43/SV8.BIT num_encoders=5 num_pwmgens=4"
the main thing is changing SVST4_4 to SV8, and you'll need a B or S on there, depending on which FPGA size you have
I tried ECP and EPP both just to make sure, but I still get the error. It was not there until I upgraded to 2.4.5
2.4 deals with parallel ports differently than 2.3 did
Dell GX280 box
...also, the latency test results went from ~6k to about ~27k when I went to 2.4.5. Is this related to the parport error?
updating emc does not affect those numbers
hmmm. probably not, but that doesn't sound good
did you change something else too?
27k is perfectly fine for a servo machine
No, no other changes at all.
I'll explain better...
I installed the 10.04 & 2.4.5 from the live CD when it was released. I noticed the latency was much worse than with the previous 8.04 & 2.3? live CD, so I did another install with my old CD - and the latency was much better at about ~6-7K.
so you changed the entire OS, not just emc
it's definitely possible that affects it
still, 27k is perfectly great for your mesa-based servo system
I thought something in Ubuntu 10.04 may have caused this, so I installed 8.04 and upgraded EMC to 2.4.5 by the instructions on the wiki.
ok, that's fine too
the difference is likely that you got a different video driver
how would you get a different video driver when upgrading from 2.3 to 2.4?
JT-Hardinge: reading comprehension failure!
I suffer from that as well
So, Ubuntu 8.04 & EMC 2.3? latency was ~6-7k, and 8.04 & EMC 2.4.5 latency is about ~27k.
oh wait, it's me with the failure
emc 2.3 vs emc 2.4 will not affect your latency numbers. the latency test is exactly the same. something else is different.
The failure is probably the way I'm telling the story...
although, it's moot, since as I've said several times, both of those latency results are perfectly fine
have there been any RTAI kernel updates to 8.04?
I don't think so
If the ~27k latency is not a problem, then I don't have a problem at all. I don't have the servos going yet to test, and this is my first experience with the MESA hardware and EMC together.
27k is good enough even for software stepgen. you will have no trouble.
is the latency test actually the same? I thought there was an option to change the base and servo periods now (I don't know when it was added)
a servo machine needs updates only every ms
Great - that's what I was hoping to hear.
it's possible that a change in the base thread period would change the latency, due to cache effects
(or something else unfathomable)
Back to the hostmot firmware and more encoders topic - would I need something other than a 7i37 connected to the P3 connector of the 7i43 in order to use any additional encoders that may appear in firmware?
no - you can use the 7i37 inputs, but beware they are pretty slow. there may be a maximum speed you can turn the knob, and it will stop responding if you turn it faster.
O.K. - thanks!
if you have trouble, you could peel those wires off before the 7i37.
would I need to jumper the 7i43 for 5v tolerant mode to use 2 TTL level encoder signals on the inputs ?
that I don't know
the 7i43 docs warn of signal integrity issues due to pull up resistors vs: 5v tolerant mode and TTL level inputs, but I cannot fully understand what it means.
Thanks to all for your help so far. I was feeling pretty alone for a while, but I'm O.K. (or PK) for now.
and thanks again for an AWESOME package!
You guys are my heros!
psha are you ok?
I just rebooted and confirmed bios for onboard parport is indeed set for EPP mode, but I still get the error message when I launch EMC. Is this O.K.?
servos4ever, yes, it's fine as long as the 7i43 is working
the message says "Linux told me it might not work, but I'll assume it does anyway and just keep on going"
Nov 30 07:50:25 dah-lih-desktop kernel: [ 1764.902772] hm2: loading Mesa HostMot2 driver version 0.15
Nov 30 07:50:25 dah-lih-desktop kernel: [ 1764.907429] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3
Nov 30 07:50:25 dah-lih-desktop kernel: [ 1764.907438] PARPORT: linux parport parport0 does not support mode 4.
Nov 30 07:50:25 dah-lih-desktop kernel: [ 1764.907440] PARPORT: continuing anyway.
Bonny: i'm via GPRS :(
To much snow?
my provider broke my link
to much idiots
it seem that they forgot to plug my cable back
right. Linux didn't detect the port capabilities correctly (or the BIOS / ACPI tables were wrong), but the EMC parport driver decided to go on anyway
Ok then I will not bother you today..
:) i won't be able to look at images/screenshots anyway...
Just dro doesn't work as should...
not tracking changes on pins?
I make hal pins and configure into camview..
and funny is that when I start EMC I don't see DRO at all. But when click that button right of the config text then start to work and is correct.
may you test same setup on 10.04?
so to track down if it's halio plugin bug only or it's triggered by hardy
probably not as I don't have same setup in 10.04
I think is problem with defaults.
This behavior is not present with the 8.04 & 2.3.x combination. It appeared when I upgraded EMC to 2.4.5. It does not seem to cause any real trouble, but I thought it might help someone to know this.
so it's tracking pin changes? not only after pressing 'set' button?
pin sure change as I have labels connected to it and work
DRO values connected to pins
sum2.%d.out is now base name for hal pins and does
and I have connected that pin to the label (my old way DRO) and it works
DRO values are freezed and only changed after you press 'set'?
and then are frozen again?
DRO values are not present at all until you press 'set'?
with that new config I do Get:
but correct values are filled in textbox?
In older one I got DRO value visible but are static (ie not changed) until I press SET
Yes now are all walues correct!
yes the box preserve my entered string
just need to click SET
so only issue is that until you click Set first time it's missing?
seems like that
in which file you hal setup is living?
the -H executed one.
is it called before or after camview-emc start?
that's why it's not working
wait a bit
theese pins are created after chain is loaded
I think that's problem.
as I don't see pin at all if pin is my one. If I get some pin from halui it's visible.
if you move base part (calculating offsets) to earlier stage it'll work
leave only 'net signame camview.pin' clauses into camview HAL file
unfortunately i won't be able to talk about halui changes today :(
so live for a while with this setup
I put that pins in main HAL file. Now I see DRO at startup but it's frozen until click SET
ah! i know why :)
it finds pin and then it's connected to signal
give me a line from camview HAL file
but if the pin is -feedback from halui then works.
for a single axis
reason is that i'm cheating there :) i'm not using 'true' way and not creating new pins
for one axis, others are equals i think
loadrt sum2 count=3
addf sum2.0 servo-thread
setp sum2.0.gain1 -1
no 'net' commands?
net sum20in0 halui.axis.0.pos-relative => sum2.0.in0
net sum20in1 halui.tool.length_offset.x => sum2.0.in1
actualy no net from output of SUM2 module!
net sum20out sum2.0.out => camview.hal_label1
but here for label is!
there is not 'net' at all?
or net is in camview HAL file?
i mean sum2.0.out net
.. from .out
net sum20out sum2.0.out
so you create signal for that pin but don't connect anything
yes that work (I had added for all 3 axis)
can that DRO have BOLD fonts?
it seem that i've to create pins in camview-emc and in halio just poll them...
heh, you really think that i know GLUT better then you :D
i think yes but i don't know :)
i'll check docs when my link will be up again
I have few thing in 2 hal files now to work.. :D
and now i've to disconnect my phone
Ok have nice day
btw your suggestion about custom button to store current positions in file are easily achievable with recent mhaberler's changes to gladevcp
so let look on this tomorrow
[17:30:32] <cradek> https://www.surpluscenter.com/item.asp?item=1-3431
yeah - if you need short ballscrews
looks like one circuit only
it's big enough for a Bridgeport Y axis, more or less
With the finished ends, you could use them for anything
hmmm. and definitely big enough to lift the ram on my bandsaw
Mind you, I think everyone uses smaller diameter becasue it's cheaper. and lighter but that doens't mean you couldn't use them ofr other projects.
yeah 1"-4 is pretty darn big
hm, they say acme - that must just be a mistake
yeah, I was just noticing that
looks ACME to me https://www.surpluscenter.com/adphotos/P1-3431X1.jpg
no, that's ball
acme has corners in the grooves
those are round-ish
hard to tell with all the grease.
hard to tel withthe grease =)
rolled ball, the outer diameter isn't shiny
I don't think you could really get balls to roll in acme
cradek: Sure you can.. once.
well, I suppose you could, but why bother
oh crap I forgot about motor/pulley mount =(
holy crap. that price is for a pair!
they have 964 pairs...
SWPadnos: Order me two pair, finish one end for motor/pulley mount and send em to me =)
yeah, hence the $15 price :)
Jymmm, I'll get right on that :)
SWPadnos: lying bastard! ;)
it's just behind the bandsaw modifications, which are behind my two larger retrofits, which are now behind my two smaller retrofits
wow, that's a lot of behindness
and all that comes after work and play, so don't hold your breath ;)
who has a working cnc lathe?
yes, I have a big behind
yeah, there aren't any
cradek, what's wrong with yours?
I mean, when do you expect to get yours working again?
Jymmm: aside from the fact that there aren't any, why do you ask?
cradek: Thos are cheap enough to start a new project, but I have no way of finishing the ends
Like I need another project....
Vq_ is now known as Vq
SWPadnos: I got around the air scrubber vibrating the laser. I grabbed a mini dolly from HF and mounted the air scrubbers on wheels insted of on the laser itself. It still fits under the laser, just rolls independantly from it.
I just got done mounting the wheels on the scrubber yesterday.
SWPadnos: And I found out how to put 100% load on a DC with no output... run the air through carbon pellets.
with no output?
Yeah, they block the air almost completely.
you mean you can't feel any air coming out
I have to redesign the flow pattern to allow for more surface area. I *though* I did enough, but I was wrong.
I was trying for close to 100% contact, and was just too much for the DC.
how big are the pellets? (and how are they in the air flow path - between cloth/filter paper, in a bucket ...)?
divided into two stacked (and sealed) cardbaord boxes (for easy disposal).
what thickness of pellets does the air travel through?
we have chip/fines collection systems that use water filters
maybe 6" at points.
that sounds awfully thick to me
Yeah, I know that *NOW* =)
I have more cardbaord boxes, so I'll increase the surface area to allow for better flow.
right now it's over 1cf of carbon. I'll reduce that by half and allow for better flow
I honsestly didn't think that the pellets would block so much air.
well, remember that if they're round-ish, they pack very tightly together, and in 3 dimensions
Oh NOW he tells me ;)
if they are pretty round, you could probably get good filter action by carefully laying out 2 or 3 orderly layers of pellets
Sidenote... My MBP video (int and ext) died the other day.
put those between filter paper of some sort (something that's held somewhat rigid, like the aluminum stuff they use in furnace filters)
SWPadnos: WAY out of waranty.
I have stainless screen at teh top/bottom of my co2 scrubber
unless you don't have that, in which case you should just go buy two PCs to replace it (one plus a spare)
But Apple said that for a flat fee of $310 they will fix EVERYTHING and warrant the repairs for 90 days
oh. that's not all that bad
only half the price of a new (non-Mac) laptop
I didn't think so, I already got a new power supply, they'll fix the fans, video, and the dead dvd drive as well as replace the logic board
if you want to install the sim only in Ubuntu 10.10 do these still apply? http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Pure_Simulator
SWPadnos: Yeah, I could still shell, remote, and target mode into it, just no video =)
SWPadnos: I tossed it into target mode, and booted from it on the macmini.
SWPadnos: I duped the hdd to an ext usb hdd, and booted the macmini from that. then zeroed the drive before turning it in for repair yesterday.
It's been 20+ years, I wish PC's had that functionality
or is this a better set of instructions on building a sim? http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Building_emc2_simulator
* JT-Hardinge finished his bowl of gruel and heads in to take a nap
JT-Hardinge: Buenos Noches
i'm getting error while building opencamlib, anybody could help here or in #cam?
bullcutter.cpp:135: error: aggregate ?std::ostringstream o? has incomplete type and cannot be defined
the same for other cutters
* juri_ read the integrator manual last night, for homebuilt-emc-machine ideas.
I'm trying to build mine for PCB fab.
juri_: here is at least one user who is processing pcb's somehow
psha: whats your software stack look like? mine is EMACS->MUCS PCB->EMC2(hopefully).
it's not me :)
eagle -> Gcode.ulp -> emc2
skunkworks: hey, you are using you Huge one to drill PCB's?!
working out the math, my mill should have an X and Y stepping of ~8 microns, but i expect lots of tolerance-noise, due to this all being homebuilt. think thats good enough for PCB work?
andypugh: good evening
i've some questions about your suggestion of finding center from 3 points
I got the idea from reading this page years ago: http://miketreth.mistral.co.uk/centrecam.htm
so workflow is following: you jog mill to first point, press some Magic Button (tm), then do it two more times and then get 3 points recorded
but how you see process of removing bad points?
question is not how to implement it, but how to put it in the interface :)
implementation is trivial...
Buttons that latch-down? Unlatch to try again. Then a "calc" button that produces the answer and releases them all?
i've seen this prog already :) so it seem that it's good source of nice design concepts :)
Yes, though I feel a bit guilty about ripping off too many of his ideas.
Inverse of this: http://www.xkcd.com/
andypugh: i'll try to draw some interface and show you how it looks like...
if it's limited to 3 points it won't be difficult i hope
or maybe 4 points are needed to increase precision?
Won't hurt. However 3 points could also be used to measure angles. The interface could tell you circle diameter and centre, but also A-B-C angle too.
hm, and to draw that on live view? :)
If you want a challenge, feature tracking code could watch the image scroll past and make the points move with the work :-)
heh, why to bother if you may do calibration and then calculate image coordinate from mill's :)
Doesn't that calibration depend crucially on camera-to-work distance?
certanly depends, but it's more easy then movement detection :)
I think you can reliably measure positions by jogging the crosshair to them, but picking on-screen I can see being tricky.
isn't it easier to draw a circle on the video and let the user center it?
cradek: it's already done :)
seems like a human would be better at lining up edges than picking points that are exactly on an edge
I'm saying I think the three point circle is not useful
but if it's bigger then point of view?
Yes, the three-point thing is for picking up big features like bearing bores.
a better way to find the center is to find the center in X, then go there, then find the center in Y, and repeat until it converges (it converges very fast)
Nothing to stop you doing that if you prefer :-)
yay, got a new battery for my laptop
(And surely it converges in 6 points?
3 points is just a parlor trick IMO
How about if you don't have a full circle?
hm, good question
I have not run into that situation
4:26 hours (86%) remaining
cradek: i suspect that additional points may raise precision quickly
psha: or degrade it
overdetermined != precise
3 points = precise definition of a circle
more than 3 means you'll have to approximate
alex_joni: it's simple to filter out 'outstanding' points
you will guess which ones are wrong?
as a side note: on the robots I program, you always program a circle from 3 points
if we beleive that user is giving us points with random offset then more points gives us ability to better approximate center
3 points is not precise since user is not giving us correct points :)
if you have 4 points you have 3 circles defined
and only 3 points
psha: say I click 4 points on the corners of a square
Incomplete circle bores (motor mounts with belt clearance). I centred on the castings with a DTI (the other hole was not a good reference): http://picasaweb.google.com/bodgesoc/Gibbs#5511282568768390018
what is the "correct" circle?
cradek: for 4 points it's not trivial but for 5 it is possible to filter outstanding point
for 4 it's impossible :)
andypugh: I'd have turned it 45 degrees and used my method
hmm.. actually a square can be put inside a circle, so my example is useless :D
With 4 points you do a least-squares estimate and return diameter and standard deviation.
cradek: It would have to be exactly 45 degress to get the other bore in the right place.
Though I was more saying that incomplete bores do occasionally happen.
I'm not sure what I'm looking at, but I see full circles under the incomplete ones
I didn't say they didn't - I said I had not run into that situation
Raw castings, and I had barely enough allowance, the other holes were not precisely in the middle of the bigger ones.
Also, you would smash the camera on the big holes trying to line up the little ones :-)
But, the real point is that parlour-tricks are cool.
don't let me stop you guys - I just think sometimes software gets worse as you add more features, and the availability of the feature implies it's a good method to use.
cradek: i'm just collecting ideas :)
Which brings me neatly onto my current issue. 8i20 nvram programming...
Make it work, or delete it completely?
andypugh: do the muntzing thing
[20:04:46] <alex_joni> http://en.wikipedia.org/wiki/Muntzing
Crank handles on machine tools?
Thing is, that currently the driver has one user, and he wants to change the current limit as he is using 2kW motors. So so far the evidence is that there is 100% demand.
heh, cam util has ~2 users :)
and some 'potential' users :)
Does Chris Morley ever hang around here? I want to chat about the idea of putting an interface to the onboard parameters into pncconf.
so andy's request will satisfy 33% of users :)
andypugh: i've tried to invite him here but failed :(
it's sad since our communcation is limited to 2 mails per day - one from me and one from him :)
psha: 99% of what I do with my probe is finding an edge, finding the top surface, finding the center of a hole, finding the diameter of a hole
I think I will abandon the setup mode, and put the driver in setup mode any time it is stopped (which is a pre-requisite to programming them)
psha: well 90. another common operation is measuring the left and right (or front and back) of something so I can find the center
Do the cameras report back their focal length?
current cam state is that there is adjustable circle to find center/diameter of a hole
also it's possible to replace circle with square or two parallel lines for finding center/width
here is the left edge - here is the right edge - tell me the length and the coordinate of the center
one very intersting application of camera on the mill is laser scanning :)
with the probe I just set origin at left side, measure right side, divide number in half and jog there, set origin again
unfortunately you can't measure depth/height/top surface origin. that's a very useful feature of a probe
cradek: yes, that's not possible without additional stuff
you can line up to a scribe/punch mark easily though - can't do that with a probe - have to use a wiggler
although I really never do that - that's for manual machinists
meh, this is annoying: http://www.theregister.co.uk/2010/11/30/ransomware_trojan_returns/
meh, who cares
if you do sysadmin work, you start to care :D
(only with insufficient backup schemes though :)
if you do sysadmin work and have insufficient backups... gee ...
then you used to do sysadmin work? haha
If I have M64P1 > dwell .5 seconds > M65P1 how would I bundle that code into a single command like Mxxx ?
Link to man page?
m64p1 / g4p.5 / m65p1
bummer. maybe I could just write a call on line etc, command and put all those in a canned cycle and just call the canned cycle
and just put them in every one of my files
Its an air cylinder that flips my turret on my index machine
I thought maybe I could provoke the turret flip with a single short command
M1xx could do halcmd sets whatever true; sleep .5; halcmd sets whatever false
you'd have to unhook it from motion.digital-out-whatever
that would be fine
UncleG: 'O<turretflip> call' is not one command? :)
i have to do m64p1 / g4p.5 / m65p1
The turret flip is activated by an air cylinder that extend, and engaged a trip dog
I think that should work for me Cradek~ can I link the action to a remote pendant for jog mode as well?
yes you could fire off a M100 with a halui mdi command
Awesome, I think I can figure most of the rest of this out
You could fire off an O<turretflip> call as an MDI command too, if you prefer.
not in 2.4
Yeah, I find I am unsure what version I am running on the lathe/mill
I think it probably is 2.5 and I have forgotten.
Must, be, I went to 2.5 to develop the three-phase PWM stuff.
Ignore me chaps! (Oh, you were?)
Can you dynamically change the colour of a gladevcp bar? (I am pretty sure you can't with a PyVCP?)
andypugh: whole color?
via hal - no :) how do you imagine passing color over hal pin? :)
with some custom hook - trivial, just set bg_color/z0_color property to what you want
psha: 3 pins for rgb ? :P
alex_joni: 3 for bg, 3 for first zone... :) i've already added controls for crosshair color in camera app :)
I wasn't asking for me :-). it was a forum query about pyvcp, and I was fairly sure the answer there was "no" but had no idea about the new, shiny toy.
3 for color, 2-3 for muxing :D
select bg, fg, etc
andypugh: it's possible to add some custom hooks but by default it's not possible...
but when glib Pin wrapper will be ready it will be pretty easy to do
and with mhaberler's userfuncs feature
add custom handler and flip colors of bar to what you want
and it will wash the dishes!
mhaberler: i'm not kidding :) if wisely used it's possible to do whole control gui with it :)
hi folks ... can someone help me get EMC running on a Gentoo system?
i've used Gentoo for years, and i don't mind compiling the kernel, patching the kernel, compiling software, etc.
it seems that EMC needs RTAI, but the latest version of RTAI seems only to suppor the 2.6.23 kernel ... that's fairly old now
it's not correct
EMC2 livecd is baed on 2.6.32 + rtai
i think you'd better stick with it
hmmm ... well the HAL patches that come with RTAI seem only to apply to (at most) 2.6.23
i'm talking about RTAI version 3.8.1
I think you pretty much have to get rtai from their vc to get a recent version
it's a big pain finding kernel and rtai versions that work correctly together
i'm not confident in what's there on officail rtai page but have no problems in building 2.6.32 debian kernel + rtai-source
[20:49:34] <SWPadnos> http://wiki.linuxcnc.org/emcinfo.pl?Installing_EMC2#Preparing_other_versions_of_Linux_to_compile_emc2
psha: what version is rtai-source?
are you going to control a machine with this, or just simulate?
may be out of date ...
someone was working on an ebuild a couple of years ago, but I don't know what ever happened to that
cradek: to tell you the truth, i really don't know ... i am about to build my first CNC machine, and i'm still learning the fundamentals
tlhiv_laptop: you can experiment with emc in simulator mode without special kernel/rtai setup
if you later decide you want to control a machine, I strongly suggest using our kernel/distribution to avoid much pain
cradek: i don't mind pain ... in fact, i would really like (as a challenge) to get this working with Gentoo
ok I understand
i think i might be missing something ... my understanding is that i should be build my kernel with RTAI support (not sure exactly what that means really) and then build/install rtai
then i should be able to build emc
and then you should descide where to put modules
and where not to put them
i've tried to build pure debian packages (not ubuntu ones) with FHS in mind and later agreed with cradek )
IIRC, you also need to be careful about how you build EMC - the normal build process wants you to be running the RT kernel you're linking against
it's not challenge but pain :)
it's a little like the multi-stage gcc/libc build process
SWPadnos: only for tests?
SWPadnos: for build you only need installed haders
so just to be clear, if i do decide to do the Ubuntu install, does the LiveCD allow me to physically install to the hard drive, or will i be running everything off of this cd?
no. I think it had to do with module search paths or something. at least in the "automatic, don't specify where the RT modules are" mode
it's a live + install cd
tlhiv_laptop, either, you can test from the CD run and install if you like
tlhiv_laptop: also don't forget that 'livecd' is not always CD :)
psha: right ;)
you may write it to flash drive and be happy without installations :)
so my understanding is that i have to (1) build a kernel with RTAI support, (2) build/install RTAI, (3) build/install EMC
isn't this all that is needed?
this is all
(4) ensure that everything is working as desired
that's most important part :)
so i guess i'm stuck in step (1) because i don't seem to have the correct "patch(es)" to patch my 2.6.35 kernel
(5) put up with us forever wondering if it's your build that's bad if you report bugs
tlhiv_laptop: explore the rtai website and mailing list
for 32 kernel you may take ubuntu/debian patch
yeah i've been looking all day ;)
tlhiv_laptop: this is only tangentially the right place to ask for help building rtai
i am using 32 bit kernel
psha: where do i find this patch?
[21:00:45] <psha> http://packages.debian.org/rtai-source
or from ubuntu
lenny, squeeze, or sid?
try the third link on http://www.google.com/search?q=rtai+2.6.32+patch
hmmm ... so it sounds like i need to at least downgrade to 2.6.32 ;)
tlhiv_laptop: if you don't link last ralink wifi or radeon drm it's ok :)
i'll better go to bed
seems that 2.6.32-r20 (gentoo) kernel is unmasked :-)
so let me get this straight ... this simple little few line patch is all that's needed to "prepare" the kernel for rtai?
RTAI consists of two major components: an ADEOS-enabled kernel, and a set of kernel modules
the little patch makes the kernel ADEOS-enabled
the RTAI modules give you all the features of RTAI
and building/installing RTAI provides the modules?
makes them available for when you want to run an RT application, yes
the system is run in non-RT mode by default
when you load EMC, various RTAI modules are loaded to provides the RT services that EMC needs
those modules are unloaded when EMC stops
well this machine will be used ONLY for EMC
you can probably configure it differently if you like
it's a dedicated Pentium 4 machine that we intend to control our CNC
that's how the run script operates now, but you can change it if you like
on another (but not unrelated) topic, is there an IRC channel for general CNC talk?
the forum has some general CNC topics
my favorite is practical machinist my least favorite is the zone
there's some general CNC talk here (and other unrelated talk even :) )
I don't know if there's a #CNC or something
cradek: i'm not sure if that is the correct patch
cradek: that one seems like it's patching RTAI and not the kernel
if you're ok with emc-specific answers here, I think general cnc questions are fine
cradek: are these the patches that i need for the kernel? --> http://download.gna.org/adeos/patches/v2.6/x86/older/
or this, if you want to keep 2.6.35: http://download.gna.org/adeos/patches/v2.6/x86/adeos-ipipe-184.108.40.206-x86-2.8-00.patch
SWPadnos: i would love to, but it seems that i can't build RTAI with this kernel version :-/
oh. ok then :)
I haven't bothered building my own kernels for quite some time
i'm just going to go with a vanilla version of 220.127.116.11
(and haven't used Gentoo since the 2.4-2.5 changeover era)
and the corresponding adeos-ipipe patch
using adeos patches for RTAI only works sometimes
best is to use the patch from RTAI directly
RTAI only works sometimes
sorry - not helping
which is the more reliable?
for RTAI? use the RTAI patches
alex_joni: what's the more current RTAI patch?
[21:44:09] <alex_joni> https://gna.org/cvs/?group=rtai
I think 2.6.35 should be stable-ish
there is a .36 patch, but no idea how it works
i can't find the correct patch for 2.6.35 though
should be in CVS under magma
(when it's working again, or you can checkout the source)
not sure how to "check out" the source
Anyone seen/used/heard of a DIT Pendant?
Yes, many of them.
Simplest is to use a USB gamepad.
Much less simple is http://ckcnc.wordpress.com/2010/11/20/arduino-emc-integration-how-it-works/
How to configure a gampad is here.. http://wiki.linuxcnc.org/emcinfo.pl?Simple_Remote_Pendant
tlhiv_laptop: cvs co ...
alex_joni: building cvs now ;) ... freshly built gentoo system :-)
to each his own
alex_joni: so am i right in assuming that the RTAI patch simply patches HAL?
depends on which HAL..
but not really, the RTAI patch is basicly an ADEOS patch
got mah cheap Chinese spinde on its way
alex_joni: but you said the adeos patch is not as reliable
Valen: Eeek! I do hope you didn't spend money purely on my uninformed advice?
been tossing up for a while
As I see it the bearings might be a weak spot, but they are the easiest parts to source.
low speed operation is also going to be an issue I reckon
unless we can get ceramic cutters
I wonder of the included(?) inverter is a flux-vectoring type?
alex_joni: clearly the CVS has MUCH more updated patches than the "official" versions ;)
andypugh: Regarding NVRAM on the 8i20 - I don't expressly _need_ to change these settings from within EMC. If I could, that would be great, but as long as I can do it some sort of way (even by booting DOS), and as long as there are enough pins & params to control the motor during machine operation, then all is well.
Can you do it booting DOS?
I think that's how Peter does it to begin with. _He_ must be able to do it somehow!
I think he does it with very fine tweezers directly in the EEPROM
I'm assuming that none of these NVRAM settings are required to change "on the fly".
The next point where I'll likely need your help is with Hall switches.
There are a limited number of writes allowed to the actual EEPROM
If I can stop goofing off, I'll get then hooked up in a couple days& then we'll see if homing is made more reliable.
But I am looking to make it possible to alter some other things semi on-the-fly (you need to stop the sserial port to programme the card)
True, but it's in the 10s or 100s of thousands. I think you only need to set those once - either the same for each machine/motor, or on a per machine/motor basis (per model or per unit).
That was remarkable ambiguous...
I am rather thinking that pncconf is the natural tool for actual nvram settings changes
what's that? wait, I'll look it up...
And pncconf can actually do all the setup in RAW mode.
is there a way to specify the size of the Axis screen at start up?
wow, that part took 20 minutes and 3 seconds to make...
Wow (looking at http://wiki.linuxcnc.org/emcinfo.pl?Pncconf)
I'm not really a gui configurator user, but that looks really nice! If that where the NVRAM setup should go, then that's fine with me!
andypugh: so you use a chinese spindle?
or anybody else for that matter
Valen: I guess so, but not in the sense you mean. I have a nasty chinese mill, with a nasty spindle. (plastic gears, DC motor with exploding commutator)
just ordered one of these http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=250532286917&ssPageName=ADME:X:RTQ:US:1123
it'll go with the cheap chinese everything else I spose
I also have a nice English spindle, with bearings hand-engraved by Frenchmen. Mainly because the other one turned out so nasty.
Valen: That does seem very fast for steel.
Is steel the main use, or an occasional thing?
mshaver: does devilspie interfere with EMC in any way?
not that I have seen - I've recommended it as a way to maximize AXIS at start up
Valen: Actually, using numbers for carbide cutters it's about right.
1/2" tool, 900FPM (Top end, but lets assume lots of coolant) is 6875rpm, and for a 1/4" cutter you are right where you want to be.
devilspie info: http://www.pastebin.ca/2007159
6000rpm is its absolute minimum
and we want to do stainless and titanium as well
so it'll be getting warm at 6000RPM probably
I feel sorry for the guy that had to climb the palm trees http://ireport.cnn.com/docs/DOC-523097?hpt=Sbin
I wish there was a way of telling it not to download videos
let me read it, then I'll decide
Web site is broken, there is a window over the video pane, but the "close" button for that window is hidden behind a Subaru advert.
Anyone see/used a DIY Pulse Generator?
I have made my own encoders, if that is close enough.
I made one in HAL once
is there any instructions for installing EMC sim in 10.10 anywhere on the net?
isn't it already there?
or is that 10.8
I found 10.04 but not 10.10
what graphical libs does emc build against? GTK? QT? other?
I assume it depends on what GUI you choose
JT-Hardinge: since it's just sim, can't you instal it like anythign else?
even LIVECD has sim iirc
I don't know, just trying to help greybeard out on the forum
JT-Hardinge: I'd wait for alex to show up later, I think he would know
Ok, if 16 sq in of pellets stop the air, you think 48 sq in of surface area would be enough?
JT-Hardinge: In my air scrubber, I have two cardbaord boxes stacked on top of each other filled with 4mm carbon pellets. the intake is 4" duct. The airflow moves into bottom box, thru the top box then out. But,.....