#emc | Logs for 2006-11-19

Back
[00:24:19] <jmkasunich> where's rayh...
[00:24:44] <jmkasunich> Ohio State (my home state) 42 Michigan (rays home state) 39 ;-)
[00:31:40] <skunkworks> I concider him northern wi ;)
[00:32:49] <skunkworks> consider
[01:22:03] <rayh> Hi guys.
[01:22:09] <jmkasunich> hi ray
[01:22:13] <rayh> Congrats on your team, jmk.
[01:22:24] <jmkasunich> quite a battle
[01:22:46] <rayh> Sounds like both teams could have used help with defense.
[01:29:22] <rayh> jmkasunich, You said something recently about the compile farm. What's going on there?
[01:29:49] <jmkasunich> working on moving it to virtual machines running on my main computer
[01:30:00] <jmkasunich> should be faster, and save some electricity
[01:30:10] <jmkasunich> I'll be phasing out the really old systems, and adding newer ones
[01:30:28] <jmkasunich> I aim to have dapper, breezy, and BDI-4.something, probably 4.50
[01:30:36] <rayh> Ah. That sounds like a good plan.
[01:30:43] <jmkasunich> also a non-realtime compile on breezy and maybe dapper
[01:31:25] <jmkasunich> slot 2 that was running BDI-2 apparently had hard disk troubles starting a while back, I noticed it hadn't been updating, and checked it yesterday
[01:31:36] <rayh> RTAI isn't an issue with virtual?
[01:31:57] <jmkasunich> not for compiling
[01:32:19] <jmkasunich> not sure about running, but we never actually _ran_ the farm slots anyway
[01:32:43] <rayh> Right.
[01:33:12] <rayh> The switch over to new equipment should be a great improvement.
[01:35:42] <jepler> in theory we can now run 'scripts/runtests' -- this should work in a virtual environment
[01:36:10] <jmkasunich> I might give that a shot after the rest is working
[01:36:42] <jmkasunich> although I want to avoid running anything that might lock up the machine
[01:37:49] <jepler> with "vmware-cmd" you do have the ability to reboot the slots from the host's commandline
[01:38:21] <jmkasunich> I know its not hard to recover
[01:38:36] <jmkasunich> but automating could be a pain
[01:38:40] <jepler> I agree
[01:41:10] <jmkasunich> jepler: how are the section 9 man pages handled by make clean, etc
[01:41:25] <jmkasunich> does it clear that entire directory, or only the generated ones?
[01:41:28] <jepler> jmkasunich: they may be missed now, I'm not sure
[01:41:42] <jmkasunich> I'm working on man pages for streamer and sampler, and should also do ones for stepgen, etc
[01:41:51] <jmkasunich> those need to live in the .9 directory and not get erased
[01:42:11] <jepler> it looks like 'make clean' does nothing right now
[01:43:08] <jmkasunich> I suppose we can leave it that way
[01:43:31] <jmkasunich> or we can put the actual man pages somewhere in the docs/src tree, and have make copy them to docs/man
[01:43:40] <jmkasunich> but that seems a little overly complex
[01:45:06] <CIA-8> 03jepler 07HEAD * 10emc2/src/hal/components/Submakefile: remove generated manpages for 'make clean'
[01:45:48] <jepler> that should do it right -- only clean the generated ones
[01:49:03] <tomp> hello all
[01:50:43] <rayh> Hi tomp
[02:09:10] <jtr_emc> logger_emc: bookmark
[02:09:10] <jtr_emc> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2006-11-19.txt
[02:21:12] <tomp> Hi Ray, just finished 1st sinker conversion. had it scraped in, dovetails & cuts rock steady. Looking fwd to using Hal on one.
[02:21:42] <tomp> like, >just< finished, cant get the crap off my hands yet
[02:23:40] <rayh> I know the craponhands thing.
[02:24:14] <rayh> What kind of conversion.
[02:25:07] <tomp> elox hrp 19x, hydraulic edm to new popwer supply, 3kW motor and 50mm ballscrew (5 pitch)
[02:25:14] <tomp> power
[02:25:36] <tomp> 300 amps, cuts great
[02:27:07] <tomp> it held a 25 amp finish cut on a 12x18 die for 1/2 hr dead steady, never blinked, stiffest system I ever saw ( Nasovia included )
[02:27:40] <tomp> heck stiffer trhan Droop & Rhine
[02:28:52] <rayh> Fantastic
[02:30:03] <rayh> 300 amps sounds more like a welder.
[02:30:34] <tomp> the diff between desired & actual position never varied more than 1 unit of motion ( .0002" ) for 1/2 hr
[02:31:11] <tomp> yeh ;-) and it was Average amps ! (measured across the shunt)
[02:32:01] <rayh> wah. that sounds awesome
[02:32:28] <rayh> so 0002 was one encoder count?
[02:32:35] <tomp> got movies I'll post to my own site ( if I can remeber my url :-(
[02:32:46] <tomp> yes Accurite 5um scale
[02:33:45] <tomp> the material was some secret concoction, the weld ... i couldnt scratch it with a file, the parent... same thing
[02:33:59] <rayh> Nice setup. Sounds like good tuning.
[02:34:23] <tomp> used those automation direct amps, self tuning worked great
[02:34:50] <tomp> no pots :-)
[02:35:10] <tomp> oh yeah 3.3m/min and 20ms acceleration :-)
[02:35:50] <rayh> I've looked at the AD amps but have not tried one yet.
[02:36:10] <tomp> I thought I got them on YOUR reccomendation
[02:36:21] <tomp> :-o
[02:37:02] <tomp> btw nice article in the new mag
[02:38:02] <rayh> tnx
[02:38:24] <rayh> I know that we talked about AD amps and motors.
[02:39:45] <tomp> about your recent request about pc based cnc.. do you include stuff like dTau? or does the control need to be done by the pc?
[02:42:05] <rayh> I was thinking more of interesting and effective ways of organizing PC type stuff around a retrofit.
[02:42:28] <rayh> So I'm interested in any kind of pc based motion control
[02:42:36] <rayh> retrofit.
[02:44:25] <tomp> hmm, I used a pc inside this control, it's dos based with HCTL1000 motion chips, but is only a single axis control.
[02:45:35] <tomp> Well, I'll gather any pc info I got for you, but gotta stop now, fading fast. nite all!
[02:45:46] <jmkasunich> goodnight tomp
[03:01:21] <danfalck> hi guys
[03:02:06] <rayh> Hi danfalck
[03:02:11] <danfalck> hi ray
[03:02:25] <danfalck> my mill is running Triggs parts right now
[03:03:04] <danfalck> I've been hacking Varkon a bit this week
[03:03:10] <danfalck> learning more
[03:03:45] <danfalck> rayh: so you're writing an article on PC CNC?
[03:13:59] <rayh> I'm working on describing some of the issues with using commercial PC stuff in a retrofit/jobshop environment.
[03:17:05] <danfalck> magazine article?
[03:17:25] <rayh> I'm hoping it will get there.
[03:17:28] <rayh> brb
[03:27:08] <CIA-8> 03cradek 07HEAD * 10emc2/src/emc/rs274ngc/interp_convert.cc: end in the right place after g76
[03:58:40] <CIA-8> 03cradek 07HEAD * 10emc2/nc_files/g76.ngc: why yes, this is my idea of documentation
[03:59:41] <jmkasunich> lol
[04:01:43] <CIA-8> 03jmkasunich 07HEAD * 10emc2/docs/man/.cvsignore: man pages for the HAL streamer
[04:01:43] <CIA-8> 03jmkasunich 07HEAD * 10emc2/docs/man/man1/halstreamer.1: man pages for the HAL streamer
[04:01:46] <CIA-8> 03jmkasunich 07HEAD * 10emc2/docs/man/man9/streamer.9: man pages for the HAL streamer
[04:07:23] <jtr_emc> cradek: just saw your lathe servo mount photo. What servo did you use? I'm looking at converting my Taig
[04:07:48] <cradek> I used some gifts from jmkasunich's junkbox
[04:08:20] <cradek> they have old (80s?) HP part numbers on them
[04:08:32] <jmkasunich> came out of a printer from the company dumpster
[04:08:48] <jmkasunich> unfortunately I don't know anything about them, or where to get more
[04:09:15] <cradek> I have some similar (slightly smaller) servos from original HP deskjets
[04:09:22] <jtr_emc> ah, ok. was looking at jepler's etch-a-sketch servos and wondering about them, but saw where he had said they were slow.
[04:09:29] <cradek> they also have a high res encoder built in just like these
[04:09:36] <jmkasunich> yeah, those have integral gearboxes
[04:09:56] <jmkasunich> appropriate for the etch-a-sketch, where one turn of the knob moves a large part of an inch
[04:10:02] <jmkasunich> not so good for a leadscrew
[04:10:05] <jtr_emc> wondering how much of a problem the gearboxes would cause with backlash
[04:10:12] <cradek> a lot
[04:10:50] <jmkasunich> cradek: I just took apart an old deskjet - instead of a servo, it had a DC motor, and a linear encoder on the carriage
[04:11:05] <jmkasunich> long strip of mylar or something similar with lines printed on it
[04:11:10] <jtr_emc> surplus center has some motors with encoders - let me find the link.
[04:11:11] <cradek> must have been newer than these
[04:11:51] <jtr_emc> Electronic goldmine has those linear encoder strips (or similar)
[04:11:54] <cradek> the name of these is exactly "DeskJet", no numbers/letters
[04:12:07] <jmkasunich> I think this was a 500C
[04:12:44] <cradek> jtr_emc: it's tempting to try those but I bet the resolution is low, and you would need exactly 0 backlash in your screws for it to not oscillate
[04:13:13] <rayh> Night guys.
[04:13:23] <jtr_emc> agreed.
[04:13:59] <jmkasunich> the strip from my printer has 150 lines/inch (makes sense, quadrature gives 600 counts per inch, and its a 600dpi printer)
[04:14:26] <jtr_emc> http://www.surpluscenter.com/item.asp?UID=2006111822114613&item=10-1834&catname=
[04:16:26] <jtr_emc> I don't know if the above motor would have sufficient torque.
[04:16:37] <cradek> looks a bit on the toyish side doesn't it
[04:16:45] <jmkasunich> you'd have to step it down
[04:16:56] <jmkasunich> cradek: is yours stepped down 3:1 or 4:1?
[04:16:59] <cradek> I stepped mine down 3:1 and they're a lot bigger than that
[04:17:39] <cradek> I think 4:1 is going to be hard to get with the scheme I used
[04:18:05] <cradek> I was already at the limit of tooth engagement on the small gear
[04:19:05] <jtr_emc> that's what I was afraid of. Also thinking about all that weight hanging off the front of the carriage
[04:19:06] <jmkasunich> surpluscenter looks dangerous
[04:19:18] <cradek> surpluscenter is 5 miles from me
[04:20:20] <jtr_emc> I've gotten stuff from them before, and been pleased - but you can also buy the wrong thing
[04:20:32] <jtr_emc> trying to avoid doing that through ignorance.
[04:22:07] <jmkasunich> hmm, I could use a couple of those contactors... (if I ever get going on my spindle drive project)
[04:22:40] <cradek> http://www.surpluscenter.com/item.asp?UID=2006111822114613&catname=&qty=1&item=10-1796
[04:22:59] <cradek> dual-shaft means easy to add an the cheapest USD encoders
[04:23:14] <jmkasunich> 1/35 HP
[04:23:19] <cradek> oh
[04:23:21] <jmkasunich> * jmkasunich gets out the calculator
[04:24:04] <jmkasunich> 8.4 oz-in, if I did the math right
[04:24:28] <cradek> ouch
[04:24:32] <jmkasunich> 0.88A full load
[04:24:35] <cradek> moving right along
[04:25:02] <jmkasunich> thats physically about the same size as the ones you have
[04:25:26] <jmkasunich> (I think?)
[04:25:38] <cradek> mine must be much stronger than that
[04:25:54] <cradek> but yeah, I was looking primarily at the size
[04:25:56] <jmkasunich> have you ever measured the current while running?
[04:26:15] <cradek> stall is 1.5-2A I think
[04:26:25] <jmkasunich> HP = amps * volts / 746
[04:26:34] <jmkasunich> how many volts are you running?
[04:26:50] <cradek> that was at roughly 18ish
[04:27:04] <jmkasunich> do you know how many RPM you get at 18V?
[04:27:26] <jmkasunich> 18V * 2A = 36W = 1/20HP
[04:27:42] <jmkasunich> and if thats at stall, the continuous HP rating is a lot less
[04:27:59] <jmkasunich> that 1/35 HP rating is probably continuous - it might be in the same range as yours
[04:28:07] <cradek> huh
[04:28:20] <cradek> let me go check the label on mine (duh)
[04:28:24] <jtr_emc> no - it's listed as intermittent duty.
[04:28:25] <jmkasunich> but yours might be lower RPM and higher torque
[04:30:12] <jmkasunich> http://www.surpluscenter.com/item.asp?UID=2006111822114613&item=10-2328&catname=
[04:30:31] <cradek> they say nothing useful except 19.1V
[04:30:46] <cradek> the motors are 1.6" dia * 2.1" long
[04:30:47] <jmkasunich> 70 oz-in at 1800 RPM, for $50
[04:31:08] <jmkasunich> about 3.3A at 28V
[04:31:25] <jmkasunich> what rapids do you get on with your servo?
[04:32:34] <cradek> 1ips
[04:32:44] <jmkasunich> 20 pitch screw?
[04:32:49] <cradek> 1mm
[04:33:27] <jmkasunich> 60 ipm * 25.4 turns/inch = 1524 rpm screw * 3 = 4572 rpm motor
[04:33:57] <cradek> I might have more available but on something that small, motion is pretty abrupt at 60ipm
[04:34:04] <jtr_emc> was just gonna ask that. 20 pitch on cross feed for me, looking at 16 for the longitudinal
[04:34:28] <cradek> you're converting a lathe?
[04:34:37] <jtr_emc> yes.
[04:34:39] <cradek> cool
[04:34:44] <jmkasunich> if 19.1V = ~4600 rpm, then we can calculate Kv and Kt
[04:34:50] <cradek> not many lathes using emc yet
[04:35:10] <jtr_emc> Taig, about the size of the Sherline
[04:35:39] <cradek> jmkasunich: I'm actually using 24v on the lathe
[04:35:48] <jmkasunich> ok
[04:35:52] <cradek> * cradek whistles innocently
[04:35:58] <jtr_emc> yes, want to get a small conversion under my belt.
[04:36:18] <cradek> jtr_emc: do you have other machinery to use to make the conversion parts?
[04:36:31] <jmkasunich> cradek: that motor should be delivering about 7 oz-in per amp
[04:36:37] <cradek> I used a (cnc) mill and (manual) lathe both
[04:36:57] <jtr_emc> Logan 11x24 lathe, milling attachment for the Taig.
[04:36:57] <cradek> jmkasunich: wow I'm surprised at such a small number
[04:37:01] <jmkasunich> me too
[04:37:29] <cradek> it works great, I can stop a rapid with my hand, but it's some work
[04:37:30] <jmkasunich> if you go to 2A peak, thats 14 oz-in at the motor, or 42 oz-in at the screw
[04:37:45] <cradek> the very fine pitch can only help
[04:37:51] <jmkasunich> stop it by grabbing the pulley, or the table?
[04:37:56] <cradek> the table I mean
[04:38:09] <jmkasunich> yeah, the pitch makes a big different there
[04:38:31] <cradek> the pulleys spin too fast to want to grab much
[04:38:54] <cradek> it will be fun to show it off at fest
[04:39:19] <jmkasunich> 7oz-in at 4600 rpm... with a 1" radius, that is 4600 * 2pi = 28888 inches per minute
[04:39:25] <jmkasunich> and the table is doing 60 ipm
[04:39:36] <jmkasunich> ratio of about 481:1
[04:39:54] <jmkasunich> times 7 oz = 210 lbs
[04:40:20] <jmkasunich> of course the screw has lots of friction - the entire powertrain is probably only 10-15% efficient
[04:40:34] <jmkasunich> so you are down in the neighborhood of 20-30 lbs
[04:41:02] <cradek> so 5-10lbs with my hand to cause a FE, seems about right
[04:41:24] <cradek> so if jtr's screws are 16 instead of 25 like mine, he needs substantially more motor
[04:41:49] <jmkasunich> actually, the diameter of the screw is more important than the pitch
[04:41:58] <jmkasunich> especially for fine screws (16 and 25 are both fine)
[04:42:19] <cradek> ok this is the voodoo stuff you know about and I don't
[04:42:51] <jmkasunich> because much more than half of the total force is friction, and the friction torque is table force * coeffecient of friction * radius of screw
[04:42:57] <cradek> so would 16 acme work about as well or better for me? it would sure be faster
[04:42:57] <jmkasunich> its not voodo
[04:43:17] <jmkasunich> is the existing screw acme, or triangle?
[04:43:25] <cradek> triangle
[04:43:35] <jmkasunich> 16 acme would probably be better then
[04:43:50] <cradek> interesting. I even have some around.
[04:44:10] <jmkasunich> when you apply 10 lbs of axial force to a V thread, you get wedging - the net force on the flanks of the screw is greater than 10 lbs
[04:44:11] <jtr_emc> the 20 pitch is 1/4 in dia, the other is 3/8-16 all-thread, for now. initial idea was to use it as a power feed.
[04:44:38] <jmkasunich> probably something like 1/cos(thread_face_angle), but I'm not sure about that
[04:45:04] <jmkasunich> the acme has lower face angle, so less wedging action, and less friction torque
[04:45:16] <jmkasunich> (assuming same diameter)
[04:45:18] <cradek> jtr_emc: does it have change gears or gearbox?
[04:46:04] <cradek> or not really anything (like sherline)
[04:46:06] <jtr_emc> has no power feed whatsoever - longitudinal feed is currently via a rack/pinion
[04:46:31] <cradek> ahh, you'd be adding a lot of utility to the machine then.
[04:47:04] <cradek> I bought the sherline threading kit but only used it a couple times - it's very weak
[04:47:17] <jmkasunich> jtr_emc: how bit is the lathe?
[04:47:22] <jtr_emc> yes, indeed. some folks have made q/c gearboxes for them
[04:47:27] <cradek> but with cnc threading is very easy
[04:47:37] <jmkasunich> sherline size? 6" swing? 9" swing?
[04:47:41] <jmkasunich> s/bit/big
[04:47:53] <cradek> hahaha
[04:48:05] <jtr_emc> sherline size.
[04:48:13] <jmkasunich> sherline is about 3" swing, right?
[04:48:24] <cradek> 1.88 over crosslide
[04:48:30] <cradek> 3.5 over bed
[04:48:36] <jmkasunich> ;-)
[04:48:39] <jtr_emc> was trying to remember actual specs.
[04:48:51] <jmkasunich> http://www.surpluscenter.com/item.asp?UID=2006111822114613&item=10-1674&catname=
[04:48:52] <cradek> google just told me that, I didn't remember
[04:49:08] <jmkasunich> that would give you quite good performace on a sherline sized machine
[04:49:23] <jmkasunich> although it might be too heavy for the carriage ;-)
[04:49:35] <cradek> 2:1 gearing or less?
[04:50:11] <cradek> too bad it's not dual shaft.
[04:50:32] <jmkasunich> 9.6 oz in continuous
[04:50:33] <cradek> that's a BIG motor compared to mine
[04:50:37] <jtr_emc> the taig bed is only supported at one end - see:
[04:50:46] <jtr_emc> http://www.taigtools.com/mlathe.html
[04:50:56] <jmkasunich> cradek: I bet your motors would get pretty hot at 1A continuous
[04:51:16] <jmkasunich> (1A is what you'd need to get the 7 oz-in)
[04:51:34] <cradek> they never even get warm, but I suppose they have it easy a lot of the time
[04:52:02] <jtr_emc> I could hang the motor under the carriage, at least get good balance. Price is right, too.
[04:52:30] <cradek> you put a screw on Z already?
[04:52:36] <jmkasunich> your motor is 7 oz-in per amp, and probably not much more than 1/2 A continuous, this one is 9 oz-in per amp, and rated at 1.8 continuous
[04:52:39] <cradek> looks like it would be a lot of work
[04:53:38] <jtr_emc> not yet. planned to add a handwheel initially so I'd have z graduations
[04:53:55] <cradek> I used servos for a fun project - there's nothing wrong with steppers on a machine this size
[04:54:01] <jmkasunich> yeah
[04:54:13] <jmkasunich> the real advantage of servos is better high speed performance
[04:54:27] <cradek> you can direct drive them, it might be a lot easier mechanically
[04:54:32] <jmkasunich> (even the cheapest steppers blow these servos away at low speeds - you can easily get 150 oz-in)
[04:54:45] <jtr_emc> let me find a link - I thing Tony Jeffree added a leadscrew already.
[04:55:13] <jtr_emc> I'd be ok with steppers.
[04:55:21] <cradek> if you want to thread you need to think about a spindle encoder too
[04:55:50] <jtr_emc> want to thread!!
[04:56:45] <cradek> I understand hollow shaft encoders cost about as much as that lathe, you'll have to get creative to do it some other way :-)
[04:56:53] <jmkasunich> wow, surplus center only has 3 stepper motors
[04:57:11] <cradek> yeah they have surprisingly little of that kind of thing
[04:57:10] <jtr_emc> http://www.jeffree.co.uk/Pages/leadscrew.html
[04:57:25] <cradek> hydraulic junk to fix you tractor, sure, but no little motors
[04:58:07] <cradek> they have entire shelves of stuff I don't even recognize
[04:58:39] <jmkasunich> would be neat to wander around...
[04:58:45] <jmkasunich> if I ever find myself in NE
[04:58:50] <jtr_emc> I was looking at owhite's us digital encoder - think i can modify one
[05:00:32] <jtr_emc> or make a special hub for the headstock pulley.
[05:00:47] <jmkasunich> looks like a big chunk of the jeffree webpage is about the spindle-to-leadscrew drivetrain
[05:00:52] <jmkasunich> not needed for CNC ;-)
[05:00:52] <cradek> wow that's an amazing setup
[05:01:06] <cradek> yeah forget all that!
[05:01:30] <cradek> ouch, he started with the sherline kit...
[05:01:58] <cradek> complete with the hand crank
[05:02:38] <jtr_emc> an impressive piece of work, though. Actually, this is not the conversions i was remembering.
[05:02:46] <cradek> yes very impressive
[05:03:37] <jmkasunich> split nut - another thing not needed with CNC
[05:03:41] <jtr_emc> the one I was thinking about put the leadscrew up alongside the rack
[05:04:26] <cradek> on the sherline it's centered under the ways
[05:04:44] <jmkasunich> probably helps keep chips off
[05:04:53] <cradek> yeah it stays very clean
[05:07:40] <jtr_emc> That can be a problem with the Taig.
[05:08:55] <jmkasunich> in my opinion, you should forget everything tony jefferys did, and concentrate on one goal: a leadscrew/permanently engaged nut combination that is protected from crud
[05:09:55] <jmkasunich> does the carriage hang over the back of the ways very far?
[05:10:17] <jtr_emc> no, not far at all.
[05:10:37] <jmkasunich> I'm visualising a sort of U shaped thing that is attached to the carriage on both front and back
[05:10:41] <jmkasunich> and the screw is centered under the bed
[05:11:06] <jmkasunich> the U would have to go under the bed - it looks like the bed only touches the table at the headstock end, so there might be room
[05:12:11] <cradek> on the sherline the "U" only comes around the front
[05:12:33] <jtr_emc> yes, the bed is only supported at the headstock end. The drive motor and leadscrew could go underneath.
[05:12:37] <jmkasunich> if its rigidly constructed that can be good enough
[05:13:57] <jmkasunich> the carriage and apron are all one piece as far as I can tell from the pics
[05:13:59] <jtr_emc> The bed is a composite - the ways are steel, with a filled aluminum box beam underneath
[05:14:09] <jmkasunich> is the bottom face of the apron machined and flat?
[05:14:58] <jtr_emc> Yes, carriage/apron is a one piece casting, not machined flat on bottom.
[05:15:11] <jtr_emc> but that part is fixable.
[05:16:05] <jmkasunich> if you can make it flat, then you can make a rectangular spacer- same length as the carriage, as thick as the apron, and tall enough to get you down below the bottom of the bed
[05:16:18] <jmkasunich> two clearance holes in the spacer
[05:16:23] <jtr_emc> there is room for a leadscrew in the traditional position between the bed and apron.
[05:16:31] <jmkasunich> two decent sized threaded holes in the bottom of the apron
[05:16:52] <jmkasunich> can you put anything in there to keep chips off of it?
[05:17:50] <jtr_emc> there's a small shield for the rack there now - may not be enough for the screw.
[05:18:08] <jmkasunich> maybe it could be replaced with a bigger one mounted the same way
[05:19:35] <jtr_emc> could - if it will be CNC only, the rack and pinion could go away, make more room.
[05:21:05] <jtr_emc> I might order another one just to do the conversion on.
[05:24:02] <jtr_emc> could just get the bed and carriage. do a full u-channel, and center the leadscrew underneath like you suggested.
[05:25:28] <jtr_emc> move headstock when done.
[05:37:49] <jtr_emc> Thanks for the input, guys. I'll look into some steppers and options for mounting the leadscrew.
[05:38:10] <cradek> good luck
[05:38:30] <jtr_emc> thanks, i'll need it.
[05:38:35] <jtr_emc> * jtr_emc is back
[05:45:24] <jtr_emc> night, all
[06:40:45] <jtr_emc> here's the link to the leadscrew modification I was thinking about:
[06:40:53] <jtr_emc> http://users.eastlink.ca/~jbentley/LeadscrewJRB.htm
[06:41:36] <jtr_emc> jtr_emc is now known as jtr_away
[10:35:41] <CIA-8> 03alex_joni 07HEAD * 10emc2/docs/src/gcode/main.lyx: some more indexes
[10:50:58] <CIA-8> 03alex_joni 07HEAD * 10emc2/docs/src/common/Glossary.lyx: some more indexes
[10:50:58] <CIA-8> 03alex_joni 07HEAD * 10emc2/docs/src/gcode/ (coordinates.lyx mill_canned.lyx): some more indexes
[13:04:03] <alex_joni> hello
[13:36:26] <anonimasu> hello
[13:38:23] <ValarQ> hello
[13:38:46] <anonimasu> did you know you need seriously stiff couplers?
[13:39:07] <anonimasu> otherwise hell breaks loose..
[13:39:57] <anonimasu> oscillation is not cute.
[13:39:59] <anonimasu> :)
[13:49:01] <CIA-8> 03jepler 07HEAD * 10emc2/src/emc/usr_intf/axis/scripts/axis.py: force spindle override to 100scripts/axis.py at startup
[13:50:43] <jepler> argh stupid vim
[13:50:49] <alex_joni> heh.. nm that
[13:50:53] <alex_joni> hi jeff
[13:52:38] <CIA-8> 03jepler 07HEAD * 10emc2/src/emc/usr_intf/axis/scripts/axis.py: fix for the previous fix
[13:52:38] <jepler> hi alex
[13:53:07] <alex_joni> hope it's ok I removed those man files
[13:53:29] <jepler> what files did you remove?
[13:53:39] <alex_joni> u8, s8, u16 and s16 related
[13:53:56] <jepler> removed from where?
[13:53:58] <alex_joni> hal_param_s16_new.3hal
[13:54:06] <alex_joni> docs/man/man3
[13:54:11] <jepler> oh -- yeah that is the right thing to do
[13:54:22] <alex_joni> I also noticed there are some I can't open
[13:54:28] <alex_joni> they seem to be symlinks?
[13:54:50] <alex_joni> rtapi_task_resume.3rtapi for example
[13:55:22] <jepler> "can't open"?
[13:55:56] <jepler> $ man 3rtapi rtapi_task_resume | wc -l
[13:55:56] <jepler> Reformatting rtapi_task_resume(3rtapi), please wait...
[13:55:56] <jepler> 62
[13:55:58] <jepler> works for me
[13:57:10] <CIA-8> 03jepler 07HEAD * 10emc2/docs/man/man3/ (hal_param_new.3hal hal_pin_new.3hal): 8- and 16-bit hal types no longer exist
[13:58:00] <CIA-8> 03jepler 07HEAD * 10emc2/docs/man/man3/hal_type_t.3hal: 8- and 16-bit hal types no longer exist
[13:59:38] <CIA-8> 03jepler 07HEAD * 10emc2/docs/src/hal/ (comp.lyx out8.comp): 8- and 16-bit hal types no longer exist
[14:00:50] <CIA-8> 03jepler 07HEAD * 10emc2/docs/src/hal/intro.lyx: 8- and 16-bit hal types no longer exist
[14:03:16] <CIA-8> 03jepler 07HEAD * 10emc2/docs/man/man9/.cvsignore: ignore generated files
[14:14:42] <CIA-8> 03jepler 07HEAD * 10emc2/src/Makefile: use common copy of emc.nml in sample configs
[15:10:05] <CIA-8> 03alex_joni 07HEAD * 10emc2/tcl/tkemc.tcl: fixed a button size
[15:23:36] <CIA-8> 03alex_joni 07HEAD * 10emc2/src/hal/user_comps/vcp/vcp_main.c: silence some messages, remove for good later
[15:38:22] <CIA-8> 03jepler 07HEAD * 10emc2/src/emc/motion/motion.c: the message level was accidentally set way up. set back down to default.
[15:50:18] <alex_joni> hi ray
[16:12:45] <acemi> is there a limit for the number of axis in emc2? I want to use more then 6 axis, is it possible?
[16:14:21] <rayh> hi alex_joni
[16:15:29] <alex_joni> acemi: the motion controller presumebly can do 8 axes
[16:15:39] <alex_joni> but lots of places probably assume max = 6
[16:15:46] <alex_joni> * alex_joni leaves for a while
[16:15:49] <alex_joni> bbl
[16:22:45] <danfalck> rayh, good morning
[16:38:38] <rayh> Hi Dan
[16:50:47] <tomp-tag> hello all
[17:00:18] <Lerneaen_Hydra> 'lo
[19:07:30] <eholmgren> 'lo
[19:11:26] <Lerneaen_Hydra> 'lo there
[19:23:41] <eholmgren> time to set up shop in the new house
[19:23:50] <eholmgren> has a sweet half finished basement
[19:24:22] <Lerneaen_Hydra> nice :D
[19:24:23] <eholmgren> just nice enough that it's not scary to be down there, but not so nice that you're afraid to make a mess
[19:24:42] <Lerneaen_Hydra> perfect
[19:25:25] <eholmgren> got a few of the older centent stepper drives on eBay
[19:25:36] <eholmgren> should be able to spin the motors up for the first time tonight
[19:25:48] <anonimasu> nice
[19:26:35] <eholmgren> just hope the cat doesn't get caught in any of the machinery :/
[19:26:47] <Lerneaen_Hydra> that wouldn't be nice :(
[19:27:01] <anonimasu> :/
[19:27:05] <eholmgren> he managed to get up in the floor beams somehow
[19:27:07] <anonimasu> water spray bottle..
[19:27:15] <Lerneaen_Hydra> I've made my cats scared of the workshop by blowing compressed air at them at a distance of 1.5 meters or so
[19:27:15] <eholmgren> and those are 8-10' off the ground
[19:27:21] <Lerneaen_Hydra> whenever they come
[19:27:34] <Lerneaen_Hydra> they dont like the sound and the wind
[19:27:40] <eholmgren> have to try that ... compressor is there and handy
[19:27:50] <eholmgren> he's too used to the spray bottle by now
[19:28:15] <eholmgren> my wife has a plant room with ~75 orchids in it that he likes to bother
[19:28:20] <Lerneaen_Hydra> before they used to run around in there and get their paws all dirtied up
[19:28:47] <Lerneaen_Hydra> the chips didn't seem to be able to cut in though, fortunately
[19:28:56] <eholmgren> if anything, maybe I can just shake him out once a day and he'll keep the floor dust free ;)
[19:30:56] <eholmgren> I'll have to apologize to ALPHA next time he's in here
[19:31:08] <eholmgren> I do not in fact live in a free country it seems
[19:31:15] <eholmgren> it's very expensive in fact ...
[19:31:53] <eholmgren> turned right on red in my van at an intersection where you're not supposed to between 6am-6pm
[19:32:05] <eholmgren> no cars coming but I still got popped
[19:32:14] <eholmgren> $142 :/
[19:32:26] <anonimasu> ejholmgren: what country?
[19:32:31] <eholmgren> us
[19:32:36] <anonimasu> 3h
[19:32:40] <anonimasu> you are a policestate..
[19:32:40] <anonimasu> :D
[19:33:24] <eholmgren> guess I'll just hide in my basement from now on
[19:33:37] <eholmgren> no reason to leave after I get everything set up ;)
[19:33:47] <anonimasu> :)
[19:33:51] <anonimasu> eholmgren: you still need food
[19:34:01] <eholmgren> wife will bring it to me
[19:34:19] <eholmgren> heh ... prob not
[19:35:05] <eholmgren> here's an actual EMC question
[19:35:26] <eholmgren> how many pulses/sec am I going to be limited to with a PII 400mhz?
[19:36:33] <eholmgren> I have alot of crap laying around that I could build a 1gz PIII from
[19:36:38] <eholmgren> but that would take effort
[19:38:09] <tomp-tag> how big are the pulses ( sounds like stepper question )
[19:38:27] <Lerneaen_Hydra> hmm, probably not under 25µS/period
[19:38:39] <Lerneaen_Hydra> probably around 30-35
[19:38:56] <tomp-tag> 1/.000035
[19:39:06] <Lerneaen_Hydra> around 25-30k pulses
[19:40:08] <tomp-tag> so the question is not just this math, but 'can emc2 handle 25.8K frew' right?
[19:40:14] <tomp-tag> freq
[19:40:49] <eholmgren> just wondering if this older box is going to be a limiting factor in the speed I can run my machine will
[19:40:51] <eholmgren> with
[19:41:10] <Lerneaen_Hydra> how fast do you want to be able to run?
[19:41:20] <Lerneaen_Hydra> oh, keep in mind step/dir takes two periods per step
[19:41:30] <Lerneaen_Hydra> so that would bring you down to 12k steps/sec
[19:41:40] <eholmgren> 10tpi leadscrew and 1/8th microstepping
[19:41:52] <Lerneaen_Hydra> 200 steps/rev?
[19:41:59] <Lerneaen_Hydra> 1:1?
[19:42:02] <eholmgren> 150oz direct drive on the x and y
[19:42:09] <eholmgren> yes, 1.8 deg steps
[19:42:47] <tomp-tag> how big is the step ( smallest commanded motion )?
[19:43:24] <Lerneaen_Hydra> so if you have 25k then your max speed is 1.5 inches/sec
[19:43:32] <Lerneaen_Hydra> a bit slow probably
[19:43:36] <anonimasu> yeah
[19:43:43] <Lerneaen_Hydra> still, 1600 steps/rev is a bit
[19:43:48] <anonimasu> 1.5m/min
[19:43:58] <anonimasu> not that slow
[19:44:03] <Lerneaen_Hydra> if you drop to 1/4 microstepping then you'll get 3 inches/sec
[19:44:04] <eholmgren> hmrnn... will prob be good enough to get everything working then
[19:44:07] <Lerneaen_Hydra> oh, not that bad actually
[19:44:21] <anonimasu> it's enough for most cutting
[19:44:32] <eholmgren> I can always throw the new MB and faster proc in there afterwards
[19:44:33] <Lerneaen_Hydra> 150oz inches?
[19:44:34] <Lerneaen_Hydra> feet?
[19:44:39] <eholmgren> inches
[19:44:44] <anonimasu> spindle is more likely a limiting factor :)
[19:44:58] <eholmgren> laminate trimmer
[19:45:01] <anonimasu> ah..
[19:45:02] <eholmgren> for the time being
[19:45:07] <Lerneaen_Hydra> 1kgm then, not bad
[19:45:10] <anonimasu> you'll probably wan tmore then
[19:45:34] <anonimasu> 4.5m/min..
[19:45:40] <anonimasu> with 1/4
[19:45:57] <anonimasu> what'll you cut?
[19:46:03] <anonimasu> alu/wood/plastic
[19:46:22] <anonimasu> * anonimasu is pondering chipload
[19:47:01] <eholmgren> wood and plastic
[19:47:07] <eholmgren> mostly wood
[19:47:11] <anonimasu> hm, I dont know about wood :/
[19:47:15] <eholmgren> pine
[19:47:22] <anonimasu> you will probably want more speed then precision..
[19:47:46] <anonimasu> also plastic isnt too fun to run with high spindle rpm and low chiploads..
[19:48:25] <eholmgren> work pieces will be fairly small though, ~ 25x50cm
[19:48:36] <anonimasu> small tools?
[19:48:39] <eholmgren> yes
[19:48:52] <eholmgren> 1/8"
[19:49:00] <eholmgren> or smaller
[19:49:08] <anonimasu> 3mm hm..
[19:49:14] <Lerneaen_Hydra> tiny!
[19:49:19] <anonimasu> yeah :)
[19:49:25] <anonimasu> * anonimasu breaks them all the time
[19:49:27] <Lerneaen_Hydra> that cant take much power
[19:49:43] <anonimasu> atleast in aluminium..
[19:49:49] <eholmgren> white pine shouldn't be snapping much though
[19:49:54] <anonimasu> no )
[19:49:55] <anonimasu> :)
[19:50:16] <tomp-tag> why does step/dir take 2 periods?
[19:50:22] <anonimasu> you should probably ask jymmm or les_W
[19:50:31] <anonimasu> or somone with a router
[19:50:38] <anonimasu> about what speeds you need :)
[19:51:04] <anonimasu> feeds/speeds
[19:51:12] <eholmgren> will prob go with a router as the spindle on the next bigger machine ...
[19:51:25] <eholmgren> but it would be a little ungainly on the size I'm building right now
[19:51:43] <Lerneaen_Hydra> anonimasu: did you make your own toolchanger?
[19:51:47] <anonimasu> Lerneaen_Hydra: not yet
[19:52:07] <Lerneaen_Hydra> oh, just plans so far?
[19:52:21] <anonimasu> yeah, but I have a design in mind..
[19:52:27] <anonimasu> I've ended up moving the spindle..
[19:52:30] <anonimasu> soon..
[19:52:45] <alex_joni> hi all
[19:52:59] <anonimasu> Lerneaen_Hydra: that makes it easier to get tools in/out of there :)
[19:53:20] <Lerneaen_Hydra> hi alex
[19:53:22] <Lerneaen_Hydra> oh, ok
[19:53:29] <anonimasu> http://www.woodweb.com/knowledge_base/CNCMachining_Curved.html
[19:53:41] <anonimasu> Lerneaen_Hydra: then just a changer arm, with a pneumatic gripper..
[19:53:52] <anonimasu> gripper/lock for the tool..
[19:54:10] <anonimasu> swing it in/let the spindle loosen the drawbar bolt..
[19:54:11] <Lerneaen_Hydra> ok, what is it that locks the tool in place in the spindle?
[19:54:21] <anonimasu> the drawbar..
[19:54:23] <Lerneaen_Hydra> oh, it loosens it itself?
[19:54:26] <anonimasu> yeah
[19:54:40] <anonimasu> I lock the nut in place.. -
[19:54:42] <Lerneaen_Hydra> hmm, what does it look like today?
[19:54:46] <Lerneaen_Hydra> have an image?
[19:54:48] <anonimasu> no
[19:55:29] <anonimasu> im going to re-make my spindle in a bit, to make the motor mount better :)
[19:55:38] <Lerneaen_Hydra> hmm, the only mills i've seen have a threaded rod that holds the tool in place
[19:55:48] <anonimasu> mine does too..
[19:56:00] <Lerneaen_Hydra> oh, so it will unscrew it automatically?
[19:56:03] <eholmgren> nice link, thanks
[19:56:04] <anonimasu> yeah
[19:56:08] <Lerneaen_Hydra> cool
[19:56:24] <anonimasu> I were thinking about a real drawbar bolt, but it's for my next spindle..
[19:56:25] <Lerneaen_Hydra> and some type of torque sensor so it knows when it's done?
[19:56:33] <anonimasu> height..
[19:56:37] <Lerneaen_Hydra> oh, ok
[19:56:40] <anonimasu> or well, I have torque feedback also..
[19:56:48] <anonimasu> as the spindle is huydralic..
[19:57:05] <Lerneaen_Hydra> oh!
[19:57:06] <Lerneaen_Hydra> ok
[19:57:12] <Lerneaen_Hydra> is this a big mill?
[19:57:16] <anonimasu> not very..
[19:57:34] <anonimasu> got 4kw spindle..
[19:57:37] <Lerneaen_Hydra> oh, you mean the spindle motor is hydraulic?
[19:57:40] <anonimasu> yeah
[19:57:41] <Lerneaen_Hydra> right, ok
[19:57:45] <anonimasu> http://www.blocket.se/vi/10097487.htm?ca=1_12_s
[19:57:54] <anonimasu> that kind
[19:57:54] <Lerneaen_Hydra> I was thinking that the Z control was hydraulic or something
[19:57:57] <anonimasu> no
[19:58:00] <Lerneaen_Hydra> oh, ok
[19:58:04] <Lerneaen_Hydra> standard size then
[19:58:08] <anonimasu> yeah
[19:58:14] <Lerneaen_Hydra> 63k! :/
[19:58:21] <Lerneaen_Hydra> *coughspithack*
[19:58:51] <anonimasu> horrid :D
[19:58:55] <Lerneaen_Hydra> then again, it had a digital display and came with some stuff
[19:59:00] <Lerneaen_Hydra> still way to expensive IMO
[19:59:15] <anonimasu> the machines are very very good..
[19:59:21] <Lerneaen_Hydra> that brand?
[19:59:24] <anonimasu> schaubli
[19:59:24] <anonimasu> n
[19:59:35] <Lerneaen_Hydra> oh, what accuracy?
[19:59:44] <anonimasu> well, if it werent for my tiny backslash..
[19:59:53] <anonimasu> less then 0.01
[20:00:01] <Lerneaen_Hydra> ooh
[20:00:02] <anonimasu> super accurate..
[20:00:02] <Lerneaen_Hydra> nice
[20:00:18] <tomp-tag> where's the hyd pump?
[20:00:19] <anonimasu> the table/squareness if more then my dial gauge shows..
[20:00:27] <anonimasu> that's not mine :)
[20:00:28] <Lerneaen_Hydra> haha!
[20:00:31] <Lerneaen_Hydra> nice!
[20:00:33] <anonimasu> yeah
[20:00:40] <Lerneaen_Hydra> really nice!
[20:00:41] <anonimasu> and this is the machine that was incomplete/missing stuff
[20:01:25] <anonimasu> it's a box behind my machine
[20:01:28] <Lerneaen_Hydra> oh, random question, how much do servo motors cost roughly (say a motor strong enough for a mill http://www.cmarshallfab.com/images/machines/pdm45_mill_detail.jpg this size if 1:1)
[20:01:42] <anonimasu> the ones I have are 4000sek..
[20:01:49] <Lerneaen_Hydra> eek
[20:01:55] <anonimasu> with 2mm screws they do direct drive nicely
[20:02:10] <Lerneaen_Hydra> what about smaller ones?
[20:02:16] <anonimasu> there arent any..
[20:02:21] <tomp-tag> 1200$ Enco
[20:02:25] <anonimasu> not that I know of..
[20:02:33] <anonimasu> http://www.galilmc.com/products/motors/servomotors.html
[20:02:37] <anonimasu> the smallest ones are the ones i have
[20:02:45] <anonimasu> 395$
[20:02:57] <Lerneaen_Hydra> oh
[20:03:13] <anonimasu> aratron sells them, but I'd import them with a friend :)
[20:03:34] <Lerneaen_Hydra> looks like my mill-to-be is going to be stepper based ;)
[20:03:55] <anonimasu> servos ends up expensive quickly
[20:04:11] <Lerneaen_Hydra> maybe if I can find/get some somewhere
[20:04:16] <anonimasu> though if the rest of the machine is good I doubt you will regret spending money on them..
[20:04:18] <Lerneaen_Hydra> for cheap
[20:04:23] <anonimasu> Lerneaen_Hydra: is that price too much the us one?
[20:04:50] <Lerneaen_Hydra> I was hoping for a 1000kr tag ;)
[20:04:54] <anonimasu> oh
[20:04:56] <anonimasu> forget about it :)
[20:05:00] <Lerneaen_Hydra> then again, I don't really *need* servos
[20:05:13] <anonimasu> you can probably retrofit some other dc motors with encoders..
[20:05:15] <Lerneaen_Hydra> it would just be nice having closed loop and high speed
[20:05:17] <Lerneaen_Hydra> yeah
[20:05:32] <Lerneaen_Hydra> that and PID is cool
[20:05:37] <anonimasu> but encoders are pretty expensive also :)
[20:05:41] <Lerneaen_Hydra> they are?
[20:05:45] <Lerneaen_Hydra> damn...
[20:05:44] <anonimasu> www.usdigital.com
[20:05:44] <anonimasu> yeah
[20:05:56] <Lerneaen_Hydra> roughly?
[20:05:58] <anonimasu> I think bo^dick is building ones with a mouse..
[20:05:59] <anonimasu> :D
[20:06:02] <Lerneaen_Hydra> haha!
[20:06:07] <Lerneaen_Hydra> crappy res though
[20:06:17] <anonimasu> usdigital has prices :)
[20:06:20] <Lerneaen_Hydra> I suppose if you change the wheel it would be better though
[20:06:22] <Lerneaen_Hydra> ooh, nice
[20:06:54] <jepler> cradek used a usdigital encoder for spindle feedback when he first worked on threading.
[20:08:22] <Lerneaen_Hydra> $20 ea for the cheapest ones
[20:08:29] <Lerneaen_Hydra> $30-40 for better ones
[20:09:17] <Lerneaen_Hydra> motors I could probably find somewhere, so it's probably possible to get all the retrofitting parts for under 1500sek
[20:09:24] <Lerneaen_Hydra> if I get motors for free
[20:09:35] <anonimasu> :)
[20:09:36] <anonimasu> yeah
[20:09:36] <Lerneaen_Hydra> should be possible
[20:09:38] <tomp-tag> price is up now... http://www.use-enco.com/CGI/INSRIT?PARTPG=INLMKD&PMPXNO=5820408&PMAKA=325-5184
[20:10:05] <Lerneaen_Hydra> are those new?
[20:10:23] <anonimasu> Lerneaen_Hydra: you dont care too much about backslash right=
[20:10:24] <anonimasu> ?
[20:10:29] <Lerneaen_Hydra> not that much
[20:10:32] <anonimasu> ok :)
[20:10:40] <Lerneaen_Hydra> I'm going to preload the screw
[20:10:49] <anonimasu> I'm going there..
[20:10:53] <Lerneaen_Hydra> and use EMCs backlash comp when it's unborken
[20:11:00] <anonimasu> though it depends on what price I get on backslash free nuts..
[20:11:00] <Lerneaen_Hydra> going where?
[20:11:14] <Lerneaen_Hydra> you can make your own ones
[20:11:34] <anonimasu> oh, ballscrews with backslash free nuts..
[20:11:36] <Lerneaen_Hydra> I was thinking about some brass preloading nut
[20:11:41] <Lerneaen_Hydra> oh, ballscrew, right
[20:11:55] <Lerneaen_Hydra> I'm probabaly going to go with acme screw
[20:11:58] <Lerneaen_Hydra> and preload
[20:12:03] <anonimasu> * anonimasu nods
[20:12:07] <anonimasu> it's better on budget :)
[20:12:10] <Lerneaen_Hydra> and get a more powerful motor instead
[20:12:11] <Lerneaen_Hydra> yeah
[20:12:33] <anonimasu> I'll probably end up with dual nuts and pring washers..
[20:12:52] <Lerneaen_Hydra> that's what I've got in my lathe now, works nice
[20:13:05] <anonimasu> but, well ballnuts are expensive :)
[20:13:17] <anonimasu> *whine*
[20:13:52] <Lerneaen_Hydra> yeah, but it came with them
[20:13:56] <Lerneaen_Hydra> and it was free
[20:13:59] <Lerneaen_Hydra> so all the better
[20:14:36] <Lerneaen_Hydra> and I found 30mmx5mm ballscrew in a trash can once too
[20:14:41] <anonimasu> I'm happy when I can do bearing mounts.. and have a interference fit .)
[20:14:45] <anonimasu> on the mill
[20:14:46] <Lerneaen_Hydra> nearly 30cm long
[20:14:53] <Lerneaen_Hydra> heh
[20:15:14] <anonimasu> though it might not be sane..
[20:15:57] <anonimasu> :)
[20:16:14] <anonimasu> I'll be back in a bit
[22:13:12] <billy_kid> hi all
[22:13:21] <cradek> hi
[22:14:21] <alex_joni> hello
[22:14:31] <billy_kid> hello
[22:20:27] <cradek> bye
[22:20:46] <Lerneaen_Hydra> too late! :p
[22:20:55] <Lerneaen_Hydra> s/late/slow
[22:22:25] <CIA-8> 03jmkasunich 07HEAD * 10emc2/docs/man/man9/streamer.9: fix a pin name
[22:22:25] <CIA-8> 03jmkasunich 07HEAD * 10emc2/src/hal/components/streamer.c: fix a pin name
[22:34:34] <CIA-8> 03cradek 07HEAD * 10emc2/nc_files/g76.ngc: minor doc fixes
[22:34:49] <CIA-8> 03jmkasunich 07HEAD * 10emc2/docs/NEWS: document some old work in NEWS
[22:35:20] <lerman> lerman is here, again.
[22:35:41] <alex_joni> hi ken
[22:35:55] <lerman> I just posted something to the user list and thought I'd make an appearance to hear if there are any comment.
[22:36:05] <lerman> s
[22:36:21] <jmkasunich> * jmkasunich reads
[22:36:23] <lerman> See: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?CannedCycleProposal
[22:36:38] <alex_joni> lerman: just now? (the post)
[22:36:54] <lerman> yup.
[22:37:07] <alex_joni> * alex_joni didn't get anything yet
[22:37:12] <jmkasunich> same here
[22:37:24] <lerman> But just follow the link above. The post was just a pointer to it and a request for comments.
[22:38:18] <lerman> I haven't gotten it back from the list, yet either.
[22:39:57] <jmkasunich> I have very little to say - I don't know much about the g-code side
[22:40:07] <jmkasunich> it seems like a reasonable approach
[22:40:14] <jmkasunich> at least as reasonable as anything written in g-code can be
[22:40:40] <lerman> Basic gcode is a pretty crud(e) language.
[22:40:45] <jmkasunich> g-code is really bad.... arbitrary letters for function arguments, etc
[22:41:13] <lerman> Yes. But it might be well suited if all you have is paper tape.
[22:41:15] <jmkasunich> cradek is fighting that battle now with the threading canned cycle - he needs a couple more args (infeed and outfeed angles) and can't find letters to use
[22:42:29] <alex_joni> just found this: http://cnc-suite.sourceforge.net/cnc/index.html
[22:42:35] <alex_joni> it's in german though
[22:42:54] <lerman> It's worse than that, I suspect. After you implement it, it is too complex to use (unless you have some sort of wizard to generate the code). But in that case, you might just as well write a plain gcode subroutine and call it with the wizard.
[22:45:39] <lerman> So, alex_joni, are you going to translate it for us? It looks pretty neat.
[22:47:08] <alex_joni> some avr-based 6-axis cnc control
[22:47:21] <alex_joni> he's planing on doing a full cad/cam/cae package
[22:47:34] <alex_joni> so far it does cam based on images and heightmaps
[22:47:59] <lerman> Well, the 20% of the work needed to get the first 80% of the functionality goes pretty fast.
[22:48:40] <lerman> Is that raster based, then?
[22:48:51] <alex_joni> I think so
[22:50:30] <lerman> I've been thinking about how to automate general pocketing. In a past life, I did raster fill routines, an pocketing is similar.
[22:51:28] <lerman> The problem, though, is that trying to write such a routine in gcode would be a bear, since there are no arrays in gcode.
[22:52:04] <anonimasu> * anonimasu nods
[22:52:56] <lerman> It just occurred to me though, that you could use a parameter as a subscript, since it can specify the number of another parameter. Talk about unreadable code, though.
[22:53:16] <cradek> I think it would be crazy to do anything so complex in gcode
[22:54:08] <jmkasunich> I think it would be crasy to do anything complex in gcode
[22:54:36] <lerman> Yes. But there are advantages to it.
[22:55:23] <lerman> Particularly if you already have a wizard facility (well, the 80% that takes 20% of the work to do). :-)
[22:55:47] <lerman> I think it would be crasy to do anything complex in gcode
[22:56:10] <lerman> But, sanity is vastly over rated.
[22:56:15] <anonimasu> lol
[22:56:25] <anonimasu> we need conversational stuff really on the long term :)
[22:56:47] <Lerneaen_Hydra> 'night
[22:58:49] <lerman> To me, the hard part of the conversational stuff is writing the actual gcode. I have the screen for the circular pocketing all done, but writing the generic gcode routine is a bit of a pain. Consider cutter diameter compensated ramping circular pockets.
[22:59:19] <anonimasu> though /me nods
[22:59:30] <cradek> then I think you should generate the gcode in the high level language.
[22:59:59] <jmkasunich> I think its an issue of philosophy
[23:00:06] <cradek> I thought my slot subroutine was bordering on crazy, and you're doing more complex stuff than that
[23:00:29] <jmkasunich> if you think of g-code as the object code from a compiler, you let the HLL and the CAM do all the work, and the g-code is very simple
[23:00:34] <lerman> Well, to me, the problem is what gcode to generate. If you don't know what to generate, it doesn't matter what language you generate it in.
[23:00:41] <jmkasunich> you don't even need g-code features like tool comp
[23:00:54] <anonimasu> you can do tool comp, when making the program..
[23:00:59] <anonimasu> directly
[23:01:05] <cradek> sure
[23:01:20] <jmkasunich> if you want the g-code to be more like source code, then you need the higher level constructs in it, like subroutines, and all the rest
[23:01:22] <anonimasu> atleast that's how mastercam does it.. for pockets
[23:01:35] <anonimasu> it dosent mess with cutter offsets..
[23:01:39] <lerman> For example, what would the code to generate the ramp at 15degrees whiile doing circular interpolation look like.
[23:01:54] <cradek> lerman: maybe I don't understand what you're saying. it seems to me like you generate a few g8x canned drilling cycles after doing some very minor trig
[23:02:21] <lerman> No, not the hole drilling. The circular pocket routine.
[23:02:33] <cradek> oh I see, sorry
[23:02:56] <cradek> lerman: that's just a helix isn't it? an arc with Z added in
[23:03:00] <anonimasu> yeah
[23:03:24] <cradek> what 15 degrees means in that case isn't quite obvious to me at first
[23:03:34] <anonimasu> cradek: it's the ramp angle..
[23:03:45] <anonimasu> cradek: when entering the material..
[23:03:50] <alex_joni> * alex_joni heads to bed ..
[23:03:52] <lerman> To do the pocket, you start by ramping down a small circle (at the diameter of the stepover). You need to go down to the bottom depth and then circle around, again to mill off the ramp.
[23:04:23] <jmkasunich> ok, so what is the problem?
[23:04:45] <lerman> It is the circumfrence of the (center line of the cutter) circle divided into the vertical distance. (well, the arctan).
[23:05:05] <jmkasunich> to be honest, I'd almost rather specify that as depth per revolution
[23:05:11] <jmkasunich> not an angle
[23:05:18] <lerman> The problem is that depending on the depth, you mght have to make several passes around the circle.
[23:05:30] <jmkasunich> yeah
[23:05:34] <cradek> I see
[23:05:38] <anonimasu> yeah..
[23:05:46] <anonimasu> but you need to specify a maximum stepdown..
[23:05:50] <cradek> you could spiral in instead of out
[23:06:05] <lerman> I would think though the physics would want to have either the slope or an angle specified.
[23:06:16] <anonimasu> if you pocket thick stuff you need to have a max stepdown..
[23:06:39] <jmkasunich> lerman: the problem is that there are two limiting factors, and neither angle nor stepdown address both
[23:06:44] <anonimasu> and you spiral down to the max stepdown..
[23:06:52] <lerman> Yes, the wizard specifies the step down per pass.
[23:07:09] <jmkasunich> so you have stepdown and stepover, right?
[23:07:16] <lerman> Correct.
[23:07:23] <anonimasu> the angle defines how much stepdown per turn
[23:07:32] <anonimasu> turn/pass.. until you end up at the max stepdown
[23:07:37] <lerman> Stepover is specified in % of cutter diameter.
[23:07:52] <anonimasu> * anonimasu dosent see the real problem
[23:07:56] <anonimasu> though it's a bit messy :)
[23:08:09] <anonimasu> but you have all parameters already
[23:08:34] <anonimasu> though I might be simplifying.
[23:08:43] <lerman> Well, my view is that you ramp down (starting at the center) until you get to the specified depth for that pass. Then you spiral out. Repeat until at the rough depth. Then make a last pass at the finish depth going to the finished diameter.
[23:09:22] <lerman> Does anyne have an opinion on spiraling out vs. spiraling in?
[23:09:25] <cradek> yes I agree that's the algorithm
[23:09:26] <jmkasunich> when I make pockets manually, I ramp down near the outside, and then spiral in
[23:09:45] <jmkasunich> but I have no firsthand CNC experience
[23:09:55] <jmkasunich> and I'm not a pro machinist...
[23:10:08] <anonimasu> lerman: if you do have a deep pocket I think spiraling is a better idea..
[23:10:19] <lerman> Also, after ramping down to the first step, do we machine off the ramp, or do we just leave the ramp until the final pass.
[23:10:25] <jmkasunich> by ramping near the outside, you don't have such a problem with ramp angle
[23:10:29] <cradek> I can't see that out/in matters much except you have to spiral the other way
[23:10:40] <anonimasu> lerman: usually yes..
[23:10:55] <lerman> I have no professional cnc eperience, either AND am not a machinist.
[23:11:04] <anonimasu> if you like I can provide you with some gcode of, code generated by a cam program..
[23:11:08] <lerman> Was that a yes, machine off the ramp each pass.
[23:11:15] <anonimasu> yeah..
[23:11:19] <anonimasu> want to see?
[23:11:29] <lerman> That would be handy. If it is readable. Yes.
[23:11:35] <anonimasu> fairly..
[23:11:41] <anonimasu> you can plot it in emc.. :9
[23:11:44] <anonimasu> :)
[23:11:57] <cradek> when I do helical "drilling" I helix down and then do one full circle at the bottom
[23:12:04] <lerman> I can't. I don't have an emc2 system running.
[23:12:18] <anonimasu> I'll get you one anyway..
[23:12:21] <jmkasunich> why not?
[23:12:26] <lerman> That seems reasonable.
[23:12:33] <anonimasu> give me a few minutes..
[23:12:37] <lerman> OK.
[23:13:20] <jmkasunich> if you are constrained by the angle at which you can ramp, then ramping at the outside will get you deeper faster
[23:13:39] <anonimasu> true..
[23:14:07] <lerman> No. You still have to cut the same distance. The feed is the same, so the time is the same.
[23:14:21] <cradek> I was just thinking that
[23:14:39] <cradek> the only difference is sometimes a tight circle is limited by the acceleration constraint
[23:14:58] <jmkasunich> I was too, but somehow it bothers me
[23:15:07] <lerman> The difference is that by staying at the center, you remove the ramp as you go. (It overlaps itself).
[23:15:17] <jmkasunich> and thats what bothers me
[23:15:22] <anonimasu> hm, done you do that either way?
[23:15:28] <jmkasunich> you can specify the ramp angle at the center of the tool
[23:15:54] <jmkasunich> but if the orbit is small (specifically smaller than the tool diameter) parts of the tool will be ramping steeper than you think
[23:16:28] <jmkasunich> think about what happens as the orbit size shrinks toward zero
[23:17:08] <jmkasunich> if the orbit size is 1/10 the tool diameter, you wind up orbiting like mad, but the center 8/10 of the tool is just plunging
[23:17:09] <lerman> That's what I was figuring to do. The orbit would be smaller than the tool diameter. In the zero case, the horizontal distance is zero, so the vertical distance would also be zero.
[23:17:40] <anonimasu> I got a program now
[23:18:22] <lerman> Well, not really. The problem with plunging is that the center of the tool has zero velocity (horizontally). But even 1/10 of the tool diameter would be cutting.
[23:18:24] <anonimasu> www.almaskin.se/pocket.ngc
[23:18:28] <anonimasu> just let me uppload it
[23:18:47] <anonimasu> it's 651 lines.
[23:18:49] <jmkasunich> cutting yes, but not well
[23:19:08] <cradek> some tools don't have cutting surfaces in the center at all
[23:19:17] <jmkasunich> right
[23:19:24] <cradek> I think you want to spiral in :-)
[23:19:25] <jmkasunich> there is also the matter of clearing chips
[23:19:34] <lerman> Yes.
[23:20:08] <lerman> So, let's write the code to start at the outside. But, we still have the issue of the last (finish) pass.
[23:20:26] <cradek> what's the issue?
[23:20:28] <jmkasunich> regardless of all these details, IMHO this entire discussion is not CNC, it is CAM
[23:20:44] <cradek> yes lerman is writing cam software.
[23:21:03] <jmkasunich> doing things like this in g-code when you can write a CAM program in a modern language seems strange to me
[23:21:11] <lerman> Well, it would be different. You don't want to go to depth at the finish diameter.
[23:21:16] <anonimasu> the program's online
[23:21:29] <jmkasunich> right - you rough the pocket first
[23:21:34] <lerman> Got it.
[23:21:41] <anonimasu> lerman: did you find the program?
[23:21:53] <lerman> Yes. (I Got it.)
[23:22:00] <cradek> I thought we were talking about cam algorithms, not gcode issues
[23:22:06] <jmkasunich> you might want to cut the entire pocket both 0.005 small laterally and 0.005 shallow, then come back and finish it
[23:22:15] <jmkasunich> or you might want to go full depth but undersize laterally
[23:22:23] <anonimasu> yeah
[23:22:37] <anonimasu> lerman: that's with a 3 deg angle for the entry..
[23:22:54] <Jymmm> * Jymmm is still learning undersizing tolerances
[23:23:01] <lerman> Our discussion is about the algorithm. You need to know HOW to do it before you write the gcode to do it. Whether that is done with a gcode subroutine or a C subroutine doesn't affect that algo.
[23:23:10] <cradek> I agree
[23:23:14] <Jymmm> .005 in wood aint gonna "cut it" =)
[23:23:29] <jmkasunich> Jymmm: I almost never talk about machining wood
[23:23:36] <anonimasu> Jymmm: eh..
[23:23:49] <anonimasu> Jymmm: I use 0.05mm for finish passes :)
[23:23:58] <anonimasu> but not in wod :D
[23:23:58] <cradek> bbl, hungry again
[23:23:59] <anonimasu> wood :)
[23:24:05] <Jymmm> jmkasunich: Oh I know =) I'm just leanring the metal stuff and adapting it to other materials... huge learning curve.
[23:24:17] <anonimasu> Jymmm: what are you cutting?
[23:24:18] <jmkasunich> lerman: what I am saying is that the programmer or machinist is gonna decide how he wants to do it based on the characteristics of the part, the material, and his experience
[23:24:23] <jmkasunich> you can't hard code that
[23:24:27] <lerman> So, the last pass would ramp DOWN to the finish depth . Then it would spiral out for the finish diameter, and finally spiral in at the bottom to clean it off.
[23:24:28] <Jymmm> anonimasu hardwoods and plastics
[23:24:41] <anonimasu> Jymmm: oh, I were thinking alu :)
[23:25:16] <cradek> if the machinist has special finishing requirements he can code that after using your pocketing routine to make an undersized pocket
[23:25:29] <Jymmm> anonimasu Nah, not yet. Maybe after I get moved and reinstall tha machine, then maybe I can setup something for metal and cooling
[23:25:34] <cradek> you can't (and shouldn't try to) do everything for everyone
[23:25:46] <anonimasu> * anonimasu agrees
[23:25:55] <lerman> No, I wouldn't hard code it. I would write a gcode subroutine that is invoked via a wizard that let you specify all of those things. Tool diameter, pocket diameter, ramp angle, depth per pass, finish depth allowance, finish diamter allowance, stepover, climb mill or normal mill,...
[23:26:14] <lerman> Feed rate and speed would be preset.
[23:26:30] <Jymmm> preset?
[23:26:43] <jmkasunich> you are still hardcoding the basic process, whether its ramp down in center, then spiral out, or ramp down outside and spiral in, or whatever
[23:26:44] <lerman> Specified on a previous line.
[23:27:11] <jmkasunich> this covers only circular pockets, right?
[23:27:15] <lerman> Sure. But you could have different pocketing routines for spiral in or spiral out, etc.
[23:27:44] <lerman> Yup. That's the circular one. Another one would be for rectangular pockets.
[23:28:09] <jmkasunich> circular and rectangular are just special cases of irregular pockets
[23:28:13] <Jymmm> raster too?
[23:28:21] <jmkasunich> so why are we starting with the special cases?
[23:28:28] <lerman> But then consider the options for that. You could specify orientation angle and corner radius.
[23:28:56] <lerman> Those special cases are the cases that are traditionally used.
[23:29:01] <Jymmm> lerman shouldn't corner radius be in the gcode itself based upon the drawing?
[23:29:14] <anonimasu> well
[23:29:15] <anonimasu> im off
[23:29:17] <anonimasu> goodnight everyone
[23:29:21] <Jymmm> nite anonimasu
[23:29:26] <jmkasunich> goodnight
[23:29:28] <lerman> Yes. GNight anon...
[23:29:31] <jmkasunich> lerman: define "traditionally used"
[23:29:36] <anonimasu> * anonimasu is looking forward to readign this tomorrow :)
[23:29:43] <anonimasu> good luck!
[23:29:44] <anonimasu> :)
[23:29:53] <Jymmm> If I'm doing pocketing, I wouldn't want the CMA to muck the pocket and inset up.
[23:30:00] <lerman> Old time machinists (before cnc) mostly did stuff like that.
[23:30:26] <jmkasunich> yeah - but what old time machinists did, you can program manually without too much trouble
[23:30:43] <Jymmm> If I'm doing inlay, I wouldn't want the CAM to muck the pocket and inlay up.
[23:30:43] <lerman> Also, the model I'm working with (wizard that invokes gcode subroutines) can do lots of useful stuff, and is reasonable to do.
[23:31:12] <lerman> But, that model doesn't do generic pocketing reasonably.
[23:31:28] <jmkasunich> this gets back to what I said earlier about CAM vs CNC, what you do at the machine vs. what you do at the computer
[23:31:38] <jmkasunich> and I'm in the "do it at the computer" camp
[23:31:43] <lerman> I've written code to do the generic pocketing problem with islands, but I would do that using CAM.
[23:31:48] <jmkasunich> we'll probalby have to agree to disagree
[23:32:17] <lerman> The question is partly whether or not you would ever want to read the gcode.
[23:32:32] <jmkasunich> heh
[23:32:37] <Jymmm> I'd have to go with keep it isolated in the computer side too.... who knows what I'll be using the same code on down the road.
[23:32:45] <lerman> Lots of people are using 'conversational' systems.
[23:32:46] <jmkasunich> for any but the simplest part, my answer to that is no
[23:33:03] <jmkasunich> g-code is like assembly language
[23:33:05] <lerman> That's what I'm looking at building (or AM building).
[23:33:24] <Jymmm> lerman: I've taken my gcode and had soemone run it on their totally diffeent controller/cnc machine and except for a few codes, worked perfectly.
[23:33:35] <lerman> In some ways better than assembly. In some ways worse.
[23:33:47] <jmkasunich> true
[23:34:02] <jmkasunich> parameter numbers instead of named variables: worse
[23:34:12] <lerman> How long did it take to find the 'few codes' that didn't work? Did they crash the machine, ruin some material, or just not work.
[23:34:27] <lerman> subroutine, if then else, while, better.
[23:34:54] <Jymmm> lerman Just a few modifications to the very basic stuff is all.
[23:35:26] <Jymmm> lerman no crahes, no material ruined.
[23:35:31] <jmkasunich> lerman: I can't get too excited about flow control
[23:35:50] <jmkasunich> I don't tend to think of part features as being specified programmaticly
[23:35:52] <Jymmm> lerman took about 60 seconds with a lil search and replace.
[23:35:56] <lerman> That's because you use CAM.
[23:36:01] <jmkasunich> who, me?
[23:36:06] <jmkasunich> I don't have a CNC yet
[23:36:15] <jmkasunich> I make drawings, then run the machine manually
[23:36:23] <Jymmm> jmkasunich Ewwwww
[23:36:25] <lerman> Or should I say, prefer to use CAM.
[23:36:25] <Jymmm> =)
[23:36:31] <jmkasunich> but the key point is "I make drawings"
[23:37:50] <jmkasunich> if the drawing has the coordinates of all the holes (for example) there is no benefit to having g-code with loops - just deal with each hole when you convert from drawing to g-code
[23:37:55] <lerman> I'd like to watch you make a rectangular pocket with corners at a radius of .432 inches. Do you have a good rotary table? I bet you really like your dial indicators. (Or do you cheat and have an xy table mounted on a rotary table?)
[23:38:21] <jmkasunich> no - I design parts where the pocket corner radius matches a tool that I have
[23:39:07] <jmkasunich> although I once make a part that had an o-ring groove that was a rectangle with 4 rounded corners - that was tricky
[23:39:14] <jmkasunich> I did have a rotary table, but no XY on top
[23:39:16] <lerman> Well, I had a bunch of hole to drill, then to ream, and having the list of coordinates in one place and being able to use it for both tools was handy.
[23:39:29] <Jymmm> jmkasunich: you mean EXACT, or >= smallest diameter tool?
[23:39:41] <jmkasunich> exact - so I just mill 4 straight lines
[23:39:47] <lerman> He means exact. Otherwise it is a royal pain.
[23:40:00] <jmkasunich> anything else on a manual machine would be nutz
[23:40:06] <Jymmm> heh
[23:40:20] <lerman> So, now mill me a rectangular pocket with differring radii for the corners.
[23:40:28] <jmkasunich> on a CNC you'd probably prefer to have the tool smaller than the part radius, eliminates the risk of chatter in the corner
[23:40:49] <jmkasunich> lerman: write me a wizard that will handle that ;-)
[23:40:58] <lerman> My father is an old (87) die maker. He used to have to do all of that stuff. He didn't draw the parts he just made the dies.
[23:41:10] <jmkasunich> that is in 'irregular' pocket, and you weren't really discussing that in the first place
[23:41:46] <jmkasunich> face it, there are as many ways to machine things as there are machinists, and theyre are as many ways to program parts as there are programmers
[23:42:06] <jmkasunich> I should just butt out of this discussion, and stick to the low level stuff where I know what I'm talking about
[23:42:22] <lerman> That's the plan. Well, a rectangular pocket with differing corners would be reasonable. If not, I would make it as four adjacent pockets each with its own radii.
[23:42:59] <jmkasunich> (btw, my dad is 81, and also an old machinist ;-)
[23:43:41] <lerman> Nope. The more feedback the better. I've been thinking of adding the ability to run a wizard screen that would invoke an external program to generate the g code.
[23:44:35] <jmkasunich> until I actually have my CNC conversion working, and have to deal with non-trivial parts, I really don't know what methods I'll use
[23:45:14] <jmkasunich> but in general, if the part is that complex, I want to have it all figured out ahead of time, so I'm not sure I'm that interested in conversational programming
[23:46:11] <lerman_> lerman_ is now known as lerman
[23:49:13] <lerman> Anyone there?
[23:49:24] <jmkasunich> heh, you are the one who went away
[23:49:35] <jmkasunich> gotta go for a bit tho
[23:50:01] <lerman> I'm outta here. Thanks for chatting.