Back
[00:44:27] <maddash> wow. streetview is incredible.
[02:20:03] <CIA-8> 03jmkasunich 07v2_1_branch * 10emc2/configs/m5i20/m5i20_motion.hal: update sample 5i20 config to support index pulses
[02:20:28] <CIA-8> 03jmkasunich 07TRUNK * 10emc2/configs/m5i20/m5i20_motion.hal: update sample 5i20 config to support index pulses
[02:56:10] <ds2> hmmmm
[03:59:29] <notranc> notranc is now known as kc6lbj
[06:15:42] <anonimasu> morning
[06:16:11] <alex_joni> hi
[07:20:51] <Jymmm> yo
[07:22:47] <alex_joni> * alex_joni wants to go back to bed
[07:23:03] <Jymmm> Well, your a newlywed... of course you do
[07:43:02] <anonimasu> morning
[07:48:26] <anonimasu> :)
[07:50:15] <Jymmm> howdy
[07:51:47] <anonimasu> what are you up to?
[07:52:22] <Jymmm> At the moment, watching deadwood. I kicked all the customers out a lil while ago =)
[07:53:06] <anonimasu> ok
[07:53:46] <Jymmm> Yep, the bldg is empty (checked all the cameras )
[07:54:43] <Jymmm> When I got to work today, I was PLANNING on running thru the eagle tutorial, but that never happened!
[07:54:59] <anonimasu> ok
[07:55:05] <anonimasu> I got to work a few minutes ago
[07:55:07] <anonimasu> and I've just started coding
[07:55:13] <Jymmm> heh
[07:55:42] <anonimasu> I started a new project with making a ui for emc yesterday
[07:56:12] <anonimasu> that looks/acts like the commercial controls do
[07:56:22] <Jymmm> You know these darn customers... I can't get to my servers, my OC-48 is throttling, etc, etc ,etc nag nag whine whine LOL
[07:56:34] <anonimasu> :)
[07:56:43] <Jymmm> anonimasu: is it hard coded, or customizable?
[07:57:05] <anonimasu> hard coded at first..
[07:57:11] <anonimasu> then I'm going to write a GUI editor..
[07:57:12] <anonimasu> http://imagebin.org/9157
[07:57:27] <Jymmm> I wouldn't mind one specifially tailored for touch screen
[07:57:41] <anonimasu> that's the idea
[07:57:45] <anonimasu> touchscreen + panel
[07:57:44] <anonimasu> or either one
[07:58:30] <Jymmm> anonimasu: I hate to criticize so early on, but is that the button you intended to have in the final product (basically)?
[08:00:35] <Jymmm> or just a placeholder?
[08:01:04] <anonimasu> it's the button..
[08:01:08] <ds2> make it work in 320x200 resolution
[08:01:13] <anonimasu> it's 800x600..
[08:01:42] <ds2> 320x200 would allow people to use very cheap LCDs
[08:02:47] <anonimasu> Jymmm: where was the criticizm?
[08:02:49] <anonimasu> cism?
[08:04:04] <Jymmm> ds2: are you Nucking Futs?!
[08:04:26] <anonimasu> ds2: mainly it'll be tailored to my touchscreen for a start..
[08:04:31] <ds2> no i am not nuts
[08:05:00] <anonimasu> ds2: are those vgc compatible?
[08:05:04] <anonimasu> vga..
[08:05:23] <Jymmm> 320x200 is MGA iirc
[08:05:23] <ds2> kind of... the right VGA cards will drive them (need C sync)
[08:05:39] <anonimasu> well, for a start I dont care :p
[08:05:52] <Jymmm> or CGA it's been a while. 640x480 at the MINIMUM
[08:05:55] <anonimasu> yep..
[08:06:06] <anonimasu> 800x600 or 650x480..
[08:06:11] <anonimasu> that's what im thinking..
[08:06:29] <anonimasu> atleast until I have it good enough to run..
[08:06:37] <Jymmm> anonimasu: You know what I've REALLY wanted... FrameBuffer =)
[08:06:44] <anonimasu> Jymmm: what's wrong with that button?
[08:07:06] <Jymmm> anonimasu: is it going to change based on the state of the control?
[08:07:06] <ds2> or better yet, fix the text mode UI ;)
[08:07:09] <anonimasu> the gray box is the icon box.. where you can stuff graphics..
[08:07:30] <anonimasu> Jymmm: yes
[08:07:38] <anonimasu> Jymmm: you can stuff porn inside of it..
[08:07:38] <Jymmm> on/off, hi/lo, disbaled, unavailable, etc
[08:07:45] <anonimasu> well unavaiable dosent draw stuff there..
[08:08:00] <Jymmm> anonimasu: only if it delivers the real thing in 20 minutes or less guarnteed =)
[08:08:07] <Jymmm> anonimasu: like greyed out
[08:08:20] <anonimasu> Jymmm: no.. thoose are the tab's at the side of the screen(softkeys)
[08:08:21] <Jymmm> or alarm condition blinking, color change, etc
[08:08:31] <anonimasu> that's in the status bar on top of the screen..
[08:08:40] <Jymmm> anonimasu: This is your baby, but I hate tabs personally.
[08:09:01] <anonimasu> Jymmm: well give me a better way to get panelmount buttons to work..
[08:09:12] <anonimasu> they are just tabs because they attach next to the screen border(next to the softkeys)
[08:09:22] <Jymmm> anonimasu: yeah, I hear ya.
[08:09:58] <anonimasu> http://www.hhrobertsmachinery.com/CNC_Machines/CNC_Controls/Heidenhain_CNC_Controls/Heidenhain_530i/itnc530b.jpg
[08:10:02] <Jymmm> anonimasu: Ok, back to the button for a moment, instead of having a seperat earea for current condition/status, why not incorporate that into the control itself?
[08:10:19] <anonimasu> because that's not how it's done..
[08:10:42] <Jymmm> anonimasu: and?
[08:10:56] <anonimasu> Jymmm: well, some things work like that like single step and such..
[08:11:00] <anonimasu> they are toggleable..
[08:11:18] <Jymmm> it doens't mean it has to be like everyone elses, and anything more intuitive is usually better anway.
[08:11:30] <anonimasu> no, that's right..
[08:11:43] <anonimasu> did you read the last line?=
[08:12:16] <Jymmm> yep
[08:12:46] <anonimasu> :)
[08:12:56] <anonimasu> they work like that though things like machine status are shown in top of the screen
[08:13:04] <anonimasu> if estop is triggered..
[08:13:10] <anonimasu> "Spindle error".. stuff like that
[08:14:27] <Jymmm> See, I think that current status should be in/near it's control. People will begin to remember where certain things are as they use them, and once they the know the spindle control is top-left corner, then can see it's on/off/fwd/rev/speed is there too, they don't have to look all over to find what they need.
[08:14:53] <anonimasu> there's a status area for that too..
[08:15:05] <Jymmm> but why seperate them?
[08:15:07] <anonimasu> where plc related stuff goes..(some modal codes) coolant and spindle on..
[08:15:54] <Jymmm> anonimasu: do you use windows?
[08:16:34] <anonimasu> yes I do..
[08:16:36] <anonimasu> how is that related?
[08:17:05] <Jymmm> anonimasu: ok, on the taskbar, you can have the netwpork adapter display an icon when it's connect. you familure with that?
[08:17:21] <anonimasu> Jymmm: if you like windows axis is what you want..
[08:17:40] <Jymmm> are you familure with the icon I'm talking about?
[08:17:51] <anonimasu> ofcourse..
[08:19:15] <Jymmm> ok, that icon changes based upon traffic, half of it blinks on inbound traffic, the other hald blinks on outbound traffic. You can click on the icon to make changes (control) the settings or get further details. The control and the staus are "intrgrated" togher, that's kinda what I'm talking about. here.
[08:19:17] <anonimasu> Jymmm: are you familiar with any commercial cnc controller?
[08:20:31] <Jymmm> anonimasu: No, but I am of POS systems, where the users are clueless and the controls HAVE to be as intuitive as possible.
[08:21:15] <Jymmm> And that's Point Of Sale, not Piece of shit =)
[08:21:43] <Jymmm> though, sometimes it's hard to tell them apart =)
[08:22:13] <anonimasu> well, have look at how they older heidenhains work..(that's where im going from)
[08:22:40] <Jymmm> hang on a sec, let me find something...
[08:22:42] <anonimasu> the thing is once you are used to them you dont have to think much while doing stuff..
[08:22:48] <anonimasu> www.heidenhain.com
[08:23:00] <anonimasu> look at tnc-310.. in the documentation area..
[08:26:34] <Jymmm> http://www.artlebedev.com/everything/optimus/demo/
[08:27:16] <Jymmm> Mind you, this is a kybd, but different
[08:28:04] <anonimasu> well, have a look in that documentation and we'll continue :)
[08:28:16] <Jymmm> hit the CAPS LOCK in the demo
[08:28:34] <Jymmm> and numlock too
[08:28:54] <Jymmm> or click PHOTOSHOP aqt the top
[08:28:56] <anonimasu> yes?
[08:29:41] <Jymmm> anonimasu: do you see how intuitive it is and gives status feedback, that's kind what I'm talking about
[08:29:58] <anonimasu> Jymmm: Well, that's how the buttons do work.
[08:30:11] <anonimasu> they toggle and change status, based on what options you have avaiable..
[08:30:29] <Jymmm> anonimasu: but didn't you say the stauts is somewhere else and not part of the control itself?
[08:32:12] <anonimasu> other status..
[08:32:28] <anonimasu> where the status (estop and stuff shows) never moves..
[08:32:36] <anonimasu> it's there in auto mdi or program edit mode..
[08:34:29] <anonimasu> got that?
[08:34:54] <Jymmm> yeah
[08:35:27] <Jymmm> Look at this, pretty plain jane to me
http://www.centroidcnc.com/t400.htm
[08:36:31] <Jymmm> http://www.centroidcnc.com/images/m400console1000.jpg
[08:37:07] <Jymmm> Hell, TCNC almost looks better than that =)
[08:39:15] <Jymmm> anonimasu: Anyhow, let me know how your coming along =)
[08:39:43] <anonimasu> centroid looks f-ugly..
[08:39:54] <Jymmm> heh
[08:39:52] <anonimasu> though it's useability that matters..
[08:40:00] <anonimasu> and the logic how you do stuff.
[08:40:22] <anonimasu> like the fact that you cant do coordinated motion with a machine that isnt homed yet.
[08:41:22] <Jymmm> I wish I had a touchscreen to play with.
[08:41:28] <anonimasu> Jymmm: it's thoose little things
[08:42:21] <Jymmm> well, it's the behind the scenes stuf fthat would take care of all that for you.
[08:42:51] <Jymmm> Heh $1600 for that kybd
[08:44:07] <anonimasu> well, emc dosent right now
[08:47:15] <anonimasu> as I said have a read in thoose manuals..
[08:51:38] <anonimasu> :)
[10:09:17] <anonimasu> iab
[11:12:54] <anonimasu> ^_^
[11:42:18] <anonimasu> hi feoc
[13:46:13] <skunkworks> shouldn't there be lots of emc descusions going on?
[13:46:50] <skunkworks> discussions even
[13:52:20] <anonimasu> wtf..
[13:52:27] <anonimasu> hey skunkworks
[13:52:31] <anonimasu> yeah im waiting for that too
[13:52:47] <anonimasu> hm..
[13:52:52] <anonimasu> this plc does positioning
[13:53:00] <anonimasu> like runnin g-code
[13:53:21] <skunkworks> Cool
[13:53:47] <skunkworks> MOVE 56004,2776
[13:53:54] <anonimasu> with interpolator/planner and stuff..
[13:53:55] <anonimasu> no..
[13:53:58] <anonimasu> rs274..
[13:53:59] <archivist> sounds usefull, where to steal one from....
[13:54:13] <anonimasu> http://www.3s-software.com
[13:54:24] <anonimasu> though that's just the runtime
[13:55:08] <anonimasu> though you need their cnc library :(
[13:57:02] <archivist> sounds a bit $$$$ ££££
[13:57:41] <jepler> what axes xyzabc xyzw xz xyuv xyzrpw
[13:57:43] <jepler> er
[13:57:56] <anonimasu> haha just 2½
[13:57:58] <jepler> what systems of axes are useful to have? any that aren't on that list ^^
[13:58:03] <archivist> * archivist hugs emc for being in the correct price range
[13:58:12] <anonimasu> haha
[13:58:16] <anonimasu> I just noted it..
[13:58:43] <anonimasu> that's a cheap plc system..
[13:58:52] <anonimasu> though the hardware is expensive..
[13:59:05] <anonimasu> 200eur for the runtime(interpreter and *..)
[13:59:25] <anonimasu> brb
[13:59:27] <anonimasu> going home
[13:59:38] <anonimasu> archivist: it's probably for cutting paper or something
[13:59:52] <anonimasu> I just thought it was cool :)
[14:00:20] <anonimasu> or you can implement your own motion planner and stuff;)
[14:00:51] <cradek> jepler: I think pretty much any combination. for instance xyzaw might be a mill with knee and rotary table. a 5 axis mill might be xyzbcw
[14:01:11] <cradek> a lathe with tailstock might be xzw
[14:02:03] <cradek> it's tempting to say we should just add another pseudocartesian triple uvw that works like abc
[14:02:25] <cradek> (at least I assume that's what you're working on)
[14:02:54] <jepler> cradek: yeah something like that
[14:03:15] <cradek> I wouldn't bother with rpw, it's a can of worms because those letters are already used
[14:03:22] <jepler> that's true
[14:03:33] <cradek> but uvw are not used now, it should be straightforward (but not necessarily simple)
[14:03:51] <jepler> what I'm working on would let you have xyzuvw but not xyzabcuvw
[14:03:57] <jepler> i.e., the total number of axes remains fixed at 6
[14:04:16] <jepler> and I think that mixing linear and rotary within a triple (e.g., bcw) would also lead to tears
[14:05:14] <cradek> many machines with quills have z+w, it would mean you couldn't use any rotary on those machines
[14:05:17] <jepler> because the cartesian-like distance in 'bcw' makes little sense
[14:05:42] <jepler> even less than treating 'abc' as cartesian-like
[14:05:48] <cradek> I understand a 5 axis machine is generally programmed in inverse time mode
[14:05:54] <jepler> that would probably work fine
[14:06:01] <cradek> yeah
[14:06:07] <jepler> it would probably also work reasonbly well if you never commanded bc and w at the same time
[14:16:26] <skunkworks> is this the configuration helper?
[14:17:51] <alex_joni> sounds like interp work first :P
[14:18:20] <skunkworks> Hi alex
[14:18:30] <skunkworks> how did the science project go?
[14:18:40] <jepler> skunkworks: no, I haven't actually done any work on that yet
[14:19:26] <skunkworks> jepler: your new pluto firmware works as is. Have not tried any of the fancy stuff yet.. :)
[14:19:37] <jepler> skunkworks: OK, that's a promising sign
[14:21:44] <alex_joni> skunkworks: didn't you see the great tuning I did?
[14:21:57] <alex_joni> http://81.196.65.201/~juve/iozsi/jog-step1.png
[14:22:23] <jepler> that doesn't look very good to me
[14:22:23] <alex_joni> skunkworks: joke aside, thanks to jmk it started moving a bit, which is more than I was expecting
[14:22:46] <alex_joni> jepler: indeed it's not, but it's a great achievment as it is :D
[14:23:08] <alex_joni> too weak motors, too little reduction, too little encoder resolution /mm, etc
[14:23:22] <skunkworks> alex_joni: cool. - now all I ask for is a video ;)
[14:23:34] <cradek> it stayed within a few mm... could be worse
[14:23:34] <alex_joni> skunkworks: there are some more pics in that dir
[14:23:45] <alex_joni> cradek: 3.56 counts / mm
[14:23:52] <cradek> heh
[14:24:27] <alex_joni> about 37g wire force to combat friction
[14:24:37] <alex_joni> and motors have about 42g rated force
[14:25:01] <alex_joni> as jmk said.. it's a couple magnitudes away from useable
[14:25:34] <alex_joni> motor starts moving at +/- 24% pwm, between those it just sits..
[14:25:43] <skunkworks> I like that - may have to use that quote in my day to day converstaions
[14:25:56] <alex_joni> feel free :P
[14:26:59] <alex_joni> I ended up with something like P=20, I=200, D=0
[14:27:23] <jepler> you need to use a transfer function to get rid of the deadband ..
http://emergent.unpy.net/files/sandbox/linear8.comp
[14:27:53] <jepler> something like: n=4 x0=-100 y0=-100 x1=0 y1=-25 x2=0 y2=25 x3=100 y1=100
[14:28:36] <jepler> maybe with another term right around 0 so you can actually get a zero output
[14:28:52] <jepler> or just put x1=-1 x2=1
[14:29:10] <jepler> pid output => linear8 => pwmgen input
[14:29:39] <jepler> (note: I haven't tried this myself)
[15:02:06] <bill2or3> Zzzz
[15:23:16] <alex_joni> jepler: yeah, I was thinking about something like that
[15:24:35] <skunkworks> alex_joni: is it going to work for what he needs it for?
[15:25:09] <alex_joni> skunkworks: yup, I bet that would improve things..
[15:25:20] <alex_joni> but in the mean time it's a tad bit late :P
[15:25:34] <skunkworks> I ment the machine in general
[15:25:41] <alex_joni> oh, sure
[15:25:47] <alex_joni> it's more than enough
[15:25:53] <skunkworks> Good
[15:26:05] <alex_joni> even showing that encoders work, pid and pwm and all
[15:30:58] <skunkworks> I hope this was for collage and not high school... I feel I am falling behind as it is.
[15:34:39] <jepler> "college"
[15:35:56] <skunkworks> :) see what I mean?
[15:37:36] <awallin> more transformer load testing:
http://www.anderswallin.net/2007/06/1800-w-80-v-psu-for-servos/
[15:37:43] <awallin> still not sure it works right...
[15:48:47] <jepler> a resistor rated at 2000W? that must be quite the resistor.
[15:50:30] <awallin> yep, it's about 20cm long and 2x4cm in cross section with heatsink-like fins
[15:51:28] <archivist> the transformer regulation could be a bit suspect
[15:52:19] <awallin> testing only the AC side shows a smooth drop in voltage from just under 60 to 55V at 6.5A load
[15:52:43] <awallin> I would be happy if the DC load tests would be straight lines like this with the same(ish) slope
[15:53:23] <archivist> bigger caps but the pulse current is way above the transformers happy state
[15:53:50] <awallin> what do you mean by that? pulse when charging the caps for the first time?
[15:54:03] <archivist> no each cycle
[15:54:54] <jepler> awallin: even for simple PWM servos without current feedback, you can get good tuning even from a sagging DC supply -- cradek had a similar experience to yours
[15:56:02] <awallin> jepler: that is comforting to hear! the guy who commented on my page thought that the variable (decreasing) gain with load would be a problem
[15:56:54] <archivist> yes but what percentage of time are all motors pulling full load
[15:57:21] <awallin> caps: Mariss' guide on geckodrive.com says C= 80000*I/V and with 20A and 80V the formula gives 20000uF. I have double that.
[15:57:33] <awallin> archivist: that percentage is very small
[15:57:44] <archivist> then dont worry
[15:57:56] <archivist> let the caps handle it
[15:58:01] <jepler> awallin: you will have to select maximum speed & accel based on the worst case supply voltage..
[15:59:43] <awallin> yes. but a G0 move on one axis while another is close to stalled is also pretty uncommon
[16:05:41] <skunkworks> * skunkworks has a 6kva 3phase transformer to use for the servo drive
[16:05:59] <skunkworks> I am sure to make a lot of smoke with that..
[16:06:39] <archivist> getting it wrong at that size will be entertaining
[16:07:01] <bill2or3> I rule:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=250135380771
[16:07:35] <jepler> skunkworks: do you have a metal box you hide inside when testing?
[16:08:44] <skunkworks> jepler: I may actaully put the electronics in a box.. Maybe. A bit odd for me though
[16:10:13] <archivist> explosions contained in a metal box can be bigger
[16:10:52] <skunkworks> JonE said when he was working on inverters - he would crawl under his desk - turn it on.. if it didn't go boom - he would slowly get out from under the desk
[16:12:26] <archivist> most fun I had was telling a student to screwdriver the terminals of an audio power amp.... it went bang
[16:13:29] <archivist> it was supposed to short circuit proof. it nneded testing
[16:14:27] <skunkworks> we used to stick small electrolytic caps across the switched 110v outlets for the next class to find.
[16:15:01] <archivist> hehe
[16:20:33] <cradek> has anyone waded through the entire gpl3 yet?
[16:25:11] <skunkworks> I will ask - gp13? google isn't being much help.
[16:25:20] <archivist> noo but seen a few comments on groklaw
[16:25:24] <awallin> it said somewhere that you can't mix gpl2 code with gpl3 code in the same project. I stopped reading about then...
[16:25:31] <cradek> skunkworks: you need a better font
[16:26:01] <cradek> awallin: that's why they've been promoting "gpl 2 or later" licensing for a long time
[16:26:33] <skunkworks> oops - that makes more sense.. :)
[16:28:00] <Martin_Lundstrom> Hello people
[16:28:52] <Martin_Lundstrom> Dallur: did you recieve your new THC?
[16:30:15] <awallin> bbl
[17:45:34] <Dallur> hey Martin_Lundstrom: I got the new THC, Installed it in the case but I'm still waiting for answers from the designer about some options and HF things
[17:54:48] <JymmmmEMC> bill2or3: You just paid $82 for the paper wrapping the THK bearings come in, not the actual bearings themselves! ;)
[17:55:01] <bill2or3> ohhhnoooes
[17:55:25] <JymmmmEMC> bill2or3: There's no actual bearing pictured in that auction =)
[17:56:22] <bill2or3> yeah, I just collect the wrappers. :-)
[17:57:06] <JymmmmEMC> bill2or3: I guess you missed the fine 2pt print... "What you see is what you get"! WooHoo, is that like a rubber band collection?
[17:59:57] <anonimasu> hello
[18:04:19] <alex_joni> bbl
[18:04:19] <JymmmmEMC> skunkworks: 6KVA huh? I was wiring up a panel once, and one tiny single straind fron 18ga control wire was touching chassis and I blew up a 2KVA xfmr. The shop stunk for 2 weeks after that! All the resin smell.
[18:05:31] <JymmmmEMC> Case and point... twist those wires securely before inserting into a blind terminal strip =)
[18:05:33] <Martin_Lundstrom> Dallur: cool, I tried the config some more
[18:06:13] <Martin_Lundstrom> Dallur: did you experience a slight dip when loading a gcode file?
[18:08:41] <anonimasu> hm..
[18:10:51] <anonimasu> whm
[18:10:57] <anonimasu> should I code or should I sleep
[18:11:07] <JymmmmEMC> code in your sleep
[18:12:20] <skunkworks> So anyway. This is what we know. The steady state error at 100ipm is aprox .0008. This coincidentally is also the distance the axis will move in .5ms - my servo period. Now I have heard that ff1 should take care of this. but as you see from the pictures - ff1 as ff2 seems to only affect accel/decel. FF0 set at around -15 is what seems to effect the 100ipm steady state error. From what I understand - that is wrong.
http://
[18:13:26] <skunkworks> And it is my guess - (looking at the pid only tune) that the error is actually ahead of commanded positon.
[18:13:48] <skunkworks> (and also that I need a negative ff0 to correct it.
[18:13:50] <skunkworks> )
[18:14:13] <anonimasu> skunkworks: how does your drives work?
[18:15:15] <skunkworks> ? it is just an pwm driven h-bridge
[18:15:26] <anonimasu> err do they work well..
[18:15:27] <anonimasu> :)
[18:15:53] <skunkworks> so far.. :)
[18:16:07] <anonimasu> ok
[18:16:10] <skunkworks> have not burned one up - but only running at the most 10A so far.
[18:16:17] <anonimasu> hehe
[18:16:30] <skunkworks> they don't get warm at that. (which is good)
[18:16:41] <jepler> PID error = command - feedback. so if the movement is in a positive direction, a positive error means that the position lags behind the command.
[18:17:55] <Dallur> Martin_Lundstrom: yes I did, heading home now, will log on at home
[18:20:19] <skunkworks> jepler: ok. (I need to scope cmd and fb - which might help me more.)
[18:21:03] <skunkworks> (I am pretty sure the movement was in the positive direction now that I think about it)
[18:21:29] <Martin_Lundstrom> Dallur: OK
[18:22:06] <skunkworks> (up arrow and the numbers get more positive ;))
[18:34:08] <anonimasu> sonic youth - catholic block
[18:42:06] <jepler> hum if I write "G0 X3/4" using the non-ascii "3/4" character, axis gives an error on the terminal
[18:42:12] <jepler> UnicodeEncodeError: 'ascii' codec can't encode character u'\xbe' in position 0: ordinal not in range(128)
[18:42:20] <jepler> that's terrible, it should be supported
[18:42:35] <cradek> how exactly did you decide to try that?
[18:44:23] <jepler> if you use a "wrong" letter in gcode it tells you "bad character used"; I was changing the message to show *what* character it was
[18:44:35] <cradek> ah
[18:45:25] <cradek> lerman was once talking about line and column numbers for errors - I think that would be smart
[18:45:35] <anonimasu> hm, line numbers is nice
[18:45:36] <cradek> then the gui could jazz it up however it wanted
[18:45:44] <anonimasu> that gives you a good pointer
[18:45:45] <anonimasu> )
[18:46:01] <cradek> anonimasu: we have line numbers already
[18:46:31] <anonimasu> I never write bad gcode so I wouldnt know ;)
[18:46:32] <anonimasu> *grin*
[18:46:42] <cradek> sure, me too
[18:46:48] <cradek> I've only heard that
[18:46:55] <anonimasu> :D
[18:47:24] <jepler> emc/task/emctask.cc 309: interp_error: Bad character 'a' used
[18:47:38] <jepler> ^^^ error given by the interpreter when running an XYZ-only machine
[18:47:52] <cradek> woo!
[18:48:03] <cradek> that's great
[18:48:13] <cradek> on valid gcode like G0A0?
[18:48:20] <anonimasu> I need a shave.
[18:48:42] <jepler> yeah I typed G0A90 or somethin
[18:48:45] <jepler> g
[18:48:53] <cradek> whee
[18:56:18] <jepler> emc/task/emctask.cc 309: interp_error: Bad character 'y' used
[18:56:41] <jepler> you still have to have the unused "axis 1" in the inifile, because making the first two axes be 'xz' changes the meaning of g17
[18:56:45] <ds2> jepler: you are doing this on a live machine to make music, right? ;)
[18:57:17] <jepler> not sure what this has to do with music
[18:57:41] <cradek> jepler: I don't follow about g17
[18:59:12] <jepler> cradek: maybe I'm going about this in the wrong way
[18:59:48] <jepler> I'm basically changing the interpreter so that you can choose what letter invokes the routine that reads the value known as "X" all through the rest of the interpreter and emc, and so on for Y, Z, A, B, and C
[19:01:24] <cradek> I also considered that for a simple way to accept UVW (call read_a, read_b, read_c instead)
[19:01:30] <jepler> so if I make the axes be named "X", "Z", and the rest without names, then the gcode "G3 X0Z0 Rwhatever" is an arc in the plane known as G17
[19:02:31] <cradek> hmm...
[19:03:42] <cradek> maybe you "just" have to fix g17, g18, g19 too? they should sometimes be disallowed anyway
[19:05:34] <jepler> eek
[19:06:32] <cradek> and ... and ... ijk?
[19:24:43] <jepler> AXES = 3
[19:24:43] <jepler> COORDINATES = X - Z
[19:25:44] <jepler> by the time you have write "AXES=5" "COORDINATES=XY-UV" you start to feel like maybe you're going about it the wrong way..
[19:26:01] <JymmmmEMC> heh
[19:26:14] <cradek> is AXES= needed?
[19:26:36] <jepler> you mean, could I get rid of it and use the value I get from parsing COORDINATES? Yeah, probably..
[19:27:01] <cradek> maybe accept any of COORDINATES = [X-][Y-][Z-][AU-][BV-][CW-]
[19:27:45] <cradek> (always require 6?)
[19:30:58] <jepler> I think I want 'XYZW' to be legal, not force 'XYZ--W'
[19:31:05] <jepler> but maybe I'm wrong to want that
[19:36:05] <ds2> random G codes can turn a machine into a nice percussion instrument ;)
[19:38:27] <ds2> cradek: are you implying A/U B/V and C/W are mutually exclusive?
[19:47:50] <cradek> ds2: read back
[19:47:50] <jepler> ds2: in the context of the hack I'm pursuing to enable UVW axes, yes
[19:48:09] <jepler> with my hack, the number of axes stays fixed at 6 but there would be flexibility in naming them
[19:48:20] <jepler> it's not an ultimate or perfect solution
[19:48:45] <jepler> in fact I may end up so ashamed of it that it never sees the light of day
[19:49:12] <jepler> (cradek has been kind to point out problems with my approach in the other layers of emc2)
[19:49:23] <cradek> sorry / you're welcome
[19:49:31] <skunkworks> ;)
[19:59:34] <jepler> does anyone have a link to some 4-axis foam cutter gcode? I have googled unsuccessfully, finding mostly screenshots of foam cutter cam software
[20:00:05] <jepler> I wonder specifically whether inverse time feed mode is used, and whether arcs are possible on the second linear axes (UV)
[20:04:34] <cradek> jepler: someone (dave-e?) posted some on the user list way back when
[20:04:39] <jepler> cradek: I'll look
[20:08:29] <skunkworks> I would think it would also be similar to wire edm code.
[20:08:45] <skunkworks> Hi Guest168:
[20:09:56] <Guest168> Hi skunkworks
[20:10:52] <jepler> >> N012 G03 X-011934 Y+008356 I-011934 J-004344 Q+000000G41
[20:11:19] <Guest168> I'm looking for advice on fitting a VFD to my turret mill spindle
[20:11:30] <jepler> dave's code uses X, Y, I, J, Q, R
[20:11:41] <cradek> ... and no decimal points
[20:12:19] <cradek> so it's XY +- IJ and UV +- QR? or are UV not specified for some reason?
[20:12:45] <jepler> there's no UV
[20:12:47] <skunkworks> Guest168: what do you have for hardware now? Drives/interface.
[20:13:02] <Guest168> regarding motor control, what is scalar, vector, dtc?
[20:13:05] <cradek> oh maybe QR are just the offsets (UV in our language)
[20:13:35] <cradek> Guest168: I bet you should come back tonight when jmkasunich is here
[20:13:52] <cradek> (tonight = 4 hours or so)
[20:15:10] <Guest168> cradek: thanks, but I hope I'll be in bed by then;-)
[20:15:19] <jepler> ah .uk
[20:15:37] <Guest168> jepler:yep
[20:15:43] <cradek> * cradek looks around for another motor control expert
[20:16:55] <Guest168> I don't want to get too tech, just basic advice for now
[20:17:06] <jepler> cradek: the other interesting thing about this code is that it keeps issuging G41/G42 on nearby lines .. I wonder if those mean something other than radius comp in this dialect
[20:17:25] <cradek> I remember it was a bit otherworldly
[20:17:30] <cradek> have a url?
[20:18:34] <jepler> http://www.mail-archive.com/emc-users@lists.sourceforge.net/msg01575.html
[20:19:47] <Guest168> skunkworks: my m5i20 is running my servos and I've still got variable belt
[20:20:38] <jepler> (hm steve stallings sure seems to think foam cutting people will want independent arcs on both sets of axes)
[20:21:03] <cradek> I can see (from the pic) that dave-e's part doesn't require that
[20:22:03] <cradek> I can't fathom the reason for the G41/G42 stuff in this code. I bet you're right and it's unrelated to the normal 41/42
[20:22:17] <skunkworks> Guest168:
http://ww1.microchip.com/downloads/en/AppNotes/00887a.pdf
[20:22:30] <skunkworks> page 14 starts your journey
[20:23:40] <skunkworks> page 19 defines the differnt drive types.
[20:25:18] <Guest168> skunkworks: many thanks.
[20:26:11] <cradek> Guest168: how many hp is this? it's a 3 phase ac motor I assume?
[20:28:51] <Guest168> cradek: yes, I guess 3hp
[20:29:04] <cradek> what power do you have to run it on?
[20:29:23] <Guest168> cradek: 3ph
[20:29:51] <cradek> oh ok, that's good, that's pretty big to run on 1ph
[20:30:51] <Guest168> cradek: I'm a bit worried about torque loss and wondering if I should go to 5hp?
[20:32:22] <cradek> I've been pointed to these but haven't tried one yet:
http://web6.automationdirect.com/adc/Shopping/Catalog/AC_Drives_-z-_Motors/GS2_(115_-z-_230_-z-_460_-z-_575_VAC_V-z-Hz_Control)
[20:33:04] <cradek> I'm going to get the GS2-22P0 for a 2hp bridgeport mill spindle (I have 1ph power)
[20:35:25] <Guest168> cradek: pricing looks good, I'll have to pay that in £sterling here!
[20:35:55] <cradek> yeah they definitely seem cheap, an expert friend says they're good, he uses them a lot
[20:38:31] <Guest168> cradek: can you tell me how an oriented stop is done?
[20:39:07] <cradek> I don't think you can do that very easily with a vfd and ac motor
[20:39:26] <cradek> brb
[20:42:40] <Guest168> cradek: so what about toolchangers and orienting boring bars on m/c centres?
[20:44:02] <Guest168> are they using dc drives?
[20:45:39] <skunkworks> I know there are ac drives that will do position - they have used some here. but I don't know enough about them.
[20:46:16] <skunkworks> vfd - not ac servo.
[20:49:39] <Guest168> any idea what the lowest speed a vfd will run?
[20:50:28] <skunkworks> none
[20:50:48] <skunkworks> there is lowest speed and then there is how much torque
[20:52:00] <Guest168> yes, this is my question really
[20:52:37] <Guest168> for the occasions I run the back gear for speeds below 500rpm
[20:53:32] <jepler> cradek: how will emc communicate with that VFD?
[20:53:42] <Guest168> there is torque mutiplication, hence, if I use a vfd should I go one size up.
[20:53:58] <cradek> jepler: I think they all take an analog voltage, so you can generate it any old way
[20:54:14] <cradek> jepler: but, I haven't looked in detail
[20:56:21] <Guest168> with regard to orientation, I kind of thought if you can run the speed low enough,
[20:56:51] <Guest168> then hit the air brake, you might get get it within 5deg?
[20:56:58] <cradek> the mazak at cnc workshop uses an encoder on the spindle and a pid loop going to the spindle drive in order to orient
[20:57:05] <skunkworks> 1 user-configurable, 0 to 10VDC (input impedance 10k ) or 0 to 20mA / 4 to 20mA (input impedance 250), 10 bit
[20:57:16] <cradek> it is a little finicky but it does eventually orient to +- 1 degree
[20:58:16] <cradek> like you say, you could also go slow and try to stop at the right place.
[20:59:15] <Guest168> what spindle drive does the mazak use?
[20:59:55] <cradek> it's just an AC motor but I don't know details about the drive except it takes +-10v for rpm
[21:02:18] <Guest168> I'm guessing the pid loop is just for z axis following?
[21:02:36] <cradek> no, position pid on the spindle specifically for orient
[21:02:56] <cradek> but, that same encoder is used for tapping too
[21:03:32] <cradek> with emc, you can pretty much do whatever scheme you want to get it oriented
[21:03:43] <cradek> but, that's pretty advanced configuration
[21:03:56] <cradek> you can look at the config of the mazak: it's demo_mazak in our cvs
[21:04:33] <cradek> it uses classicladder (EMC's internal PLC) for a lot of the advanced stuff.
[21:05:11] <Guest168> ah rigid tapping, maybe one day...
[21:05:31] <skunkworks> Or threading..
[21:05:34] <cradek> rigid tapping is very new in EMC, we demonstrated it this year (last month) at workshop
[21:07:30] <cradek> Guest168:
http://youtube.com/watch?v=vNn-Yr7it5s
[21:07:38] <cradek> you can see the spindle orient for the tool changes too.
[21:09:41] <skunkworks> THis is a closeup
http://youtube.com/watch?v=JCEwlfJj__A
[21:10:14] <cradek> I wish we had done the videos of the aluminum instead of plastic
[21:12:34] <Guest168> I'm impressed ...dreaming of mazak with emc...
[21:12:58] <cradek> yeah it's a nice machine.
[21:14:00] <Guest168> that spindle is being inched around for alignment, rather than stopped to a point
[21:14:11] <cradek> yes, that's the pid loop hunting
[21:14:27] <cradek> that's all under the vfd control
[21:14:32] <Guest168> that's for me then!
[21:14:48] <cradek> it has no mechanical method of orienting
[21:14:58] <cradek> (I'm not sure it even has a brake)
[21:15:40] <cradek> the backlash in the gearbox makes it a little uncertain, otherwise it would be pretty fast I think
[21:16:05] <cradek> but you could try both methods
[21:16:26] <cradek> because your drive will always have a bit of offset, it might be hard to reliably go "very slow"
[21:16:43] <cradek> pid (with a lot of I term) automatically compensates for that drift
[21:21:31] <Guest168> okay, I'm going to do some reading
[21:21:59] <cradek> come back any time
[21:22:12] <Guest168> thank you very much to you all for your help
[21:22:27] <cradek> anytime
[21:24:35] <alex_joni> good night all
[21:36:47] <Martin_Lundstrom> Dallur: are you still awake?
[22:43:41] <ler_hydra> anyone here?
[22:43:45] <ler_hydra> quick simple question
[22:43:58] <ler_hydra> touch off doesn't seem to have any effect at all
[22:44:10] <ler_hydra> all coordinate axes are unchanged
[22:44:32] <ler_hydra> version 2.1.6
[22:44:47] <toastydeath> beep
[22:44:52] <ler_hydra> logger_emc, bookmark
[22:44:52] <ler_hydra> Just this once .. here's the log:
http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2007-07-02.txt
[22:45:22] <ler_hydra> not many here eh
[22:46:13] <skunkworks> ler_hydra: what is your coordiate system st to? g54?
[22:46:18] <skunkworks> set to
[22:46:52] <cradek> ler_hydra: are you running a sample config?
[22:46:54] <ler_hydra> skunkworks, ah, none at the moment
[22:47:07] <ler_hydra> the axis spash screen ;)
[22:47:26] <cradek> what config?
[22:47:38] <ler_hydra> stepper mm
[22:47:50] <cradek> from /etc/emc2/sample_configs, or from your home dir?
[22:47:57] <cradek> (if the var file is not writable, it won't work)
[22:48:07] <ler_hydra> home dir
[22:48:09] <ler_hydra> oh
[22:48:15] <ler_hydra> wait, network hosted
[22:48:20] <ler_hydra> read only
[22:48:24] <ler_hydra> that would explain some things
[22:48:24] <cradek> aha
[22:51:20] <ler_hydra> working
[22:51:27] <ler_hydra> thats a bit cryptic imo
[22:51:36] <ler_hydra> shouldnt it complain rather than fail silently?
[22:54:49] <cradek> probably
[22:58:27] <ler_hydra> worky nicey!
[22:58:39] <ler_hydra> but now it is faaar too late for me
[22:58:55] <ler_hydra> 1 AM, at school, work tomorrow at 8 :/
[22:59:04] <ler_hydra> oh for the days of college! :D
[22:59:23] <ler_hydra> 'night
[23:01:34] <toastydeath> guys i figured out why rigid tapping is "better" than floating tapping
[23:01:49] <toastydeath> though nobody probably cars
[23:01:53] <toastydeath> nvm
[23:01:57] <toastydeath> *cares
[23:03:01] <ds2> rigid tapping tells you quicker if you taps are dull by snapping cleanly inside the hole with no room for any extraction? ;)
[23:03:31] <toastydeath> hahahaha
[23:03:32] <toastydeath> a+
[23:03:34] <toastydeath> APPARENTLY
[23:03:37] <toastydeath> super-high preformance taps
[23:03:43] <toastydeath> are not self-starting
[23:03:49] <toastydeath> coated form taps with weird geometry
[23:04:00] <toastydeath> and if you try using them in a floating tap holder, you will break them and screw the hole up
[23:04:03] <ds2> prevents the next guy from reusing the tap and messing up his work ;)
[23:04:15] <toastydeath> well you can kind of do it in a floating tap but it is hard
[23:04:23] <toastydeath> also, these taps can run however fast your machine will tap
[23:04:25] <ds2> Hmmm
[23:04:33] <toastydeath> like, you can tap with these at 10k rpm
[23:04:38] <ds2> are these forming taps or cutting taps?
[23:04:42] <toastydeath> if your machine axes can synch
[23:04:45] <toastydeath> forming taps
[23:05:11] <ds2> nice but at 10K, isn't friction going to be a little bit of a problem?
[23:05:30] <toastydeath> not with the lubricant these taps like
[23:05:37] <toastydeath> and they're coated
[23:05:39] <toastydeath> just like endmills
[23:05:54] <ds2> but endmills don't move metal around like a form tap does
[23:06:17] <toastydeath> the specifics of it aside, that's what they're using rigid tapping for in industry
[23:06:28] <toastydeath> non self starting, high performance form taps
[23:06:41] <toastydeath> i don't know the friction issues or heat generated
[23:06:43] <toastydeath> as i've never done it
[23:06:53] <ds2> what exactly does it mean by non self starting?
[23:07:10] <toastydeath> in a floating tap holder, it will compress the holder
[23:07:12] <toastydeath> and not go in
[23:07:21] <toastydeath> it will not start in the hole
[23:07:27] <toastydeath> then, once the holder bottoms out
[23:07:29] <toastydeath> it will start
[23:07:43] <toastydeath> and break if it needs any more rear room
[23:07:49] <ds2> so it doesn't have the 1-2 turn taper?
[23:07:50] <toastydeath> nope
[23:07:54] <ds2> ah
[23:08:02] <toastydeath> flat cylinder
[23:16:02] <ds2> toastydeath: since you actually work in the industry, how often are forming taps used?
[23:31:01] <toastydeath> ds2:
[23:31:10] <toastydeath> they're pretty much all that's used in a lot of higher end shops
[23:31:16] <toastydeath> like, mom and pop shops still use cutting taps
[23:31:23] <toastydeath> but anything in major production or in aerospace, serious manufacturing
[23:31:27] <toastydeath> is using form taps
[23:32:05] <toastydeath> they're sensitive and not at all ideal for hand tapping
[23:35:02] <skunkworks> I would guess if you stop - you have a broken tap.
[23:35:24] <ds2> Hmmm I find hand tapping form taps to be just fine
[23:35:30] <skunkworks> plus it must be a pain in the a$$ to start
[23:35:36] <ds2> which is why I wonder why everyone isn't using form taps
[23:35:56] <skunkworks> * skunkworks hasn't tried
[23:36:30] <ds2> form taps are the best thing since sliced bread... no chips to clean out and don't have to reverse
[23:36:39] <toastydeath> ds2: there are form taps, and then there are these taps
[23:36:49] <toastydeath> which are non self starting, remember
[23:36:59] <toastydeath> it's very hard to get them going by hand
[23:37:01] <ds2> toastydeath: yes
[23:37:07] <ds2> i'm just talking about regular ones
[23:37:08] <toastydeath> ah
[23:37:22] <ds2> now if they would just make AFFORDABLE form dies...
[23:37:51] <toastydeath> hahahah
[23:37:59] <toastydeath> use a die head!
[23:38:08] <ds2> *ahem* affordable!!!
[23:38:37] <toastydeath> i dunno man, a die head is kind of like an investment
[23:38:52] <toastydeath> because you only need one set of either form teeth or cutting teeth
[23:39:00] <toastydeath> resharpenable, and fits any size
[23:39:00] <ds2> like a house, forklift, backhoe, etc? ;)
[23:39:12] <toastydeath> nah, die heads are what, 300-500 used?
[23:39:24] <toastydeath> and unlike normal dies, they will fit a whole range of sizes and threads
[23:39:42] <ds2> but add in the roller things and it is around $1K+
[23:39:59] <toastydeath> uh, roller things?
[23:40:13] <ds2> the thing that actually forms the threads
[23:40:20] <toastydeath> if you buy used, they usually come with the whole range
[23:40:31] <ds2> usually 3 or 6 of those per thread size
[23:40:32] <toastydeath> i don't think many people in here are too opposed to buying good gear on ebay
[23:40:51] <ds2> i refuse to do business via ebay so :P
[23:41:01] <toastydeath> well, then i suggest you purchase yourself a good die set!
[23:45:18] <toastydeath> i am reading up on suturing
[23:45:26] <toastydeath> i am thinking about practicing one handed
[23:45:30] <toastydeath> on meat
[23:45:36] <toastydeath> in case i ever hurt myself at work and want to close a wound
[23:45:48] <toastydeath> this is probably a bad idea