#emc | Logs for 2009-10-09

[00:00:56] <andypugh> Looking at the LS244 datasheet I am not sure it passes enough current to drive one opto, nor is it clear that the gate pin switches that current.
[00:03:04] <MattyMatt> 244 is tristate when output disabled, so the current is switched. and they can handle a normal LED current (20mA?) fo sho
[00:04:42] <andypugh> Output disabled = voltage to the G pin?
[00:05:13] <MattyMatt> it was called OE when I were a lad
[00:06:18] <MattyMatt> there are 2 out enable inputs IIRC. one must be high and the other low to enable
[00:06:58] <andypugh> http://media.digikey.com/pdf/Data%20Sheets/Fairchild%20PDFs/DM74LS244.pdf
[00:07:12] <andypugh> Shows one enable for each bank of 4
[00:07:40] <MattyMatt> the LS373 has latched inputs too. I'm probably getting confused. that was my other favourite chip
[00:09:08] <MattyMatt> you could put pulldowns on the inputs to the LS244, so you get a clean digital low output when the input is disconnected, if that's what you're after
[00:10:44] <andypugh> No, I don't think that matters. As long as 18mA passes through the amp-enable opto until I tell it not to, all is good.
[00:11:56] <MattyMatt> 24ma sink from the 244, so that's good. your only problem is getting 5V from the hot side safely
[00:12:14] <andypugh> There is a 5V supply for that.
[00:12:27] <andypugh> 3A of it
[00:15:50] <MattyMatt> I'd be tempted to use a latch, so it couldn't trigger accidentally if the PC reboots etc
[00:16:48] <andypugh> It isn't the end of the world if it does, the drives are active until EMC2 has finished booting at the moment and it isn't a real problem
[00:17:49] <andypugh> i am just concerned that I am massively over-driving that p-port pin, and while I am sorting that out I might as well get better default behaviour
[00:18:39] <MattyMatt> naah. the centronics spec was based on LS TTL, so all printer ports will give you that 24mA
[00:19:06] <MattyMatt> it's just that when you overdo it, you've got a dead mobo these days
[00:19:06] <andypugh> Yes, but I have 4 amplifiers on one pin..
[00:20:54] <andypugh> OK, one tube of 18 74HC244s on it's way to me from RS Components. That should last the rest of my life. Don't suppose you want a couple?
[00:20:55] <MattyMatt> amplifiers? you can directly drive opto LED with TTL
[00:21:23] <andypugh> By amplifiers I mean stepper drivers
[00:21:26] <MattyMatt> I have my supply :) a pile of old mobos anyway
[00:21:57] <MattyMatt> if it's opto isolated, that doesn't affect the current drawn by the input
[00:22:30] <andypugh> Each opto on the drivers takes 18mA @ 5V. I am sinking 4x that current on a single P-Port pin
[00:23:32] <MattyMatt> ah. this would be a job for a bc108, if I still had my babani books
[00:24:40] <MattyMatt> are the drivers on separate PCB? do you have to use separate isolators?
[00:24:51] <andypugh> I asume there is no problem with connecting the ouputs of all the channels of the 244 together?
[00:25:16] <MattyMatt> if you tied the corresponding inputs together
[00:25:18] <andypugh> The opto-isolators in question are inside the drivers.
[00:25:57] <MattyMatt> if fact that's silly. just tie the inputs together to yoy pport pin, and use 1 output per opto
[00:26:32] <andypugh> I was rather planning on connecting the -V of each driver's enable input to a single input pin of the 244, then connecting all the outputs to earth.
[00:27:54] <andypugh> So the 244 isn't a current-in = current-out device?
[00:28:21] <MattyMatt> no. shottky inputs and darlington pair outputs
[00:28:30] <andypugh> Bugger, so no use at all then?
[00:28:49] <andypugh> Or not as I anticipated
[00:29:04] <MattyMatt> it sinks its output from its +ve
[00:29:54] <andypugh> I need to sink 18mA per stepper driver to somewhere, anywhere.
[00:30:08] <andypugh> But only when the p-port pin is low.
[00:30:11] <tom3p> one great use of Digikey.com is to avoid all the 'data sheet scams'. just goto Digikey and lookup any chip, free pdf's and no email plague.
[00:30:57] <andypugh> I have an RS account. I check the datasheet and then order. But you can see all the datasheets without an account too, I think.
[00:31:01] <andypugh> rswww.com
[00:31:31] <MattyMatt> that's pretty much what you get with a pport pin. when it's low, it will sink 24ma
[00:31:43] <andypugh> Yes.
[00:31:47] <MattyMatt> the 244 would just be insurance
[00:32:33] <andypugh> I need to sink 72mA, controlled by one p-port pin, as I have 4 drivers.
[00:32:37] <MattyMatt> use a 7400 for cheapness even
[00:32:40] <tom3p> from digikey (via ti ) http://focus.ti.com/lit/ds/symlink/sn74ls241.pdf
[00:32:57] <tom3p> is for 240 242 244
[00:33:03] <MattyMatt> 7400 is inverters tho, I forget which one is plain buffers
[00:33:42] <MattyMatt> one pport will drive up to 10 TTL inputs
[00:33:55] <andypugh> I am not trying to buffer a signal though, or at least I don't think I am.
[00:34:26] <MattyMatt> if you use 4 buffers in parallel, you get in effect a digital current amplifier
[00:34:30] <andypugh> Yes, these aren't TTL inputs, they are 18mA opto-isolator LEDs in a sealed drive unit.
[00:36:35] <andypugh> This is the driver. I have 4 of them. The input circuit diagram is at the very end.
[00:36:36] <andypugh> http://www.motioncontrolproducts.co.uk/pdf/MSD325_stepper_drive_datasheetV2.0.pdf
[00:36:44] <MattyMatt> so, half a 244 with the 4 inputs connected to one pport, and you're sorted
[00:37:21] <andypugh> And that arrangement sinks the opto-current to the 0V line, not the parallel port?
[00:38:00] <MattyMatt> yeah the 244 will pull them low
[00:38:28] <MattyMatt> so current will flow if the anode is connected to the same 5V
[00:38:38] <MattyMatt> as the 244
[00:39:08] <MattyMatt> though a current limiting resistor, like any LED
[00:39:57] <andypugh> So, if I pull-down the input to 0V current will flow through the optos even with the p-port off or not connected, and then when the p=port goes high, the current will stop? That sounds perfect.
[00:40:06] <MattyMatt> it doesn't pull it down to 0V, but to around 0.7 to 1.4V iirc
[00:40:45] <andypugh> I don't really care as long as current flows and photons happen inside the drives. This isn't logic-level stuff.
[00:41:39] <andypugh> And the buffer inputs are high-enough impedance for me to not worry about limiting in that direction?
[00:42:35] <MattyMatt> yeah
[00:43:30] <andypugh> Or I could just leave the enable terminals disconnected :-)
[00:43:37] <MattyMatt> one pport will drive 10 TTL LS inputs at least, maybe fewer with a pulldown, but it'll work
[00:44:07] <tom3p> andypugh: the drive needs the signal to go low with respect to the VCC. so, it wont work if you turn off the VCC and ground the line.
[00:44:09] <tom3p>  if you turn off VCC, the drive sees nothing, and does not activate PUL DIR or ENA.
[00:44:57] <tom3p> you'd need a VCC supply independant of the computer with the pport.
[00:45:25] <MattyMatt> I would wire the enables permanently enabled, as the outputs go hi-z when disabled
[00:45:34] <andypugh> My issue is when VCC is present because the control box is powered up, but EMC2 isn't booted yet.
[00:46:46] <andypugh> I like to be able to turn off the motors thought, to move stuff by hand, or just so they aren't buzzing away uselessly if I am meddling with HAL files etc.
[00:46:57] <MattyMatt> I wish someone would port the mIRC whiteboard addon to xchat :)
[00:47:46] <MattyMatt> you CAN discuss circuits without diagrams, but I don't like it
[00:47:47] <tom3p> ok, nothing will happen until enable goes true, so the task is to not do that until emc2 is up and running.
[00:48:28] <tom3p> you can get a lot of step and dir but they dont mean anything until after enable is valid.
[00:49:00] <andypugh> That is what I am trying to achieve,
[00:49:41] <tom3p> lets work on that. lets see if the group has done that ( i bet they have )
[00:49:41] <andypugh> The issue is that it takes 18mA per drive to keep them disabled if they are powered up.
[00:51:33] <andypugh> The way it works is that there is a +5V supply to each of the 3 input optos of each drive. The P-Port pins connect to V- of each opto.
[00:52:09] <andypugh> So, pin-low = current flow = drive disabled, pin-high = no current flow, = drive enabled.
[00:52:44] <andypugh> It all makes sense until you try to enable/disable 4 drives from one P-Port pin.
[00:53:07] <MattyMatt> so use the 244 as a fanout amplifier
[00:53:40] <tom3p> the drive pdf says ( i dont know why i can copy and paste from the pdf )... sez that 'usually left disconnected... enabled' and thus the crux of this problem.
[00:53:47] <MattyMatt> permanently enabled, so outputs follow the input(s)
[00:53:48] <andypugh> Aye, I was explaining to Tom3p what it was we were dicussiong.
[00:53:48] <tom3p> why i cannot...
[00:54:24] <andypugh> Because those words are an image on the PDF not texy
[00:55:09] <andypugh> Yeah, it is all me being picky about not wanting drives buzzing away making motors hot when I am not even running EMC2
[00:56:31] <andypugh> Permanently enabled would work fine, and free up a valuable p-port pin, but I decided I wanted to be able to turn the motors off.
[00:58:16] <andypugh> I suppose I might as well buffer all the P-Port lines? I have ordered 144 channels of 74LS244s after all.
[00:59:28] <MattyMatt> why would the drives be buzzing away if you're not trying to print? is your bios or OS trying to do PnP ?
[01:00:08] <andypugh> I am not sure, but they do. Chopper frequency I assume.
[01:00:34] <MattyMatt> try diabling pport PnP in bios and OS
[01:00:59] <andypugh> Or maybe some level of microstep dither?
[01:01:02] <tom3p> no, i can select each letter but thats o/t. the pdf is misleading when it says 'single ended' and 'differential'. it has a way to avoid using differential by only using the '-' . the drive enable is high enabled, so wont do anything until the pport goes active.
[01:01:22] <MattyMatt> otherwise the pins should be in one state from switch on. one random pulse when you power up then silence
[01:02:27] <andypugh> The motors don't move, so it isn't spurious pulses, so it must be noise generated in the drives themselves.
[01:02:30] <tom3p> i dont think you have a real problem, try a real test
[01:04:02] <MattyMatt> yeah the anodes are commoned in the drive, so you don't have the option of differential drive
[01:05:40] <andypugh> Yeah, I am happy enough in the pin-high drive-active configuration, but in pin-low that shared pin is sinking a lot of current.
[01:06:40] <MattyMatt> yeah one per TTL output, so use 4 non inverting gates of any description. 244 are handy to have a tube of :)
[01:08:05] <andypugh> Well, the real test was last night, where one drive wouldn't enable at all, and another kept dropping out. I think that was possibly due to a spurious current path through a telltale LED though (one that I fitted this time last year when I knew even less than I know now)
[01:08:29] <MattyMatt> that's 5 outputs then :)
[01:08:52] <andypugh> Yes, I guess so.
[01:10:38] <andypugh> Eek! 0210 and work tomorrow
[01:10:47] <MattyMatt> I'm sure you can amplify TTL with a couple of cheapest transistors, but 244 is the lazy way to get on-spec I & O
[01:10:57] <tom3p> first the neccesary signals: http://linuxcnc.org/docs/2.2/html/config_stepper.html#sub:Adding-enable-signal 2) how to implement that... pport to ls244
[01:11:55] <andypugh> I already have an enable signal, the system was working until last week when I blew up some drivers, then started looking at things with a more experienced eye.
[01:13:04] <tom3p> http://linuxcnc.org/docs/2.2/html/config_stepper.html#sub:Adding-enable-signal upto 500mA per channel ( things that can go BANG have guts )
[01:13:49] <tom3p> wrong paste... http://www.st.com/stonline/products/literature/ds/1536/uln2805a.pdf
[01:14:19] <tom3p> uln2803, use 'em a lot, 5V in, 24V out, real industrial type control signals
[01:14:26] <andypugh> That's old stuff by the way, stepperconf does amp-enable nowadays, and it's all "net" not "addsp" nowadays.
[01:14:45] <tom3p> heh. old docs abound
[01:17:52] <andypugh> But anyway, I really need to sleep.
[01:18:21] <andypugh> Goodnight chaps.
[01:19:29] <MattyMatt> 500mA would drive my biggest stepper directly
[01:21:47] <tom3p> gnite
[01:21:58] <MattyMatt> middle of \o/ gnite
[01:22:31] <L84Supper> yeah, but the absolute max power dissipation for the entire package is only 2.25W
[01:23:15] <MattyMatt> that'll be a heat limit. those chips were invented before ram heatsinks :)
[01:23:43] <MattyMatt> no, I won't try it, not this week
[01:24:13] <tom3p> right, lotsa immed power, not much average
[01:24:30] <L84Supper> 55 deg C/W is the thermal reistance Junction to abient
[01:25:24] <MattyMatt> so get the ceramic military spec
[01:25:40] <MattyMatt> I'm just trolling now :)
[01:25:48] <L84Supper> well all the numbers are there in the data sheet....
[01:30:46] <tom3p> the amplifiers uses 18-19mA when active, and 0 mA when inactive. what was this all about? the inactive current draw? ( 24V, 1270 ohms -> 19ma or 5V , 270 ohms --> 18mA )
[01:30:59] <tom3p> there is no inactive current draw
[01:44:44] <mIreland> looks like the homing sequence succeeded. I'm running out of obstacles.
[01:44:53] <mIreland> just kidding.
[02:05:28] <Valen> thats easy to fix
[02:05:38] <Valen> just say something like "what could possibly go wrong"
[02:08:25] <toastydeath> "Yeah, that looks about right"
[02:08:26] <toastydeath> works for me
[02:22:38] <L84Supper> 20mA at 5V or 24V no problem, the 500mA he joked about would get the die rather hot
[02:32:28] <mIreland> okay, so now i need to zero Z and X. My tool is currently at x0z0. how do i set current position as zero?
[02:33:02] <mIreland> how does one zero the dro?
[02:33:57] <toastydeath> no idea, sorry, i don't use emc
[02:34:50] <toastydeath> g92 iirc
[02:35:06] <toastydeath> g92 x0 z0
[02:35:37] <mIreland> thankyou
[02:35:49] <toastydeath> woo victory is mine
[02:36:19] <mIreland> yah, i feel extra dumb i knew and forgot
[02:36:52] <mIreland> just figured there would be a button. I'll add one
[02:38:47] <toastydeath> what if you ain't at zero
[03:05:39] <Valen> I usually use the "touch off" button
[03:06:13] <Valen> in axis
[03:10:05] <mIreland> it's alive! I'm running lathe pawn example...
[03:13:02] <mIreland> boy do i have abig grin on my face
[03:15:48] <cradek> mIreland: yay
[03:15:49] <cradek> !
[03:16:23] <mIreland> flawless. glad there were no m6s in there:)
[03:18:01] <mIreland> so i'm pretty sure my following error is hovering around .002 when jogging at 100ipm.
[03:19:15] <mIreland> i can now easily send screenshots i got eth drop.
[03:20:16] <cradek> cool. I'd like to see your plot then. you should be easily able to improve that .002 if it is steady-state error
[03:22:10] <mIreland> okay. i've been setting it to roll. I'll try to catch clean moves to files.
[03:22:26] <cradek> yeah, just take a screen grab of it
[03:24:03] <Valen> some ff1 ftw
[03:24:15] <Valen> well I'm off to play with the mill
[03:24:19] <Valen> back later
[03:26:20] <mIreland> screengrab? im an idiot. is this as simple as pushing printscrn?
[03:26:42] <cradek> yeah or alt-printscreen or something, whatever grabs just the current window
[03:27:36] <mIreland> illbedangd
[03:27:37] <tom3p> on std ubuntu instal: applications|accesories|take screenshot
[03:27:46] <mIreland> thats mitey useful
[03:28:39] <tom3p> hah printscreen works too (doh! tho its Fn Ins on this laptop )
[03:30:34] <Valen> printscreen works
[03:31:31] <mIreland> sure does. now ive got a file, what's easiest way to get it to you?
[03:31:45] <cradek> http://imagebin.ca
[03:32:01] <cradek> stick it there, then copy the url here, then everyone can see it
[03:34:26] <mIreland> here goes. http://imagebin.ca/view/ODKw73S.html
[03:35:52] <cradek> that looks really excellent. you only need to adjust your FF1 and you'll get good following. the error is very clearly proportional to the velocity.
[03:36:55] <cradek> there might be a tiny bit of high frequency oscillation - not sure - if it sounds rough, try fiddling with D (higher or lower - look for a sweet spot)
[03:37:11] <cradek> but the majority of this error can be fixed right up with FF1
[03:37:21] <mIreland> good. now am i correct reading 2 thou? as in inch?
[03:38:01] <cradek> it looks like about 2 div at 500 microinch each, so that's .001
[03:40:43] <mIreland> do your servos talk at all when at steady state?
[03:42:08] <cradek> I think they make a tiny bit of noise, but don't move perceptibly
[03:43:43] <cradek> brb
[03:44:15] <mIreland> mine will at times ring when they stop abruptly. it seems to diminish as i tune, tho.
[03:52:18] <mIreland> oh thats better
[04:04:12] <mIreland> wow, i'm under half a thou ferror both ways. now i'm fiddling with D trying to make it stop ringing at random stops. changing it certainly has an effect.
[04:11:55] <tom3p> excellent. the graph was pretty good to begin with. how big is the machine?
[04:12:21] <mIreland> hardinge HNC bar and chucking machine.
[04:12:33] <mIreland> it's a tank.
[04:13:07] <tom3p> hardinge, bought by bridgeport, now UK based, no more Connecticut in Bridgeport:(
[04:13:28] <tom3p> nic emachine, i saw the chute buttons on your i/f
[04:14:42] <tom3p> is it new? new ones were built in Taichung at FineTech. same place i built several edms
[04:14:59] <tom3p> new = 2005 to 2008
[04:15:02] <mIreland> ser#195. it is decidedly not new.
[04:15:12] <mIreland> '78ish
[04:15:13] <tom3p> then its better :)
[04:15:59] <mIreland> man, this thing refuses to fail. it's the best thing i ever bought hands down.
[04:16:28] <mIreland> I seem to have lost both grid zero switches, but there is a chance that they still work.
[04:17:50] <mIreland> i peeled off the part chute but i hear they are for keeping.
[04:19:51] <mIreland> I'm still tweaking in the config, and i've never run emc before about 45 min ago, so it's a rush all the way. buttons you saw were from cradeks config, he has similar machine.
[04:27:40] <mIreland> wondering what I will have to add to index and brake the spindle... it wants live tooling and i think it can be done.
[04:35:29] <toastydeath> bigger lathes usually just hang another toothed pulley off the spindle
[04:35:34] <toastydeath> and a rather large servo
[04:35:54] <toastydeath> it freewheels when it isn't in use
[04:36:18] <toastydeath> and for braking/clamping, it's usually a literal disk brake and pad
[04:37:19] <toastydeath> so you get your big, main spindle drive and pulley, your spindle servo and pulley, and a disk brake.
[04:37:38] <toastydeath> there is an M code they use to alternate between spindle drive, servo drive, and braking.
[04:38:55] <toastydeath> and obviously, the spindle will need an encoder
[04:39:59] <toastydeath> you can use a small servo if you are only indexing to clamp
[04:40:11] <toastydeath> and then it's just like m90 C<angle>
[04:40:19] <toastydeath> and it will unclamp, index, and reclamp for you
[04:43:13] <mIreland> this thing has a kickass brake but leaves a little lash because it is down by the motor. if i could keep it loaded aginst the brake i'd be in business with existing equipment. the trick would be stopping at the index points.
[04:43:28] <mIreland> i think it can be done.
[04:43:52] <toastydeath> the belt will not handle milling
[04:44:11] <MattyMatt> I've just had an idea for a head changer on a table router. the Z-way ends (with a taper) lower than the screw, and when the X is aligned with a rack, the Z ways are continued up in the rack. with a biro-style toggle latch at the top the Z motor could effect the head change
[04:44:13] <toastydeath> if all you want to do is like, axial drilling it should be fine
[04:44:25] <mIreland> good point thankyou. i've run a chucker but this is the first ive owned.
[04:44:51] <mIreland> not in a hurry to burn it up
[04:46:30] <toastydeath> those brakes wear out pretty quick
[04:46:38] <toastydeath> at least on the hardinge chuckers we have
[04:46:51] <mIreland> still, small hi rpm tooling shouldn't load the spindle any more than normal cutting, i'd think.
[04:47:11] <toastydeath> it's not a spindle issue
[04:47:14] <toastydeath> it's a holding the thing still issue
[04:47:23] <toastydeath> the spindle's fine
[04:47:41] <toastydeath> even a little bit of springyness in the brake system will break an endmill
[04:48:01] <toastydeath> that's why the clamp is universally on the spindle itself for live tooling machines
[04:48:15] <toastydeath> either as a disk or as a torquemotor
[04:50:00] <mIreland> I see. so the correct answer is a disk brake on the spindle nose, if I really intend to pursue this. I have the pneumatics laying around...
[04:51:07] <mIreland> I can fab a serviceable disk on engine lathe. this brings me back around to indexing. what is the best way to index the head?
[04:51:31] <mIreland> oh hell yah there is an unused bracket space back there.
[04:51:48] <MattyMatt> I've got a bicycle brake disk doing nothing. no calipers or anything tho
[04:51:50] <toastydeath> you can hang it off the ass end of the thing, too
[04:52:03] <toastydeath> I wouldn't want brake dust up by the thrust bearing
[04:52:19] <toastydeath> but it's up to you
[04:52:23] <toastydeath> (obviously)
[04:54:00] <MattyMatt> cycle ones are all cable pull, so no good for pneumatics
[04:54:23] <mIreland> have part in hand. but the point about the dust gives me pause...
[04:54:56] <toastydeath> if it were a crappier machine i wouldn't have an objection
[04:55:06] <toastydeath> but the spindle bearing in that machine is very, very good and it would be a shame to crap it up
[04:55:33] <MattyMatt> an extra oilseal on the outside?
[04:56:26] <toastydeath> not sure how you'd fit one to a hardinge spindle
[04:56:27] <mIreland> objection taken. now I have to resort to clamp not brake.
[04:56:31] <MattyMatt> how about engine braking? is it a brushed DC motor?
[04:56:42] <toastydeath> mattymatt: the motor is hung from a pulley
[04:56:56] <toastydeath> that's not acceptable for live tooling, it has to have a firm clamp on the spindle itself
[04:57:16] <MattyMatt> gotcha belts are springy
[04:58:40] <MattyMatt> a brake belt around the chuck?
[04:59:01] <MattyMatt> leather or sth
[04:59:01] <toastydeath> if you can brake it with the motor, index it, and then just use a disk brake for a clamp
[04:59:14] <toastydeath> then you'd get no dust
[04:59:23] <toastydeath> and could hang it (somehow?) off the nose
[04:59:30] <toastydeath> but you won't be using a chuck if you do that, given that spindle.
[05:01:53] <mIreland> a disk fitted to the spindle nose. i have noomatic works for disk brake, just need to ensure no drag. I'm planning for collet work mostly on this machine.
[05:02:04] <toastydeath> ah
[05:02:30] <MattyMatt> you could have the whole disc in an enclosure, or use a drum brake
[05:02:51] <toastydeath> i really wish hardinge made a 16c spindle machine
[05:03:02] <MattyMatt> that could keep the dust in
[05:03:13] <mIreland> it will function more as a clamp. I will just have to tune it carefully.
[05:03:29] <toastydeath> yeah
[05:04:29] <mIreland> gotta add something the machine just worked!nofun.
[05:08:37] <MattyMatt> build another lathe just the same, but with a disk inside the headstock >:)
[05:10:14] <MattyMatt> plan H, use magnetic braking
[05:11:29] <mIreland> Honestly, this doesn't look like a half-bad idea right now. there is literally a bracket pad in the correct position. it could have been an option or something.
[05:11:43] <MattyMatt> ali disc, permant magnets in a caliper style bracket that swings in. that would brake but not clamp
[05:11:49] <mIreland> I could unbolt it in a minute.
[05:12:45] <mIreland> It doesn't hurt that I have the rest of a shop standing idle around me!
[05:19:14] <mIreland> I could confine it's use to short runs, and make the disk to be installed after turning.
[05:31:10] <MattyMatt> arg, my headchanger can't run entirely from the Z screw, because there's no way to re-engage the half-nut once it's released. it'll need a solenoid at least
[05:31:54] <mIreland> oooh, headchanger? what sort of beastie are you working on?
[05:33:07] <MattyMatt> just a scribble so far. this needs proper V shaped sliding ways and a half nut. all beyond my means
[05:34:02] <MattyMatt> If I try and use a half nut on M8 the M8 will just bend out of the way :)
[05:36:17] <MattyMatt> basically it just moves the Z slide up onto fixed fingers attached to the roof, so each head has a slide
[05:38:20] <MattyMatt> something for the mk3
[05:40:34] <mIreland> hey, ever heard of rolamite bearings?
[05:40:42] <MattyMatt> nope
[05:41:12] <mIreland> it's a neat trick, using two dowels and an S-loop of spring steel.
[05:41:15] <MattyMatt> are they the ones that run on round rails?
[05:42:15] <mIreland> they work by a balance of spring tension, curling and uncurling in unison
[05:42:54] <mIreland> They make machine ways of extreme rigidity and precision, provided they can be kept very clean.
[05:46:27] <toastydeath> my company makes air bearing dovetails for diamond turning machines
[05:46:34] <toastydeath> for contact lens mould turning
[05:46:46] <MattyMatt> that's my concern with having the carriage part of the head, it can get dirt in it when you put the head down on a bench
[05:48:10] <ds3> cleanroom!
[05:48:23] <MattyMatt> and transferring from Z-ways to fingers might cause wear if alignment isn't perfect
[05:48:53] <mIreland> air bearing dovetails? what level of precision does that ential? zounds like the land of millionths.
[05:49:11] <MattyMatt> I'm thinking in terms of woodworking machines so far, so dust-free is not an option
[05:49:13] <toastydeath> .0001" parallelism in 24"
[05:49:42] <toastydeath> the frictionless part is more important or we'd send the slides to get lapped
[05:50:23] <ds3> toastydeath: does that account for thermal dimensional changes? ;)
[05:50:30] <toastydeath> ds3: yes
[05:50:34] <mIreland> air bearings can be 24 inches long?
[05:50:43] <toastydeath> mireland: sure they can, but i'm talking about the slide
[05:50:50] <toastydeath> the actual bearings themselves are flat to 20 millionths
[05:51:11] <toastydeath> the dovetail the bearings go on is usually in the 24" ballpark
[05:51:28] <ds3> toastydeath: so the warm spindle on one end won't violate the parallelism spec?
[05:51:41] <toastydeath> ds3: it's a diamond turning machine, not a normal lathe
[05:51:48] <toastydeath> they go in dtms, rather
[05:52:01] <toastydeath> the whole machine has thermal control
[05:52:06] <ds3> ah I see
[05:52:09] <toastydeath> spindle chillers, etc
[05:52:17] <ds3> 68F?
[05:52:23] <mIreland> millionthsland.
[05:52:29] <toastydeath> not necessarily, optics doesn't have to be done at 68
[05:52:41] <toastydeath> as long as you hold the temperature AT something, it will be fine
[05:52:56] <toastydeath> so many places hold it to 72 because it's easier to do
[05:52:59] <toastydeath> and less costly
[05:53:20] <ds3> I see
[05:53:34] <toastydeath> optics is more about finish than raw accuracy, especially for contact lenses
[05:53:44] <toastydeath> so the temperature isn't as rigidly controlled, but vibration is
[05:57:20] <toastydeath> sleep now, nite
[05:57:35] <mIreland> gnite
[05:59:48] <mIreland> so nobody knows about rolamites? they were invented at Sandia. apparently they are public domain. they make a near frictionless slide with the side to side rigidity of the spring steel you make them from.
[06:00:53] <mIreland> they mite make cheapgood slideways, if an industrious person should try.
[06:01:16] <MattyMatt> http://www.youtube.com/watch?v=O-1Drlfuoi4
[06:03:20] <MattyMatt> an industrious person with a slip roller I presume
[06:11:38] <mIreland> springsteel. should be flat when unsprung. these would be dangerous to create or destroy.
[06:12:00] <mIreland> but scaleable to very small sizes
[06:16:34] <mIreland> with pizzacutter combine rollers they mite even tolerate some dirt
[06:17:40] <MattyMatt> hence the name >:)
[06:19:58] <MattyMatt> linear steppers are the thing to dream abount
[06:21:18] <mIreland> huh. i think i will dream about those a while.
[06:21:25] <MattyMatt> http://www.youtube.com/watch?v=AjkT6VgaQLo&feature=related
[06:22:07] <mIreland> I'm having trouble w adobe plugin at the moment. im trying tho
[07:06:25] <ftkalcevic> I'm writing a user component in python. I want to be able to home the axis. It looks like I use the emc.command.home(0) to home the X axis.
[07:06:50] <ftkalcevic> When I run that, my component just dies silently.
[07:07:12] <ftkalcevic> I've had similar issues reading statuses, eg emc.stat.position[0]
[07:07:52] <ftkalcevic> To get that to work I need to "emc_stat = emc.stat()" first.
[07:08:08] <ftkalcevic> And use emc_stat.position[0]
[07:08:40] <ftkalcevic> I'm new to python, does anyone know why I need to assign to a variable first?
[07:10:45] <ftkalcevic> Actually, I think I just answered my own question - () - its a function call. doh!
[08:10:52] <MattyMatt> ftkalcevic: that happens a lot in python when fetching data from a C lib or app, you can't operate directly on the data you need object getters and setters in the wrapper
[08:19:16] <celeron55> is it emc_command().home(0) and emc_stat().position[0] then?
[08:19:32] <celeron55> emc.command() and emc.stat() i mean
[08:19:56] <ftkalcevic> Yes. That worked for me.
[08:41:14] <ftkalcevic> I'm now struggling to execute an MDI command from my python user component. I eventually want to zero the axis, but I can't even get a test rapid working.
[08:41:21] <ftkalcevic> This is what I am doing...
[08:41:37] <ftkalcevic> emc.command().mode( emc.MODE_MDI )
[08:41:45] <ftkalcevic> emc.command().wait_complete()
[08:41:53] <ftkalcevic> emc.command( "G0 X0" )
[08:42:20] <ftkalcevic> oops, typo. That should be emc.command().mdi("G0 X0")
[08:42:26] <ftkalcevic> then a wait complete.
[08:43:21] <ftkalcevic> If I don't set the mode to MODE_MDI, axis will complain about not being in MDI mode, so I know commands are getting through. It's just the mdi() call isn't doing anything.
[08:43:40] <ftkalcevic> I'm basing the series of commands on what Axis does. Any ideas?
[08:47:07] <alex_joni> look at mdi.py
[08:48:28] <alex_joni> http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/emc/usr_intf/axis/scripts/mdi.py;h=f5b4f23eb9a56deb14f54ac4f45fd2c9438c0ac8;hb=HEAD
[08:54:59] <ftkalcevic> Hmmm. It works when I...
[08:55:04] <ftkalcevic> c = emc.command()
[08:55:08] <ftkalcevic> c.mdi( cmd )
[08:55:16] <ftkalcevic> But it doesn't work when I...
[08:55:24] <ftkalcevic> emc.command().mdi( cmd )
[08:55:38] <alex_joni> * alex_joni isn't that familiar with python trickeries ;)
[08:56:18] <ftkalcevic> I don't like python. Give me something with a compiler and strong type checking.
[08:56:39] <archivist> pascal :)
[09:11:36] <micges_work> ftkalcevic: You must add c = emc.command() at top of your program, and the use c.smth
[09:12:00] <micges_work> emc.command() is command channel class and must be created firstly
[10:25:13] <alex_joni> ftkalcevic: basic
[12:18:55] <i-pink> hii all
[12:19:10] <micges_work> hi
[12:34:03] <Dave911> I ran the StepConfig wizard and input my latency numbers etc and when I look at the .INI file I see that the base thread is set to 100000 which I believe is 100 uS..
[12:34:05] <Dave911> That works out to a 10 khz step output I believe. The latency test indicated that the max I could run hz wise was something like 50 khz...
[12:34:06] <Dave911> How does StepConfig determine the INI file setting for the base thread? Do I just alter the INI to crank up the max step rate?
[12:58:04] <jymm> SWPadnos: 2TB = $160 http://newspaperads.mercurynews.com/ROP/ads.aspx?advid=32664&adid=8419165&subid=27062592&type=
[12:58:14] <SWPadnos> cool
[12:58:19] <Dave911> >>ftkalcevic>I'm now struggling to execute an MDI command from my python user component. I eventually want to zero the axis, but I can't even get a test rapid working
[12:58:20] <Dave911> What did you read to be able to get to the point where you could figure out how to do Python user components?
[12:59:54] <jymm> SWPadnos: 1TB = $60 http://newspaperads.mercurynews.com/ROP/ads.aspx?advid=32664&adid=8419165&subid=27062593&type=
[13:01:29] <SWPadnos> NewEgg had 1.5TB on sale for $99 yesterday, but I didn't get any
[13:01:52] <SWPadnos> I should put together my file server with the 1TB drives I already have, then upgrade if I run out of space
[13:02:06] <SWPadnos> (rather than upgrading before I put it together, like I've done before :) )
[13:02:09] <jymm> SWPadnos: Ah. I'm waiting for 2TB to go down
[13:02:16] <SWPadnos> yep, me too
[13:02:31] <SWPadnos> if I can get 2TB drives for under $150, I may do it
[13:02:53] <SWPadnos> but the 1.5's for $99 is a better unit price
[13:03:19] <jymm> I need 8
[13:03:29] <SWPadnos> "need"
[13:03:31] <SWPadnos> :)
[13:04:20] <jymm> 8x 2TB = 6 RAID5 + 2 hot spare ~= 10TB NAS Goodness
[13:05:10] <SWPadnos> better to use 7 in RAID6, plus a hot spare (or no hot spare and just use 7 drives)
[13:05:11] <cradek> I've found that the 4GB drives are a little small today, I prefer to use 9GB or even bigger on my new machines
[13:05:16] <SWPadnos> heh
[13:05:39] <SWPadnos> I have several U160 SCSI 9.1GB drives, if you want to put together a new machine
[13:05:48] <cradek> I have plenty, thanks :-)
[13:06:00] <jymm> Me too, the make great coasters!
[13:06:01] <cradek> I even have some 18G SCSIs like what's in git.linuxcnc.org
[13:06:04] <SWPadnos> and a bunch of 4.3/4.5G ones too, if you prefer SCSI RAID
[13:06:10] <SWPadnos> I have one of those too
[13:06:11] <cradek> I went all out on that machine
[13:06:26] <SWPadnos> should I send it to you so you can do mirroring?
[13:06:37] <cradek> no really, I have plenty
[13:06:43] <jymm> http://www.sears.com/shc/s/p_10153_12605_00911404000P?keyword=c3 plus I have a rebate form good thru tomorrow for a free cordless tool
[13:06:46] <SWPadnos> of the 18GB - you big spender you
[13:07:13] <cradek> jmk gave me 3? 4? from a dumpster-dive a year or two ago
[13:07:30] <archivist> skip rat!
[13:07:52] <cradek> I really can't imagine having TBs worth of data
[13:08:13] <SWPadnos> me either, though I do work with large numbers of still images from tiem to time
[13:08:15] <archivist> I can
[13:08:15] <jymm> cradek: I have 4TB full JBOD as it is.
[13:08:30] <SWPadnos> but you pirate movies and stuff, so that doesn't count :)
[13:08:35] <cradek> jymm: what is it all?
[13:09:07] <SWPadnos> I think I actually have over 1GB of data that I'd like to keep safe
[13:09:30] <jymm> cradek: MediaJukebox, GIS Data, Hi-Res Imagery, Personal data, backups, etc
[13:09:31] <SWPadnos> a lot of it is datasheets, which theoretically would be downloadable later, but it's easier to leep them here
[13:09:55] <SWPadnos> the one thing I'd like a huge datastore for would be to get the full-res Blue Marble images
[13:10:12] <SWPadnos> but that's definitely a "need", rather than a need
[13:10:33] <jymm> SWPadnos: Did I tell you I have one of these? http://www.cidesign.com/usa/product_detail.php?id=60
[13:11:01] <SWPadnos> oh, I don't think so
[13:11:08] <SWPadnos> I guess you "need" 16 drives then
[13:11:29] <SWPadnos> oh wait, that's the ad, not the product
[13:11:39] <jymm> 2U 8 Bay with SATA Backplane hot swap chassis
[13:12:22] <SWPadnos> did it come with the stack of SATA controllers?
[13:12:27] <jymm> FDD and slim DVD burner surprisingly
[13:12:56] <jymm> No, that's what I'm still shopping for.
[13:13:13] <SWPadnos> oh. bummer
[13:13:27] <jymm> I can't complain, got it for $50
[13:13:29] <SWPadnos> let me know if you find a system that really supports hoot-swapping under Linux
[13:13:59] <SWPadnos> I haven't looked into it carefully lately, but I think I remember that it isn't trivial to get live swaps working right
[13:14:31] <jymm> That's based on the controller's ability, no?
[13:14:42] <SWPadnos> yes
[13:14:53] <SWPadnos> drive, backplane, controller, and OS all have to work right
[13:16:37] <jymm> Well, the backplane works with 3Ware and A_________, so I thig it's ust a matter of wat the kernel support is
[13:16:57] <SWPadnos> Areca?
[13:17:01] <jymm> yeah
[13:18:26] <jymm> There are headers in the backplane that you connect to the control for the LED's per drive
[13:18:49] <SWPadnos> yep. I've got that on one workstation and on the 4-drive cage I have
[13:19:47] <SWPadnos> the last time I checked, I'm pretty sure there was an issue with Linux recognizing new drives when they're hot-plugged, or stopping the FS (or letting it still run, which is preferable) for a rebuild
[13:19:53] <jymm> A good thng when hot swapping =)
[13:20:03] <SWPadnos> I don't remember the details, it's been a while since I looked at that
[13:20:14] <jymm> a while being?
[13:20:19] <jymm> months year
[13:20:19] <SWPadnos> at least a year
[13:20:22] <jymm> k
[13:25:00] <jymm> SWPadnos: you just gotta love that a RAID card has it's own web server thogh =)
[13:25:33] <SWPadnos> ayeah, as long as I have an ethernet switch sitting in the machine
[13:25:58] <jymm> SWPadnos: No, it has it's own ehternet port =)
[13:28:46] <SWPadnos> exactly - I'm talking about having an extra port to plug it in to :)
[13:29:27] <jymm> SWPadnos: If you have to worry about not having a spare port, you have bigger issues to worry about =)
[13:29:44] <jymm> SWPadnos: I'll give you a switch !
[13:30:09] <SWPadnos> I probably have 200 ports here, but in my case, I have a server in a closet, and the patch panel isn't in the same closet
[13:30:31] <SWPadnos> so there's a cable run to the server, and I'd need another cable run (or a switch) to connect multiple devices
[13:30:58] <jymm> * jymm shakes his head
[13:31:04] <SWPadnos> the cable run is in the wall, so it's not too easy to run another (though I do have conduit installed, so it's not as hard as it could be)
[13:32:38] <jymm> SWPadnos: Run more strings and tin cans =)
[13:33:30] <SWPadnos> I'll get more pigeons
[13:33:44] <jymm> Now you're thinking =)
[13:41:48] <steve_stallings> steve_stallings is now known as steves_logging
[13:55:20] <jymm> Um, High Tech Redneck???? http://www.frys.com/product/5940674?site=sr:SEARCH:MAIN_RSLT_PG
[15:19:58] <Dave911> My IRC browser went down for a little while so I am not sure anyone answered by previous post - if you did thanks.. If not, I figured it out anyway :-)
[15:27:52] <tom3p> Dave911: if you ever need to see whats happened, or refer to another day... http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/
[15:27:52] <tom3p>
[15:29:45] <SWPadnos> or logger_emc bookmark
[15:29:52] <SWPadnos> like so:
[15:29:57] <SWPadnos> logger_emc, bookmark
[15:29:57] <SWPadnos> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2009-10-09.txt
[15:42:15] <Dave911> Thanks ... for the logger link..
[15:47:15] <Dave911> I am looking at an example config that comes on the LiveCD the Stepper-Gantry .. There is a Hal component loaded called "gantrykins". I cannot see how it is loaded. I have another config I did with StepConf for my lathe and gantrykins is not loaded - it can't be seen in the Machine-Show Hal configuration Any ideas? I've looked through the ini file and all of the other files I could...
[15:47:17] <Dave911> ...find that is part of the config ??
[15:50:41] <Dave911> gantrykins is used to assign the joints to the axes in another hal file that is loaded in the INI file. Is "gantrykins" part of another module? I did a web search and found some mention of source code on Jeff E's website ( the meat one :-) )
[15:53:09] <tom3p> src/emc/kinematics/gantrykins.c i havent found a cfg in 2.3.3 that uses it yet
[15:55:36] <tom3p> these files might make a sim system that use XYYZ http://axis.unpy.net/01162326817 (gotta take off a fender right now bbl )
[15:57:59] <tom3p> doh try stepper-gantry!
[15:59:50] <Dave911> I'm just using the Live CD install and 2.3.0 and it is used in this config. It loads up ok - no errors but I haven't tried to actually run it yet...
[15:59:52] <Dave911> Fender - as in bent fender - do you have kids? ;-) I have two fenders that need fixing. Already replaced both mirrors .. Thanks for the link :-)
[16:02:18] <gene__> I'm back, my obit wasn't in the paper. Can someone tell me how, in this modern self configuring X we have now, to force it to use the vesa driver?
[16:13:03] <gene__> Damn, I just found an update has removed that stanza from my milling machines 6.06 install. WTF??????
[16:16:01] <gene__> So according to the log, that machine is bacvk on the nv driver, and that was trouble (latency) before. So I need to convert both.
[16:16:17] <gene__> Back to the xorg list I guess.
[16:17:06] <SWPadnos> if you have a backup of the older xorg.conf file, you should be able to just copy the correct stanzas into the newer config file
[16:17:49] <SWPadnos> I'm surprised that 6.06 would have an update like that (in fact, I thought they ended 6.06 support in April or June of this year, at least for deskyop apps)
[16:18:00] <SWPadnos> err, desktop
[16:19:49] <gene__> That I do, many in fact, all saved with their saved date as xorg.conf-20090308162951 for the newset of those. Can I copy/paste that "Driver" section into this 8.04 installs xorg.conf?
[16:21:21] <gene__> Whoops Section "Device" not driver.
[16:25:54] <SWPadnos> I think so, but you'll need Device, Screen, and maybe ServerLayout (or similar) sections
[16:26:41] <SWPadnos> I don't remember how ServerLayout is used. or was it DesktopLayout or something?
[16:29:19] <gene__> The device by itself isn't enough?
[16:29:28] <SWPadnos> I don't know ;)
[16:29:56] <SWPadnos> I'm not sure if you need to explicitly tell xorg that you have this device, with that monitor, and you want to use it "here!"
[16:30:20] <SWPadnos> the device section may be enough - you could find out and let me know :)
[16:30:21] <gene__> That's what I was afraid of.
[16:32:05] <gene__> I'm going to reboot, so if I don't come back in 5 mins or so, you'll know I fubared it. :)
[16:32:15] <SWPadnos> heh, sounds good :)
[16:33:13] <Phil31> hi all, first i'm happy to say you that my CNC machine is working great now ... thanks to all helper ! ;=)
[16:33:43] <Phil31> please anybody know a link to find a postprocessor for Camworks ?
[16:35:20] <Phil31> someone on room ?
[16:35:26] <archivist> no
[16:35:42] <Phil31> lol hi archivist
[16:35:46] <SWPadnos> google says you (or someone else named Phil) asked the same question in 2006 :)
[16:35:54] <BJT-Work> busy atm
[16:36:01] <Phil31> yes it was me ;)
[16:36:08] <Phil31> but no answer
[16:36:15] <archivist> perhaps you need to write it
[16:36:19] <SWPadnos> I found a place that makes custom post processors
[16:36:49] <BJT-Work> or modify one that is close
[16:37:25] <Phil31> i have an old version for older camworks ( its not me to do that ) .. but now seem to work, but i have ome trouble now !
[16:37:36] <Phil31> i dont know how to do a new one !
[16:37:49] <SWPadnos> you should be able to modify the one you have to fix the "one little problem" :)
[16:38:02] <Phil31> SwPadnos ; i found too, but not free ! :(
[16:38:12] <SWPadnos> there should be a way of editing the post in CamWorks
[16:38:27] <Phil31> in fact, i dont understand what is wrong .. mays i send a sample of my Gcode ?
[16:38:38] <SWPadnos> you can, but I won't understand it either
[16:39:09] <SWPadnos> and I don't know that anyone here uses CamWorks and EMC2
[16:39:18] <Phil31> how can i send a file to try to open in your EMC2 ?
[16:39:58] <Phil31> i have do many search with google .. but nobody seem to use camworks & EMC2 !!.. what you use ?
[16:40:05] <SWPadnos> make a small one and put it on http://pastebin.ca
[16:40:14] <SWPadnos> I don't use either at the moment :)
[16:41:44] <Phil31> please can you open in EMC2 : http://pastebin.ca/1607485
[16:42:14] <AchiestDragon> well had sucess getting emc2 working but not a lot of sucess in finding sutable ways to get my drawing files converted to nc format for use with it
[16:42:15] <SWPadnos> what is the problem you have with the code? (I don't have an EMC2 machine handy at the moment)
[16:43:29] <Phil31> i don't know how to translate the message in english ( i have EMC2 in french ) .. some problem with coordonates, origin ..?
[16:43:53] <AchiestDragon> using kcam i can inport dfx files (assuming just 2d cutting profiles ) , but even the output nc format from kcam wont work in emc2 format diferences i guess
[16:44:01] <SWPadnos> circle/arc origin, or machine origin?
[16:44:39] <Phil31> AchiestDragon : exactly same for me !.. work perfectly .. but hard to generate Gcode .. ( or i'm too bad to do a postprocessor .. )
[16:45:08] <AchiestDragon> idealy could do with a nc preporcessing program a bit like mastercam that can do solid model to gcode paths
[16:45:24] <Phil31> open my file, the problem is near line
[16:46:10] <AchiestDragon> but that in its self i guess is going to be rather large to file as a single feature request :)
[16:46:11] <Phil31> i don't know mastercam .. i'm working with solidcam .. and like i have an old postpro for camwork i use camworks ..
[16:46:26] <Phil31> mastercam know generate Gcode for EMC2 ?
[16:47:20] <AchiestDragon> i have other issues with mastercam though , as it does not support the file types i usualy work with for cad
[16:47:35] <Phil31> SWPadnos : near line 9
[16:48:15] <AchiestDragon> so realy it would need to support eather dfx format or one of the default brlcad file types
[16:48:28] <Phil31> mastercam know open IGS file or maybe solidworks files ?
[16:48:52] <eric_unterhausen> mastercam does a great job with solidworks files
[16:49:13] <Phil31> ty eric, may be i will try it
[16:49:20] <AchiestDragon> dfx is more coman within cad drawing applications though
[16:49:39] <Phil31> mastercam can generate gcode for EMC2 ?
[16:49:54] <eric_unterhausen> you need a post
[16:50:36] <Phil31> so same problem with mastercam !... i dont understand that there is not a place to share our postpro !..?
[16:51:07] <eric_unterhausen> I thought there was a mastercam post floating around
[16:51:31] <AchiestDragon> and having to say use qcad that saves in dfx , then inporting into another porgram to give you IGS to inport into mastercam to preporcess then save into gcode to inport into emc2 is not an ideal way
[16:51:47] <Phil31> lol
[16:52:13] <eric_unterhausen> dxf is inherently 2d though, correct?
[16:52:21] <Phil31> yes
[16:52:31] <AchiestDragon> no
[16:52:54] <Phil31> oups ...
[16:52:56] <AchiestDragon> just that qcad is ,, dfx in autocad has full 3d support
[16:53:06] <gene_> Bummer, it is going with the xorg.conf.failsafe 800x600 screen, butt fuggly. There is no samsung entry for this monitor, which is a samsung 22" hidef tv whose tuner has gone south
[16:53:08] <Phil31> SWPadnos are you there ?
[16:53:14] <SWPadnos> partly
[16:53:39] <SWPadnos> but I have no machine to test with, so I won't be of much help
[16:53:40] <Phil31> do you have an idea about my sample ?
[16:54:24] <Phil31> something seem bad in that line : N30 G90 G54 G41 D27 G00 X-245.000 Y4.950
[16:54:27] <Phil31> ?
[16:54:43] <eric_unterhausen> the issue of posts is industry-wide
[16:55:00] <gene_> <SWPadnos> can I just delete all the xorg.conf.* stuff, it seems to be rewriting it to suit itself anyway
[16:55:16] <eric_unterhausen> and the fact that someone sues anyone that makes a control with programming capability doesn't help things
[16:55:41] <Phil31> there is some 1000's users of EMC2 .. nobody share her postpro ?
[16:58:08] <SWPadnos> gene_, yes, newer versions of xorg don't need anything in the conf file, it's all detected at X startup
[16:59:09] <SWPadnos> I just wasn't sure how much of the old file you'd have to recreate to make sure it does what you want
[16:59:29] <SWPadnos> Phil31, post processors are unique to the program that's generating the G-code
[16:59:37] <SWPadnos> so you can't take a mastercam post and use it in camworks
[17:00:50] <AchiestDragon> the down side fro EMC2 is that if the only way to preprocess the gcode is by using solidworks and mastercam then sort of puts a damper on the situation as both are windows based , and both are rather priecy to get licences for
[17:00:57] <Phil31> SWPadnos : yes i know ! but if mastercam say in native generate gcode for emc2, i can work with it and forget camworks !...
[17:01:22] <AchiestDragon> could say the same with autocad other than already have a licence for autocad
[17:01:33] <SWPadnos> you asked if anyone had shared their post - I was only pointing out that 100 people could have shared post processors for other software, and it wouldn't help you with camworks
[17:01:54] <SWPadnos> I made a post (not sure how conmplete it is) for TurboCADCAM, and you can have that if you like
[17:01:59] <Phil31> no, i use windwos programs on my personnal PC but EMC2 on the PC of my machine ...
[17:02:38] <BJT-Work> Phil31: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Cam_Post
[17:03:25] <Phil31> SWPadnos : i think about a place where all body share the postpro he use .. everybody say " here it is a post fro XXX cad software and YYY ( like EMC2 ) machine controller ..
[17:03:44] <SWPadnos> see above
[17:04:01] <BJT-Work> :)
[17:04:12] <Phil31> BJT-Work : yes .. something linke this ! ...
[17:05:34] <Phil31> i will try to post on this link my old postpro for old camworks version ..
[17:08:55] <Phil31> .. can we post to this page ?
[17:10:06] <BJT-Work> Phil31: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?BasicSteps
[17:23:25] <Phil31> i try to post , but something wrong on the link ... ?
[17:28:23] <Phil31> done ! ;)
[17:28:45] <Phil31> be back later if someone can help me with with Gcode problem ...
[17:32:44] <Phil31> see you later guys
[17:45:34] <cradek> N30 G90 G54 G41 D27 G00 X-245.000 Y4.950
[17:46:01] <cradek> I didn't load or run it, but if the problem is on this line (and why doesn't he say what the error is!?) maybe he has no tool 27
[17:46:29] <cradek> it preps tool 07 above on line 8, but never loads it
[17:47:46] <cradek> so there's probably a post problem (no M6) and one or more operator problems (no tool 27)
[17:48:25] <cradek> (I doubt any postprocessor is a substitute for knowing some gcode, and in general, what you're doing)
[17:55:01] <BJT-Work> cradek: he is gone
[17:55:22] <cradek> yeah I know
[17:55:39] <cradek> maybe he'll check the logs or something.
[17:56:01] <BJT-Work> ok, I didn't think of that... your the boss today
[17:56:08] <cradek> I am??
[17:56:20] <cradek> then I declare that people will stick around after asking questions
[17:56:42] <BJT-Work> yep that is how we do it here who ever comes up with a good idea is boss for the day
[17:57:10] <BJT-Work> or if one of us says lets go fishing or mushroom picking or something like that
[17:57:12] <cradek> I only need one good idea per day to always be the boss? that's a low bar.
[17:57:33] <BJT-Work> it's got to be a good one
[17:58:20] <cradek> I better ration them then
[17:58:26] <SWPadnos> good idea
[17:58:27] <BJT-Work> well we have 2 of the 5 machines done we are building today so I'm taking the rest of the day off :)
[17:58:28] <SWPadnos> damn
[17:58:53] <cradek> cool, everyone should take friday afternoon off.
[17:58:54] <BJT-Work> tool late SWPadnos cradek is all ready the boss
[17:59:08] <SWPadnos> rationing good ideas was his idea anyway
[17:59:10] <SWPadnos> :)
[17:59:18] <BJT-Work> :)
[17:59:24] <BJT-Work> see you guys later
[17:59:28] <cradek> have fun
[17:59:33] <SWPadnos> see ya
[19:28:57] <vlmarshall> I have two questions; Is there a FeatureCAM postprocessor for EMC floating around anywhere? How do I stop Ubuntu's screen-blanking when idle?
[19:30:37] <cradek> 1) no idea, 2) system / preferences / screen saver
[19:31:08] <jymm> also check power management
[19:32:20] <jymm> Y'all talk to much! shut da he11 up alreay!
[19:32:48] <vlmarshall> hahaha
[19:33:45] <vlmarshall> yeah it was the screensaver setting; I feel dumb now. I was sure I'd unchecked it already. Thanks!
[19:43:17] <vlmarshall> Is support of G12&G13 planned for future releases of EMC?
[19:44:36] <vlmarshall> ... or G84? :)
[19:47:48] <_Poincare> _Poincare is now known as Poincare
[19:49:43] <vlmarshall> hm, I see there are newer releases...scratch that g84 question.
[19:54:13] <cradek> um what are G84, G12 and G13?
[19:54:54] <vlmarshall> g84's rigid tapping, which I see listed in the manual as unsupported. g12 & g13 are circle pocket routines.
[19:56:31] <cradek> we have rigid tapping - see g33.1
[19:56:36] <cradek> we do not have any circle pocket routines
[19:57:06] <vlmarshall> thank you.
[19:58:38] <mIreland> I've only personally seen them on a Haas mill. I used them a lot boring tiebar holes in sideframes. They are nice because you call them off their center.
[19:59:04] <vlmarshall> exactly!
[19:59:53] <vlmarshall> yeah I'm spoiled by the Haas machines, and expect the same functionality at home as I have at work. EMC's been great for getting close to that, much better'n Mach.
[20:00:12] <cradek> perhaps you could add these to EMC and submit a patch to the developers
[20:00:41] <cradek> or, if you could write up a full spec of how the codes should work, perhaps someone will add them. the wiki would be a good place to put this.
[20:02:14] <vlmarshall> ok, I'll do that; explain the command and just what the controller is doing and the variables it's juggling. I've considered at least writing a routine to emulate it.
[20:02:33] <cradek> yes that is another option
[20:03:46] <mIreland> they peck to a depth, spiral out at a width, then finish pass. you can tell it to skip out to a diameter if you are widening an existing bore. HAAS user manual should tell enough to emulate the function.
[20:03:47] <cradek> if you write a spec, be sure that you describe the behavior, not the implementation. I'm not sure what you mean by variables, but that sounds like an implementation issue. You should describe what the gcode says, and what path it causes the machine to take. You should also explain how (if) it interacts with cutter compensation.
[20:04:02] <vlmarshall> I've used the spiral routine that comes with the examples, but with the 'real' routine, you set the starting and ending arcs individually. Nice when you just need to make a finish cut in an existing hole.
[20:04:31] <mIreland> I remember wishing it would rapid rather than feed through air on completion. ours will be better than theirs.
[20:04:41] <cradek> it's possible the user manual gives all the information, but remember the developers probably do not have manuals for other controls
[20:04:52] <vlmarshall> true
[20:05:06] <cradek> if those are freely available online, a link to the manual would be a great thing to put in your spec
[20:05:21] <cradek> if they are not freely available, you can't really usefully refer to them
[20:05:24] <vlmarshall> the user manual just shows how to use it and the path it'll take, not the things it's thinking about to get there.
[20:05:31] <cradek> right
[20:05:54] <vlmarshall> I'll include real details.
[20:06:01] <cradek> great
[20:06:11] <mIreland> it could be emulated in scripts i bet. most important consideration is the possibility of name collisions with incompatible implementations. these codes may have resisted the standard for a reason.
[20:06:24] <cradek> when you are done, you might send a mail to the emc-developers list saying what you have done, and maybe you can get someone's interest if you can't implement it yourself.
[20:07:30] <mIreland> awesome i will certainly use this
[20:07:37] <vlmarshall> yeah , I certainly can't implement it.
[20:10:27] <vlmarshall> but you probably guessed that when I came in here asking how to turn off my screensaver. :)
[20:22:30] <andypugh> Is it possible to mill a 3mm dia circle with a 2mm dia cutter using diameter compensation? I can't get a sensible entry move.
[20:22:55] <archivist> helix down
[20:23:44] <andypugh> It's more that it won't allow the cut, it complains about gouging.
[20:24:33] <vlmarshall> lie about your cutter diameter, half of it is exactly your pocket radius.
[20:24:36] <andypugh> I am wondering if I need to toggle compensation on and off in some way. It looks like it will cut the first profile fine, does it get a fixed idea of where "inside" is?
[20:26:19] <andypugh> If I lie about the cutter diameter it will surely mill the wrong hole?
[20:26:32] <vlmarshall> just telling it your cutter is 1.99mm should be enough
[20:27:04] <andypugh> It would be simple enough to just fix the cutter dia and mill explicitly, but I am curious about how compensation works.
[20:27:33] <cradek> andypugh: turn on compensation on a long move above the work. then as archivist says, just helix down
[20:27:52] <cradek> (if you are not yet using emc2.3 it might be somewhat harder to do this)
[20:28:05] <andypugh> It isn't the length of the entry move it hates, it seems to insist on doing wierd semicircles on straight moves, so I am clearly missing the logi
[20:28:49] <cradek> what version are you using?
[20:29:07] <cradek> (and what's the exact error message?)
[20:29:19] <vlmarshall> are you remembering to use G1 on the next linear move after a g2 or g3?
[20:29:32] <vlmarshall> I'll shut up now, sorry.
[20:29:49] <cradek> that is not a requirement in emc - it can compensate arc-arc-arc just fine
[20:30:28] <andypugh> I can't remember exactly, it was something like "Can't cut concave corner without gouging:
[20:30:37] <cradek> version?
[20:30:38] <andypugh> Bear with me, I will reboot the VM
[20:30:41] <vlmarshall> yeah that's why I shouldn't be offering "advice". I'm a machinist, not a programmer.
[20:30:57] <andypugh> Version 2.3.0
[20:31:17] <cradek> vlmarshall: cnc machinists often give good advice, but controls are so different sometimes the advice doesn't match emc exactly
[20:33:09] <vlmarshall> thanks. I just jumped in on something I thought I knew, while my mill is running behind me.
[20:33:22] <andypugh> "Arc move in concave corner cannot be reached by tool without gouging"
[20:34:32] <cradek> pastebin your gcode and tool table?
[20:35:22] <andypugh> www.pastebin.ca/1608029
[20:35:42] <andypugh> Generic 2mm dia tool. I guess a 2" one would work too
[20:36:16] <cradek> I don't see where you load the tool or otherwise tell it which one to use
[20:36:26] <andypugh> I did that in the MDI.
[20:36:34] <cradek> ok
[20:38:30] <andypugh> I am just curious if I need to fiddle more, or if it can't be done?
[20:49:14] <cradek> looks like you can do it with extreme care in entry and exit moves. if I change the diameter to less than 1/2 of the hole dia it works as-is
[20:50:21] <andypugh> Odd, as it is something you could do without a second thought as a manual machinist.
[20:51:53] <archivist> I dont use compensation when milling, and I admit holes are milled with the rotary turning here
[20:53:28] <andypugh> I wasn't sure what cutters I have, so wanted to leave my options open :-)
[20:55:50] <andypugh> It's not a problem, it just seemed a good use for compensation
[20:58:34] <vlmarshall> hm
[21:00:58] <AchiestDragon> anyone know a cheap supplyer for http://www.axiscnc.com/pdfdocs/tbr.pdf this type of rails and bearings in the uk ?
[21:02:00] <archivist> seen them on fleabay
[21:02:49] <andypugh> Define "cheap?
[21:03:06] <AchiestDragon> yea axis cnc on there ,,, i got what was suposed to be a dremel/proxon spindle mounting from them dosent fit a dremel so not realy willing to use them again
[21:03:13] <andypugh> Is £2.90 per 100mm and £7.40 for a carriage too much?
[21:05:57] <AchiestDragon> well cheaper than £3.67 plus £8 postage anyway
[21:06:08] <AchiestDragon> for same 100mm
[21:06:58] <andypugh> The £7.40was the slide, not postage
[21:07:05] <andypugh> http://www.slidesandballscrews.com/tbr16-supported-guided-rail-p-139.html?cPath=52&osCsid=9625642cc78dd89f4a494d0d1c58ca3a
[21:08:39] <andypugh> Most of my stuff has come from there, mainly by accident as I thought I was buying from Motion Control Products. Bournemouth seems to be a hotbed of CNC product sales.
[21:09:01] <andypugh> Their ballscrews seem very cheap too.
[21:09:04] <AchiestDragon> still comes to £127.60 for the total 4.4m but better than 161.48 that axis charge
[21:09:55] <AchiestDragon> kool ty for the link andypugh , bookmarked it
[21:11:30] <AchiestDragon> was going to use trapizoidal leadscrews
[21:14:33] <andypugh> Price up the ballscrews, there may be less in it than you think,
[21:15:01] <andypugh> Arguably good leadscrews are better than cheap ballscrews though
[21:15:51] <AchiestDragon> the screws cost about the same for eather ,, its the nuts that seem to be more of a cost issue
[21:16:50] <AchiestDragon> sorry ebay link but http://cgi.ebay.co.uk/x3pcs-Cylindrical-10x2-Trapezoidal-BRONZE-Nut-LRM10-2D_W0QQitemZ310159999257QQcmdZViewItemQQptZUK_BOI_Metalworking_Milling_Welding_Metalworking_Supplies_ET?hash=item4836fa0119&_trksid=p4634.c0.m14.l1262
[21:17:28] <vlmarshall> remember that un-preloaded ballnuts will require doubling-up to control backlash.
[21:17:46] <AchiestDragon> 2 nuts to make an antibackash assembly , rather than trying to make a ballnut or £45 for a single ball nut
[21:18:16] <AchiestDragon> the trapizoidal ones seem like a better option to me
[21:18:41] <andypugh> I have a 6tpi acme tap if you want to borrow it.
[21:19:17] <AchiestDragon> i need to reduce costs a lot but i dont want to compormise the machines acuracy too much
[21:20:59] <AchiestDragon> the frame is going to be from 40mm square 2mm thick steel box section its only approx £14 for a 7.6m lenth
[21:21:40] <andypugh> You have to be careful about where you cut cost though, or you end up with £100k prototype cars that can't be used because the road tax has run out and the re-tax cost isn't being signed off....
[21:23:10] <andypugh> (Of course, I made that example up, no huge multinational would be so stupid, obviously)
[21:23:16] <AchiestDragon> yea
[21:23:22] <AchiestDragon> :)
[21:25:19] <AchiestDragon> well welding together a frame is within what i can manage , so are the trapizodial leadscews and nuts ,, those rails are a comparmise as would of liked to use harwin 15mm rails and bearings but would put it out of my budget
[21:26:04] <andypugh> The aluminium extruded profile isn't a lot more expensive than that, by the way, and looks dead technical.
[21:27:04] <AchiestDragon> would an aluminium profile machine be up to machineing brass parts on though
[21:27:55] <andypugh> Dunno, and I was wrong about the cost at that size too
[21:27:56] <andypugh> http://uk.rs-online.com/web/search/searchBrowseAction.html?method=getProduct&R=0223638
[21:28:02] <AchiestDragon> i can mig weld the steel but would have to bolt it if it was alli
[21:28:07] <archivist> your box section may not be stiff enough, depends what you want to do
[21:29:31] <AchiestDragon> stiffness is not a problem as going to use a latice type frame work assembly ,, lot of welding though
[21:30:40] <AchiestDragon> could even go to i beem profils and a lot thicker if needed
[21:31:13] <AchiestDragon> but 40mm box would not be a problem with the spindle power i am concidering using
[21:32:03] <AchiestDragon> about 3/4hp
[21:38:15] <andypugh> Bolting that Ali profile is very easy though, you only need to drill a hole to get an allen key into. I used the tiny version to make my controller box.
[21:39:09] <AchiestDragon> bolting things together i usualy find leads to it vibrating loose during use
[21:39:51] <andypugh> I am not saying that welded box won't be stiffer and better. But it won't look as nice :-)
[21:40:33] <AchiestDragon> although with welding i would usualy have to design in adjustments to correct any welding deformation
[21:41:43] <AchiestDragon> yea i know ,, would look better from aluminium
[21:41:54] <AchiestDragon> be lighter also
[21:44:02] <andypugh> Easier to reconfigure too.
[21:45:45] <andypugh> We used it a lot in a previous job, building assembly and inspection lines. It is very rigid when bolted up.
[21:47:08] <andypugh> Maybe not iron-casting rigid, but it fills a lot more space than box, so is torsionally very stiff. You still have the fact that the Young's Modulus of ali is a lot less than steel though
[21:48:18] <AchiestDragon> ok only the inner section of the main frame shown on this but that was using 4" by 2" by 1/4" thick aluminum channel for the framework http://www.whipy.demon.co.uk/main-assembly.jpg
[21:49:02] <AchiestDragon> there was to be an outer frame providing extra support also
[21:51:53] <AchiestDragon> still not toatly shoure about the weight issues on the z axis if i make it with a steel frame , will definatly need countrbalance weights on it
[21:53:08] <AchiestDragon> forget the stepper position on the y axis , as like the z going to be a double leadscrew
[21:54:39] <andypugh> It might be instructive to do the beam deflection calcs for steel box and ali
[21:55:15] <andypugh> The ali section moments of inertia are published, you might have to calcuate the steel one
[21:55:56] <archivist> roark's stresses and strains
[21:57:10] <AchiestDragon> have the values for 40mm box someware
[22:01:30] <AchiestDragon> 0.24 " at 110lb on free end supported 36" away
[22:03:31] <andypugh> Simply-supported is probably more relevant than cantilever, but for comparison purposes it is fine.
[22:03:58] <AchiestDragon> same as for unistrut
[22:05:44] <AchiestDragon> i did try uinistrut some years back , but the bolting method tensd to allow for vibration to losen the bolts and then it tends to drop out of allignment because of the slack
[22:06:12] <andypugh> At the correct torque nothing should work loose
[22:06:22] <AchiestDragon> unistrut beeing galvanised dose not realy allow for welding
[22:10:25] <AchiestDragon> how best to explain the problem i had ,, drill 2 lenths of bar say 500mm long ,, bolt though , tighten to rated touqe of nut/bolt ,,, hold other ends of bar and it losens as if you had a 500mm long bar on a socket ove the nut
[22:11:13] <andypugh> Aye, though you could use the corner brackets as well
[22:11:41] <AchiestDragon> yea probalbay better that way
[22:13:47] <AchiestDragon> but welding is more stable in the long term , although as you say does not lend itself to reconfiguring the layout
[22:16:16] <AchiestDragon> unistrut would be a nice option and price wise good , the down side is the fixings they seem to want to sell you them in packs of 100 or so
[22:17:01] <AchiestDragon> and for 1 machine that works out quite expencive
[22:19:01] <andypugh> Aye.
[22:20:43] <AchiestDragon> as to looks when finished was thinking of masking of the faces where the rails go and other inportant surfaces and getting it poweder coated
[22:21:47] <AchiestDragon> theres a place down the road does that ,, if alli would of got it annodized
[22:21:49] <andypugh> Good pane
[22:21:52] <andypugh> plan
[22:26:38] <AchiestDragon> main aria of use would be to make parts for cavity amps and other uhf rf stuff like http://www.ve1alq.com/cavity1/cavity1.htm
[22:27:01] <AchiestDragon> mostly copper then silverplated
[22:27:51] <AchiestDragon> but some brass fittings also
[22:28:55] <andypugh> I understand they have to be very tightly toleranced, or is that only if you really and truly care about the frequency?
[22:30:44] <AchiestDragon> the tolarances go down to a few hundered microns for actual tuning , but the tuning is adjustable and +- .2mm or so is acceptable on the construction
[22:31:34] <andypugh> Use a cold-chisel then :-)
[22:31:44] <AchiestDragon> lol
[22:32:37] <andypugh> I reckon my dad and grandad could use a chisel to that tolerance, then scraper and blue for the next two decimal places.
[22:34:00] <AchiestDragon> yea but would have more flexibilaty with a cnc , and end up with parts that look the part and would justify spending the costs to get them silver plated
[22:35:23] <andypugh> Yeah, I built a CNC because it is too late to do a machine fitter apprenticeship. :-)
[22:37:20] <andypugh> Scrolling back: No need to anodise that rail profile, it is already clear anodised
[22:37:49] <AchiestDragon> i was meaning the frame if i made that of alluminum
[22:38:07] <andypugh> I meant frame profile
[22:38:26] <AchiestDragon> yea
[22:39:15] <AchiestDragon> was meaning the rest of the frame parts as i would of been using a diferent section to that
[22:40:42] <AchiestDragon> like the channel section sat on the machine in this pic http://www.k7peh.com/imageHiQ/rawparts1.jpg
[22:43:21] <AchiestDragon> a local company uses a far ammount of that stuff for walkway gantries arround the hoppers and air vessles they make , qiute a bit of it ends up in the local scrap (when they make a bit the wrong size ) but been told there going bust
[22:44:10] <AchiestDragon> so a cheap supply of it is going to dry up rather soon
[22:47:26] <AchiestDragon> 4" by 2" 1/4" thick , not got funds to buy enough in for what i will need to make the machine from , so looking at another design for the time ,, if theres enough there when i have some cash then will get some and use that
[22:47:41] <andypugh> Ah
[22:48:33] <AchiestDragon> but it would need anodizing once machined
[22:49:13] <AchiestDragon> £1 per kg
[22:51:26] <AchiestDragon> on a £0 budget atm as its allocated to xmas pressents for kildet and famaly
[22:52:25] <i-pink> hii all
[22:52:31] <AchiestDragon> hi
[22:53:54] <AchiestDragon> will have to see though may manage to scrape together enough by end of next month ,, need about 85kg of it though and about another 40kg of 10 and 20mm thick aluminium plate
[22:54:04] <i-pink> i finish the encoder (on the matrix) it work very with 2 LDR and 2 LM741 and one 7404 (to get TTL)
[22:54:23] <AchiestDragon> kool
[22:55:19] <i-pink> now dismantled it to build it on a PCB
[22:56:46] <i-pink> how i can cut PCB board
[22:57:49] <i-pink> here in night and i cant make noise..
[22:58:12] <frallzor> someone name a free program to do 2.5d cam in. got some dxfs but cambam wont do them properly
[22:58:18] <andypugh> pen-knife, score then snap
[22:58:29] <AchiestDragon> stanely knife ,,, score the board ,,, then break it like you do tile cutting
[22:59:01] <i-pink> i try to cut him with japanese knife, but is not work
[22:59:04] <AchiestDragon> watch fingers
[22:59:52] <i-pink> I know this way, but I need to cut a small square
[23:02:25] <AchiestDragon> small drill , about 3mm dia in a pin chuck and turn it by hand ,,, , drill a few holes arround the edge use side cutters then to hack out the center and file it suqare ,, posible to do that at 3am without waking the cat asleep on the desk next to where your working
[23:03:06] <AchiestDragon> alhough filing it to a suare may
[23:03:46] <AchiestDragon> although / althougth ,,, suare /square
[23:18:54] <ftkalcevic> Is it possible to set the spindle speed through a pin? Not spindle override, the specific speed, eg 100rpm.
[23:19:51] <ftkalcevic> On my pendant, if I select spindle on the axis-select switch, I want to adjust spindle override when a program is running, otherwise, in manual mode, i want to set the spindle speed.
[23:23:30] <toastydeath> g97s<speed>m3
[23:23:31] <toastydeath> ?
[23:24:33] <ftkalcevic> So I can't do it in a hal file? I need to do it in python and use the mdi?
[23:24:49] <cradek> ftkalcevic: I don't think there is a good way to do that currently
[23:25:35] <cradek> I think in theory halui could have a "counts" style input for spindle speed, but it doesn't currently
[23:25:51] <cradek> it has "increase" and "decrease" pins which are for buttons that increase/decrease by 100 rpm for each press
[23:28:38] <ftkalcevic> Actually, Spindle Override looks fine. I didn't realise it applied to the spindle speed in manual mode.
[23:36:42] <andypugh> So was it concluded that radius compensation on small holes was too much bother?
[23:39:03] <dgarr> i generated a gcode file that gives very different behavior with g61,g64,g64p- http://www.panix.com/~dgarrett/stuff/h3.ngc
[23:39:55] <dgarr> demonstrable on simulator (axis.ini) -- maybe i'm doing something wrong -- to check, run it, then change g64p.001 to g64 or g61
[23:42:37] <i-pink> now i finish to cut 2 squares of PCB
[23:47:04] <andypugh> dgarr: Try the mailing list with that one?