Back
[00:05:59] <invite> night
[00:11:18] <Goslowjimbo> I also don't completely understand the rules of linking. Many times I could link in the hal box manually, but when I put it in a script, It would say that signal (or pin) was already linked.
[00:15:35] <tomp> Goslowjimbo: you need to read the hal manuals, the rules are simple ( tho i dont rememeber ) and exdperiment on a vrey small basis ( not inside emc, but inside hal as the manual tutor works)
[00:15:52] <tomp> in general, if hal sez its already conneted, it is ;)
[00:16:05] <tomp> and it will get clearer with simpler testing
[00:17:10] <tomp> i been stymied by similar, and it was relaxing and examining the lists presented by halmeter that showed me... the real name, the real connections, the things i wrote but didnt attach to a thread...
[00:17:51] <Goslowjimbo> Why do you not get the error when you enter it manually? The pins or signals are still connected.
[00:19:47] <Goslowjimbo> Halmeter shows connections? I thought it just showed values of signals or pins.
[00:20:19] <tomp> you choose he signal from one of 3 (lengthy) lists signal functions params (??)
[00:20:39] <tomp> as to why when you dont... wrapping my decaffinated head around that...\
[00:22:27] <Goslowjimbo> Oh, OK. you're talking about what I would call the hal box which shows the relationships and the values if you work down to the simplest level. I've been using that to get this far.
[00:22:30] <tomp> sorry but 8:30am here, gotta get to work. i'll be looking at hal and pyvcp next few days maybe i'll run into same & get some experience
[00:22:36] <tomp> /part\
[00:24:06] <Goslowjimbo> g'night
[00:37:40] <Poinca814> Poinca814 is now known as Poincare
[00:56:58] <toastydeath> i put on my robe and wizard hat
[00:57:13] <eric_unterhausen> bash.org?
[00:58:39] <toastydeath> i dunno
[00:59:08] <toastydeath> no, google says it's a bloodninja shtick
[01:08:16] <eric_unterhausen> http://bash.org/?search=robe+and+wizard+hat&sort=0&show=25
[01:11:15] <toastydeath> it was a resubmit from another, much older webpage
[01:19:01] <eric_unterhausen> bash.org is a great way to waste time and lose brain cells
[01:32:01] <toastydeath> agreed
[03:06:01] <ds3> j #maemo
[03:06:12] <ds3> blah
[03:06:35] <toastydeath> so close
[03:08:01] <ds3> ...yet the chuck went fly... ;)
[03:09:57] <ds3> is a special cutter the only practical way to put a radius on the outside edge of something?
[03:10:15] <ds3> X/Z or Y/Z plane radius
[03:14:52] <fenn> you could do it with a ball end mill.. it would just take forever
[03:16:34] <ds3> as in like I were contouring?
[03:17:45] <fenn> ya
[03:18:02] <ds3> yuck, that is forever and a moment
[03:18:29] <ds3> problem with small mills is I can't even use a radius EM even if I were to want to (unless they are made w/0.25" shanks)
[03:21:18] <toastydeath> on several occasions we've used large, long endmills
[03:21:23] <toastydeath> and put parts on edge
[03:21:28] <toastydeath> but there's no "easy" way
[03:22:02] <fenn> ds2 whhy not just get a router bit
[03:22:12] <fenn> you probably already have one
[03:25:01] <ds3> do router bits work well at around 3600RPM on aluminum or plastic?
[03:25:25] <toastydeath> yes
[03:25:51] <ds3> no issues with clearance/rubbing ?
[03:25:55] <toastydeath> nope
[03:25:57] <toastydeath> they have tons of rake
[03:26:01] <toastydeath> and plenty of clearance
[03:26:09] <toastydeath> lots of gullet volume
[03:26:19] <ds3> cool
[03:26:35] <ds3> then what makes then router bits and not EM's?
[03:29:05] <toastydeath> endmills are helical (usually), are made of tougher grades of HSS, there's less room in the gullet
[03:29:56] <toastydeath> I'm sure this is not true of all router bits, but endmills I use are sharper than the router bits we buy
[03:30:30] <toastydeath> router bits tend to have an enormous amount of rake ground in by radially offsetting the tooth, rather than by grinding the gullet to a form
[03:39:46] <ds3> I see
[04:00:42] <fenn_> fenn_ is now known as fenn
[04:33:35] <york> So, when I'm running latency-test on the *live* ubuntu 6 cd; everything is going pretty well until I start firefox and I take a big hit (jitter was around 10,000 , jumps to 157,000) -- is that an issue - it seems because of the CD access? If I don't have CD access during CNC - I'm ok right? Second question - do you always take the worst case jitter number? for the 1ms/25us threads?
[04:38:42] <SWPadnos> jumping to 157000 is a bad thing
[04:38:57] <SWPadnos> how much memory is in the computer you're testing with?
[04:39:03] <york> 512 mb
[04:39:20] <SWPadnos> hmmm. that may be too little for running off the CD
[04:39:23] <york> But the hit seems to come with cd access... as I'm running the live cd.
[04:40:03] <SWPadnos> right. the CD image is compressed, and it's possible that decompression (most likely run in the kernel) is causing the delays
[04:40:10] <SWPadnos> just a hunch though
[04:40:26] <york> So I guess I'll just need to try to install to hdd. So the point is - no matter what - CD access or xyz - the RT kernel should have < #### jitter given the system.
[04:40:57] <SWPadnos> its's OK for the number on the servo thread to be higher than the number on the base thread
[04:41:10] <SWPadnos> the base thread number is the one to enter into stepconf, if you use that
[04:41:20] <SWPadnos> or the one to use when doing step rate calculations, if you do them byhand
[04:41:38] <fenn_> fenn_ is now known as fenn
[04:41:46] <york> ok.
[04:42:57] <york> btw - I'm wanting to make a CNC machine to use with a punch tool - something I'll make (unless one exists?) to take a razor blade to cut out cardboard. So basically a programmable die cut machine. Have you heard of anyone doing such a thing?
[04:43:18] <toastydeath> yes, cnc turret punches
[04:43:20] <SWPadnos> not with a razor blade
[04:45:09] <toastydeath> look up steel rule diecutting and turret punches
[04:45:53] <toastydeath> a thin blade like a ruler is bedded on a die block, and surrounded by neoprene or cork
[04:46:03] <toastydeath> it stamps down, cuts whatever
[04:46:41] <toastydeath> the turret punch has a programmable table and multiple tools, so if you have a 6" long rule, you can move the table and punch every 6" to cut a line.
[04:47:17] <york> my thought is to basically use the razor blade as a single steel rule die, then move the head and then give it a down command. I'm thinking to put another stepper to rotate the head.
[04:47:54] <york> toastydeath: how is g-code generated for that?
[04:48:03] <toastydeath> i've never seen turret press g-code
[04:48:20] <toastydeath> what i do know about it is that it's a bunch of coordinates and tool changes.
[04:48:27] <toastydeath> call a tool, go to a place, the machine punches.
[04:48:33] <toastydeath> next location, next location, etc.
[04:49:09] <york> I guess for my project (cutting out hexes or squares from paper) it should be simple enough to do by hand...
[04:49:28] <toastydeath> oh, yeah
[04:49:32] <toastydeath> it is done mostly by hand.
[04:49:41] <SWPadnos> definitely look into loops and subroutines
[04:49:54] <toastydeath> but you've got a more complex machine than the ones in use
[04:49:58] <york> Say I had a 1 inch blade, I'd move 1.010 inches over to leave a little sprue(?) to hold the peice in place until punched.
[04:50:01] <ds3> punch machines are dangerous
[04:50:40] <york> I figure I can do pneuamtic (control PSI for pressure) or a servo on a screw to push the blade down.
[04:50:46] <toastydeath> york: the actual machining strategy is dead simple
[04:51:08] <toastydeath> the complex part is your rotary head
[04:51:23] <york> Out of curiosity -- would you move the tool or the table (is any one common for a CNC machine?)
[04:51:40] <toastydeath> both are common.
[04:51:59] <toastydeath> for a punch that's going to cut cardboard, i'd probably go with a router-type arrangement
[04:52:06] <toastydeath> but with a much beefier gantry.
[04:52:23] <toastydeath> so a table that moves in X, a stationary gantry, and the head moves on Y and Z.
[04:52:31] <toastydeath> and C, obviously.
[04:52:48] <toastydeath> but that's just my opinion and any configuration you can come up with will work.
[04:52:50] <SWPadnos> and you also may want a punch+die kind of setup - you need to go through the material, but not attempt to cut the table itself
[04:53:00] <york> Hmm. I'd never thought of X table, Y/Z head.
[04:53:00] <SWPadnos> or you'll dull the blade awfully quickly
[04:53:13] <toastydeath> if you're willing to do it, you might want to have a Z axis move the stop
[04:53:25] <toastydeath> and the "punch" command just has a ram set at 90 psi
[04:53:34] <toastydeath> and bludgeons down on the stop.
[04:53:40] <toastydeath> save your blade that way.
[04:53:50] <SWPadnos> C isn't ideal for tool rotation, since C moves would be coordinated with XYZ
[04:54:07] <SWPadnos> oh, nevermind - you were talking about orienting the tool
[04:54:08] <york> SWPadnos, by punch+die - do you mean using shearing force vs. (ehm, I guess) cutting/splitting force?
[04:54:08] <toastydeath> swpadnos: i don't follow
[04:54:26] <toastydeath> york: no, he means having a block set up to recieve the blade
[04:54:37] <SWPadnos> toastydeath, I initially thought you were talking about using C to select tools, but now I realize it's for orient
[04:54:37] <toastydeath> a slot in it, or some other arrangement so the blade can make the cut but not hit the table.
[04:54:41] <toastydeath> ah
[04:54:54] <york> and can you elaborate on C, I'm afraid I don't follow. Rotational (of the head?)
[04:55:03] <SWPadnos> yes
[04:55:26] <SWPadnos> XY = moving around the plane of cardboard, C is rotation of the blade in that plane
[04:55:49] <SWPadnos> Z or something is the "punch" command, which cuts that line segment
[04:55:59] <toastydeath> with a head that can orient the blade, it would become more complicated to make a die block
[04:56:02] <toastydeath> for the punch
[04:56:07] <toastydeath> it might be worthwhile though
[04:56:10] <SWPadnos> but you don't want to mash your cutter down on a steel table all the time, you want it to go through a slot behind the cardboard
[04:56:24] <SWPadnos> it would just have to be slaved - not a real problem
[04:56:28] <toastydeath> it also makes the table more complex
[04:56:34] <SWPadnos> other than tool shape changes of course :)
[04:56:42] <toastydeath> you'd have to make it like a real turret punch press, instead of like a mill or router table
[04:56:47] <SWPadnos> yeah, I'm too tired to think of how to do it, actually
[04:56:59] <toastydeath> the table on a punch press is just an open frame, like an EDM
[04:57:08] <toastydeath> so you have this flat stationary thing to put the work on
[04:57:10] <york> I'm not sure how I'd mount the cardboard I'm cutting... I guess it could be free floating... I'd just always envisioned it taped down.
[04:57:12] <toastydeath> and the "table" is just edge clamps.
[04:57:21] <SWPadnos> I did see a system that used EMC for positioning end stops for a punch press, but the material moved over the punch location
[04:57:22] <toastydeath> so you clamp the edge of the part, and it just drags it around on the stationary table.
[04:57:45] <york> I guess if I have steppers, technically I could have two steppers one rotating the block and one the head. Sounds ineffecient, but may be the simplest thing...
[04:57:54] <SWPadnos> yeah, with cardboard, you could use rollers and a couple of capstans (almost) for motion, and have a stationary punch
[04:58:05] <toastydeath> yeah.
[04:58:11] <toastydeath> you need a LOT of space though
[04:58:15] <toastydeath> because you can no longer use a gantry.
[04:58:20] <toastydeath> punch presses are very large machines.
[04:58:37] <york> Well, I figure my biggest media will be 8.5x11in
[04:58:42] <toastydeath> oh, then not so big.
[04:59:05] <toastydeath> i kinda figured you'd be ripping apart UPS boxes or something
[04:59:06] <toastydeath> sry
[04:59:07] <york> So I should be able to use EMC to control whatever contraption I dream up?
[04:59:18] <toastydeath> sure
[04:59:21] <york> my plan in cereal boxes..
[04:59:23] <york> :)
[04:59:35] <SWPadnos> if you can dream up a contraption, you can dream up the configuration to control it with EMC2 :)
[04:59:50] <toastydeath> i would suggest not flying by the seat of your pants though, sit down and say step by step how you're going to put the material on the table
[04:59:55] <toastydeath> and what the machine will have to do
[05:00:02] <york> Just to clarify - gantry is the term for the mechisim which moves the tool...
[05:00:03] <toastydeath> since you are kind of moving into uncharted territory
[05:00:13] <toastydeath> no, a gantry is a bridge over the table
[05:00:26] <Valen> york the latency is probably caused by the actual disk access itself, that can often throw a big lump of CPU out the window while its spinning waiting for the access
[05:00:27] <SWPadnos> think like a big crane at a manufacturing plant
[05:00:54] <SWPadnos> a beam moves along tracks (usually made of two other large beams, which don't move)
[05:00:54] <york> right, but doesn't it normally move the tool?
[05:00:54] <toastydeath> a gantry machine CAN have a mobile head, or the whole gantry can move, or it can be completely stationary
[05:01:06] <SWPadnos> and the winch (tool) moves along the moving beam
[05:01:20] <toastydeath> the contrasting term is a C-frame machine
[05:01:31] <toastydeath> where the head is not connected to both sides of the machine, but only on one, making a C shape.
[05:01:35] <york> Valen: so you wouldn't sweat it? (or is the theory for the 1GB of RAM that all disk access should be cached whilest EMC is running?)
[05:02:13] <Valen> more ram is never a bad thing
[05:02:14] <SWPadnos> disk access shouldn't cause a 157ms spike
[05:02:20] <Valen> It might be a bad driver
[05:02:26] <york> CD-ROM disk access though?
[05:02:29] <SWPadnos> but the CD is significanty slower, and probably has to spin up
[05:02:30] <Valen> If its accessing the CD
[05:02:41] <SWPadnos> +l
[05:02:53] <Valen> I reckon try it
[05:03:24] <york> Now it sounds like stepper motors are the simplest implementation.
[05:03:32] <SWPadnos> oh, here's a nice gantry example:
http://www.oneoceankayaks.com/madvac/cnc_images/wholemachine1lg.jpg
[05:03:37] <Valen> I got a price on my big servo's
[05:03:38] <SWPadnos> ignore the guy
[05:03:53] <toastydeath> that is a nice gantry machine
[05:03:56] <Valen> $460 + 70 for 500 line encoders
[05:04:12] <SWPadnos> what power and type?
[05:04:15] <Valen> think 500 would be enough? or should i run 1000
[05:04:22] <Valen> magmotors S28-400
[05:04:31] <SWPadnos> that tells me nothing
[05:04:35] <SWPadnos> AC, DC ...
[05:04:36] <Valen> http://www.magmotor.com/brushed/brushed.html
[05:04:41] <SWPadnos> ah, DC
[05:04:49] <Valen> down the bottom
[05:04:58] <SWPadnos> what size machine?
[05:05:08] <Valen> medium
[05:05:09] <york> Have you guys ever tried automobile power-window motors or windshield wiper motors?
[05:05:12] <Valen> ~500 kg
[05:05:28] <york> and servoing them?
[05:05:31] <toastydeath> swpadnos: additionally i like your capstan idea for a punch machine
[05:05:34] <toastydeath> since the feed loads are so low
[05:05:41] <Valen> but i'm planning on direct driving the ballscrews
[05:05:56] <SWPadnos> Valen, those are probably big enough. a good Bridgeport retrofit usees ~30 in-lb motors, an dthe machine is ~2000 pounds
[05:06:05] <SWPadnos> nope, you won't want to do that
[05:06:14] <Valen> york, I was going to use car fan motors in a cheapy one
[05:06:20] <SWPadnos> toastydeath, yeah, though it would get tough once you cut pieces out :)
[05:06:30] <toastydeath> ?
[05:06:47] <toastydeath> ohh you meant to drive the material DIRECTLY
[05:06:51] <SWPadnos> there would be gaps in the cardboard eventually, so the capstans would have nothing to push on
[05:06:54] <SWPadnos> yeah :)
[05:07:05] <toastydeath> that would be cool as a concept, but yeah
[05:07:20] <toastydeath> i was just thinking of driving clamping rails
[05:07:21] <SWPadnos> Valen, what screw pitch and diameter?
[05:07:24] <SWPadnos> and length?
[05:07:30] <Valen> SWPadnos, that one is only 15 pound inches though?
[05:07:41] <SWPadnos> yeah, more or less
[05:07:49] <toastydeath> i can easily stop the commercial retrofit machines at work with one hand
[05:07:52] <SWPadnos> half size motor, half size machine ...
[05:07:55] <toastydeath> or cause them to fault, anyway
[05:08:02] <toastydeath> (bridgy)
[05:08:09] <Valen> 25mm x 5mm threads and about 750mm long max length (500mm travel)
[05:08:15] <SWPadnos> do they have 30 in-lb cont. servos on them?
[05:08:26] <toastydeath> iunno
[05:08:29] <SWPadnos> heh
[05:08:30] <york> Now you could gear any given motor down to get the power you need, the only con would be machining time would go up?
[05:08:43] <Valen> my maths says it should have a peak force of 1300kf (2600 pounds)
[05:08:47] <SWPadnos> Valen, you'll be lucky to get more than a couple hundred RPM on those screws
[05:08:55] <SWPadnos> before they bend like a jump rope
[05:09:16] <Valen> 25mm diamiter ballscrews? thats an inch
[05:09:20] <SWPadnos> yep
[05:09:42] <Valen> We were also thinking of putting a few hundred kg worth of preload on them in tension
[05:09:55] <toastydeath> um.
[05:09:58] <SWPadnos> hmmm. maybe 500 RPM or so
[05:09:59] <york> Valen: what is your CNC for? Is it using EMC?
[05:10:00] <toastydeath> why not just buy a better ballscrew
[05:10:06] <toastydeath> instead of hanging weight on an axis
[05:10:14] <SWPadnos> but even if you cvould get to 1000, that's still 1/4 the rated speed of the motor
[05:10:33] <SWPadnos> you usually want to design for 80% of max speed for a servo
[05:10:38] <Valen> toastydeath, its preload, its just loading up the bearings
[05:10:42] <Valen> no actual mass
[05:10:55] <Valen> toastydeath what would you use for a screw then?
[05:11:04] <SWPadnos> thicker :)
[05:11:13] <SWPadnos> how fast do you want the machine to move>
[05:11:15] <SWPadnos> ?
[05:11:20] <toastydeath> dual nut ballscrews with the right amount of preload when they showed up in the box at my door?
[05:11:21] <Valen> fast enough ;>
[05:11:35] <toastydeath> it's hard to buy a screw with "fast enough" preload
[05:11:43] <toastydeath> you usually need a speed and a mass
[05:11:52] <Valen> by preload i mean the bearings that the screw turns in
[05:11:53] <SWPadnos> note that the motors on the BP are 30 in-lb, and geared 2:1 to the 5TPI screws
[05:12:05] <SWPadnos> (which are 1.25" thick, I think)
[05:12:13] <SWPadnos> maybe 1.375
[05:12:25] <Valen> yeah so this is just a little bit smaller in terms of diamiter and about half the mass
[05:12:45] <SWPadnos> yeah. I think stiffness is a square law thing though
[05:12:46] <Valen> 1" on a ~1000lb machine
[05:13:02] <SWPadnos> but then again, the BP screws are twice as long
[05:13:08] <toastydeath> stiffness is measured in in^4
[05:13:17] <SWPadnos> close to 3x actually, but also held in the middle by the yoke
[05:13:24] <toastydeath> a 25% increase in diameter is twice as stiff.
[05:13:34] <SWPadnos> oh, ok
[05:13:43] <Valen> If we have ~2000 pounds of tension on the screw (ie the tensile force is higher than the maximum force that can be applied) it should be fairly straight i would imagine?
[05:13:57] <toastydeath> lol wut
[05:14:03] <SWPadnos> it will be straight, the problem is "whipping"
[05:14:06] <toastydeath> the preload doesn't affect the straightness of anything
[05:14:24] <Valen> ok i think you are misunderstanding what i mean
[05:14:28] <SWPadnos> you can only spin it so fast
[05:14:29] <toastydeath> prolly
[05:15:11] <Valen> our plan is to hold the bearings on the left side, then on the right side of the screw torque the other bearings such that it applies a tensile force to the rod
[05:15:17] <SWPadnos> in any case, you won't be spinning it anywhere near 4000 RPM (or 3600 RPM), so you'll want to use some gearing between the motor and the screw if you want to use the power of the servo wisely
[05:15:39] <SWPadnos> err, 3200 is 80% of 4000, isn't it? :)
[05:15:50] <Valen> the winding I'm looking at should be able to hit ~2800 RPM at 160 volts or so
[05:16:02] <toastydeath> valen: i don't understand why you want tensile load on the screw.
[05:16:14] <SWPadnos> if you geared 3.6:1 or 4:1, you'd still have a top speed of ~5M/min, but with much better accel
[05:16:15] <Valen> to stop it from "whipping"
[05:16:21] <toastydeath> considering manufactuers of machine tools go to completely bizarre lengths to NOT do just that
[05:16:27] <toastydeath> exactly how fast are you going here?
[05:16:46] <Valen> the "theoretical" top speed is 400 IPM i believe
[05:16:48] <Valen> per axis
[05:16:51] <toastydeath> okay, that's really easy
[05:17:00] <SWPadnos> I'll be surprised if the screw can be safely spun at 2800 RPM, so make sure you have a camera running when you try it :)
[05:17:02] <toastydeath> figure out the rpm of the screw at 400 ipm
[05:17:12] <SWPadnos> 2000
[05:17:14] <toastydeath> then go find the shaft whip calculations
[05:17:25] <toastydeath> and it will tell you how big of a rod you need
[05:17:43] <toastydeath> screw, rather
[05:17:45] <Valen> SWPadnos, the calculator from the ballscrew manufacturer says in its low end bearing configuration its good to 10000RPM
[05:17:53] <toastydeath> bazing!
[05:17:58] <toastydeath> no preload necessary then
[05:17:59] <SWPadnos> over what length?
[05:18:06] <Valen> 750mm
[05:18:14] <SWPadnos> huh. surprising
[05:18:23] <SWPadnos> like I said, make sure you've got a camera running ;)
[05:18:31] <SWPadnos> time for bed. night folks
[05:18:34] <toastydeath> night
[05:18:45] <Valen> the max RPM we can hit before running out of volts is going to be 2500 or so anyway
[05:18:47] <toastydeath> putting a screw in tension or compression does Really Bad Things (tm) to your accuracy
[05:18:56] <toastydeath> if you care about such things, anyway
[05:18:57] <slick-> hello
[05:18:58] <Valen> yah, it'll bend the bed as well
[05:19:14] <york> Thanks so much for your help/input. One last question - I have some steppers (can't find a datasheet Minebea 23LM-C006-T2) which are rated at 24V/phase and 0.3A/phase -- that's 7.2 Watts. Power = Torque * Angular speed. How can I find how many oz-in these steppers can exert by math? By experimentation I'm thinking pump 24V into a phase, then attach a 6 inch bar (l) and then start adding weight until the motor turns, then I can know o
[05:19:15] <york> z-in?
[05:19:51] <toastydeath> york: you won't be able to find the continuous rating.
[05:19:54] <york> It did seem for the lighter routers, they were doing stuff in oz-in.
[05:20:05] <toastydeath> you will find the stall torque, which is bad.
[05:20:27] <toastydeath> i have no idea how to calculate the maximum continuous torque of a motor
[05:21:01] <york> stall torque bad? Wouldn't that be a good thing to know though?
[05:21:07] <assargadon> slick-: hi :)
[05:21:08] <toastydeath> no
[05:21:14] <toastydeath> you'll burn the motor out
[05:21:19] <toastydeath> if you design around the stall torque.
[05:21:21] <Valen> If you know the max cont wattage
[05:21:30] <york> Stall torque >= continous torque though, right?
[05:21:41] <Valen> and the amps per ounce inch you can work out the max cont torque
[05:21:43] <toastydeath> less than.
[05:21:46] <toastydeath> usually much less than.
[05:22:32] <Valen> york are those ratings max or cont ratings?
[05:22:49] <york> I don't know - it's just what's printed on the stepper.
[05:23:01] <york> I think minebea no longer makes these steppers.
[05:23:06] <york> I couldn't find datasheets on the web.
[05:23:17] <Valen> how physically big are they?
[05:23:27] <Valen> anybody heard of "rollerscrews" ?
[05:23:43] <york> I think they are NEMA-23
[05:23:58] <toastydeath> yeh, i have heard of them
[05:24:00] <Valen> I'd guess that those ratings are cont ratings then
[05:24:13] <Valen> better or worse or what compared to a ballscrew?
[05:24:19] <york> 2 in diameter...2in lenght.
[05:24:22] <toastydeath> i suppose it depends on the application
[05:24:35] <toastydeath> but i'm not aware of any particular pros
[05:24:41] <Valen> york yeah that should be able to disipate 7 watts
[05:24:51] <toastydeath> of roller screws over ballscrews, and ballscrews are more common.
[05:25:21] <toastydeath> i'm not going to make any guesses as to which is really superior
[05:25:27] <york> On the order of oz-in if you had to guess. greater or less than 100 oz-in?
[05:25:56] <Valen> << les
[05:26:35] <Valen> but I'd put .3A through it and see
[05:26:56] <Valen> hang onto the case and make sure its not getting too warm
[05:27:04] <york> But if go slow enough -- I'll have better luck moving the tool/table though...
[05:27:06] <york> ?
[05:27:23] <Valen> guess so, its your time ;->
[05:27:35] <york> ok thanks again all.
[05:27:42] <toastydeath> not really
[05:27:52] <toastydeath> speed has suprisingly little to do with point to point accuracy
[05:28:13] <Valen> oh yeah, by slow do you mean just turning slow or do you mean more gearing
[05:28:29] <toastydeath> even with gearing, you add a whole tolerance stack
[05:28:34] <toastydeath> between the encoder and you
[05:28:44] <Valen> yeah, (thats why i want direct drive)
[05:29:23] <toastydeath> for really high feed rates, you drive the ballnut instead
[05:29:25] <toastydeath> no whip
[05:29:44] <Valen> be hard to get the power to it though i'd imagine,
[05:29:50] <Valen> at least on smaller machines
[05:29:54] <toastydeath> probably
[05:30:07] <toastydeath> on industrial machines, even small ones are "big"
[05:30:15] <toastydeath> so they've got space for the wire looms
[05:30:26] <Valen> its space for the motor thats my problem lol
[05:30:29] <toastydeath> or they fix the ballscrew to the table, and the ballnut to the frame
[05:30:48] <toastydeath> and drive it that way, but it takes up lots of space.
[05:31:18] <Valen> I thaught they would have typically just stuck the motor next to the ballscrew and belt driven it or something
[05:31:33] <Valen> Although that does make an interesting application for a motor we are developing
[05:31:47] <Valen> It could actually be integrated around the ballscrew itself
[05:31:58] <toastydeath> it is on fast machines
[05:32:01] <toastydeath> the ballnut IS the motor
[05:32:07] <toastydeath> just like the spindle on direct drive lathes IS the motor
[05:32:22] <Valen> toastydeath, think people would like self driven ballnuts? brushless dc servo motor style
[05:32:32] <toastydeath> no
[05:32:57] <Valen> you just said they did
[05:33:01] <Valen> toastydeath: the ballnut IS the motor
[05:33:06] <toastydeath> no, i said big, fast commerical machines have that
[05:33:16] <Valen> how many mega$?
[05:33:17] <toastydeath> which is not a very big market
[05:33:26] <toastydeath> 200-500k.
[05:33:30] <Valen> what if it could be done for less than mega$?
[05:33:52] <Valen> the sort of thing that would work on inch shaft
[05:33:52] <toastydeath> if you can make a machine move a ton of metal at 6000 ipm
[05:33:59] <toastydeath> for less than 200k
[05:34:11] <toastydeath> you probably would have a very large customer base beyond machine tools.
[05:34:32] <Valen> heh that might be our automotive sized ones perhaps ;->
[05:34:38] <toastydeath> the issue is those machines have to move 2000 lbs, accurately, at 6000 ipm.
[05:34:55] <toastydeath> Kitamura has repeatabilities under a tenth
[05:35:06] <toastydeath> and geometric accuracy in the millionths
[05:35:06] <Valen> the prototypes we are developing at the moment are around 100mm diamiter
[05:35:15] <Valen> thats all down to the ballscrew
[05:35:18] <Valen> we just have a motor
[05:35:34] <Valen> that could couple coaxially rather easily onto a ballnut
[05:35:45] <toastydeath> i mean if you want to market it and see who bites go for it
[05:35:54] <toastydeath> it's just not a product that has been popular with smaller machines
[05:36:04] <Valen> mainly because of the price?
[05:36:06] <toastydeath> perhaps due to marketing reasons more than technical difficulty
[05:36:22] <toastydeath> but there's more technical difficulty in designing a ballnut that's driven
[05:36:29] <toastydeath> into a machine, that is
[05:36:32] <toastydeath> not the ballnut itself.
[05:36:45] <toastydeath> then there's price
[05:36:49] <Valen> needs more room and wiring looms etc
[05:36:50] <toastydeath> if you're not moving fast, why do it?
[05:37:04] <toastydeath> you get worse surface finishes
[05:37:09] <Valen> If you can make the price similar though
[05:37:11] <toastydeath> a heat source right under the table.
[05:37:16] <Valen> orly?
[05:37:20] <toastydeath> yarly
[05:37:39] <Valen> I wouldn't have thaught it would have mattered that much at the smaller scale
[05:37:52] <toastydeath> well again, i'm making some assumptions about target market
[05:38:00] <toastydeath> someone who wants to move fast.
[05:38:05] <Valen> we are planning a water cooling option for our motors anyway so bonus there
[05:38:15] <Valen> although that was more the automotive scale ones again
[05:38:40] <toastydeath> fast machines have cooled screws and cooled nuts
[05:38:40] <Valen> looking at around 100Kw or so output power at this stage for a smallish automotive scale one
[05:38:49] <toastydeath> automotive scale?
[05:38:58] <toastydeath> as in, machines designed to machine automotive components?
[05:39:06] <Valen> We were origionally planning to make motors for electric cars
[05:39:19] <Valen> wheel motors for robots and the like
[05:39:41] <Valen> thats what our prototype motors are, 100mm diamiter wheel motors for robots
[05:39:57] <Valen> well 80 before tyres and the like
[05:40:13] <toastydeath> right
[05:40:25] <Valen> they seem to be matching what the theory says they should do
[05:40:34] <toastydeath> the motor is not the issue though
[05:40:40] <toastydeath> in what we're talking about
[05:40:46] <Valen> It is if thats the bit I can make lol
[05:40:47] <toastydeath> you could connect tiny hamsters in wheels if you wanted
[05:40:54] <toastydeath> right but that's why i'm arguing with you so much
[05:41:33] <toastydeath> you are coming at it from a motor design and technical standpoint
[05:41:57] <toastydeath> versus from the perspective that the machine will have to meet a goal
[05:42:26] <toastydeath> why do something new if there aren't any benefits?
[05:42:44] <Valen> There would be benifits i'd imagine
[05:42:51] <toastydeath> you can't just imagine benifits
[05:43:14] <toastydeath> they not only have to exist and outweigh the economic problems associated with changing technology, but they have to do something to further the goal of the machine
[05:43:28] <toastydeath> you get a LOT of issues when you mount a motor to the machine table
[05:43:40] <Valen> If the cost of the motor + ballnut is comparable to the cost of a traditional external motor and ballnut system then there are savings to be made in terms of end fixities and the like
[05:43:54] <Valen> Other than wiring and clearance issues what are they?
[05:43:59] <toastydeath> it is VERY simple to mount a ballscrew the wayi t mounts this way
[05:44:15] <Valen> not paticularly cheap though
[05:44:16] <toastydeath> it is much more difficult to mount a driven ballnut
[05:44:24] <Valen> decent end fixities are ~$300
[05:44:36] <toastydeath> why do you think you can use cheaper parts on your product?
[05:44:53] <Valen> I'm thinking you can use fewer parts
[05:45:07] <Valen> because you arent spinning as much
[05:45:08] <toastydeath> if you are putting a driven ballnut on a machine
[05:45:23] <toastydeath> you need to have it floating
[05:45:29] <Valen> you only need one precise spinning to fixed mount
[05:45:32] <toastydeath> either with fixtures
[05:45:39] <toastydeath> or with hinges
[05:45:42] <toastydeath> *flextures
[05:46:42] <toastydeath> the nut on machine tools is gimpy for a reason, so that it flexes and movement and twist in the screw doesn't move the table in an undesired way
[05:46:44] <Valen> mmm true
[05:46:45] <JymmmEMC> Heh, fixed mount - famous last words.
[05:46:50] <toastydeath> and all the big mounting crap can be out at the edges
[05:46:52] <toastydeath> where it matters less
[05:47:12] <toastydeath> if you have a motor with heavier mounting you have to deal with that extra, and unwanted, rigidity
[05:47:26] <Valen> so what would it need to do in order to be a good seller in the "somewhat smaller" end of the scale?
[05:47:55] <toastydeath> it needs to be almost entirely vibration free, it needs to run cool, it needs to be easy to wire, sealed from the chips and oil that will get to it,
[05:48:12] <toastydeath> and it must be mechanically isolated in five of six degrees of freedom.
[05:48:29] <Valen> I was thinking of using our motors in place of the magmotors when they are fully functional externally but this is an interesting idea
[05:48:40] <Valen> how do you mean mechanically isolated?
[05:48:41] <JymmmEMC> Five out of six dentists agree...
[05:48:57] <toastydeath> valen: if the ballnut twists in any way, it cannot impart that motion to the table
[05:49:08] <toastydeath> if it shifts in either of the non-driven directions, it cannot impart that motion to the table
[05:49:13] <toastydeath> the only motion you want is axial.
[05:49:19] <Valen> we are hitting 95% efficency now and there is no iron in the motor so its pretty smooth
[05:49:35] <Valen> so theres your cool and vibration free part ;->
[05:49:50] <toastydeath> "pretty smooth"
[05:50:05] <toastydeath> needs to be "an order of magnetude smoother than a servo that's mounted at the end of an axis"
[05:50:08] <Valen> ok its as smooth as the bearings, happy now?
[05:50:13] <toastydeath> no?
[05:50:28] <Valen> lol it cant get much better than that
[05:50:36] <toastydeath> you're putting the bearings in it
[05:50:40] <Valen> there is 0 cogging torque
[05:50:53] <Valen> there are bearings in our ones now because we are using them as wheels
[05:51:04] <toastydeath> er, what i meant by that
[05:51:10] <toastydeath> is that you're the one deciding the smoothness of the bearings
[05:51:20] <Valen> obviously in the new application there would be changes
[05:51:43] <toastydeath> and that the surface finish capability of a machine is very easily destroyed by a noisy driven ballnut
[05:52:07] <Valen> It should be about as close to perfect as its possible to get
[05:52:15] <toastydeath> then that won't be an issue
[05:52:21] <toastydeath> so if you have a cool and smooth motor, the motor design is done
[05:52:32] <Valen> mechanically there's nothing in it to cause a first order departure from "snooooth"
[05:52:37] <Valen> smooth
[05:53:22] <Valen> steppers and servos all have big lumps of iron in them that cause cogging and the like, thats why they have to have skewed windings and the like, that hurt electrical efficency
[05:53:36] <toastydeath> right, but the other 90% of the problems with the ballnut
[05:53:40] <toastydeath> have nothing to do with your motor
[05:53:48] <Valen> that one is out of my hands
[05:53:59] <Valen> I presume somebody else would have solved that problem before though
[05:54:19] <toastydeath> they haven't, not economically, which is why you don't see that drive layout in all but the most expensive machines
[05:55:11] <toastydeath> and then they're going to linear motors
[05:55:20] <toastydeath> which are faster and have fewer problems with the mounting
[05:55:20] <Valen> mmmm funky
[05:55:35] <Valen> are they induction or permanent magnet typically?
[05:55:41] <toastydeath> i don't know.
[05:55:45] <Valen> hrmmm
[05:55:59] <Valen> How would you like a linear motor in the smaller scale size?
[05:56:08] <toastydeath> very poorly, i'd imagine
[05:56:14] <Valen> why?
[05:56:26] <toastydeath> i don't do anything where i could see an advantage to them.
[05:56:30] <Valen> plenty of room to get enough torque
[05:56:34] <toastydeath> but there are pleny of dudes who need tiny, fast robots.
[05:56:43] <toastydeath> semicon and pick/place
[05:56:58] <toastydeath> high accuracy pick/place, not like, lego bricks
[05:57:23] <Valen> I imagine that they would put some sort of DRO next to it rather than running open loop in an aplication like that?
[05:57:36] <toastydeath> dunno, i don't deal with that stuff
[05:57:42] <toastydeath> don't know a bloody thing about robot control stuff
[05:57:48] <toastydeath> =)
[05:57:51] <Valen> lol
[05:58:02] <Valen> Hmmm I might look at that a bit closer
[05:58:20] <toastydeath> if i had to invest in a company, i'd invest in the linear motor company over the one trying to drive a ballnut.
[05:58:34] <Valen> If we can make a retrofit kit for an X3 size with linear motors it might be interesting
[05:58:39] <toastydeath> zip zip zip
[05:58:44] <Valen> people like the "latest and greatest"
[05:58:55] <Valen> and no pesky ballscrews to muck with
[05:59:00] <toastydeath> but also speed limited
[05:59:01] <eric_unterhausen> people like cheap and easy
[05:59:03] <toastydeath> due to bearing quality
[05:59:21] <Valen> your the air bearing guy arent you? or was that somebody else?
[05:59:26] <toastydeath> yeah that's me
[05:59:37] <toastydeath> =)
[05:59:39] <Valen> well there ya go match made in heaven l->
[05:59:42] <toastydeath> hahaha
[05:59:52] <toastydeath> the bearing set would probably cost 1500 per machine
[05:59:57] <toastydeath> to float a table.
[06:00:07] <toastydeath> and that's like, skimping.
[06:00:10] <Valen> thats still in the ballpark for most of the conversions
[06:00:20] <toastydeath> well like, i'm saying that just the bearings
[06:00:21] <Valen> they are typically 4K or so
[06:00:26] <toastydeath> hmm
[06:00:32] <Valen> you could run on the existing slides i'd imagine
[06:00:41] <toastydeath> probably
[06:00:45] <toastydeath> i'd have to look at them
[06:01:32] <toastydeath> you would have to machine the carriage though
[06:02:01] <Valen> Probably easier just to make a mill from first principles
[06:02:02] <toastydeath> because even slim bearings are like, .5"
[06:02:28] <Valen> now theres an idea
[06:02:42] <toastydeath> or .4" i forget
[06:02:42] <Valen> just float the table on a 2 axis bearing
[06:02:54] <Valen> and use a 2 axis linear motor underneath it
[06:02:59] <toastydeath> yeah, you could do that.
[06:03:15] <Valen> positivley cheap ;->
[06:03:28] <toastydeath> you can run on flycut surfaces, if you took aluminum U chanell
[06:03:29] <toastydeath> *channel
[06:03:31] <Valen> just need one really bigass flat thats made of plastic
[06:03:36] <toastydeath> they're just not very accurate
[06:03:48] <Valen> perhaps glass
[06:03:52] <Valen> yes glass would be best
[06:03:55] <toastydeath> glass isn't very flat.
[06:04:03] <Valen> it can be made to be though
[06:04:10] <toastydeath> sure, but then so can aluminum.
[06:04:13] <Valen> and its a nice bearing surface
[06:04:25] <Valen> aluminium is conductive though, it will muck with the motor
[06:05:23] <toastydeath> hm.
[06:05:30] <toastydeath> i was thinking more of a stacked axis thing again
[06:05:39] <toastydeath> rather than the flat
[06:05:44] <toastydeath> so that makes more sense
[06:05:54] <toastydeath> now that i've caught up again.
[06:05:59] <Valen> actually if you wanted to you could make the flat out of steel or al
[06:06:11] <Valen> then use and induction system to shunt the "table" around
[06:06:27] <Valen> only thing is it will need some sort of DRO system on it to get postion
[06:06:35] <Valen> cos its really really open loop ;->
[06:06:38] <toastydeath> oh hey, how about this.
[06:06:45] <toastydeath> L shaped plates
[06:06:49] <toastydeath> one long leg, one short
[06:06:56] <toastydeath> mount a linear motor on the short leg, sticking up
[06:07:02] <toastydeath> and drop another L shaped plate on top
[06:07:08] <toastydeath> the air bearings can just fly on the big surface
[06:07:46] <toastydeath> eh
[06:07:50] <toastydeath> not really.
[06:08:01] <toastydeath> i am tired, and going to bed, goodnight sir
[06:08:04] <Valen> lol
[06:08:19] <Valen> I was up till 5:00AM talking to suppliers in the USA
[06:08:24] <Valen> its 4:00 PM here now
[06:08:27] <toastydeath> lol
[06:08:42] <Valen> time to take the dogs for a walk then go get sushi
[06:08:42] <toastydeath> awesome
[06:08:59] <toastydeath> good luck with your adventures in canis familiaris and dead fish
[06:09:05] <Valen> lol
[06:09:08] <Valen> catchya
[06:19:52] <craigw_> craigw_ is now known as cw76
[06:23:43] <cw76> cw76 is now known as craigw_
[06:23:52] <craigw_> craigw_ is now known as craigw__
[06:25:11] <craigw__> craigw__ is now known as cw76
[06:28:45] <cw76> cw76 is now known as KB5UEJ-EM50
[06:30:57] <pjm__> good morning
[06:31:07] <Valen> afternoon
[06:34:43] <Valen> can emc handle input from DRO type scales and use that to close the loop on a servo type system?
[06:35:53] <pjm__> i guess it can, the outputs of those are normally quadrature, so it should be possible to simply interface them etc
[06:36:02] <Valen> hmm funky
[06:36:33] <Valen> Pondering the practicalitys of a 2D floating linear actuator type design
[06:37:02] <Valen> so basically you start off with a "big flat" perhaps glass that you polish down to being actually flat
[06:37:07] <Valen> or Al or steel
[06:37:18] <Valen> stick an air bearing on it
[06:37:36] <Valen> actually definatly steel or Al, needs to be conductive
[06:38:03] <Valen> then stick a set of linear induction motors on that air bearing carrage
[06:38:16] <Valen> and you can push the carrage around in any direction you feel like
[06:38:39] <Valen> for extra credit you could add rotation to it as well just for laughs
[06:38:58] <Valen> IE a static cutting tip, like some kind of demented lathe
[06:41:50] <pjm__> interesting. is this something u are building?
[07:04:34] <RobJansen> Good morning. I have a small problem compiling EMC: ./configure --enable-run-in-place works but when I do a ./configure; make; sudo make setuid; sudo make install then emc bails out: "_tkinter.TclError: couldn't load file "/usr/local/share/emc/tcl/emc.so": /usr/local/share/emc/tcl/emc.so: cannot open shared object file: No such file or directory" - any ideas?
[07:08:24] <RobJansen> This is with the 2.3.0 cvs version I got from the server last thursday
[07:37:41] <ashaw> i am wondering what setup you would recomend for driving a 6 axis CNc machine
[07:43:40] <RobJansen> ashaw: Depends partly on the budget. I'd prefer servo motors but steppers are also possible. I am just setting up a 4 axis stepper system with Mesa 5i20 card: lots of I/O and stepper/servo control is configurable.
[07:44:51] <ashaw> i was thinking of $700US for control electronics plus another $500 for motors etc.
[07:50:19] <RobJansen> My config: Stepper motors are 6.4 Nm (92 EUR), stepper controller is an MSD-50-5.6 128 microstep driver (70 EUR) and a 40V power supply (110 EUR). I use 4 motors+drivers and 2 supplies (one was not enough). Totals 868 EUR
[07:50:55] <ashaw> how much was the mesa 5i20?
[07:51:12] <RobJansen> But then, the only thing to add are the Mesa 5i20 card $ 199 and a bit of motor mounting hardware.
[07:52:09] <RobJansen> and 6.4 Nm on a 5mm ball screw spindle is strong enough (for me) if my arm gets stuck in the gantry it will break (my arm) ...
[07:52:20] <ashaw> have you looked at the 5i22? is it better, worse?
[07:54:18] <RobJansen> Similar. I use the hostmot2 software and that fits the 5i20. Only advantage of the 5i22 would be 92 instead of 72 I/O (which already is a lot) but it is + $170 ...
[07:54:54] <ashaw> an aditional $170, wow!
[07:55:06] <ashaw> what is hotsmot2?
[07:55:44] <RobJansen> hostmot2 is the FPGA software to control stepper motors and/or servo motors.
[07:56:07] <ashaw> how many steppers/servos can it controll?
[07:56:27] <RobJansen> 8 steppers or (as far as I know) also 8 servo motors
[07:57:30] <RobJansen> Look at
http://www.mesanet.com there you'll find the card under the "parallel I/O - misc I/O - FPGA" section on the menu in the left
[07:58:00] <RobJansen> They have specs/datasheet and all software downloadable - before you buy the card.
[07:58:08] <ashaw> i am at that page.
[08:03:29] <RobJansen> meanwhile I am trying to see if I can get you some more info on the I/Os by configuring a 6 stepper config.
[08:06:37] <ashaw> i am thinking that it might be worth the extra money to get a 5i23.
[08:13:28] <RobJansen> there are different software (firmware) version for the 5i20 and 5i23 delivered with the new 2.3.0 (beta) version of EMC. The 5i20 supports 4 steppers + 8 encoders or 8 steppers + 2 encoders. The 5i23 (as far as I can see) 8 steppers + 4 encoders and possibly even 8 encoders.
[08:19:07] <ashaw> so the 5i23 is worth the extra $30?
[08:19:34] <RobJansen> if you need/want the extra encoders Yes.
[08:20:01] <RobJansen> I am not sure if EMC supports stepper motors + quadrature encoders on the screw spindles
[08:21:47] <RobJansen> So if you are not using different pendants on each axis (and do not use encoders on the axes) the you don't _need_ the 5i23. But with the extra 200k gates and spartan 3 it looks a good option to be future proof
[08:31:05] <ashaw> i lost the connection, did you say anything?
[08:31:28] <RobJansen> last msg was: So if you are not using different pendants on each axis (and do not use encoders on the axes) the you don't _need_ the 5i23. But with the extra 200k gates and spartan 3 it looks a good option to be future proof
[08:32:34] <ashaw> pendant?
[08:33:07] <RobJansen> One of these things to jog the axis instead of using the keyboard. Kind of a hand-wheel
[08:34:12] <ashaw> what do i need if i have want pendants and encoders on the axes?
[08:35:15] <RobJansen> a lot of time to browse the internet for parts and more time to configure everything :-)
[08:35:21] <RobJansen> without joking ...
[08:35:46] <ashaw> yes, but would the card be able to handle it?
[08:35:57] <RobJansen> you'll need encoders on the axis and a pendant. Configurations - or at least help with configuring - is in the EMC2 knowledge base on linuxcnc.org
[08:36:35] <ashaw> i mean a pendant on each axis.
[08:36:36] <RobJansen> The card will be able to handle it, but I am not sure about EMC2. I do not know if EMC2 handles steppers with encoders on the axis.
[08:36:59] <ashaw> who would know?
[08:37:33] <RobJansen> That should be possible, but I am not sure how to do this. Maybe best is to ask this via the mailing list - there may be some persons who tried this.
[08:38:09] <ashaw> so a pendant is a quaderature encoder with a knob attached?
[08:38:20] <RobJansen> Yes - I also want to add a pendant, but just one with a switch to switch between the axes - that is the most standard configuration found.
[08:39:03] <RobJansen> something like this
http://markusmechatronics.com/Handrad_HowTo.html
[08:39:24] <ashaw> i think 2 pendants would suit me, that way i can use both hands
[08:41:20] <RobJansen> Y - problem is how to know which pendant controls which axis. I still only have a keyboard where arrow keys control XY and pg up/down control the Z and [ ] the A axis - But I like to add an MPG pendant to get finer control
[08:41:59] <ashaw> ouch.
[08:43:16] <ashaw> one thing that might be cool to add to the software is the ability to use a spacenavigator to controll the movement of the cnc machine
[08:43:43] <ashaw> http://www.3dconnexion.com/3dmouse/spacenavigator.php
[08:45:53] <RobJansen> Cool thing to use indeed. I have a their navigator and the pilot to control my CAD software. Works great but I am not sure if I am willing to risk my CNC machine on this.
[08:46:45] <RobJansen> Nice thing on the MPG pendant is that the dial has clicks and each click corresponds to exactly one step - so I know exactly how much the axis moves by feeling and counting the clicks
[08:46:51] <ashaw> what do you mean by risk your cnc machiene.
[08:48:57] <RobJansen> If the spindle runs into one of the clamps or a workpiece I risk damaging spindle, gantry or at least the mill cutter (my 'cheap' cutters are around 20 EUR). Control with the space navigator is not good enough - there is no fine control or feedback
[08:49:23] <ashaw> understood.
[08:49:58] <ashaw> what about the limit switches?
[08:52:59] <RobJansen> You do need those on all axes. I am still operating without any; I just set the home at the middle of the table and have the soft-limits set such that EMC will never run to the end of the table. But I've already set the home position wrong a few times ... So _must_ add home and limit switches
[08:53:36] <RobJansen> I damaged a motor mount. 15 mm aluminum sheet bent due to running the gantry into it :-(
[08:53:57] <ashaw> ouch.
[08:54:43] <ashaw> mechanically what is your CNC machine
[08:56:25] <RobJansen> http://www.myvoice.nl/freesmachine and there is a photo album at
http://www.myvoice.nl/freesmachine/album.php - but these are all old photos made while building. It looks a bit more 'done' nowadays
[08:56:55] <RobJansen> Size is X = 2000, Y = 1000, = 360mm
[08:57:19] <ashaw> cool, that is similar to the size i want.
[08:57:33] <ashaw> how much were the ballscrews?
[09:01:07] <RobJansen> Pfff - don't remember exact prices. I'm checking now - these came from
http://www.metallstore.de/ stepper motors, drivers and linear guides were from
http://www.stappenmotor.nl and some other stuff (wheels and belts) from
http://www.cnc-plus.de/
[09:03:54] <RobJansen> ball screws are 86, 133 and 183 EUR each (for Z, Y and X). X has 2 spindles and 2 motors. The nuts were 91 EUR. T-nut plating was 1700 EUR alone ... Complete machine was about 8000 EUR
[09:04:37] <ashaw> what accuracy were teh ballscrews?
[09:09:11] <ashaw> two spindles? how do you keep them synchronised?
[09:13:51] <RobJansen> best thing is to search in the mailing archive, search for "2 motors on 1 axis" or similar.
[10:44:47] <Valen> RobJansen: what are you driving?
[10:47:42] <Valen> ahh nvm
[10:49:50] <Valen> whats the wattage on the motors your using?
[11:05:30] <RobJansen> Valen: the spindle is a 2.2 kW ELTE spindle with 2 kW Toshiba inverter
[11:06:47] <RobJansen> I'm wrestling with the inverter just now. I like to control the 0-10 V analog input to control the spindle speed using a PWM from the 5i20
[11:07:13] <Valen> whats the drive motors?
[11:07:43] <Valen> If its a VFD it may have some sort of digital input perhaps?
[11:08:32] <RobJansen> drive motors? that drive the axes? Those are 6.4 Nm steppers
[11:08:47] <Valen> what is the cont wattage on them though?
[11:09:19] <RobJansen> yes, VFD does have a digital input as an option. The connector is there but I can't get it to work so now I'm going for analog
[11:09:44] <Valen> ahh
[11:10:51] <RobJansen> Steppers don't have cont wattage. current goes high only during moves. Max 5A per phase, max. voltage is 42 V but wattage is hard to measure due to micro-stepper config.
[11:11:20] <Valen> It should still have a maximum continious rating though i would imagine?
[11:11:33] <Valen> at some point it will catch fire ;->
[12:03:46] <jepler> if you know the current and the winding resistance of a stepper, calculate maximum rated power dissipation according to ohm's law: P=I^2*R.
[12:05:46] <jepler> depending on the stepper driver, the power when an axis is not moving may be reduced, but I personally think it should remain at full power. One problem with reducing power is that the axis is less resistant to being pushed out of position by cutting forces. It seems like a good way to loose position.
[12:06:34] <jepler> argh, "lose position"
[12:13:32] <Optic> emc on boingboing, in an abstract way:
[12:13:32] <Optic> http://www.boingboing.net/2009/04/17/laser-cutter-motors.html
[12:19:53] <eric_unterhausen> I guess someone needs to send them daisy
[12:22:00] <Optic> hehe
[12:34:31] <dalegrover> Hello from the EMC booth at NAMES.
[12:35:49] <BigJohnT> you guys get up early
[12:36:10] <Valen> its 10:30 PM here
[12:41:52] <SWPadnos> dalegrover, where's the webcam? :)
[12:42:42] <jepler> dalegrover: hello!
[12:44:10] <SWPadnos> well that's annoying. I actually want to answer a question on CNCZone, but my password doesn't work today
[12:54:22] <dalegrover> The show just opened the doors. One question we'll get for sure--how does EMC compare w/ other software. Is there a page or list of main points to hit? Besides initial cost?
[12:56:25] <SWPadnos> in the hobby market, there's no doubt in my mind that it's the most reliable control out there
[12:56:56] <SWPadnos> it's probably comparable to most things in the pro market ($5000 and up) as well
[12:57:39] <SWPadnos> I don't know how you want to say that though. I always have a hard time wording that kind of thing so as to not put other products down
[12:58:01] <SWPadnos> (sell yourself, don't trash the other guy mentality)
[12:59:22] <SWPadnos> EMC is also very adaptable, so you can run just about any machine you want if you're willing to take the time to figure out how
[13:01:08] <SWPadnos> oh, and it's capable of driving servos in a completely closed-loop fashion, which no other inexpensive (<$2500 or so) control can do
[13:05:47] <dalegrover> Thanks--this is the kind of thing I was looking for.
[13:06:01] <dalegrover> May be asking more specific questions as folks drop by.
[13:06:18] <SWPadnos> I'm sure there are other things, like rigid tapping and threading support that actually use feedback from the spindle :)
[13:06:30] <SWPadnos> ask away. someone is usually here to help
[13:06:31] <RobJansen> Dale: some advantages are: Good documentation (both user docs and installation/configuration), easy to start with (configure parport setup using stepconf) for beginners but can also handle very advanced configurations, regular updates, very stable. These are some of the reasons why I am very happy with EMC
[13:08:16] <BigJohnT> :)
[13:08:35] <BigJohnT> A wide support base of users...
[13:19:36] <tomp> the 'cone' demo for 5axiskins, gives joint 1 following errors, after lloking at it , reducing accel and max vel and allowing huge fe's, i think its really just stuck on a limit 'joint 1 on limit switch error'... uh how do i fix non physical limit switch?
[13:21:31] <SWPadnos> override limits and then jog
[13:21:36] <SWPadnos> (kind of like a real machine)
[13:22:07] <SWPadnos> the limit switch is a comparison between the joint position and some number, so to EMC it looks just as real as a physical switch connected to an input
[13:23:04] <tomp> i forgot i had tried to override, un-estop, turn servo on, and you get the error right away which sets estop ( rinse lather repeat )
[13:25:00] <tomp> like a real machine, leave it in estop, turn the screw till away from switch, then enable machine and drives ;)
[13:25:58] <JymmmEMC> Just set limits 10x what they really are =)
[13:26:16] <JymmmEMC> Limits, We don't need no stickin limits!
[13:37:24] <tomp> in halscope the vert gain goes from 500>u< to 1>m< . What does that mean? micro to milli? microns to meters?
[13:42:24] <jepler> tomp: p=pico, n=nano, u=micro, m=milli, K=kilo, M=mega, G=giga, T=tera
[13:42:48] <tomp> yep, thx, was just rescaling till it was logical m=milli
[13:42:54] <jepler> (standard SI prefixes)
[13:43:08] <tomp> yep, nver saw si on a tek/hp scope ;)
[13:43:23] <tomp> just bitchin never mind
[13:48:01] <tomp> i'm lookin at the 5axiskins running 'cone'. joint 1 ( Y?) gets fe's that trip,
[13:48:08] <JymmmEMC> Mmmmm Petabytes!
[13:48:09] <tomp> but I dont see why.
[13:48:10] <tomp> the ini values for accel max vel min fe, and fe look same for many axis that dont give fe..
[13:48:13] <ashaw> might i ask what CAM you would recomend?
[13:49:21] <tomp> cam the apps you love to hate ( the apps most worked around , not with ) , i'm a sadist, i use Acad MDT
[13:50:33] <ashaw> apart from Acad MDT what else?
[13:51:16] <tomp> paper pencil , the ITW trig book ;)
[13:51:54] <tomp> some people here like SOlidworks, some NX5
[13:52:04] <tomp> or 6 i spose
[13:52:32] <ashaw> i mean to generate a gcode file from cad data that allready exists
[13:52:48] <ashaw> nod CAD but CAM
[13:52:54] <ashaw> not..
[13:53:06] <BigJohnT> what kind of machine?
[13:53:08] <JymmmEMC> http://www.dakeng.com/ace.html
[13:53:20] <tomp> dunno, i thought CAMs came with posts
[13:53:28] <ashaw> 5 axis
[13:53:39] <ashaw> post?
[13:54:03] <tomp> the code that produces gcode from path created by cam
[13:54:43] <ashaw> yes but some is much better than others, or so i have heard.
[13:55:01] <tomp> usually its very flexible, you tell it your special mcodes and gcode formattin and number of axis and maybe the kinematics, and it writes gcode from the path you make on the surface of your model
[13:55:22] <ashaw> cool.
[13:55:26] <JymmmEMC> Ace Converter - utility to convert two dimensional DXF files to g-code
[13:55:52] <ashaw> cool.
[13:56:21] <tomp> better, well some is pretty complex and soem is not adequate for some machine tool configurations ( like 5 axis wedm or a puma robot vs a lathe )
[13:56:29] <ashaw> shows how unknowledgeable I am, I have been working with a pen and vellumn
[13:56:53] <tomp> and illinois tool works trig book ?
[13:57:06] <tomp> or carr lane ...
[13:57:23] <ashaw> no i have a slide rule.
[13:57:37] <tomp> thats slip stick!
[13:57:59] <ashaw> actually i do use a calculator,
[13:58:36] <ashaw> but i do find my slide rule useful often.
[13:59:01] <tomp> well like JymmmEMC said, you got a 'post' with Ace Converter, and yo can get 2D cad with Qcad , a freebie under linux
[13:59:22] <tomp> so, you can get gcode for a contour
[13:59:52] <ashaw> cool, i have heard of qcad.
[14:00:01] <jepler> tomp: max5kins includes simulation of joint limits, but emc doesn't yet obey joint limits (only axis limits)
[14:00:18] <jepler> tomp: that is why you can get a following error
[14:00:37] <tomp> jepler: anyway to elim for a demo?
[14:00:57] <jepler> sure
[14:00:58] <jepler> net table-pos-cmd axis.0.motor-pos-cmd => limit3.0.in
[14:01:02] <jepler> net table-pos-fb limit3.0.out => axis.0.motor-pos-fb max5gui.table wcomp.0.in
[14:01:09] <jepler> there are a pair of lines for each joint
[14:01:24] <tomp> or should i use ... whoa... thanks
[14:01:29] <jepler> link cmd back to motor-pos-fb (bypassing the limit3 block) and the errors will go away
[14:01:48] <tomp> uh, easily lost, but will try, thx
[14:01:57] <jepler> net table-pos-cmd axis.0.motor-pos-cmd => axis.0.motor-pos-fb max5gui.table wcomp.0.in
[14:02:01] <jepler> something like the above ^^^^
[14:02:20] <jepler> and so on for each joint
[14:02:41] <jepler> that's in max5kins.hal btw
[14:02:49] <ashaw> might i ask if EMC supports auto tool changing?
[14:03:01] <tomp> jepler: understood, a set for each axis
[14:03:48] <tomp> ashaw: EMC works with tool changers, various types, again very configurable ( with the power comes the responsibility.... )
[14:03:50] <JymmmEMC> ashaw: ashaw: but i do find my slide rule useful often - For what, a back scratcher? ;)
[14:04:05] <tomp> a harmonica for the deaf
[14:04:09] <jepler> ashaw: yes, and it's pretty good for turret-style toolchangers, but less great for toolchangers that require several steps of coordinated axis motion during the toolchange
[14:04:28] <ashaw> no sometimes it is quicker to use logs than to type into a calculator for multiplication.
[14:04:38] <ashaw> low precision.
[14:05:14] <ashaw> cool. about the tool changes.
[14:06:03] <jepler> Mazak toolchange
http://www.linuxcnc.org/movies/mazak_300kbps.avi (from the wiki)
[14:06:39] <JymmmEMC> ashaw: So, where do you have your punch-cards made up at? Or do you just have a surplus? lol
[14:06:41] <jepler> not a great video :-P
[14:07:40] <jepler> anyway, all that motion of the changer is controlled by classicladder
[14:07:44] <ashaw> I actually am to young to remember punch cards, though i have seen some and they are quite quaint.
[14:10:05] <jepler> all "emc" does is move to a predefined location, and put the desired tool number on a HAL pin. the rest is up to your abilities with classicladder or a custom component to sequence the other stuff required to change the tool
[14:11:28] <ashaw> oh. so you cannot have it pick up a tool by itself? from a rack?
[14:13:17] <jepler> you can, but all the ways that are currently available feel like hacks
[14:13:56] <jepler> one way is to just have the steps of the toolchange and perform them inside an O- sub instead of just using TxM6 to switch tools.
[14:14:04] <ashaw> what are they?
[14:14:33] <ashaw> yes that is a sub.
[14:14:47] <jepler> another way is to have a custom component that performs the moves by adding an offset from emc's toolchange position to get the motor position, and then subtracts that offset to fake the position feedback to emc
[14:15:11] <ashaw> ouch.
[14:16:30] <jepler> we'd love to find somebody who is a programmer and wants to support that kind of toolchanger -- we recognize that this is very far from ideal, but none of the developers have a need for that style of changer right now.
[14:18:01] <ashaw> would it not be hard for you to use gcode to describe the toolchange, so sub the TxM6 instruction for arbitrary gcode, like an O- sub, yet on the fly?
[14:18:03] <jepler> (there's also disagreement about how to do it -- for instance, maybe the solution is to allow TxM6 to actually call a gcode subroutine that is defined by the integrator, or maybe it is to allow a HAL component to make emc move to a specified location during a toolchange)
[14:18:53] <SWPadnos> and then there's the added complexity of moving to the old tool pocket first, so you can drop the old tool where it's supposed to be before picking up the new one
[14:19:34] <BigJohnT> is this type of tool holder like a linear rack or something?
[14:20:31] <ashaw> i am planing but that seems the easiest sort to build.
[14:21:15] <KimK> Interesting, I never ran across a machine with a drop-into rack of tools/pockets. Is yours linear or circular?
[14:21:46] <KimK> (or some odd mix?)
[14:21:49] <ashaw> it will be an array.
[14:22:48] <KimK> Clearance holes in the bottom of the pockets, exept for a little lip?
[14:22:51] <jepler> in your place I'd probably go for writing an O- sub and writing calls to it in place of TxM6. If your favorite post isn't flexible enough to write O1001 call [x] instead of TxM6, your favorite post sucks :-P
[14:23:09] <KimK> Clearance in the side, too, I'd guess.
[14:23:38] <KimK> More like two fingers?
[14:24:23] <ashaw> no, clearence hole at the side and top, with a cone shaped lip.
[14:25:19] <ashaw> or just a flat one, yet to decide.
[14:26:07] <jepler> this is one I saw at last year's cnc workshop:
http://www.youtube.com/watch?v=RzR6L3lEXdM
[14:26:46] <jepler> not running emc2 though :-/
[14:27:46] <ashaw> similar idea, but my spindle has a pnumatic collet.
[14:34:30] <KimK> I recall a commercial retrofit where they gave you, what, six moves associated with the tool change. This was on a mill package. So you got a table of entries: X1,Y1,Z1 then X2,Y2,Z2 etc. up to X6,Y6,Z6.
[14:34:34] <KimK> Any entry in the table (other than zero) causes a move of that axis (or those axes). The table entries "toward the end" had to somehow cancel out the moves mad at the beginning, so your net move would be zero. (Otherwise you come out of the tool change with a new offset.)
[14:36:31] <ashaw> so there was one set of entries per tool?
[14:36:47] <ashaw> that seems doable.
[14:38:50] <KimK> No, this one was intended for conventional tool changers where the machine had to make moves to cooperate with the tool changer. But I suppose you could have multiple tables, one per tool. But the video that jepler showed wasn't like that, it was all table moves, so...
[14:39:21] <KimK> ...it looks like it lends itself to subroutines or frequent macros or some such.
[14:39:51] <ashaw> yes, that is what i was wanting.
[14:41:35] <KimK> Maybe no need to get involved with hal, tool changers, etc.? Just make a move, and viola, there's your new tool. Kind of like a Wasino lathe, with all the tools arrayed at once on a flat plate.
[14:42:35] <ashaw> Wasino lathe?
[14:42:49] <ashaw> but that sounsd what i was thinking about.
[14:44:24] <KimK> It's the name of a company known for building lathes that change tools that way. There are many others too, I'm sure. To change tools, you make a large X move (several inches) and a new tool comes into play.
[14:45:03] <ashaw> no not like that.
[14:45:15] <KimK> You usually get a couple feet worth of tools, LOL.
[14:45:37] <ashaw> 5 axis CNC, i do not think it will work.
[14:46:22] <KimK> Isn't your situation not too different from jepler's video?
[14:46:46] <ashaw> yes, i thought i had said that.
[14:47:57] <KimK> Then it's two sides of the same coin.
[14:48:32] <ashaw> i do not quite understand.
[14:49:00] <KimK> Get a new tool into position (by moving around) and change offsets (tell the control what you did).
[14:49:37] <ashaw> i suppose.
[14:49:54] <ashaw> and do so by running a O- sub ?
[14:50:33] <KimK> I'm assuming that your tool changes are done in a safe area, etc. Although in jepler's video, I could see trouble coming with long tools and tall workpieces.
[14:51:48] <ashaw> i am just wanting to build autochange into my DIY CNC mill build.
[14:54:19] <KimK> Yes, it seems like an O-sub should work. Would anybody else like to comment? Autochange? Yes, that's always nice. Maybe you can have your cake and eat it too?
[14:54:49] <KimK> Maybe there's a way to have your O-sub look at the T number, and make appropriate moves?
[14:55:12] <ashaw> yes, that would be cool.
[14:55:29] <KimK> If T=1, then move like this; if T=2 then move like this, etc.
[14:55:51] <ashaw> but i think g-code is not turig complete.
[14:57:00] <KimK> Turing complete? You mean if T=(unrecognized) then move to safe corner and trip overtravel?
[14:58:02] <ashaw> no, that is a programing term.
[14:58:26] <skunkworks> maybe get a hold of this guy and ask him also..
http://www.youtube.com/watch?v=MV6ogckf3n8
[14:58:45] <KimK> You're going to make me go to Wikipedia, aren't you. OK, BRB.
[14:59:48] <ashaw> it basically means that g-code is not a real programming language.
[15:01:10] <KimK> Clearly you have not looked at the O-sub section of the manual, LOL
[15:01:24] <jepler> you can do calculations, conditionals, and subroutines in emc's gcode.
http://www.linuxcnc.org/docview/html/gcode_main.html#cha:O-Codes http://www.linuxcnc.org/docview/html/gcode_main.html#sub:Expressions
[15:01:37] <ashaw> cool.
[15:02:24] <KimK> jepler: I wonder if you can solve for pi by making mechanical moves, babbage-style?
[15:03:27] <KimK> Steampunk fans should be delighted, LOL
[15:03:57] <ashaw> i do not know, but it looks like you can do general computations, if one can find out how to store memory.
[15:04:07] <tomp> tomp pictures a guy on express way ramp , ol dclothe, cardboad sign "will solve for pi"
[15:04:24] <ashaw> ha ha ha
[15:04:43] <KimK> I like it
[15:04:45] <tomp> oh yeh, slip stick in hip pocket
[15:05:20] <ashaw> no he used trig tables, tat he made.
[15:05:43] <tomp> in shirt pocket, right
[15:05:45] <ashaw> on his computer
[15:07:19] <ashaw> that was what his computer wasa for.
[15:07:26] <ashaw> .. was..
[15:08:21] <skunkworks> you can store info into vars - like #1 = 0
[15:08:44] <skunkworks> they can be named now also.
[15:09:14] <ashaw> can you store into an arbatrary var like #a[#1]
[15:09:24] <skunkworks> although if you want to save them from run to run - I think they have to be numbered and you have to add them to the var file.
[15:09:41] <KimK> Yes, I think you have variables you can use in O-subs, with some minor restrictions. Here's the link:
http://www.linuxcnc.org/docs/2.3/html/gcode_main.html#r3_1
[15:10:02] <tomp> named? like 'detail1depth" ? 'keywidth" ?
[15:10:20] <skunkworks> yes
[15:10:34] <skunkworks> but I have not played with it yet.
[15:11:45] <KimK> To webmaster(s): I tried to give the link to #r3 only, (Chapter 3.0) but it was defective. This link doesn't work right:
http://www.linuxcnc.org/docs/2.3/html/gcode_main.html#r3
[15:12:25] <skunkworks> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Oword
[15:12:27] <skunkworks> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?AlternativeNamedParameterSyntax
[15:13:05] <KimK> To webmaster(s): Boy, that was fast. Thanks.
[15:14:33] <KimK> ashaw: What's your machine, a tabletop mill? Steppers?
[15:15:48] <ashaw> will be a stand lalone mill, with steppers, table size 0.8m x 1.5m x 0.5m
[15:16:26] <KimK> That's pretty good sized. Based on anything, or built from scratch?
[15:16:38] <ashaw> scratch.
[15:17:25] <ashaw> will mainly be used to make wing sections for model airplanes.
[15:20:32] <ashaw> might i ask what a U axis is.
[15:21:35] <BigJohnT> ashaw:
http://www.linuxcnc.org/docview/html//common_machining_center.html#r1_1_1
[15:23:32] <ashaw> i still do not get what U is for.
[15:23:34] <KimK> Some controls also use U as a relative mode for X. Same for V-Y and W-Z.
[15:24:13] <ashaw> is there a diagram that i can see?
[15:24:14] <KimK> In a knee mill, if Z is the quill, W is the knee.
[15:25:18] <KimK> If you move Z (quill) down one inch, and move W (knee/table) down one inch, nothing changes.
[15:25:45] <ashaw> ok. so why have it?
[15:26:06] <KimK> Have to accomodate tall and short workpieces.
[15:26:46] <KimK> (If quill travel is short, which is often the case. You seldom see a 20" quill.)
[15:27:06] <ashaw> ok.
[15:28:56] <KimK> How does your machine get its Z (W?) travel?
[15:30:08] <KimK> Half a meter is pretty good
[15:30:18] <jepler> in emc2, UVW are three additional linear axes. They are never used in emc2 as relative coordinates.
[15:30:28] <ashaw> stationary workpiece, except for A axis, B/C axis off Z axis, single motion for Z, one ballscrew, 2 linear slides.
[15:32:10] <KimK> jepler: I've never seen EMC in a 3-axis mill with a knee DRO. Does the W have to stay there all the time, taking up space and not changing, or can you just pop it up when you need to look at it?
[15:33:31] <KimK> (OK, I guess that would be 4-axis, but anyway, same Q.)
[15:33:33] <jepler> right now all axes are displayed all the time
[15:33:55] <KimK> OK, thanks. Just wondering what to expect.
[15:36:32] <KimK> ashaw: That's a pretty big machine. Sounds like you're going above Bridgeport size there. What does it weigh, or do you know?
[15:37:12] <ashaw> we will only be milling foam, light wood.
[15:37:25] <KimK> Oh, OK. That helps.
[15:38:04] <KimK> What is your max spindle RPM?
[15:38:07] <ashaw> i want a smaller mill for steel, but this one is not it.
[15:38:20] <ashaw> i have not decided on the spindle.
[15:39:19] <ashaw> i have started buying parts, but and have got rawings for the mill, but the design is still in the conceptual stage.
[15:40:36] <KimK> Well, if you're doing wings, you're likely to have long CAM-generated g-code, I'd guess. Unlike us more simple machinists who commonly make things with a bunch of convenient flat sides.
[15:41:05] <ashaw> yes, that i will.
[15:41:34] <tomp> jepler: i keep getting "joint 0 on limit switch error" with X at -101, tho i changed the .hal wcomp.0.min to -105, and the .ini MIN_LIMIT to -500 ( i dont know where it gets the -101 from)
[15:42:09] <KimK> ashaw: Do you know how you'll make your g-code yet? Or is that still undecided for now?
[15:42:40] <ashaw> i was asking above, i am not sure what CAM program i will use.
[15:42:57] <KimK> Oh, sorry, I must have missed that
[15:43:33] <tomp> i think you can do airfoils in APT, and APTos360 has an emc post ( join #cam for more info )
[15:44:07] <BigJohnT> ashaw: on #cam he might want to talk to crotchet about apt360 and 5 axis
[15:45:24] <ashaw> what is the link to APT.
[15:45:30] <tomp> jepler the fixes you suggested got rid of the fe's
[15:45:37] <jepler> setp wcomp.0.min -101
[15:45:39] <jepler> tomp: in the hal files
[15:45:46] <KimK> You might want to join #cam, the HeeksCAD project is showing promise. Lots of work needed still.
[15:46:34] <BigJohnT> heekscad does not do 5 axis at this time
[15:47:14] <ashaw> i have 6 axis.
[15:47:59] <dmess> but only 5 will interpolate simoultaniously
[15:48:06] <KimK> ashaw: Nice! There you go.
[15:49:17] <KimK> ashaw: Why only 5 simultaneously? (In for a penny, in for a pound, etc.)
[15:49:25] <ashaw> i am not sure, this airfoil has some unky curves
[15:49:41] <ashaw> i did not say only 5,
[15:50:00] <ashaw> ask dmess
[15:50:05] <KimK> Ah, I see, sorry
[15:50:08] <dmess> even a siemens 840D will only do 5 at 1 time
[15:50:39] <ashaw> so?
[15:50:57] <dmess> what control is it??
[15:51:19] <ashaw> 5i23, EMC2
[15:51:47] <dmess> i dont think it will do more than 5 at a time either
[15:51:55] <ashaw> plus microstepped 400/rev steppers
[15:52:03] <ashaw> then a 5i22
[15:53:05] <ashaw> and if that will not i will get my viltltex 505 prototype board and hook that up.
[15:54:01] <dmess> ok good luck
[15:54:06] <tomp> jepler: "setp wcomp.0.min -101" was original value, error is at -101, had expanded to -105, but now back at -101, result is..joint 0 on limit switch error
[15:54:06] <tomp> emc/task/taskintf.cc 607: Error on axis 0, command number 329
[15:55:14] <ashaw> why will not EMC2 do 6 axis, might i ask?
[15:55:24] <tomp> i thought expanding the limit would help, but err occurs at same place ( these wcomps and the ini file limits made to agree but larger than the err position )
[15:55:38] <tomp> ashaw, emc can interp 9 axis simultaneous
[15:55:58] <ashaw> then why dmess say it cannot?
[15:56:10] <tomp> i think the contect was some cad did not
[15:56:14] <tomp> context
[15:56:27] <dmess> bcz i was anaware of that tidbit of information
[15:56:31] <BigJohnT> ashaw:
http://www.linuxcnc.org/content/view/11/10/lang,en/
[15:56:48] <tomp> not extensively tested ;)
[15:57:25] <ashaw> where does it say that?
[15:57:32] <tomp> i got 6 units here all 7 axis, very very not extensively tested ( not emc, very off brand )
[15:57:58] <tomp> ashaw? extensively tested? wher << that is said?
[15:59:07] <ashaw> it is open source, nothing clames to be fit for any purpose, implied or no, and no warrenty is given.
[15:59:25] <alex_joni> ashaw: you got it :)
[15:59:36] <alex_joni> but that's probably the same you get from a "commercial" control aswell
[15:59:39] <ashaw> in the zGPL
[15:59:45] <ashaw> in the GPL
[15:59:53] <tomp> or where 9 axis is stated? ( answer: in the cvs code )
[16:00:11] <alex_joni> ashaw: I dare to say you get better support with emc2 than with any vendor
[16:00:23] <alex_joni> because you get to talk to the people who actually write/design the code
[16:00:24] <jepler> tomp: I dunno what else would be leading to that message but the window comparators. did you increase all the values? you could also just unhook the limit switch inputs to the motion controller
[16:00:31] <alex_joni> and really undestand what is going on
[16:00:36] <jepler> e.g., remove the lim-sw-in items from net table-limits-tripped not.0.out => axis.0.neg-lim-sw-in axis.0.pos-lim-sw-in axis.0.home-sw-in
[16:00:52] <alex_joni> (of course that support isn't guaranteed, and it depends how you ask for help :)
[16:00:59] <ashaw> yes often Open source software is more fit tha non open source
[16:01:05] <BigJohnT> :)
[16:01:12] <tomp> jepler: i may try unhooking them for the dem, i even searched for 101 in the src... its like a bad penny. thx
[16:02:43] <alex_joni> ashaw: doesn't mean we can compete with a control that has been developed by 50-100 programmers for the last 10 years (feature wise they might have a lot of things which customers asked, which we don't need/have atm)
[16:02:57] <alex_joni> but since it's open source, you're welcomed to add things yourself
[16:03:26] <ashaw> that, my friend is the point
[16:04:14] <Martyn> Hi. Has anyone here configured emc2 to work with a tormach pcnc?
[16:04:25] <Martyn> And if so, do you have a HAL file for it?
[16:04:45] <alex_joni> Martyn:
http://cvs.linuxcnc.org/cvs/emc2/configs/tormach/
[16:04:57] <alex_joni> seems the configs are part of the next release (2.3.0 - pretty soon)
[16:05:17] <alex_joni> you can either grab the beta2 to test it out, or use those configs (with minor edits) on 2.2.8
[16:06:08] <alex_joni> Martyn: basiclyt [EMCMOT]SHMEM_KEY has been removed in 2.3.x, you still have to add it to the configs in 2.2.8
[16:06:19] <Martyn> I have 2.2.8, so I'll recycle those configs
[16:06:26] <alex_joni> http://cvs.linuxcnc.org/cvs/emc2/configs/tormach/pcnc-1100.hal.diff?r1=1.2;r2=1.3;f=h <- that's a diff, so you can easily see what's changed
[16:06:32] <Martyn> thanks.
[16:06:50] <Martyn> I'm trying to do adaptive clearing using HeeksCad to generate the gcode...
[16:06:53] <alex_joni> hmm.. if I'm reading it right, it should be in 2.2.8 too
[16:07:05] <alex_joni> look under sample configs/tormach
[16:07:05] <Martyn> but the tormach's native gcode interpreter is doing some strange things with tight arcs
[16:07:34] <Martyn> so I'm going to switch to emc2 to make -sure- it's the interpreter, and not some fundamental limitation in the machine
[16:07:56] <alex_joni> define "strange things" ..
[16:08:49] <Martyn> alex : The arcs that are being cut, look like the PID control is bad... the arcs are too long, and too shallow
[16:09:17] <Martyn> which is indicative of a problem with the way either the g-code is being interpreted, or the fundamental PID control
[16:09:29] <alex_joni> yeah, but it's a stepper machine.. right?
[16:09:36] <alex_joni> so PID shouldn't be _that_ present
[16:09:57] <Martyn> PID comes into play, pretty seriously, when doing arcs
[16:10:17] <alex_joni> odd..
[16:10:22] <Martyn> and the tormach's interpreter and control system does have some arc acceleration
[16:10:42] <alex_joni> things like PID should be independent of the type of move, but ...
[16:10:44] <Martyn> By handing it off to emc2, I will be taking those optimizations out of the loop
[16:10:53] <alex_joni> Martyn: let me know how it goes
[16:11:08] <Martyn> I will. I've also submitted a bug to tormach
[16:11:16] <Martyn> but I'll have to wait until Monday to get an answer from them.
[16:11:18] <alex_joni> even if I'm not around, if you put an alex_joni: in front, I'll notice it when I get back :)
[16:11:30] <Martyn> catch you later :) I need to reboot this machine.
[16:11:31] <skunkworks> we are talking mach - right?
[16:11:56] <alex_joni> skunkworks: who <strike>cares</strike>/knows?
[16:12:05] <alex_joni> :P
[16:12:12] <skunkworks> ;)
[16:12:26] <alex_joni> but yeah, I think they use mach by default
[16:13:47] <tomp> jepler last suggestion ran entire 'cone' no errs :)
[16:14:40] <jepler> GREAT
[16:14:42] <jepler> er, great
[16:14:42] <tomp> now where can i get a virgin set of max5kins.hal max5kins.ini ( so i can post clean patched vrsns )
[16:14:45] <tomp> ;)
[16:15:00] <Valen> did somebody say virgins?
[16:15:01] <tomp> old mr make a backup outsmarted hisself
[16:15:36] <tomp> oh, and i;'ll need to adjust the values in cone, the table comes clear off the saddle
[16:15:51] <tomp> but very cool, thx jepler
[16:16:40] <alex_joni> tomp: CVS is safest for "virgin" sets
[16:16:52] <tomp> ah, (doh!)
[16:17:27] <ashaw> it looks like there are NO 6 axis cam programs in existance
[16:18:03] <anonimasu> hmm.. is there ever a need to interpolate 6 axes
[16:18:04] <anonimasu> ?
[16:18:04] <alex_joni> ashaw: I think there are
[16:18:16] <alex_joni> but probably not ones that output g-code
[16:18:33] <alex_joni> the CAM I use at work interpolates up to 18 axes
[16:18:45] <alex_joni> but it's for welding robots, not CNC & g-code :)
[16:20:15] <hugomatic1> whats the name of the 18 axis CAM program?
[16:22:03] <Valen> I reckon when they were machining those engine blocks it'd come close to 6 axis
[16:23:10] <alex_joni> hugomatic1: it's probably useless for anything else
[16:23:35] <alex_joni> there are a couple: like RobotStudio from ABB, RoboPlan from CLOOS (which I use)
[16:23:47] <alex_joni> basicly all robot manufacturers have their version
[16:23:52] <hugomatic1> I'm just amazed that such wonders exist...
[16:24:06] <alex_joni> there is another "smarter" program out there called 3DCreate
[16:24:09] <tomp> http://imagebin.org/46011
[16:24:28] <alex_joni> some guys in sweden build it, but it's very nicely done that you can extend almost anything by python calls
[16:24:48] <alex_joni> tomp: cool
[16:25:35] <hugomatic1> nice
[16:28:06] <dmess> very nice
[16:29:15] <ashaw> it looks like there are NO 6 axis cam programs in existance
[17:00:38] <dmess> well ashaw.. the way i see it with 5 axes of freedom.. your free... any othere axes would be co-linear or non-orthagonal... so the question i ask is WHY bother??
[17:00:39] <alex_joni> ashaw: for regular machining 5 axes are usually enough
[17:00:56] <alex_joni> as the rotation of the tool is along the 6th DOF, so not really usefull
[17:01:28] <Valen> you could use it perhaps to machine *inside* bits that arent straight accessable from outside perhaps?
[17:01:31] <Valen> think robot arm
[17:01:56] <dmess> im planing on using it on the new toshiba boring mill i have coming in... d'andrea boring and facing head
[17:04:32] <alex_joni> Valen: even then, usually the 6th DOF is the rotation of the spindle
[17:04:59] <alex_joni> that's true even for tools (spindles) attached to robots most of the time
[17:06:25] <alex_joni> ashaw:
http://www.springerlink.com/content/r152716577jj25m9/
[17:07:38] <dmess> alex you ever seen a contouring head?
[17:08:04] <alex_joni> ashaw:
http://www.pomgroup.com/index.php?option=com_content&task=view&id=63&Itemid=124
[17:08:33] <alex_joni> dmess: the term doesn't sound familiar.. but english ain't my mother tongue, so I still might have :)
[17:09:38] <alex_joni> ashaw: anyways, I suspect it's in the <xx>k USD range
[17:10:25] <dmess> it turns the spindle of the boring mill into a cnc lathe / trepanning/contouring machine
[17:18:20] <dmess> i have this landing in 13 sleeps
http://translate.google.ca/translate?hl=en&sl=ja&u=http://www.toshiba-machine.co.jp/machinery/lineup/btd200qh/index.html&ei=0ArqSbvKJ5HGM9LfuOQF&sa=X&oi=translate&resnum=2&ct=result&prev=/search%3Fq%3Dtoshiba%2Bbtd200qh%26hl%3Den%26client%3Dfirefox%26rls%3Dorg.mozilla:en-US:unofficial%26hs%3DHTE
[17:19:36] <alex_joni> dmess: cool
[17:19:38] <alex_joni> bbl
[21:34:32] <dalegrover> NAMES is closing up for the day in half an hour. Handed out many flyers (couple hundred?), talked to many folks, and handed out about 70 CDs.
[21:35:05] <dalegrover> Almost always had folks in the booth. A few had had bad experiences with Linux and/or EMC, but lots of folks who had had positive experiences too.
[21:35:18] <archivist> well done!
[21:35:20] <dalegrover> Ron Ginger sent a lot of folks our way during his seminar on CNC.
[21:36:15] <dalegrover> Greg's photos really went over well. Had the video of the 5-axis machine from Belgium running in a loop--lots of folks were mesmerized.
[21:43:54] <skunkworks> Nice work! Did chris show up?
[21:47:35] <jepler> I think cradek is planning to be there on Sunday, not sure though.
[21:50:46] <skunkworks> ah
[21:50:57] <skunkworks> jepler: decided against going?
[21:52:29] <skunkworks> martyn: how goes it?
[21:53:13] <Martyn> I just about got the tormach working
[21:53:18] <Martyn> I'm taking it slowly.
[21:53:37] <SWPadnos> is there something wrong with the Tormach sample config?
[21:53:40] <Martyn> downloading and installing emc2 took the longest time. I can only download at 150k/sec
[21:53:52] <Martyn> No, it looks good.
[21:53:58] <SWPadnos> ok, phew! :)
[21:54:17] <Martyn> I am milling some example objects now, and checking the dimensions with my handy micrometer
[21:54:35] <Martyn> So far, straight cuts are accurate to within 0.001 tolerance
[21:55:09] <Martyn> (well, actually they are accurate to within 0.00085xx which is acceptable
[21:55:44] <Martyn> I'm going to mill the first circular 1 inch piece now, milling slowly.
[21:56:04] <Martyn> and I'm using aluminum bar stock, nice and soft material with a new sharp endmill
[21:56:27] <SWPadnos> their machines seem able to take some pretty heavy cuts
[21:56:29] <SWPadnos> especially for their size
[21:56:35] <Martyn> I've also locked down the 4th axis
[21:56:52] <skunkworks> SWPadnos: did the shuttle get figured out? I remember someone getting the details figured out.
[21:57:03] <SWPadnos> no, the patch to hal_input didn't work
[21:57:15] <skunkworks> darn
[21:57:31] <SWPadnos> I also patched my kernel with a USB quirk I thought might help, but that didn't work either
[21:57:38] <SWPadnos> though it could have been me
[21:59:08] <Martyn> Okay, I'm happy
[21:59:16] <SWPadnos> yay!
[21:59:19] <Martyn> 1" circle has cut to within the same tolerances
[21:59:29] <SWPadnos> ballscrews are a wonderful thing
[21:59:30] <Martyn> Well, now I'm going to move from 2D to a full 3D part
[21:59:41] <Martyn> SWPadnos : Good PID is also a wonderful thing
[21:59:45] <SWPadnos> shouldn't be any different
[22:00:00] <SWPadnos> there's no PID on a Tormach, unless you added your own servos
[22:00:24] <Martyn> SWPadnos : I'm not talking about the tormach .. just PID in general
[22:00:34] <SWPadnos> oh, well in that case I agree :)
[22:01:11] <Martyn> SWPadnos : However, the vertical tolerances in a tormach /are/ different than the two horizontal axis
[22:01:25] <Martyn> So, I'm hoping I get the same standard devs and tolerances
[22:01:28] <SWPadnos> mechanical tolerances?
[22:01:33] <Martyn> mechanical tolerances, yep.
[22:01:55] <Martyn> It's also why I'm not using the 8" fourth axis for these tests, yet.
[22:02:28] <SWPadnos> hmmm. the resolution is the same. do they use a different ballnut on Z?
[22:02:41] <Martyn> yes
[22:02:53] <SWPadnos> interesting
[22:02:59] <Martyn> actually, a different screw (larger diameter) entirely
[22:03:07] <Martyn> because the vertical axis has the entire weight of the tool
[22:03:29] <SWPadnos> yeah, the head is somewhat heavier than the average quill
[22:03:30] <Martyn> still, I don't /expect/ it to be much different.
[22:03:46] <Martyn> the motor that runs that axis is correspondingly much MUCH beefier
[22:03:49] <SWPadnos> I'd expect a little better if anything, since gravity assists with anti-backlash
[22:03:55] <Martyn> and the tormach is the only 'hobby grade' mill that can do steel
[22:04:05] <Martyn> yep.
[22:04:36] <Martyn> Well, the part is milling now. It's my favorite test part .. a hemisphere on the end of a piece of square stock
[22:04:52] <Martyn> it's just pretty to watch it get cleared and cut
[22:05:08] <Martyn> After this, I'm going to work on learning how to get this panasonic IP web cam to work
[22:05:13] <Martyn> and point it at the machine :)
[22:05:48] <Martyn> erro
[22:05:53] <Martyn> error .. damn
[22:06:18] <SWPadnos> heh
[22:06:21] <SWPadnos> what error?
[22:07:05] <Optic> moo
[22:07:36] <Martyn> The command to pump some lubricant was not executed, and the machining stopped
[22:07:58] <Martyn> this cut requires regular lubrication, since there is a lot of contact
[22:08:14] <motioncontrol> Good morning.i have one question for spindle and drive spindle with analog command 0-10 volt.i use now drive +/-10volt and not ahev the problem whith m3 and m4 because the analog change signal positive or negative automaticaly.But whith drive 0-10 volt the analog negative value is not ok for drives.is possible resolve this problem?
[22:08:30] <Martyn> SWPadnos : Fixed. Error existed between user and keyboard.
[22:08:38] <SWPadnos> excellent
[22:08:39] <Martyn> G-code is so frigging picky :)
[22:09:28] <Martyn> SWPadnos : Should I rezero after an error, or can I trust the zero calibration to not have drifted after an error in emc2?
[22:09:32] <SWPadnos> motioncontrol, you need to add an "abs" HAL block between motion.spindle-speed-out and the PWM
[22:09:42] <SWPadnos> you mean machine zero?
[22:09:47] <Martyn> yep
[22:09:51] <SWPadnos> did you lose power to the motor drivers?
[22:09:54] <Martyn> yep
[22:10:02] <SWPadnos> then you should re-home to be sure
[22:10:20] <Martyn> heh, at least the zero position has not yet been milled away :)
[22:10:27] <SWPadnos> if you had encoders, and they stay powered even when the motors get shut off, then you wouldn't have to
[22:10:29] <SWPadnos> he
[22:10:30] <SWPadnos> h
[22:10:32] <Martyn> rezeroed, and off it goes...
[22:10:34] <motioncontrol> ok thanks i undertsnad
[22:10:55] <Martyn> I love the sheer POWER of the Tormach.
[22:11:12] <SWPadnos> they're nice machines
[22:11:18] <Martyn> For a 'hobby' machine, it's got all the power of any production line tool I've ever maintained. It powers through aluminum like it was butter
[22:11:32] <SWPadnos> I'd consider one if (a) I needed it that badly and (b) I didn't have a Bridgeport waiting for retrofit already :)
[22:11:33] <Martyn> I'm up to 10 inches a minute at the moment, and I know I can kick it up higher than that
[22:12:46] <Martyn> you know, emc2 vs sprutCAM ... compares nicely.
[22:13:10] <SWPadnos> do you have a post for SprutCAM that seems to work well?
[22:13:31] <Martyn> Absolutely.
[22:13:37] <SWPadnos> if so, please add it (or directions to set it up) to the wiki
[22:13:43] <SWPadnos> unless they're already there :)
[22:13:57] <Martyn> I wrote one in python, I'll think about open sourcing it.
[22:15:46] <Martyn> Part complete.
[22:16:03] <Martyn> Z tolerance is well within one thousandth
[22:16:03] <SWPadnos> ok, cool
[22:16:30] <Martyn> I think I've found my new CAM control ... emc2
[22:16:36] <SWPadnos> that's pretty good for a machine with resolution of a tenth
[22:16:39] <SWPadnos> heh
[22:16:54] <SWPadnos> did you have any trouble with the sample config?
[22:17:09] <SWPadnos> or anything that was unclear as to how to use it
[22:17:55] <Martyn> not at all
[22:17:59] <Martyn> it was pretty straightforward
[22:18:08] <Optic> emc2 rocks
[22:18:09] <Martyn> the hardest part was installing emc2
[22:18:30] <Martyn> I didn't like that I had to partition the system to install the whole ubuntu-based OS
[22:18:40] <Martyn> I want to install a program, not a whole operating system.
[22:19:18] <archivist> its machine control not just a program
[22:19:18] <Martyn> I still don't understand why there are so many dependencies, that you have to tie it to a given revision of the OS (8.04) rather than just have it install on any linux distribution
[22:19:52] <SWPadnos> the realtime kernel makes it a little harder
[22:20:11] <SWPadnos> you could use any flavor of Linux, if you want to patch and build (and test) your own kernel, as well as EMC2
[22:20:28] <Martyn> it absolutely requires a hard realtime kernel, eh?
[22:20:37] <SWPadnos> yes, of course
[22:20:47] <Martyn> I wonder how windows based machine control systems do it, since they don't have that fine grained a scheduler...
[22:20:54] <SWPadnos> they suck more
[22:20:58] <SWPadnos> (in general)
[22:21:09] <archivist> or hand off to external realtime
[22:21:19] <Martyn> I think archivist has the right of it
[22:21:27] <SWPadnos> I've looked at step pulse output from EMC2 and a Windows based control, and the pulse timing was much better with EMC2
[22:21:32] <Martyn> they use drivers that tie into a hard realtime controller that is plugged into the machine...
[22:21:39] <Martyn> that makes sense
[22:21:41] <SWPadnos> sure, that's another option, and one which we can't do at the moment
[22:21:51] <archivist> and they cost buckets
[22:21:54] <Martyn> Heh.
[22:22:00] <SWPadnos> sure, if you want to spend a few $$k, you can do that
[22:22:29] <Martyn> I think I'd rather have a micro hard realtime controller on an SBC (say, one of those wonderful ARM linux based Cortex A8 boards)...
[22:22:30] <SWPadnos> one thing to remember though - EMC2 is acpable of doing things that the "hobby" controls can't do at all
[22:22:38] <archivist> I haz no bukkets so I stick with EMC
[22:22:40] <Martyn> SWPadnos : utterly agreed
[22:22:41] <SWPadnos> unless the hard realtime controller can do them
[22:23:05] <SWPadnos> like rigid tapping, actual spindle-synchronized threading, realtime feed override, realtime jogging ...
[22:23:47] <SWPadnos> you *can* jog EMC2 with a USB controller, but if something would happen to make user-space applications pause, so would your jogging
[22:23:54] <Martyn> SWPadnos : One impressive thing though .. after I booted the emc2 partition on the dell machine Tormach configured for the P1100, and did the configuration, it was happy. Machine control worked with no hassles.
[22:24:03] <SWPadnos> that's the only option with the Windows controls
[22:24:30] <SWPadnos> EMC2 also has the ability to have the hard realtime code read a jog-wheel (encoder), which won't get screwed up by user applications
[22:24:37] <Martyn> SWPadnos : Whomever did the original Tormach configuration has my respect.
[22:24:40] <SWPadnos> that's good
[22:24:44] <SWPadnos> thank you :)
[22:24:49] <SWPadnos> (that's me :) )
[22:24:57] <Martyn> Can I use my spaceorb with EMC2?
[22:25:04] <SWPadnos> possibly
[22:25:05] <Martyn> I assume it shows up as a mouse device under Linux...
[22:25:12] <SWPadnos> well, not necessarily
[22:25:38] <SWPadnos> there's a driver called "hal_input" which works with just about every "Human Interface Device" or HID
[22:25:49] <SWPadnos> you can test it:
[22:25:58] <Martyn> I have a space navigator by 3d connexion
[22:26:02] <SWPadnos> with EMC2 running, plug in the SpaceOrb
[22:26:07] <Martyn> It's the best thing I've ever found to do 3D motion
[22:26:07] <SWPadnos> ok, I have one of those as well
[22:26:10] <SWPadnos> heh
[22:26:21] <Martyn> So it works?
[22:26:30] <SWPadnos> dunno - let's find out ;)
[22:26:32] <Martyn> What did you have to do to configure it as an input device?
[22:26:37] <SWPadnos> got yours handy?
[22:26:40] <Martyn> Yep
[22:26:43] <SWPadnos> ok
[22:26:50] <Martyn> but I need to wait until this part finishes milling
[22:26:54] <SWPadnos> I have one for PCB CAD, I don't use it on a Linux machine
[22:26:57] <SWPadnos> ok, no ptroblem
[22:26:59] <SWPadnos> problem
[22:27:02] <Martyn> I use mine with SolidWorks ...
[22:27:06] <SWPadnos> actually you can do this stuff with the machine running
[22:27:13] <Martyn> I don't want to take the chance :)
[22:27:18] <SWPadnos> no, that's truw
[22:27:21] <SWPadnos> e
[22:27:37] <SWPadnos> one thing that can cause a glitch in the realtime timing is a USB re-enumeration
[22:27:39] <Martyn> Plus I'd have to do downstairs and pull it off the machine running Solidworks ...
[22:27:47] <SWPadnos> (ie, don't plug or unplug things when the machine is running)
[22:27:49] <SWPadnos> heh
[22:27:50] <Martyn> yep.
[22:28:00] <SWPadnos> well, I can give you the instructions and you can try it later
[22:28:01] <Martyn> Well here's the test about to happen
[22:28:35] <SWPadnos> once you've plugged in the orb, open a terminal hmmm. one sec. I can try mine on my sim system
[22:28:35] <Martyn> I'm using the HeeksCad Adaptive Clearing Path generated arcs to do the clearing .. it's using every possible edge on the tool ... almost constant contact with the piece
[22:29:00] <SWPadnos> oops, bad paste there
[22:29:04] <Martyn> This is awesome .. I'm watching it take little "bites" out of a pocket. cut-arc-cut-arc-cut
[22:29:10] <Martyn> so much more efficient!
[22:30:45] <JymmmEMC> Have you guys been able to use the 3dconnexion as a mouse yet?
[22:31:25] <JymmmEMC> Space Navigator that is
[22:31:52] <skunkworks> martyn: are you using axis?
[22:32:34] <skunkworks> Martyn: video? ;)
[22:32:53] <Martyn> skunkworks : After I mill these pieces, I'm going to start learning how this panasonic IP webcam works
[22:33:08] <Martyn> I still have to read the manual, and figure out how to make videos available
[22:33:14] <Martyn> <-- NOT a techie
[22:33:22] <Martyn> I just know enough to get myself in constant trouble.
[22:34:56] <skunkworks> not a techie - but using heekscad and emc - I think your doing just fine.
[22:36:58] <Martyn> Well, sure .. I'm not stupid either. I can read a manual :)
[22:37:29] <Martyn> I'm going to have to use the rotary table soon, and moving to a 4th axis in emc2 will be interesting
[22:38:08] <SWPadnos> well, the Spacenavigator works
[22:38:10] <Martyn> I did not see any support for the rotary attachment in the sample configuration. Did you have a chance to use one SWPandos?
[22:38:15] <SWPadnos> you can even control the cool blue LED in it :)
[22:38:18] <Martyn> what did you do to get it work work?
[22:38:31] <SWPadnos> I loaded the driver
[22:38:40] <SWPadnos> it doesn't automatically make EMC2 do anything
[22:39:01] <SWPadnos> when you load the driver, you get access to all the buttons, lights, and "joystick axes" on the device
[22:39:23] <SWPadnos> you have to connect those inputs (or outputs, in the case of the LED) to other things to make anything happen
[22:39:53] <Martyn> two questions
[22:40:02] <Martyn> does Ubuntu load the driver automatically after connecting the device?
[22:40:22] <Martyn> and is there a gui utility to do the mapping of functions?
[22:40:36] <SWPadnos> there are (at least) two kinds of driver
[22:40:48] <SWPadnos> Ubuntu does recognize the device, but it didn't seem to do anything by default
[22:41:11] <SWPadnos> you also need an EMC2-related "HAL" driver if you want the device to do things specific to EMC2
[22:41:16] <SWPadnos> ie, to not act like a mouse
[22:41:40] <SWPadnos> as I said though, there's a generic driver that works with almost all kinds of input device
[22:42:04] <SWPadnos> you can attach a second keyboard and get loads of "input switches" plus a few LEDs
[22:42:35] <Martyn> Well, lets see if I can say what I mean as far as what I would like
[22:42:42] <SWPadnos> hal_input driver can take control, such that the rest of the system doesn't get the keystrokes from that keyboard any more
[22:42:54] <SWPadnos> ^the
[22:42:59] <Martyn> I would like the X and Y axis to jog when the paddle is pushed right/left forward/backwards
[22:43:12] <Martyn> I'd like the Z axis to jog when the paddle is lifted/pushed down
[22:43:25] <Martyn> and the rotary attachement to turn clockwise/counterclock when the paddle is twisted
[22:43:57] <SWPadnos> you know how you might buy a button and some wire and a doorbell, and hook the button to the doorbell with the wire?
[22:44:14] <SWPadnos> that's how you customize EMC2
[22:44:38] <SWPadnos> the SpaceNavigator looks like a bunch of buttons and sliders (plus an LED)
[22:45:01] <SWPadnos> there are places where you can connect "virtual buttons" within the Hardware Abstraction Layer (HAL)
[22:45:11] <SWPadnos> These inputs do certain things
[22:45:21] <Martyn> The HAL files just describe a connection between an external device and a function call inside of emc2?
[22:45:32] <SWPadnos> like jogging each joint, starting the program, turning lube on/off ...
[22:45:39] <SWPadnos> that's more or less it
[22:45:43] <SWPadnos> not quite a function call
[22:45:57] <SWPadnos> it's more like having chips on a PC board and wiring them together
[22:46:03] <SWPadnos> HAL
[22:46:16] <Martyn> hardware abstraction layer ...
[22:46:29] <SWPadnos> HAL "components" have functions that run in threads, and also have "pins" that are connected together with "signals"
[22:46:35] <SWPadnos> yes
[22:46:41] <Martyn> I'm familiar (kind of) with hal thanks to the way Mitsubishi lathes work
[22:47:03] <SWPadnos> oh, interesting
[22:47:21] <Martyn> do you have to modify the code directly, or is there a HAL description file somewhere I can tie those functions together with?
[22:47:56] <SWPadnos> take a look here:
http://cvs.linuxcnc.org/cvs/emc2/configs/tormach/pcnc-1100.hal?rev=1.3
[22:48:17] <SWPadnos> or look at the local copy you have :)
[22:48:27] <Martyn> Oh crap
[22:48:29] <SWPadnos> the configuration is just text files
[22:48:38] <Martyn> That means you didn't have access to a 4th axis rotary bed, eh?
[22:49:00] <SWPadnos> the Tormach file is set up for 4 axes
[22:49:03] <Martyn> I notice that only 3 axis are defined in the HAL file.
[22:49:09] <SWPadnos> does your AXIS display show XYZA?
[22:49:18] <SWPadnos> heh
[22:49:20] <SWPadnos> off by one there
[22:49:26] <SWPadnos> the numbers start at zero ;)
[22:49:26] <skunkworks> 0123
[22:49:36] <Martyn> Oh!
[22:49:38] <Martyn> -laugh-
[22:49:43] <SWPadnos> yep :)
[22:49:55] <Martyn> This whole idea of counting from 0 will one day make sense to me, I swear.
[22:50:17] <SWPadnos> if you take a look at the manuals, there is a lot of information on using, exploring, configuring, and manupulating HAL
[22:50:35] <Martyn> I will. this is all of day <one> for me and emc2
[22:50:40] <SWPadnos> heh
[22:50:46] <SWPadnos> taking it slow, I hear :)
[22:51:00] <Martyn> I think I'm doing well to have the machine fully operational with a default configuration
[22:51:15] <Martyn> speaks volumes about emc2 though
[22:51:28] <SWPadnos> hrh
[22:51:34] <SWPadnos> yeah. it's good all around
[22:51:38] <Martyn> I'm milling my favorite thing out of barstock aluminum right now.
[22:51:49] <Martyn> A micro engine. 1cc of one cylinder power.
[22:52:00] <motioncontrol> good morning.i have the question for tool table.if i write in mdi g43 h1 the emc load lengh h1.after modification in gedit the lengh at new value.write g49 at affter g43h1 and emc load old value.For load new value i restart emc because ?
[22:52:15] <Martyn> Right now the cyllinder head is being machined, and it's coming out quite nicely.
[22:53:07] <Martyn> It's a very good test of the machine tolerances :)
[22:54:54] <Martyn> too bad I can't get the tormach to tap the threads of the cyllinder head or the main engine block
[22:55:25] <skunkworks> all you need is a spindle encoder... :)
[22:55:33] <skunkworks> (for emc anyways)
[22:57:02] <Martyn> skunkworks : To have a spindle encoder .. there's the small problem of not having any hardware for the Tormach as well, after all.
[22:57:44] <SWPadnos> well, this is one thing I disagree with Greg about - I don't think the machine should be limited to "what can be connected via the parallel port"
[22:58:04] <SWPadnos> but he wants all their machines to be compatible, and it's his company :)
[22:58:04] <Martyn> Oh?
[22:58:45] <SWPadnos> there are interfaces, some of which run off the parallel port (others are PCI), which can give you mich better performance than software step generation out the parport
[22:58:52] <SWPadnos> much, that is
[22:59:07] <SWPadnos> there's one that costs $90 or so, and has 48 I/Os
[22:59:08] <Martyn> okay. Cylinder head complete, now moving on to machining an engine block. I already have a piston machined from a different machine, as well as the rod and crankshaft..
[22:59:25] <SWPadnos> it also has onboard step generators and encoder counters, which relieves the PC of that very time-constrained task
[22:59:39] <Martyn> and thus reduced the strain on the kernel, reducing the need for realtime
[22:59:50] <SWPadnos> and can generate the analog reference needed for spindle speed control
[22:59:53] <SWPadnos> well, sort of
[23:00:04] <SWPadnos> you still need hard realtime, but you have much more relaxed deadlines
[23:00:21] <Martyn> Well, while the block is machined, I can tap the the threads by hand. It's not exactly an onerous task
[23:00:26] <SWPadnos> since you only need to run code every millisecond or so, you can tolerate 50 microseconds of jitter (or more)
[23:00:39] <Martyn> the threads are no more accurate if a machine mills them, than if I tap them by hand.
[23:01:01] <SWPadnos> when you're trying to generate steps on a timescale of 20-40 microseconds each, you can only tolerate 10 to 15 microseconds of jitter
[23:01:08] <Martyn> eek
[23:01:20] <SWPadnos> it's a heck of a lot easier to have the machine do it though, if you're doing many holes
[23:01:22] <Martyn> that's not many instructions, is it. Even with a modern processor
[23:01:31] <Martyn> absolutely!
[23:01:35] <SWPadnos> it's several thousand instructions
[23:01:47] <skunkworks> but machine tapping is just cool :)
[23:01:50] <Martyn> but in this case it's a thread at the top of the cylinder head (for the glow plug), and one at the bottom to attach it to the block
[23:02:14] <Martyn> skunkworks : Machine tapping -is- cool. Doing inside threads though, is a pain
[23:02:17] <SWPadnos> in any case, there are lots of things you can do with more than the 17 I/Os of a parallel port and without the timing limitations of a PC
[23:02:29] <SWPadnos> um, with a tap?
[23:02:35] <SWPadnos> or with a threadmill?
[23:02:45] <SWPadnos> or on a lathe? :)
[23:02:59] <SWPadnos> (all of which are supported by EMC2, if you have a spindle encoder)
[23:03:21] <Martyn> threadmill
[23:03:31] <skunkworks> http://www.youtube.com/watch?v=C740zS9R9kk&feature=channel
[23:03:46] <Martyn> I'll even bet that the tormach has the power to do straight tapping :)
[23:03:46] <skunkworks> ^stepper printer port machine.
[23:03:49] <SWPadnos> uh-oh. I sense more machine porn :)
[23:04:10] <SWPadnos> sure, it's a reasonably beefy machine
[23:04:27] <skunkworks> that machine is a lot smaller than a tormach
[23:06:31] <Martyn> That is straight up machine porn
[23:06:47] <JymmmEMC> But is it QUALITY machine pr0n?
[23:06:49] <Martyn> On the other hand, it's tapping a small hole :)
[23:07:05] <Martyn> these cylinder heads are 1.2cm wide
[23:07:34] <Martyn> okay, block is now machined. I love how fast this 'hobby' machine is
[23:07:38] <Martyn> at least with aluminum
[23:07:44] <Martyn> Tomorrow, I'll have to try steel
[23:08:11] <Martyn> SWPadnos : You said that the accuracy was a _tenth?_
[23:08:18] <Martyn> tenth of a mm, I assume...
[23:08:22] <SWPadnos> resolution, not accuracy
[23:08:28] <SWPadnos> "tentth" = 0.0001 inch
[23:08:31] <SWPadnos> tenth
[23:08:39] <SWPadnos> (ie, a tenth ofa thou :) )
[23:08:44] <Martyn> -nod-
[23:08:47] <anonimasu> Martyn: pictures or it didnt happen
[23:09:03] <SWPadnos> contribute to the EMc2 Youtube Pr0n channel
[23:09:06] <anonimasu> ^_^
[23:09:12] <Martyn> anonimasu : :p
[23:10:03] <Martyn> I'll ask my son later tonight how to upload to youtube
[23:10:34] <Martyn> he's been trying to show me how to use firewire to copy the videos from the camera to the computer
[23:11:05] <motioncontrol> good morning for reload in mdi the tool table the command is g10 L1 ? if i write g10 L1 have error because?
[23:12:01] <Martyn> I wish the tormach had a tool changer :(
[23:12:40] <JymmmEMC> Martyn: It does... see end of your wrists
[23:13:04] <Martyn> JymmmEMC : /automated/ tool changer :)
[23:13:15] <Martyn> JymmmEMC : I'm quite happy changing tools.
[23:13:32] <JymmmEMC> Martyn: You automatically change the tools when it needs it, right?
[23:14:40] <Martyn> JymmmEMC : *chuckle* You're as bad as the machinist that showed me how to use my first CNC machine in the late 70s
[23:15:51] <Martyn> Sometimes I'm worried that as I get older, I'll never be able to keep up with the changes in technology .. that said, I will _always_ know how to run a bridgeport mill, and will never forget how to manually do anything.
[23:16:00] <Martyn> That said ... three cheers for a home CNC machine.
[23:16:30] <JymmmEMC> Martyn: I bet you haven't even figured out you're it's biotch =) "Yo Biotch, tool me!" "Biotch, feed me" "Biotch, lube me baby" "Biotch gimme more power" LOL
[23:16:40] <Martyn> "biotch?"
[23:16:42] <alex_joni> SWPadnos: wanna bet I can top your machine pr0n ?
[23:16:46] <SWPadnos> no
[23:16:47] <SWPadnos> :)
[23:16:57] <alex_joni> http://www.youtube.com/watch?v=-CKNajrRIeI
[23:17:38] <Martyn> nice hot wire cutter
[23:17:47] <Martyn> must be someone who makes model airplanes
[23:19:20] <Guest958> is that 2 tripods?
[23:19:26] <alex_joni> Guest958: bipods
[23:19:27] <Guest958> Guest958 is now known as skunkworks
[23:19:30] <alex_joni> 2 x bipods
[23:19:33] <skunkworks> right - what you said..
[23:19:43] <alex_joni> and emc2 of course
[23:20:05] <skunkworks> nice!
[23:20:10] <Martyn> ist gud
[23:20:21] <alex_joni> but it's a very interesting concept to tension the cutting wire
[23:21:01] <skunkworks> wood weights?
[23:21:09] <Martyn> SWPadnos : For the record, emc2 did a _better_ job at interpreting the paths than the native software that comes with the tormach
[23:21:19] <Martyn> The final pieces are absolutely wonderful.
[23:21:25] <SWPadnos> cool
[23:21:31] <SWPadnos> let them know that :)
[23:21:47] <skunkworks> I think we knew that already.. :p
[23:21:47] <Martyn> "A free piece of software did a better job than the $995 piece of crap you sell"
[23:21:54] <SWPadnos> they sell it?
[23:21:57] <JymmmEMC> alex_joni: Oh, the U bow under the table?
[23:22:01] <SWPadnos> err, I mean - excellent
[23:22:22] <alex_joni> hmm.. seems maybe it's not emc2
[23:22:26] <JymmmEMC> SWPadnos: you smooth talker
[23:22:32] <alex_joni> another user linked to it, that wants to do it with emc2
[23:22:33] <SWPadnos> :P
[23:22:37] <JymmmEMC> alex_joni: some windows thing running on a laptop
[23:22:50] <alex_joni> delphi program (seems open source)
[23:23:14] <Martyn> SWPadnos : heh.
[23:23:32] <SWPadnos> isn't it $995 for the PC with the software?
[23:23:39] <SWPadnos> (ie, not just the software)
[23:23:45] <Martyn> SprutCAM 2007 w/USB Dongle (30691) $992.00
[23:24:00] <SWPadnos> oh, that's different :)
[23:24:01] <Martyn> That's the line item
[23:24:05] <Martyn> yes, I know :)
[23:24:50] <Martyn> Sorry, wrong item
[23:24:51] <Martyn> Configured PC w/Monitor (30282) $922.00
[23:24:55] <Martyn> That's the right one
[23:25:00] <Martyn> they just throw it all in that cost
[23:25:10] <SWPadnos> right, OK
[23:25:11] <Martyn> it's a nice Dell, by the way
[23:25:18] <SWPadnos> sure, I've seen one before ;)
[23:25:24] <Martyn> Looks very professional next to it.
[23:25:39] <SWPadnos> I may still be able to log into their EMC2/Ubuntu test system
[23:25:43] <Martyn> I bought this from a company that went ka-put, so I paid $6500 for the complete kit
[23:26:01] <SWPadnos> that's a good deal
[23:26:12] <SWPadnos> bummer for them, good for you
[23:26:27] <Martyn> very. Although they kicked the _crap_ out of the tools. Every single one was badly damaged
[23:26:48] <SWPadnos> "damned thing doesn't work, get rid of it" :)
[23:26:50] <Martyn> It was used for some TV program in San Francisco.
[23:29:18] <Martyn> on public television of all things.
[23:29:31] <SWPadnos> cool
[23:29:32] <Martyn> I wish I got the one Jim Newton managed to get a hold of (TechShop.ws)
[23:29:48] <Martyn> \\he\\ got the one from Prototype This .. it was barely used
[23:29:56] <Martyn> Also from the SF area
[23:29:56] <SWPadnos> bummer
[23:30:06] <SWPadnos> the stuff at the TechShop gets beaten a fair amount
[23:30:09] <SWPadnos> it's like rental cars
[23:30:17] <Martyn> yeah, he got it even cheaper than I got mine... some kind of behind-the-scenes deal
[23:30:42] <Martyn> Yes, but the TechShop equipment is all pretty durable .. two bridgeports, two dont-know-whats
[23:30:54] <SWPadnos> yeah. been there :)
[23:31:12] <SWPadnos> at least to one of them
[23:31:21] <Martyn> There's just one for now. Menlo Park, CA
[23:31:23] <SWPadnos> near that bridge with the funny name
[23:31:27] <Martyn> I helped with the initial setup
[23:31:36] <SWPadnos> cool
[23:31:37] <Martyn> The next one will be not far from where I am now, in Austin TX
[23:31:39] <Martyn> then more
[23:31:44] <SWPadnos> nice
[23:31:56] <Martyn> I was very impressed with the fact that they have -three- Epilog laser cutters
[23:32:01] <Martyn> Those are expensive toys
[23:32:03] <SWPadnos> I talked to several of the guys there about setting up a CNC "work cell" with EMC2
[23:32:09] <Martyn> but ones that anyone can use in a heartbeat
[23:32:22] <SWPadnos> sadly, I lost the card of the person who I needed to contact again
[23:32:23] <Martyn> SWPadnos : That would be nice.
[23:32:56] <tomp> in a work cell how would emc's talk to each other ( or is that the architecture) ?
[23:33:08] <Martyn> SWPadnos: Contact - Jim Newton (Founder) : (650) 521-9027
[23:33:08] <tomp> autin texas, try ernie applegate at applegate eng
[23:33:27] <SWPadnos> oh, thanks. I'll write that somewhere I can't lose it
[23:33:38] <Martyn> tomp : ernie applegate is involved with the new startup of TechShop in Austin?
[23:34:00] <SWPadnos> tomp, EMC was designed from the beginning for having multiple layers of contril
[23:34:01] <tomp> no, justa cluey guy runs a shop there
[23:34:02] <SWPadnos> control
[23:34:42] <Martyn> SWPadnos : What's a work cell?
[23:34:45] <Martyn> I'm trying to wiki it
[23:35:06] <SWPadnos> one of the concepts was to have controllers for each machine and robot/shuttle, controlled by a cell controller, controlled/monitored by a "line manager", controlled/monitored by a plant controller ...
[23:35:22] <Martyn> oh!
[23:35:24] <SWPadnos> oh, just several machines that work together to make stuff
[23:35:43] <Martyn> That's kind of counter-indicated in techshop though.. since people tend to do things one thing at a time. It's not set up for production
[23:35:54] <tomp> work cell, like a robot taking a part from a lathe and handing it to a mill and 3 more sets of lathe robot mill down the row
[23:36:22] <SWPadnos> one plant I was in had a big-ass EDM-type machine which was fed with cast parts, then those were taken out and machined in a row of VMCs, all moved around by robot
[23:36:46] <SWPadnos> once the part was put in the EDM, no human would touch it until it was done and deposited in the output tray (by robot)
[23:37:16] <tomp> hmm cell controller, line manager, nice
[23:37:21] <Martyn> oooo
[23:37:32] <SWPadnos> I don't think they called them that, but it's meant to be hierarchical like that
[23:37:34] <Martyn> that would certainly bring emc2 into the realm of professioal line control
[23:37:43] <SWPadnos> just like EMC and EMC2 are internally
[23:37:47] <Martyn> I think a nice ui would start to become a neccessity at that point
[23:38:08] <SWPadnos> the task planner tells the IO controller and motion controller and ladder controller and ... what to do, and monitors their progress
[23:39:20] <Martyn> Very nice, the parts are now complete
[23:39:29] <Martyn> I have a little finishing work to do, but everything looks good
[23:39:49] <tomp> Martyn: what are you making? on emc?
[23:39:58] <Martyn> I have an all aluminum 1cc single cylinder engine block, cylinder head, and glow plug cap
[23:40:03] <Martyn> it will never run, of course...
[23:40:08] <Martyn> but, it's very well machined.
[23:40:19] <tomp> i like motors :)
[23:40:25] <Martyn> tomp : I'm just testing this tormach and getting it working on emc2
[23:40:52] <Martyn> SWPadnos : How long did you work for them?
[23:40:53] <tomp> ah, i 'member yesterday, a tormach, nice solid looking machine
[23:41:23] <SWPadnos> Martyn, I didn't. I was designing part of the power system for the EDM machine
[23:41:27] <Martyn> ah!
[23:41:47] <alex_joni> I've seen some plants where they use big-ass robots as tool-changers
[23:42:20] <alex_joni> there were a robot in a booth, with lots of shelves around it
[23:42:21] <SWPadnos> yes, those are bigger-assed than the ones I'm talking about :)
[23:42:37] <alex_joni> it would get a new tray with tools, scan them and put them back to their places
[23:42:55] <alex_joni> then it got a new command for tools to put in the tray, which it did
[23:43:10] <alex_joni> the tray then moved to a CNC machine, where it was used with the ATC
[23:43:13] <Martyn> I need to put in an order with McMaster-Carr
[23:43:19] <Martyn> I need more small endmills ...
[23:43:25] <alex_joni> all of the above happened without user intervention
[23:43:35] <tomp> a mazak integra? like 4x6 x1 meter cube pallet rack
[23:44:01] <tomp> robot looks like a hyster fork lift?
[23:45:09] <alex_joni> tomp: nope, the robot was a 6-dof Kuka
[23:45:16] <alex_joni> about 2.5m tall
[23:45:22] <tomp> thats more fun
[23:45:23] <Martyn> http://www.hossmachine.info/projects_7.html <--- a really REALLY upgraded mill
[23:45:25] <alex_joni> maybe 4.5m reach
[23:46:31] <Martyn> For the record, I achieved 13 ICM with a .25" endmill , .1" DOC on the tormach into aluminum. Just fantastic. This thing is a monster.
[23:46:38] <skunkworks> Martyn: yes - but he uses mach.. ;)
[23:46:47] <Martyn> yeah yeah yeah
[23:46:53] <Martyn> but .. it has a quick change :)
[23:47:40] <Martyn> That's one modification I will be making to this tormach.
[23:47:45] <tomp> hossmachine mods are nice
[23:47:50] <tomp> thx
[23:48:13] <Martyn> Even if I can't do automated tool changes, being able to quickchange the tooling will cut down wasted time
[23:49:00] <Martyn> Allright, dinner (and wife) call.
[23:49:23] <Martyn> Good evening gentlemen. If anyone here knows about web cameras, and how to set up streaming video .. I'll be back on later tonight.
[23:49:35] <tomp> emc has a manual tool change feature, pops up a dialog saying put in the 1/2" c'bore and squirt some lube below the chuck" ( whatever ). could be tied to one of the tree lights
[23:49:41] <tomp> gnite
[23:49:57] <Martyn> Because frankly the manual of this thing reads like half japanese, half crazy talk
[23:50:19] <tomp> 'make for removing the lens cap'
[23:52:05] <SWPadnos> hmmm. I guess I should pack or eat or something also