steves_logging is now known as steve_stallings
skullworks-away is now known as skullworks-PGAB
kernals exploding rapidly... You have to love fresh made popcorn.
crep: where did you find Tab cans to blow up?
I thought the FDA forced that off the market years ago
tab is still around iirc
came back anyways
those used to be pinko cans, and the old blend was hideous.
does anyone know about Rong Fu mills?
the Enco 2007 master catalog just came out and they had a bunch of those in there
are they crap?
they are considered the caddy of the chi mills.
I would (did) buy an IH mill over a Rong Fu
much better bang for the buck
and even cheaper
[02:51:36] <skullworks-PGAB> http://www.industrialhobbies.com/Products/square_column_mill_2.htm
did you retrofit it yourself?
I just ordered the machine, as a manual mill
will worry about conversion after I finish my Seig X3 mill.
they do a good conversion - standard is geckos - "Light Industrial" is rutex
But I'm looking to spend the money on better screws - and bigger servos - and likely use a complete amp/driver from Jon on that big boy.
The X3 I'm toying with the Pluto-p and a number of different H-bridge options.
I have 24V Pittman servos for the X3
complete mill - x30" y12" with a base stand, shipped from CT to CO $2399
that to me seamed like a killer deal.
2HP spindle motor
Avoid the round column mills in whatever brand - the limited quill travel will force you to raise and lower the head, and you'll lose registration.
Both the X3 and the Industrial Hobbies unit have a dove tail column with leadscrew drive
Yep. I was thinking of the Rong-Fu - when you get away from the round column in that brand, it isn't so inexpensive.
I haven't priced mills in some time. Too many other projects.
Jymmmmmm is now known as Jymmm
I think I saw the Industrial Hobbies mill at the 2005 Cabin Fever - looked solid.
Jymmm was paging you
I saw that - missed him
steve_stallings is now known as steves_logging
alex_jon1 is now known as alex_joni
time to go "Push the Green Button".
SWPadnos_ is now known as SWPadnos
good morning xemet
hi jepler, I need your help...
as I've said, I modified the source files adding the G5 using the 2.1.1 version, and I had to remove the CHF macro...after that, everything works
now, I've got with CVS the latest development version,
tried to modify the source again,
and I get this error compiling:
[13:49:24] <xemet> http://www.pastebin.ca/382265
what have I forgot?
in the CVS HEAD, there's another new program that uses the rs274 library--it's new since I prepared the patch I sent you. It's called the "standalone interpreter". It prints the "canon" calls that result from a particular g-code it takes as input. You have two choies: first, disable it compiling if you don't want/need it. second, add the new canon calls to emc/sai/driver.cc.
you can disable compiling it by removing all the lines in emc/sai/Submakefile
or, if I change the file driver.cc?
yes, to add those new functions
Simply add SPLINE_FEED like in the canon.hh?
look at driver.cc and see what it does for an existing canon call .. then copy that for the new canon calls, SPLINE_FEED with two different sets of arguments.
ok! Many thanks
so if I add others canon calls I will add them also
now I try
maybe the file is saicanon.cc ...in driver.cc there aren't canon calls
I can believe that
great, now compiled, thank you jepler
SWPadnos_ is now known as SWPadnos
[15:03:14] <skunkworks> http://www.electronicsam.com/images/house/shop.JPG
[15:03:33] <skunkworks> http://www.electronicsam.com/images/house/scion.JPG
pictures area actually reversed - oops
30 some inches over 7 days.. :)
rayh: do you get lake effect snow up there?
Not much. We're a bit far south of Superior.
rayh: you should look thru these when you get a chance. sorry about the size. http://www.electronicsam.com/images/KandT/conversion/
My connection is slow and some of these images are large. I'll take a bit.
That is why I said I was sorry about the size :)
the link I setup for my inlaws is still working :)
Great. If fast-air doesn't get their act together this spring I'll have to try and set up one to town.
looks like you got quite a bit of snow there.
Better you than me.
The offsets on this K&T were thumbwheels?
offsets and mdi
we didn't use them - too flakey. made a tape emulator with an old computer and built in a 'mdi' mode
how recently was this beast of a controller working?
about a year ago now.
do you know what failed, or are you just sick of it anyway?
we actually powered it up recently to pull the pallet off - and y started 'sort of' working again - so we where able to home it.
we sort of gave up
figured it was a good time to update
That GE control looks to me to predate the 550. That and the 1050 were the first GE controls I worked on.
iirc it is like series 1 or something like that ;)
it's cool that you've kept it original this long
steves_logging is now known as steve_stallings
if it were my machine I'd really be torn between wanting to repair the old control and updating
it was always a hobbie so - it was cheap to keep the old controller running. retrofits at the time we got it where way too expensive.
we actually had 2 complete machines. made it nice to troubleshoot.
we just never installed one of them.
I abandoned the 1050 when 16k memory boards cost 2k
cradek: I feel a little bad also - but the iron of this machine could do so much more.
rayh: is that sram or core?
skunkworks: yeah I bet it will be a LOT more powerful and pleasant to use
cradek: I think I have some core memory - (little ferrite bead with wire in a matirx)?
yep that's core
I have some (somewhere) too
It was main memory.
we had gotten some mainframe equipment out of a collage.
this machine has no read ahead :)
skunkworks: did it stop (or almost stop) at every line?
linear and circular interp only up to 9.999 inches. and we still don't know how that worked.
I bet it couldn't do more than a quarter of a circle at a time either
right - that is how it was programed - quadrant.
we wonder if it somehow made the circles from analog signals (sin-cos) because the surface wasn't really that great
I bet it had sin-cos lookup tables in something like wired diode rom
some of the machine we figred out - but other parts where 'spookyness at a distance'
it's so amazing they got something like this to work at the time
we have pictures of the predisessor of this machine - the hardware was the same but the controller was 4 cabinate and we assume tubes.
the PID is done mechanically at the hydraulic level right?
cradek: I don't think so. it was all adjusted in the cards.
it actually had a velocity loop and a position loop
ISTM you need only one octant of sin+cos but that's still a lot of diodes for many entries
jepler_: and I really don't remember seeing any cards that look like that.
yeah it would be easy to spot
you need 5 bits to represent cos(2pi/32) as being different than cos(0), (cos(2pi/32) = .980, 63/64. = .984)
32 rows times 2 columns times 5 bits times 50% of diodes present = 384 diodes
there are bresenham-like circle interpolation methods that never call sin() and cos()
the 20 yr old girls on the assembly lines can solder those in no time
but I thought they only worked one octant at a time and they certainly aren't constant linear velocity
did you see how we calculated feed for linear and circular shapes?
[15:43:36] <skunkworks> http://www.electronicsam.com/images/KandT/conversion/cheatsheet.JPG
heh two jog speeds "creep" and "fast"
the gearbox has 16 different gear changes.
(originally with a 2 speed spindle hence the 32 gears)
m30 rewind tape
oh it's not ascii on the tape is it
No - what was it called eia?
I don't remember. but I think it was a standard as we did use tapes for a bit.
is the "feed" number you compute just the time for that move in 100ms increments?
hm, not for arcs I guess
I didn't see the pattern but we where happy as pie that it worked at all ;)
so you had to specify a feed for every line?
what were the 'upper case' and 'lower case' tape codes used for? I don't see anything that's not lowercase
I really don't know - the machine only saw the lower case - wonder if it was for comments or something.
and m30 was literally - tape rewind ;)
it was strictly 2.5D? Either Z moved or XY moved?
with m30 would the program continue running from the beginning of the tape (e.g., repeat)
only x and z could not move at the same time - but conturing could only be done in the x-y plane
jepler: m30 would rewind the tape and switch pallets if setup to do so.
(pallets set to auto)
I don't know if it would automatically take off running with the other tape drive. (that is why there was 2 tape drives - one for each pallet) but we never had jobs big enough to keep up with 2 pallets ;)
"To exchange pallet shuttles and then end a program, program M30." -- rs274ngc
jepler_: emc automatically 'rewinds' with M30 too
cradek: the spec doesn't make that clear
well it's ready for you to hit 'run' again
if that's true, then M2 does the wrong thing since the next time it runs from the beginning again
er, I guess there's not an m2 on that cheatsheet
I guess skunkworks will need thumbwheel inputs added to halui
no - please don't
are the orange caps (like 25C on card2.JPG) replacements you guys did?
cradek: most likely
Hey I've got a whole bunch of thumbwheels out there. New replacements and everything.
cradek: card 3 has the original paper ones on it still.
Really wouldn't take much of a hal module to strobe em and make an integer.
just wanted to talk about emc maxnc
skunkworks: yeah that orange one looked out of place
which maxnc machine do you have?
I heard you have 15cl
I'm out of trade school
that's not true, I have an old 10
planning on buying a maxnc with 3d surface
Guest685: I am samco
I'm afraid I don't know much about their newer offerings
10 is fine
just need some info on running with emc
mine was phase-drive steppers
the cl is a propietary interface I think
don't know much about anything
emc runs with open loop?
emc can run many ways
one way of many is open loop for steppers
have you tried with the old equipment?
I don't understand the question
or after upgrade?
did you try emc with the non upgraded equipment or after upgrade?
I ran the original maxnc phase drive with emc, then later switched to step-dir controlled chopper drives
(the original drive box was crap)
no modifications at first?
What was wrong with it?
it was a low power L/R drive, no choppers
I got 3x the performance with new drivers
you need to read about stepper drives - lots of information online :-)
did the old one do 3d surfacing?
the old software? or hardware?
oops, have to run, brb
software and hardware
you hang around here alot too?
you guessed i'm fguden right?
what's your cnc?
yes - I figured
thanks for the lead
we have a few - lathe, gantry mill. just a hobby shop
small or large products?
small - when we have time. it isn't a full time thing.
this is the next project for emc
[16:20:59] <skunkworks> http://www.electronicsam.com/images/KandT/DSCCurrent.JPG
lots of stuff you got there
having trouble compiling emc
some people have boats ;)
how are you doing it and on what os?
machines make boats
can't use synaptic, on dialup
how do i compile
following the wiki?
is the wiki here?
I would read thru this http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2
it will probablly answer your questions.
Guest685: I use synaptic on dialup. What happens there.
4 hour download
For the apt sources or for a package?
package I believe
Ah yes. Frequent disconnects.
tell about apt?
I've found that during a long download, if I also run irc, it will hang up less often.
school dialup, not commercial
My isp sees the irc stuff as traffic while it does not see the download the same way.
Guest685: where are you located that your school has dial up?
or your dialing into your school using dialup?
dialing into school
is apt better?
Apt is what is running behind synaptic. I like synaptic for the search facility.
Download time would be about the same.
If you have a computer at school you could pick up the packages there and hand carry to your EMC computer.
I've carried my PC to my wife's school and upgraded a couple of times.
don't need linux for packages?
oh bring the pc there
No the packages can be picked off the repository just like any download.
Once you have the xx.deb file on the EMC box you can click on it to install.
in download section?
What becomes a problem with this is all of the dependencies have to be met in order.
know nothing about dependencies
tell me more
We could use EMC as an example of dependencies.
In order to compile the EMC you need quite a few other packages that are not on the Ubuntu install.
Development packages like tk and tcl development for example
gcc and several compilers
synaptic can show a list of the dependencies for a package.
I started synaptic and searched for emc.
I find the emc2-dev package
and click on it, then on the properties icon.
dependencies is one of the tabs there.
(emc2-dev is the package to install if you want to build additional HAL components or user interfaces, it is not for rebuilding emc2 from source)
I'm running linux from linux format magazine
is make a special command
To find all the packages you need to install to build emc2 from source, you can issue a command like: sudo apt-get -y --print-uris build-dep emc2
Beyond the list of dependencies for a specific package you also need to look at the dependencies for each of the packages listed there.
Do you know what kind of Linux you got?
okay. that's a good start. Is it LTS or edgy?
dapper is LTS
Sounds like guest needs to get a real time kernel and the emc stuff.
Guest685: why do you wish to build emc, instead of just installing it? If you do not know the answer to a question like 'is make a special command', then you will find it very difficult to build emc2 yourself.
trying to move into open source
IMO that would be a lot less painful if we could log the Linux box into the school network rather than dialup.
experiment with free cad
should I start with a c programming book or linux tutorials
or download the the live cd at school and burn an iso. what ever is easier.
I'll probably do that, but I don't want to download every time i see a new program i like
download a new iso that is
I'd get started with a little bit of Linux, then a bit of programming.
Guest685: you sound like me a year and a half ago. Not a linux person but now I am pretty comfortable with it. It take time and a lot of reading (an some help) ;)
This channel is a good place for help.
yeah, took 2 intro linux classes
1 c++ class in linux
still don't know anything
you took 2 linux classes and a c++ class and they didn't teach you 'make'?
no, just g++
the linux class I took about 10 years ago - just showed us how to navigate 'dos'.
I live in albuquerque
not a very good education system
I've visited there, used to live in alamogordo
what do you do for a living?
I'm a computer programmer for a firm in Lincoln, Nebraska
cnc as a hobby?
c++ or everything?
jepler and cradek created the axis interface for emc2.
how's the CS field?
the language I prefer to work in is Python, but I am also well-versed in C++, C, Tcl, and some other more obscure languages
I quit school before I completed my CS degree
how do you mean?
just got a job?
he means he was too smart for school... (He is btw) ;)
at the time I probably thought something like that
is it still a good time to go into cs?
I know his type
I'm jealous already
Guest685: you can change your name by /nick name
I haven't been in the job market for 8 years or so, I'm not sure how it is
what language do you normally have work for?
the day-job is in C++ and Tcl, with occasional bits of Python
and you still work?
Guest685 is now known as fguden
haha, he's smart, not rich
smart is good enough
what kind of programming?
cradek: looks like rigid tapping is coming along :)
this is the application: http://sds2.com/
skunkworks: yes alex did the glue work, but I have to finish the motion stuff still
jepler: thats pretty cool.. I know you had mentioned you programmed for a iron company but didn't know what for.
I didn't know what for that is..
hah iron company
how bout the rest of you?
what type of work?
I work with jepler, same company
IT of some sort
snazzie IT job
I guess 'IT' sounds fancier than 'care and feeding of a bunch of computers and programmers"
still very nice
yep, pays the bills
* skunkworks close wedsday on the new house :)
'new' meaning different location.
life sounds good for you guys
yeah it's pretty good
was IT hard to break into?
I started here 11-12 years ago - the climate may be totally different for new folks now
I'm sure it's very easy to "break into", if you're at a company with nobody that knows anything about computers :)
now you better know your microsofts
actually, it's more like "thrown into"
yeah no kidding
any formal education?
we were a unix shop when I started - we still are, mostly - unix folks are always needed, maybe moreso today
I'm the same as jepler, except that I didn't quite get my EE degree (or CS, for that matter)
I have BSCE but that was irrelevant to getting this job (I didn't have it then)
am I the only one here with any degree?
funny. at my last company, I did the software, a friend did the hardware, and another friend did the "business management"
I have an associates degree in electronics..
the only one of us with their EE degree was the manager guy
education and smarts are both good to have, but you can get by with just one
trade school certificate :(
there are companies that value certificates quite highly (though I haven't been in the job market for 20 years, so I can't tell you which ones)
SWPadnos: I probably don't want to work for them, then
heh - me either
so I don't do that
learn how to troubleshoot. (if you don't know the answer to a problem - know where you can find it)
I have a degree in googling
I use the #emc channel for that ;)
I have a very old slow system setup and running. I am trying to run the rt benchmark. I found a log of this chan that mentioned the troubleshooting page of the wiki. I still dont know for sure what needs to be in the file .runinfo
[17:16:26] <skunkworks> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting
thats the link i saw
you shouldn't need to change .runinfo, I think
it doesnt exist
that is until i touched it
then your rtai install is bogus - those are part of the tests
where do you see anything about runinfo?
(I didn't see it referenced in the wiki page)
thats what i am saying SWPadnos. the page doesnt mention it but it seems my install didnt work properly
cradek, i burned the iso and it all installed
on ubuntu, the .runinfo files are part of the package rtai-modules-2.6.12-magma from the linuxcnc debian repostiroy
ok - so you get an error when you try to run the testsuite, and the error mentions .runinfo
my bad for not mentioning that
no problem - it just wasn't obvious to me (since I'm not currently on an RT Linux system)
ok, say more specifically what you're doing and what error you get - the instructions on that page work to run the test
[17:21:11] <cradek> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting#RTAI_Latency_test
well after finding the .runinfo and pasting it to my home dir i now get missing file error ... insmod: can't read 'latency_rt.ko': No such file or directory
ERROR: cannot load latency_rt.ko
/usr/realtime-2.6.15-magma/bin/rtai-load: line 242: ./display: No such file or directory
altho i might be able to muddle around that problem :)
try following the instructions instead of doing that?
i was following instructions for running the test that are posted on the wiki
just not the troubleshooting spot
what page were the instructions you followed on?
what's the url? maybe they are wrong
i was looking at what hardware requirements are and running the rt benchmark was suggested and
[17:24:51] <birdmun> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Hardware_Requirements
ah, that is bogus, thanks
the steps here worked: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting#RTAI_Latency_test
the instruction on that other page is wrong -- cradek, will you fix it?
working on it
maybe just make it a reference to the other page?
yes i am seeing that the troubleshooting steps work
quite nicely even
looks like my base period will have to be over 12000 if i ever plan to use this system :P
birdmun: thanks for helping us find that problem on the wiki
12000 is a very fast base_period
thanks for the assistance. i will do more reading. see what i can figure out
sorry for accusing you of not reading the instructions
birdmun: you are planning to use sofwtare step generation?
i would guess
i have a lot of reading to do :)
birdmun: make sure you read this page too http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGeneration
cradek, no woirries
I think the fastest recorded base_period was ~6000, on one machine, by one of the more active developers
the spreadsheet at the bottom is very useful too
the system i have running is an overclocked 233 p2 slot1 proc w/ 384 ram
oooh - that is an old slow machine ;)
i actually was just trying to see if i could get proc usage under 100%
thanks for the extra info as i said i know i have a lot of reading to do
I'm about to set up my mill using a PII-4xx (I think)
it'll be fine I'm sure
come back anytime birdmun
like I said before - we ran our gantry for a long time on a 400mhz computer - now it is a 600mhz ;)
i will cradek
busy for a monday
wait until it gets so popular that it is like the ubuntu channel ;)
Thanks for all the info guys
any of you python hackers familiar with distutils? specifically the package_data dict in setup?
alex_joni: have you found cam software for alibre?
what's base alibre going for these days?
I tried it out once, briefly
a better question - when you guys where playing with the penguin - what where you using to create the g-code from it?
alibre express is free
there's a free version of Alibre, called X-cad or something
or express :)
* skunkworks hasn't really played with it - but has it installed
skunkworks, I think the 3d_chips file was made partially by hand way back when (by Paul and others, listed in the file I think)
SWPadnos: recently alex_joni and a few others had made a new - more complete model.
oh - cool :)
SWPadnos: your trip was good?
yes - nice and warm, but overcast so we didn't get much sunburn
and it was even warm the day after we got back, so we didn't get shocked by a 60 degree weather change
:) wife went to cancun the week we got dumped on.. The loser.
jepler, simply question for you, if I declare a type using typedef in a source file (interp_convert.cc) and I've to use it in another source (emccanon.cc) How I do it?
xemet: that's what header files are for. You would put the typedef into a header file common to all the places that use that type
xemet, so you got apt360 _and_ postp working at the uni?
jepler: yes, I thought that...but there aren't common headr between the two files...
bytecolor: yes! it worked! Many thanks for your help
nice, crotcheyGuy was the help though :)
wow - what matt posted is pretty cool. scary - but cool.
bytecolor: yes he was very helping
xemet: then create a new one
I never can spell is name right, without tab-complete...
skunkworks: out of curiosity, what did he post?
[19:48:30] <jepler_> http://www.mattshaver.com/include_graphs/index-by-size.html
information about header file inclusion in the emc2 source
jepler: I've used "vector" to collect nurbs control points, I've created a type CONTROL_POINT that is a struct with X, Y and Weight W, so, now I need to send it to the canon call nurbs_feed
so the type and the vector have to be available in the emccanon.cc
xemet: both of those source files (indirectly) include canon.hh, it would seem to be an appropriate place for your new typedef.
ah, I'had not oticed that
yes, now that I look at the scheme seems that canon.hh is included in emc.hh that is included in emccanon.cc
jepler: do you think using vector will mess things? I've seen that it is not used in any of the source files
xemet: I am not sure whether 'vector' is not used in emc because the C++ standard library was not dependable when it was implemented, or because it was desirable for the g-code interpreter to use a fixed amount of memory.
xemet: I don't think either of those concerns (non-portability or fixed memory usage) are important today.
ok, for now I keep vector...it seems to work, if I will get problems I will change it with something else
I included typedef in canon.hh, now I've it available in both the files, thanks
Martzis is now known as Martzis
can't understand why I have to reboot disabling parport.ko in order to use parllel port (and emc)....
you don't have to reboot, but you have to not load the module
cradek: I'll have to prevent loading at boot
cradek: that's what I did... rmmod won't suffice
[20:42:20] <cradek> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting#Parallel_port_no_longer_works_in_EMC_2_0_1_or_later_hal_parport_Device_or_resource_busy
cradek: I'll try and add loadrt probe_parport
cradek: I get an error... it seems probe_parport.c was not compiled...
pier: you don't necessarely need probe_parport to prevent your linux from loading the pc_parport module
alex_joni: sorry alex can you explain
pier: what is the problem you are having?
alex_joni: well... I am trying a board at home with my pc
alex_joni: trying to make a stepper turn
ok, go on
alex_joni: I noticed that I have to reboot and not loar parport.ko
alex_joni: in order to make it turn
alex_joni: and simply rmmoding parport.ko won't do
pier: you can disable loading parport.ko
alex_joni: stepper keeps on humming
alex_joni: yes I did it
alex_joni: infact it now works
alex_joni: in the garage and on my laptop I don't need parallel port
alex_joni: and emc drives the steppers ok
alex_joni: but if I try and load parport to print anything I have to reboot then to use emc or some other little program that sends steps to lpt
pier: well.. it's not a good thing to do :)
alex_joni: so cradek suggested to do as in manual
alex_joni: adding loadrt probe_parport to the standard_pinout.hal just before loadrt probe_parport
alex_joni: but I get an error
alex_joni: Can't find module 'probe_parport'
pier: what emc2?
ok who in here has integrated a real machine?
Martzis is now known as Martzis
no one has ever integrated a real machine in here?
several have. do you have a particular question?
does this stuff really work - well that is. ?
* alex_joni wonder what response you would expect on that question
say for instance , you do an m6- does that program still keep running- how to you stop the program?
M6 is tool change
how do you expect a program to keep running during a tool change?
how does the sequncer work?
there's a very complex answer to that question. is there some specific piece of information you're looking for, or can the info at http://www.linuxcnc.org
help you with general information?
how to you hold the sequncer?
there is also a lot of information in the Manuals and in the wiki
what's a sequencer to you?
I'm not exactly sure what you mean by "sequencer"
the program that crunces the g and m codes and program
if you mean :bow do you pause a program", then there are several methods (feedhold, set feed override to 0, ...)
how, not bow
duerz: that's an interpreter to us
it reads the g-code and converts them to machine calls (moving, IO, etc)
see you pier
no, for example if you do an m6 - does your interpreter keep cruncing data- or what?
keep moving forward?
in the program
the intepreter has a queue of commands
that's a different issue from when they get executed
the interpreter may "parse" more lines, but the part of the code that executes the operations will wait for the tool change to be completed before doing any further motion
how it waits is dependent on the configuration of the machine - there are many ways to do it
whrere can i read up on this?
duerz: I suggest starting with the manuals
[21:23:51] <alex_joni> http://www.linuxcnc.org/docs/2.1/
i think i have them - does the integrator manual cover that?
some of it.. but it's a work in progress.. some things are missing (to put it mildly))
it is probably not spelled out in the documentation, but at one step of an M6 tool change, the HAL pin iocontrol.0.tool-change is set to TRUE, and EMC doesn't command any more motion until iocontrol.0.tool-changed becomes TRUE
you mean false?
no, I mean TRUE. The two pin names are different.
-change and -changeD
so you would need to use those hal pins within the sfc to hold motion - correct?
if you are implementing a changer, you would wait until -change became TRUE, then cause the machine-specific tool changing actions to take place, then set -changed to TRUE
i understand - thanks
change = h.change
if change and not h.changed: do_change(h.number)
elif not change: h.changed = False
this Python code shows how to read change and set changed
it's part of the "manual toolchanger" which you can see in action by using the sim/axis configuration and requesting a tool change http://cvs.linuxcnc.org/cvs/emc2/src/emc/usr_intf/axis/scripts/hal_manualtoolchange.py?rev=1.4;content-type=text%2Fx-cvsweb-markup
elovalvo: I think he may be gone for the night
jepler:I have a strange question to you
it's possible use the sound card as analog I/O with HAL?
there are no existing HAL drivers to do that
I don't see any fundamental reason that sound cards couldn't be used, though generally they are designed to stream samples of audio to/from a buffer at a predefined rate, not have the output changed or read at intervals by software
But, in your opinion, it is possible?
sound hardware may not be suited for use with HAL - the analog I/O is not very good (meant to sound good, not be accurate), and they're meant to take blocks of data at a time, not individual samples
and they're surely AC coupled anyway
it's probably possible to get a sound card to work, but it won't be as good as the specs would make you think (24 bit resolution and 44/96/192 KHz update rates)
cradek: good point.
those are good points too
probably, but not necessarily (they may be on the inputs but not the outputs, for example)
though it would be interesting to get some output filtering with the DSP/EQ on a sound card :)
maybe set it up so if the sound card hears you scream - it goes into E-stop
yeah - that sounds good :)
and with a modem, it can call 911 for you as well
My crazy idea was to drive spindle with sound level....
oh - voice recognition for axis.
"GEE ZERO EKS ZERO WYE ZERO RETURN"
spindle may be OK, since it's a low update rate thing (and probably doesn't care if there's a bit of noise on the output)
elovalvo - simple pwm out of 1 pin of the printer port - and a r/c circuit.
for some reason, I'm reminded of the vista speech recognition for programming video
* skunkworks was thinking of the same thing.
STOP - STOP ---- I mean E STOP
no, delete that, delete no delete that
with python's 'ossaudio' module and the emc 'hal' module it would not be hard to play a sound with amplitude and frequency specified by HAL pins to any Linux-supported sound card
elovalvo: what kink of machine are we talking here?
you'd need external hardware to make that usable for a spindle though (peak detect or F - to - V converter)
however there will be no guarantee against overruns, and a certain amount of latency that depends on the card
isn't pwmgen going to be simpler and better?
only if you have available parallel port pins
cradek: that is not the point. Like building your own servo drives.
(or other appropriate I/O pins)
if you're out of I/Os, just crack your keyboard open and use the 'scroll lock' LED control signal
there are two more where that came from, if you're willing to give up caps and num lock indicators
is there a HAL/keyLED driver?
SWPadnos: yes, hal_input can control LEDs including keyboard LEDs
but updates are limited to 100ms and not in realtime
(or maybe that's 10ms)
either is probably fine for a spindle, but obviously not for PWM
that reminds me, I need to add the "led-only" flag, it's interesting to show something from HAL on an LED, but not when you get 200 other pins you don't care about, a key-xxx and key-xxx-not for each key on your keyboard
the only sound you should hear on a machine tool is the cutting of chips
that was fascinating
wonder if rafa emigrated
and learned better english
the sound card is always present in PC board and maybe utilizable for some things
Time is an illusion. Machining, doubly so
skunkworks: that's too deep
this is cool. I really need to learn how to make 3d models. http://www.cnczone.com/forums/showthread.php?t=33623
* alex_joni really heads to bed now
that's interesting but why are the files he's posting in .exe format?
sounds like ziped - self extracting files
(solid works auto exec files)
viewer plus data in proprietary format
useless on real computers to boot
the work looks nice though
I was just looking at the pictures.
they are nice pictures
03jmkasunich 07TRUNK * 10emc2/docs/man/man1/halcmd.1: mark linkpp as obsolete
so ... the next version of emc will support loud shrieks during rapids?
it already does, if you have steppers
it's already supported, but you have to make the noise yourself
r2d2 noises would be nice too
there's no auto-shriek mode?
during dwell or something
03cradek 07TRUNK * 10emc2/share/axis/tcl/axis.tcl: get the various enables right this time
03cradek 07v2_1_branch * 10emc2/share/axis/tcl/axis.tcl: get the various enables right this time
how goes it?
how's radius comp?
haven't done anything on it lately as my sponser has not decided whether they'd like further work just yet
I hate when that happens
I've had that experience too...
so, when no paying work is available I fool with the infrastructure
that petev, he comes & goes...
hmmm. maybe I should do that instead of just worrying about the lack of work :)
oh, I worry, it just doesn't help!
I've got a few Windows machines here I've been de-crappifying & while things run I can do emc stuff
hmmm. is there a Windows de-crappifier (other than a Linux install CD)?
avg, adaware, spybot and hijackthis?
anyway, refactor to "middle layer"?
which part(s) are you thinking of refactoring?
I don't know hijackthis, but the others yea
hijackthis is a file deleter, which uses several methods to actually delete files - even if they're marked as system files
no windows install is ever 100% right
hmm, i'll looh at that