ries_ is now known as ries
SteveStallings is now known as steves_logging
SteveStallings is now known as steves_logging
ooh it's seb
hi guys :-)
seb_kuzminsky: if you put together that care package for chris, I would take one of those integrated-driver stepper motors.
what care package?
i'd be happy to send you one, but what care package are you talking about?
cradek: seb told me he had stuff that he needed to send you
maybe I misunderstood?
the one with 100 lbs of cargo chains?
the other Chris?
don't you dare ship those
maybe i'll sell them on craigslist and snail-mail you the cash ;-)
that would definitely be smarter.
i think we should try to get together in meat-space sometime this summer or fall and do care package transfer that way
that's fine, my project will languish for months anyway
shipping chains makes no sense, but shipping nema-17 steppers does
i'll see what remains in the box when i get home today and parcel-post some your way later this week
I was going to say a similar thing
my place is open, as is stuart's
seb_kuzminsky: I asked google, and it says my place and stuart's are about the same distance from you (1hr difference)
it was a drive-by micges
jepler: I forgot what you said the motor was for. was it something fun?
cradek: it's for the macro focus project
seb_kuzminsky: Hi Seb. Thanks again for all your help at the workshop. I got the encoder board driver (demo?) installed, but so far it seems to be showing only encoder 0. I had planned to connect 1, 2, and 3 anyway so I'll do that and then look for a declaration like "MAX_ENCODERS=1" or whatever it has. Once I've got all my ducks in a row, I'd like to send you some links to review and ask your advice.
KimK: do you have it reading an encoder already?
cradek: Well, yes, but I can't take any credit for that, it's in the supplied non-real-time driver (or demo?). But I was surprised when I moved the encoder cable around and only one encoder socket seemed to have any response. I just want to get it working "as-is" as a first step so I can verify it's good and so forth before I start fooling around with it.
Then I hope to get some good advice from Seb about how best to proceed to make a real-time-driver. Oh, and the existing driver is GPL or LGPL, I don't recall the specifics right now, though.
what's the hardware?
Hi SWP. It's a USDigital PCI card with four differential quadrature encoder inputs. It is said to have 33MHz time-stamps, and 24-bit counters. It appears to use an FPGA a la Mesa, Pico, etc. Kind of pricey ($378), so I don't know how many people are going to rush out and buy one for EMC, but I would like to get it on the supported hardware list. (John threw $15 at it on eBay and it stuck! Were we surprised!) http://www.usdigital.com/products/interfac
[19:22:14] <KimK> http://www.usdigital.com/products/interfaces/pc/internal-card/pci-4e/
today I had weird problem with atemga88, external emf noise hang up ucontroller even if it has watchdog enabled
anyone know how could it happen?
KimK: when you're ready, ping me on or off the emc-developers list and I'll take a look
sorry wrong channel
SWPadnos: There is also a similar model with 3 encoder inputs where the "fourth" socket is used for a small amount of DC I/O (four-in, four-out), maybe good for a fast probe input? If I succeed with their 4-encoder model, I might ask USDigital if they will lend me their very similar 3-encoder model.
seb_kuzminsky: Thanks, I sure will.
isa version of the same thing? http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=320551945256
there's no FPGA on that one, and of course the addressing is different vs. PCI
It does look kind of familiar, doesn't it? From the 5-pin sockets, it must be the S version (single-ended inputs). I'll watch it for amusement, but $150 for an *ISA* card? They'd better hope for an offer.
Relatively huge breadboard area, though.
Things getting back to normal after the workshop and 4th holiday?
Question: If I have an encoder input and the "counts" or "position" shows up as a hal pin, is there any way to use this position in a gcode program?
Yes, sort of. Tomorrow I have to drive back to Toledo to work on a machine.
Position, but not as an axis distance in the usual manner?
"position" should be a float, which could be tied to an analog input of the motion controller, which can be read with M6<something>
Wow, M6 (toolchange?) has a "read analog input" option? I'll have to look that one up.
(I just don't know what follows the 6)
SWPadnos: I'll look into this!
KimK: It's actually a digital micrometer which is supposed to measure a part, them the machine takes off "X" amount of material.
then, not them
Well, them better get it done, I say.
you could use probing then
hmmm, well maybe not
yeah a probe comes to mind right away
but it's not an axis
(though I guess it could be ...)
that's true too
The way it works is that an M code actuates an air cylinder that pushed the mic body down depressing it's measurement plunger. The output is quadrature which goes to an encoder input. I could make it an axis if that would help.
the perversity of that makes me smile
That's interesting, so you're closing the "actually produced part loop"(?) with a micrometer measurement of the most-recently-produced part and then adjusting the cut of the next part to suit? Without adjusting the tool offset table? Or maybe you could do that too?
(the plunger hits the top of a part in the fixture, thus measuring it)
I'd love to see a photo of this setup. I don't understand how you move the part from the machine to the fixture and back
It's measuring the protrusion of a spark plug electrode. The machine then mills off another part establishing the spark gap.
[20:56:31] <cradek> http://www.linuxcnc.org/docs/devel/html/gcode_main.html#sec:M66-Input-Control
M66 E0 L0?
The fixture is on the bed of the machine. You stick the spark plug in the fixture and run the gcode program (after I write it that is...) and it is moved to a position under the micrometer head. The mic is pushed down and the "height" of the center electrode shows up on an encoder input.
cradek: Ah. Spark plugs = produced in volume + competition = we're not likely to see a picture, lol
Then it goes under the cutter where the height of the cut is proportional to the previously measured height of the center electrode.
sounds clever, but overly complicated when you could use a probe switch and the machine's own accuracy
probing vs measuring with a separate tool
Then it goes in front of a camera for inspection, and then....
I didn't think this up. I'm just the "integrator".
can you use an extremely fast delta robot somehow too? then the youtube video would be even better
Looking that M code up now...
I'm thinking I can take pictures, etc.
No ones mentioned anything about this being a big secret...yet.
Ha, "I'm just the integrator"... (it's that "tire swing" cartoon again, "What marketing sold", "What engineering designed", etc... finally---> "What the customer wanted")
Somebody handed Matt a mess and now he's got to make it work and come in under budget too.
cradek: I think M66 will work. I just connect encoder.position to motion.analog-in-00 and then the M66E0L0 block latches the value in #5399, which I can use in the program. I hope all this stuff actually works :)
yeah me too
KimK: It's not really like that. They've been really nice to work with, but they're used to spending money to solve problems, not seeking out the cheapest way to go, like I would.
you always have to wonder when you're about to use a feature used by approximately 0% of the user base
It was going to be even worse. The micrometer interface modules they were looking at had either serial output, or BCD as a group of like 20 parallel bits!
I looked through the catalog and found the quadrature output interface, much to my relief.
I was beginning to think that I'd have to convert BCD as HAL bits, plus maybe a decimal point or something to a floating point number I could actually use.
the buildbot just compiled emc2 master on lucid for the first time :-)
no packages yet though :-(
the lucid buildslave is using mozmck's rtai kernel on a 32-bit vm
KimK: it's that lucid vm i built while we were setting up your development machine at the cnc workshop
oops, it fails on realtime :-(
uhm, what's the secret location of the experimental lucid kernel packages, again?
on the wiki
the mozmck one?
JT-Hardinge: I can't tell you, it's a secret. Oh, wait, yes I can, lol. http://www.linuxcnc.org/mozmck/
LOL, that is what I was hinting at :)
Hey, JT, are you doing EMC2 docs? I'm trying to learn git, and developing basics, and maybe help with docs at the same time; so I'd like to send some doc typo and doc errata patches your way (or someone's way). Shall I send it/them to you when I have any?
yes, you can send them to me
one second or three and I'll get you the email address
JT-Hardinge: And do you have the latest advice for me on which version of LyX is recommended? The last time I looked into this I recall seeing a note (where?) about using an older version of LyX to edit, is that still in effect? I'm hoping the current Synaptic one is OK, but I can downgrade if I must.
the one on 8.04 is the one you have to use
let me wander down to the beer cave
KimK, did you get the pm?
Yes I did, thanks. So will there eventually be a big "project" to go through and "freshen" *all* of the docs once 10.04 is fully operational? (So that we're then using the LyX that goes with 10.04?) Just wondering how best to approach this, since 10.04 seems a lot better.
thanks KimK, that was the url i needed
btw i took the buildbot down because they're going to powercycle the building it's in tonight
KimK, my thoughts at the moment is to split the G-Code (M and O too) to a separate manual.
it just seems to be a separate subject from the GUI's etc.
other than that I don't have any big changes in mind atm
* jthornton wanders back out to the shop to finish setting up this job with only 4 tools :/
seb_kuzminsky: You're welcome. Ha, power, it's always something.
KimK: I think that only dev will be able to use 10.04 LYX at some point and time but not now.
JT-Hardinge: OK. And as far as the 8.04 LyX version, we will continue to use that until 8.04 is no longer supported? So that at some point (like for 6.06 now? soon?) there will be a "final" set of manuals that will remain there for whoever wants them, written in whatever they were written in, but they will no longer be updated?
I "think" (and jepler would know) that when it makes sense to do so we can start using the LYX version in 10.04 with DEV but would still have to use 8.04 with EMC 2.4.x
OK. Well, I'll go trim a few castings and wait to see if jepler has any advice for us later. I'll check back.
Ha, a reloader. No, castings this time, not casings.
heh, I read between the letters
These castings are about the size of a big (thick) paperback novel or dictionary, and have sprues or runners on two sides that I have to trim off with a bandsaw before I can even do anything with them.