#emc | Logs for 2008-07-03

Back
[00:00:09] <dmess> if i have ti go that way ill get a 120 vdf and cnc the 1 slide
[00:05:57] <dmess> the 1st pic shows the nkob on the back
[00:28:09] <dmess> rayh... any thoughts on what the knob might be??
[00:55:23] <cradek> hi matt, ken
[00:55:51] <mshaver> anyone on here who knows what the table3, table4, table5, etc. bits in the .PIN files in src/hal/drivers/mesa-hostmot2/firmware/5i20/ are for/do?
[00:55:53] <lerman> Hello sailor.
[00:55:56] <mshaver> hi ken!
[00:56:25] <lerman> I've never looked at that stuff. (Hi, Matt)
[00:56:48] <SWPadnos> hmmm
[00:56:52] <mshaver> me either until today
[00:57:00] <lerman> News from the home front. I'm making progress on GWiz.
[00:57:05] <mshaver> oh, sorry, Hi Chris!
[00:57:08] <cradek> seb would know. he was on -devel earlier tonight.
[00:57:26] <cradek> lerman: yay
[00:57:38] <cradek> mshaver: did you see kirk's rigid tapping on his HNC?
[00:57:46] <mshaver> seb seems to be the architect of that directory
[00:58:18] <mshaver> cradek: no. youtube?
[00:58:34] <lerman> The turret seemed very fast, but it looked like it turned in only one direction (or could be my eyes).
[00:58:57] <mshaver> it does only turn in 1 dir - air motor...
[00:59:11] <cradek> yes - see emc-users
[00:59:54] <lerman> Quoting the list:
[00:59:55] <lerman> Videos here:
[00:59:57] <lerman> http://www.wallacecompany.com/machine_shop/HNC/Rigid_Tapping_3.html
[00:59:58] <lerman> http://www.wallacecompany.com/machine_shop/HNC/Rigid_Tapping_1.html
[01:00:00] <lerman> http://www.wallacecompany.com/machine_shop/HNC/Rigid_Tapping_2.html
[01:00:04] <mshaver> i'll ask seb on the devel e-mail list about those bits
[01:01:17] <SWPadnos> I think they may be for other step modes
[01:03:18] <mshaver> swpadnos: that makes sense, I just can't eat up i/o bits for them
[01:04:04] <SWPadnos> do you need those stepgens?
[01:06:55] <mshaver> yep, need 4 stepgens would prefer cw/ccw bit step/dir is ok
[01:07:13] <mshaver> bit=but
[01:07:39] <SWPadnos> you should ask seb if the unused pins are available
[01:09:36] <mshaver> i want to output the step and dir to this: http://www.mesanet.com/pdf/parallel/7i34man.pdf
[01:10:08] <SWPadnos> then you should be looking in the firmware/7i43 directory :)
[01:11:02] <mshaver> 8 x rs422 channels, so i............ thanks for that! you knowi'll have to look now, even though i know it's not there...
[01:11:44] <SWPadnos> if it's not there, you need to update your CVS checkout
[01:12:33] <mshaver> 7i34, not 7i43!
[01:12:42] <SWPadnos> it's pretty easy to make a customized version of the firmware, so if the other pins aren't available for I/O, that's a viable alternative
[01:13:53] <mshaver> it looks like you make a .PIN file, then some magical process is invoked and a .BIT file is made
[01:14:46] <SWPadnos> you make a pin file, plus an extra vhdl file that generates the components you want
[01:14:54] <SWPadnos> then invoke the magic process
[01:15:12] <SWPadnos> (which is a 1.7GB download, so start now)
[01:15:47] <mshaver> oh, some xilinx thing eh?
[01:15:53] <SWPadnos> heh - yeo
[01:15:55] <SWPadnos> yep
[01:16:07] <SWPadnos> I don't know if there are makefiles for the FPGA stuff
[01:16:37] <mshaver> a tutorial or recipe would do
[01:17:40] <SWPadnos> yeah - that would be nice
[01:18:29] <mshaver> BTW, could you scan me a copy of _The Book Of Thoth_ and e-mail me the .pdf? I've got some things I'd like to change around here ;)
[01:18:56] <SWPadnos> heh
[01:19:04] <SWPadnos> too late, you will be judged
[01:19:07] <SWPadnos> eventually
[01:19:34] <mshaver> hey, that's eventually, this is now!
[01:20:31] <mshaver> dude actually pulled it out of another dead guys tomb... damn!
[01:21:51] <mshaver> on another note, did/do you make a little step pulse generator board?
[01:22:16] <mshaver> with an AVR on it?
[01:26:23] <SWPadnos> yes
[01:27:27] <mshaver> are there docs?
[01:28:09] <SWPadnos> yep, some
[01:28:12] <SWPadnos> one sec
[01:28:25] <SWPadnos> http://www.cncgear.com/MPG/
[01:28:51] <SWPadnos> I guess I should have cleaned that one before photographing it :)
[01:29:34] <mshaver> that's it alright!
[01:29:39] <jmkasunich> hi Matt
[01:30:28] <mshaver> hi john!
[01:30:45] <mshaver> active product?
[01:31:15] <SWPadnos> sure, I've got the build docs
[01:31:26] <SWPadnos> I may even have one or two in a bin somewhere :)
[01:32:04] <mshaver> just curious...
[01:38:53] <mshaver> 2.25GB! Just to blow the fuses in some over-glorified PAL... <grumble>
[01:39:06] <SWPadnos> oh, it's gotten bigger
[01:40:05] <SWPadnos> there's an import tcl script in the 7i43/SOURCE directory. you should be able to run the IDE and import the project, which may make it easier to make changes (and manage generating a bitfile
[01:40:29] <mshaver> why I bet this whole thing would fit in a 22v10 and we could just us CUPL...
[01:40:53] <SWPadnos> heck, draw it by hand
[01:41:23] <mshaver> good! hat might save a lot of head scratching
[01:41:44] <SWPadnos> especially in the woods
[01:41:56] <SWPadnos> (fewer ticks when you wear a hat)
[01:41:59] <mshaver> i'm typing on silicone mt keyboad, can you tell/
[01:42:17] <SWPadnos> heh
[01:42:26] <mshaver> dumped coffee on my otherone
[01:42:57] <jmkasunich> 2.25G? wow
[01:43:21] <jmkasunich> I first downloaded it about 18 months ago, maybe even less, and it was 1.1G
[01:45:30] <jmkasunich> bloat is nothing new, but the speed of that bloat is...
[01:45:56] <SWPadnos> it's only twice as big
[01:46:05] <SWPadnos> moore's law - 2x every 18 months
[01:46:20] <jmkasunich> I didn't expect it to apply to software
[01:46:42] <mshaver> but at this rate it will soon be too big to fit on the internet
[01:50:51] <jmkasunich> no. it will be too big for anything _but_ the internet
[01:50:59] <jmkasunich> even a DVD is only about 4G
[01:51:12] <jmkasunich> another year....
[01:51:39] <mshaver> yep, one more doubling and they'll be into Blu-ray
[01:52:08] <jmkasunich> oh, I forgot about bluray
[01:55:59] <SWPadnos> the internet also doubles
[01:56:20] <jepler> mshaver: I think I know how to run ise and generate the bit files; when I am confident in my directions I'll put 'em on the wiki
[01:56:41] <jmkasunich> there is a makefile of sorts in CVS (I think)
[01:56:50] <jepler> jmkasunich: for the hostmot2 stuff?
[01:57:02] <mshaver> yep, every time they update that program1
[01:57:07] <jmkasunich> no, for the generic mesa stuff I was working on
[01:57:34] <jmkasunich> I suspect it wouldn't take a horrible amount of hacking to make it "compile" the hostmot2 source
[01:57:40] <jepler> jmkasunich: that may be true
[01:57:43] <mshaver> a tutorial would be good
[01:58:07] <mshaver> back in a minute...
[01:58:10] <jmkasunich> http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/src/hal/drivers/mesa_5i2x/firmware/Makefile?rev=1.8
[02:00:14] <jmkasunich> the .vhd: .rspec .spec step is specific to the flow I was working on
[02:00:29] <jmkasunich> if you start with .vhd files I suspect it will work pretty well
[02:05:11] <jepler> fwiw: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?BuildingHostmot2
[02:13:32] <jmkasunich> hello seb_kuzminsky
[02:21:26] <cradek> "a dwell of 10 seconds must be programmed as G4/10.00; trailing zeroes and decimal point required."
[02:21:56] <cradek> ugh, anyone want to guess whether the ; is part of the gcode or punctuation in the docs?
[02:22:57] <SWPadnos> I noticed that the G-code they wrote for that big EDM machine had semicolons after every line, and the guy always put the decimal point in
[02:23:17] <jmkasunich> cradek: what system is this?
[02:23:19] <cradek> the decimal is always required for BOSS too
[02:23:22] <cradek> jmkasunich: BOSS8
[02:23:22] <jmkasunich> surely not emc
[02:23:26] <cradek> heh, no
[02:23:34] <jmkasunich> you haven't replaced that yet?
[02:23:38] <cradek> uh
[02:23:39] <jmkasunich> whatcha waiting for?
[02:23:49] <SWPadnos> it works, don't break it ;)
[02:24:12] <cradek> steve stallings is making a cool retrofit board and I want to help with that, so I'm waiting for that
[02:24:25] <jmkasunich> ah, ok
[02:24:38] <jmkasunich> thats a better excuse than I have for most of my delayed projects :-(
[02:25:07] <cradek> yeah it's a great one
[02:31:33] <K`zan> Sigh, I have come to the conclusions I am just too stupid, dense or something to understand gcode enough to pull off a NEMA23 mount. I would KILL for that program I had when I was working on the Moogs that you drew the part and spit out the gcode for it, sigh, SCREAM</frustration, heh>.
[02:33:21] <K`zan> No idea where to go next.
[02:33:42] <SWPadnos> the G-code you last posted is here: http://www.pastebin.ca/1057221
[02:33:56] <SWPadnos> can you also pastebin your tool table?
[02:34:01] <K`zan> That is WAY back now.
[02:34:10] <SWPadnos> (I think you did that before, but hey - I'm forgetful :) )
[02:34:57] <cradek> arrgh
[02:35:01] <cradek> the thing thinks it's smarter than I am
[02:35:10] <SWPadnos> one thing I notice in that G-code - it's unknown where the tool position is when cutter comp is turned on
[02:35:18] <cradek> IT IS WRONG
[02:35:21] <K`zan> I can get holes almost any place except where I want them and never in the right size, it is really funny (absurd, ridicules, discouraging and depressing :-( ).
[02:35:38] <SWPadnos> you may want to G0 X0 Y0 Z0 just before the G43 lin
[02:35:40] <SWPadnos> e
[02:36:06] <K`zan> One would think that as common as this all apparently is there would be a gcode that says go HERE and make a circle THIS large.
[02:36:25] <SWPadnos> there is
[02:36:31] <SWPadnos> it's called G2 or G3
[02:36:52] <K`zan> Rather than having to go there, compute offset, determine arc, figure in tool size....
[02:36:59] <SWPadnos> no no no
[02:37:06] <SWPadnos> G0 X0 Y0 Z0
[02:37:08] <SWPadnos> G43D3
[02:37:23] <SWPadnos> G0 <wherever you want the circle start point to be)
[02:37:26] <K`zan> Yeah, I am so <pardon> fucking confused that this point it is pitiful.
[02:37:31] <SWPadnos> s/)/>/
[02:37:42] <mshaver> moog... was it ez-cam??
[02:37:43] <SWPadnos> EMC computes the offset
[02:38:20] <K`zan> I don't remember it ran under dos and you drew a 3 view of the part and commanded PUNCH and took that tape to the moog and ran it.
[02:38:23] <SWPadnos> you program the actual size you want, and you tell EMC how big the tool is, and it computes the path needed to get that size (for the most part)
[02:38:46] <K`zan> Maybe my install is frucked... Dunno....
[02:39:17] <K`zan> At this point I am willing to throw money at something rather than toss all this in the crapper.
[02:39:26] <jmkasunich> D3?
[02:39:41] <K`zan> Yes, my frustration factor is out of sight ATM :-).
[02:39:41] <jmkasunich> oops, nm
[02:40:17] <K`zan> Coffee with a hearty shot of jack, coming up :).
[02:41:26] <K`zan> </bitch> bbl
[02:41:43] <SWPadnos> see ya
[02:52:23] <zephyr99> zephyr99 is now known as john_f
[02:52:31] <K`zan> Gathering up my notes and stuff and sorting them down to the last pass, back in a bit...
[03:16:02] <K`zan> I think the first thing I need to find is something more than a reference for the gcode stuff.
[03:16:11] <K`zan> lets see what amazon has...
[03:17:06] <SWPadnos> make sure it describes the flavor of G-code that EMC uses :)
[03:17:33] <renesis> wtf amazon
[03:18:16] <renesis> ONLY relevent gcode reference = manual for the controller
[03:18:28] <renesis> fuck a textbook, and fuck the actual spec
[03:18:40] <renesis> oh except for the pictures of made up machine tool configurations
[03:18:52] <renesis> thats pretty neat, machine manuals dont have that
[03:21:23] <K`zan> Well, the problem here is that *everything* I have found is a reference at best, they all seem to assume that the particulars everyone knows.
[03:29:26] <K`zan> That NEMA23 mount seems like it should be plain dirt simple...
[03:30:20] <K`zan> G2, G3 I J K or R Coordinated helical motion ("Arc feed") CW or CCW
[03:30:25] <K`zan> So informative....
[03:30:43] <K`zan> helical? Seems to be linear...
[03:30:57] <SWPadnos> the main point is that the G-code path should describe the *uncompensated* outline of the part
[03:31:09] <SWPadnos> helical because Z moves while X+Y are doing an arc
[03:31:12] <SWPadnos> so the path is line a spring
[03:31:17] <K`zan> OK, question, let me set it up.
[03:31:24] <K`zan> As I understand the problem...
[03:31:40] <K`zan> Lets just take the 1.5" boss cutout.
[03:32:07] <K`zan> Z ain't moving here unless I do it.
[03:32:30] <K`zan> OK, for the part, I choose to make the center of that circle to be X0Y0
[03:33:11] <K`zan> First I have to move it to the start of the "arc" (may mean same as circle?!?).
[03:33:25] <SWPadnos> a circle is a 360 degree arc
[03:33:43] <K`zan> So I guess I pick a point 0.75 off the center either x or y.
[03:34:26] <SWPadnos> trick 1: when you use cutter comp, you have to enter the compensated move at a tangent (ie, already moving in the same direction as the first compensated cut)
[03:34:27] <K`zan> The thing that is not clear to me is what the tool path actually is - tool centerline I suspect.
[03:35:04] <SWPadnos> so instead of moving in a straight line to X0.75Y0, move in a half circle of 1/2 the diameter to the same spot
[03:35:10] <K`zan> Ouch, at this point that makes NO sense to me at all. From that I assume the cutter is outside the radius.
[03:35:11] <SWPadnos> don't worry about the tool path yet
[03:35:21] <SWPadnos> don't worry avout the radius yet
[03:35:24] <SWPadnos> about
[03:35:51] <SWPadnos> just think about making a 0.75" diameter half-circle to get to X0.75 Y0
[03:35:57] <K`zan> Err half the diameter would be 0.375 - even smaller than what I have been getting.
[03:36:14] <SWPadnos> half the radius is 0.375
[03:36:19] <SWPadnos> which is fine
[03:36:29] <K`zan> I ***HATE*** to be dense, but that makes no sense to me.
[03:36:47] <SWPadnos> a 1.5" circle has a 0.75" redius
[03:36:58] <SWPadnos> a circle half that size is 0.75" diameter, 0.375" radius
[03:37:12] <K`zan> So I got to compute 1/4 radius and then the tangetnt of the the 0.75 radius then move the tool to there rather than circle center?!?
[03:37:14] <SWPadnos> which made no sense? :)
[03:37:15] <K`zan> Sigh
[03:37:22] <SWPadnos> wait a minute
[03:37:23] <K`zan> ^^^
[03:37:38] <K`zan> Please, I have reached a point of terminal confusion, sorry.
[03:37:39] <SWPadnos> don *NOT* think about compensation or cutter radius or gouging yet
[03:37:46] <SWPadnos> -n
[03:37:55] <SWPadnos> it will only confuse you :)
[03:37:56] <K`zan> Not even considering the compensation stuff at this point.
[03:38:19] <K`zan> Trying to figure out how to tell it to cut out a 1.5" dia circle at a given xy
[03:38:44] <K`zan> Lots of slop possible in the boss cutout, mounting holes are a whole nother problem'
[03:39:01] <SWPadnos> ok, so a half circle that gets from X0Y0 to X0.75Y0 would be G2 X0.75Y0I0.375J0, right?
[03:39:20] <K`zan> Lemme get that off where I can parse it...
[03:39:22] <SWPadnos> I suppose I should fire up EMC to be sure this will work - hold on :)
[03:40:13] <K`zan> G2 X0.75 Y0 - << makes sense...
[03:40:34] <K`zan> No where have I seen the I and J parameters defined...
[03:40:39] <SWPadnos> what?
[03:40:45] <K`zan> I0.375
[03:40:47] <SWPadnos> where have you read about arcs?
[03:41:14] <K`zan> Gurgle the ref.
[03:41:23] <K`zan> amoungst google....
[03:41:39] <K`zan> To my learning an arc is a part of a circle...
[03:42:12] <SWPadnos> http://www.linuxcnc.org/docview/html//gcode.html
[03:42:20] <SWPadnos> click the G2 or G3 link
[03:42:31] <K`zan> Where is I defined? Why I want a parameter half short I don't get.
[03:42:34] <K`zan> rr checking.
[03:42:47] <SWPadnos> I and J define the center point of the arc
[03:43:01] <SWPadnos> it's in section 3.3.1 of the docs I linked
[03:43:02] <K`zan> I is nowhere near that
[03:43:08] <SWPadnos> ?
[03:43:26] <tom1> when you are ON the circle, the center is somewhere else. the I is the >distance< from you to the center measured along X, J is the distance to the center measured along Y ( for circles in G17 the XY plane)
[03:43:37] <K`zan> the edge of the circle is at 0.75, 0.375 is in the middle of the cutout
[03:44:23] <K`zan> Err circle center changes - not in my world ?!??!
[03:44:24] <SWPadnos> please read the manual section on arcs if you haven't already
[03:44:38] <K`zan> Reading now.
[03:44:57] <SWPadnos> G-code only has access to two points with XYZ coordinates: the current point, and the XYZ values you enter
[03:45:23] <SWPadnos> a circle requires 3 points to be fully defined, so IJ are used to define where the center point of the arc is
[03:46:38] <K`zan> Wow, sounds like the hardest possible way to accomplish that...
[03:46:42] <tom1> where's the logo interpreter for emc :)
[03:47:10] <K`zan> BYW, read that way more than once and it makes little sense. parallel to the plane which is shown as two axis...
[03:47:12] <SWPadnos> it's not possible to know what arc you want if there is no center point defined (or you don't have 3 points on the arc)
[03:47:56] <K`zan> Center 0,0. Diameter 1.5". That just seems simple enough for a circle!?!?
[03:48:18] <SWPadnos> sure, it is
[03:48:20] <K`zan> Rather than breaking it down in ways that seem like pure masturbation.
[03:48:31] <tom1> doesnt say which way
[03:48:36] <K`zan> Or CNC programmer enrichment :)
[03:48:50] <SWPadnos> I'm trying to help you get something that can be used with cutter comp
[03:48:52] <K`zan> Who cares, that is one more parameter L OR R
[03:49:12] <K`zan> OK, I really am trying to understand this, really, I am NOT trying to be obtuse.
[03:49:16] <K`zan> Honestly.
[03:49:20] <SWPadnos> heh
[03:49:23] <SWPadnos> I believe you
[03:49:50] <K`zan> Either I have finally run into something I am incapable of understanding or something.... Working anyway :-).
[03:50:24] <K`zan> The I0.375 I do not grok, it seems totally out in left field...
[03:51:06] <SWPadnos> you really need to know how arcs work :)
[03:51:07] <K`zan> It isn't a point on the 1.5" diameter circle
[03:51:08] <tom1> you tell it where you want to go to, where to swing around, and wether to swing cw or ccw to get there. its just a convention.
[03:51:11] <K`zan> I guess so,
[03:51:11] <SWPadnos> in G-code
[03:51:16] <tom1> ij = pivot point
[03:51:27] <SWPadnos> it's like tying a string to the point defined by IJ
[03:51:35] <SWPadnos> and drawing at the end of the string
[03:51:48] <K`zan> Arghhh, the pivot point would seem to be 0,0?!?!
[03:52:05] <SWPadnos> I am describing a DIFFERENT ARC!
[03:52:21] <K`zan> Alien to me at this point, trying to understand it.
[03:52:45] <SWPadnos> as I said in the first place, if you start at 0,0, then instead of moving to the edge of the circle in a line, let's do it in an arc of half the radius
[03:52:51] <fenn> methinks we need a diagram of a lead-in move
[03:52:55] <SWPadnos> indeed
[03:53:19] <K`zan> To me an arc has always been a part of a circle and the 0.375 seems to be in a world of it's own. Lemme go google on cnc arc and see what I find rather than abusing you folks.
[03:53:21] <fenn> K`zan: cutter comp isnt the easiest thing in the world..
[03:53:33] <fenn> i mean it really is pretty sucky, it's not just you
[03:53:40] <K`zan> fenn: I am not even there yet
[03:53:55] <K`zan> I just want to make a circle...
[03:54:19] <SWPadnos> a circle is easy as pie :)
[03:54:26] <SWPadnos> G0 X0Y0Z0
[03:54:30] <SWPadnos> (start point)
[03:54:34] <K`zan> Middle of the cutter, inside or outside - doesn't matter. I would think I could change the diameter to 1.5-(1/2 cutter dia).
[03:54:41] <K`zan> OK
[03:54:46] <SWPadnos> G0 X0.75 Y0
[03:54:47] <K`zan> Shutting up now :)
[03:54:59] <SWPadnos> do not think about which end of the cutter is on the circle yet! :)
[03:55:12] <K`zan> rr
[03:55:18] <SWPadnos> G2 X0.75Y0I-0.75
[03:55:32] <SWPadnos> that gives you a circle of radius 0.75 (diameter 1.5)
[03:55:34] <K`zan> That makes sense
[03:55:59] <K`zan> i0.375 doesn't
[03:56:17] <SWPadnos> ok, now if there weren't issues with gouging errors, you could do that with cutter comp turned on, and you would get a circle of the correct size - EMC would mae a smaller circle as needed
[03:56:24] <SWPadnos> make
[03:56:30] <K`zan> rr
[03:56:39] <SWPadnos> what does that mean?
[03:57:08] <K`zan> sorry / communications stuff - habit - roger, roger (understood) - shorter to type.
[03:57:27] <SWPadnos> ok - hard to tell if that's a growl :)
[03:57:32] <K`zan> LOL
[03:57:38] <K`zan> GRRRRRRRRRRRRRR
[03:57:38] <SWPadnos> that's why I asked
[03:57:42] <tom1> when you on the circles cicumference at 3 oclock, the center is to your left (minus 3/4 inch )
[03:57:44] <K`zan> * K`zan growl
[03:57:51] <fenn> sry if this is too late, here's what swp's trying to draw i think? http://fennetic.net/pub/irc/lead-in.png
[03:58:21] <fenn> or maybe rotated 90 degrees
[03:59:12] <K`zan> I see what is happening - the move to the desired radius is 1/4 dia.
[03:59:40] <K`zan> But why not just go to the desired starting point?!? (straight lines is the....).
[04:00:02] <SWPadnos> yes, that's what I was doing (only on the X axis :) )
[04:00:06] <K`zan> Seems like abuse of run time and tool wear/
[04:00:13] <SWPadnos> to avoid the gouging error ;)
[04:00:15] <fenn> because historically EMC didnt do corners well in tool comp mode
[04:00:24] <fenn> but now it will happily do what you want (i think)
[04:00:29] <SWPadnos> you can do the lead-in move above the part
[04:00:45] <K`zan> gouging == over run at the desired point?
[04:00:46] <SWPadnos> then do a spiral (helix) down
[04:00:50] <SWPadnos> no
[04:00:57] <SWPadnos> gouging means moving into an inside corner
[04:01:02] <SWPadnos> (for hte most part)
[04:01:25] <SWPadnos> that's why you can't just move in a straight line - the right turn is an inside corner, and gives you that gouging error
[04:01:39] <K`zan> Arghhh circles don't have corners in my world?!?? Pardon, trying to understand the why so I don't have to do this to you again :-).
[04:01:49] <SWPadnos> (the right turn is the transition from moving along X in a straight line and moving down as the start of the circle)
[04:02:23] <K`zan> Ok, I think I am seeing something creeping up on my bleeding brain.... working....
[04:02:28] <SWPadnos> heh
[04:02:40] <K`zan> It doesn't *know* we want a circle.
[04:02:59] <K`zan> I would have thought G2 / G3 would imply that?!?
[04:03:30] <fenn> the gouging error he's talking about applies to any inside corner with tool comp on
[04:03:41] <K`zan> So rather than moving directly to the point, we slide into it ?in case we are not doing a full circle?!?
[04:03:49] <fenn> right
[04:03:55] <SWPadnos> it doesn't matter if you're doing a full circle or not
[04:04:08] <SWPadnos> you have to approach along the same line of travel as the compensated move will be
[04:04:49] <fenn> what actually happens is the tool moves in a sort of squished arc because the compensation comes on gradually over the length of the lead-in move
[04:04:51] <SWPadnos> if you look at fenn's diagram, what EMC will do is move the center pointof the small arc, and make it smaller, so that it ends up inside the larger circle by the right amount
[04:05:29] <SWPadnos> then the larger circle will also be made smaller by the right amount, so the outer edge of the tool is on the line you programmed with the G-code
[04:05:38] <SWPadnos> (line being path here, circles or straight moves)
[04:06:33] <K`zan> OK, starting to make sense, but:
[04:06:42] <K`zan> G2 X0.75 Y0 I0.375 J0
[04:06:55] <K`zan> Would that not make a 3/4" circle?!?
[04:07:16] <K`zan> On one side of the desired circle?!?
[04:07:25] <K`zan> Hummm,
[04:07:42] <K`zan> lemme think about this - that code makes sense in that drawing...
[04:07:54] <SWPadnos> yep - it makes a half circle
[04:09:06] <K`zan> circle is defined by the X0.75 Y0 positioning and because of cutter comp is going to be used we add the I0.375 to cause it to slide into the right place rather than just cutting a plain circle w/o cutter comp?!?
[04:09:26] <SWPadnos> I has nothing to do with comp
[04:09:32] <K`zan> ARGHHHHHHHHHHHH
[04:09:36] <SWPadnos> we start at 0,0
[04:09:51] <SWPadnos> we want to be moving down at the point 0.75,0
[04:09:53] <K`zan> with you so far :)
[04:09:58] <K`zan> Yes
[04:10:26] <SWPadnos> so we make an arc that looks like a setting sun, going from 0,0 to 0.75,0
[04:10:39] <K`zan> yes
[04:10:42] <SWPadnos> that's a half circle, since I can do that math in my head :)
[04:10:57] <tom1> emc2 user manual section 20.4.1 ( has a couple visuals for cutter comp) . for circle formats 14.3.1 ( no pictures... i hate cookbooks with no pictures, i must have dreamed JMK's pictures for this :P)
[04:11:12] <K`zan> Beats HELL out of trying to figure out tangents :)
[04:11:16] <jmkasunich> the pics are on the quick reference card
[04:11:19] <SWPadnos> the center point of a circle with a diameter from 0,0 to 0.75,0 is 0.375,0
[04:11:21] <tom1> thx
[04:11:27] <jmkasunich> which is online, part of the docs
[04:11:39] <SWPadnos> I don't think the back side is online though
[04:11:47] <K`zan> Those might start making sense to me now.
[04:11:48] <mdynac_> gottaquick question...
[04:12:04] <K`zan> BUT, sorry:
[04:12:40] <SWPLinux> http://pastebin.ca/1061041
[04:13:12] <SWPLinux> gah
[04:14:43] <mdynac_> when i get my machine to home properly, all my parts are mirror imaged....
[04:15:20] <SWPadnos_> SWPadnos_ is now known as SWPadnos
[04:15:28] <SWPLinux> hmmm
[04:15:29] <fenn> mdynac_: are they normal before you home?
[04:15:45] <mdynac_> nope
[04:15:56] <SWPadnos> did that pastebin from me come through?
[04:16:03] <SWPLinux> http://pastebin.ca/1061041
[04:16:13] <fenn> mdynac_: then just put a minus sign before the SCALE value for the inverted axis
[04:16:16] <SWPadnos> ok, there it is
[04:16:26] <fenn> yay freenode
[04:16:52] <mdynac_> k , as using stepconf to set it up
[04:17:18] <SWPadnos> you could also invert the direction pin
[04:17:33] <mdynac_> no ay to do it in stepconf?
[04:17:48] <SWPLinux> http://pastebin.ca/1061041
[04:17:57] <SWPLinux> K`zan: ^^^
[04:17:58] <fenn> i think stepconf has some invert checkbox
[04:18:13] <K`zan> G2 X0.75 Y0 I0.75 J0 - makes a circle!
[04:18:13] <K`zan> Lemme scroll back and see if I got that right...
[04:18:15] <SWPadnos> yes - use stepconf to invert the direction pin
[04:18:15] <K`zan> <SWPadnos> G2 X0.75Y0I-0.75
[04:18:34] <SWPadnos> load that pastebin and play around with it in axis/sim
[04:18:38] <mdynac_> what do you call it in stepconf?
[04:18:39] <SWPadnos> err- sim/axis
[04:18:42] <jmkasunich> K`zan: http://jmkasunich.com/pics/gcode-ref-back.pdf
[04:18:48] <jmkasunich> drawings for circles and cutter comp
[04:19:00] <fenn> K`zan: remember that i,j are relative to the current location
[04:19:14] <jmkasunich> look at the pics, they should help
[04:19:21] <fenn> jmkasunich: thanks i was looking for that
[04:19:26] <SWPadnos> the key point is that you always program the uncompensated path
[04:19:37] <mdynac_> there is no "direction" pin in stepconf
[04:19:50] <SWPadnos> do you have servos or steppers?
[04:20:21] <mdynac_> steppers
[04:20:52] <SWPadnos> then you probably have signals on the parallel port setup page that are names "X Step" "X DIrection" ...
[04:20:56] <SWPadnos> named
[04:20:59] <mdynac_> k
[04:21:33] <tom1> in pastebin xmpl: does the comp turn on thru the 1st 180 degree move, and is fully comped for 2nd 180 degrees? making a sort of spiral, i think
[04:21:47] <SWPadnos> invert the one that says Direction for the axis (or axes) that move the wrong way
[04:21:58] <tom1> yes look at jmkasunich's good pix
[04:22:05] <mdynac_> k
[04:28:25] <tom1> methinks according to jmkasunich's pdf, that the compensation commands begin at where you are and are fully in or out of effect at the end of the gcode line that requested the compensation/or lack of compensation.
[04:28:26] <tom1> moral: be fully comp'd when you get on the finished edge, and turn when you leave that edge..
[04:28:56] <toastydeath> tru
[04:29:05] <toastydeath> i like to leave the edge before blowing comp
[04:29:05] <toastydeath> just to be safe.
[04:29:07] <tom1> make that 'turn it off AS you leave"
[04:29:13] <tom1> yep
[04:32:58] <tom1> we used to use 'the worm' just before entering the contour. like fenn's curved leqdin but just larger than the tool. http://www.drahterosion.com/english/frames_e.htm
[04:38:13] <toastydeath> i like a lil' arc with some hot -z action
[04:38:38] <toastydeath> for pocketing, anyway
[04:38:45] <toastydeath> i guess Z doesn't matter for a perhipery
[04:48:38] <fenn> does this sound familiar to anyone? rtapi/sim_rtapi_app.cc:75: error: ‘strtol’ was not declared in this scope
[04:49:17] <SWPadnos> nope
[04:49:38] <fenn> also missing remove_copy srand48 lrand48 and exit
[04:50:37] <mdynac_> okay nowmy machine moves properly, but it homes in the rong direction....ho do i fixthat?
[04:51:42] <SWPadnos> change the sign of the home search velocity
[04:52:24] <mdynac_> k
[04:53:00] <mdynac_> thanks guys....it works...
[04:54:10] <SWPadnos> excellent
[05:07:26] <fenn> sigh.. need to download 155MB to satisfy build-dep
[05:08:40] <fenn> * fenn grumbles about lyx
[05:27:52] <mdynac_> gee now the emc goes into pause and won't move
[05:35:18] <K`zan> Is it possible to comment comments - Sometimes I need to comment out a block of code?
[05:35:47] <mdynac_> k
[05:36:42] <fenn> K`zan: you could put it in an o-word loop (use if statements)
[05:39:37] <SWPadnos> just use "O2000 sub" at the start and "O2000 end" at the end (no if needed - the sub is never called so it won't execute)
[05:40:59] <K`zan> Thanks! I assume <ulp> that the 000 is incrementable if one needs to do so more than once?
[05:41:19] <K`zan> Recoding my program...
[05:43:07] <SWPLinux> K`zan: load this one up in Axis: http://pastebin.ca/1061076
[05:45:45] <K`zan> rr, copied it out and will try it here in a few.
[05:46:20] <K`zan> On the desktop here - no EMC on this machine. Got to go back and fire up EMC box as I got tired of being scrunched up working in there :).
[05:46:39] <SWPadnos> install sim and play around with it
[05:46:45] <K`zan> Would be nice if it would work here.
[05:46:47] <SWPadnos> rather than running a machine all the tiem
[05:46:48] <K`zan> Sim?
[05:46:50] <SWPadnos> time
[05:47:01] <SWPadnos> yes, the emc2-sim package
[05:47:05] <K`zan> Not running machine, just using axis to see what it does.
[05:47:06] <SWPadnos> if you're on ubuntu
[05:47:14] <K`zan> checking now, thanks!
[05:48:14] <K`zan> ;-( adept doesn't find it :-(
[05:48:20] <SWPadnos> hmm
[05:48:28] <SWPadnos> you probably need to add the emc2 repositories
[05:48:30] <K`zan> Do I need a special respoitory?
[05:48:33] <K`zan> Ah
[05:48:48] <SWPadnos> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2
[05:49:04] <SWPadnos> there are all sorts of sim build instructions there, but I think there are also sim packages
[05:49:44] <SWPadnos> ah - you need to add emc2.2-sim to the repo list
[05:50:01] <K`zan> I think: http://linuxcnc.org/dapper/
[05:50:20] <SWPadnos> where the instructions say emc2.2, make that emc2.2-sim
[05:51:16] <SWPadnos> http://www.linuxcnc.org/dapper/emc2-install-sim.sh
[05:51:23] <K`zan> Jesus, couldn't they just list the repo rather than having th read through all that??!?
[05:54:16] <toastydeath> why would anyone do that
[05:54:17] <K`zan> Got universe, still not there.
[05:54:24] <toastydeath> when it could be hard instead
[05:54:36] <K`zan> For those of us who are not into masturbation for the sake of masturbation...
[05:55:01] <K`zan> EMC2 is not in any repository for ubuntu :-(.
[05:55:07] <SWPadnos> well, there are lots of people who have never heard of a repo, so the instructions are meant for them
[05:55:14] <K`zan> toastydeath: Same issue with uncopyable dialogs...
[05:55:17] <SWPadnos> did you look at that script I linked to?
[05:55:59] <K`zan> Open with what, lemme copy it and go to the browser manually.
[05:56:08] <SWPadnos> run it in a shell
[05:56:23] <SWPadnos> or look at it to see what you have to do :)
[05:57:27] <K`zan> OK, got it, lemme try it.
[05:57:48] <K`zan> 4,623 open windows :)
[05:58:34] <fenn> i wonder why lyx thinks it needs texlive-full
[05:59:09] <K`zan> emc2-sim: Depends: libpth2 but it is not installable
[05:59:26] <SWPadnos> argh
[05:59:27] <K`zan> Sigh, easier to just go fire up the box, back on that in a few.
[05:59:55] <SWPadnos> damn. this is something we've seen before
[06:00:14] <fenn> K`zan: sudo apt-get install libpth20 libpth-dev
[06:00:24] <fenn> oops
[06:00:29] <fenn> i mean, libpth2
[06:01:17] <fenn> or maybe its just libpth now
[06:01:43] <fenn> oh now it's libpth20 in ubuntu too, yay!
[06:01:51] <SWPadnos> on dapper?
[06:01:54] <fenn> on hardy
[06:01:59] <SWPadnos> oh, yay!
[06:02:51] <fenn> are there sim packages for hardy?
[06:03:13] <fenn> i must admit i'm confused by the repo organization (or lack thereof)
[06:03:59] <SWPadnos> it doesn't look like there are
[06:04:22] <SWPadnos> it changed, but we couldn't move things around once people had installs pointing to the old location
[06:04:27] <SWPadnos> or something like that
[06:06:37] <fenn> K`zan: are you installing the sim packages on hardy?
[06:13:25] <fenn> looks like it.. i dont see any way around the silly libpth2/20 issue besides rebuilding the package
[06:16:33] <fenn> especially with packages.ubuntu.com dead
[06:18:03] <K`zan_emc> SWPadnos: VERY useful example, thank you VERY MUCH!
[06:18:12] <SWPadnos> you're welcome
[06:18:39] <K`zan_emc> Gotta rehack mine based on that, should be a lot shorter this time :-)
[06:18:41] <SWPadnos> I don't know why that last small arc has a jog at the end
[06:18:43] <SWPadnos> heh
[06:19:11] <K`zan_emc> Only need the arc on the lead in and out I see.
[06:19:17] <K`zan_emc> Editing :-)!
[06:19:17] <SWPadnos> note that the axis preview shows the travel as +/- 1.38 (on my computer anyway)
[06:19:40] <K`zan_emc> Tool diff ?!?
[06:19:42] <SWPadnos> the tool I used was a 0.125 cutter, so the travel is 1.5 -0.125 = 0.375
[06:19:44] <SWPadnos> yep
[06:19:57] <K`zan_emc> Hacking merrily away now :)
[06:20:12] <K`zan_emc> With a bit more than a vague clue :-)
[06:20:12] <SWPadnos> if you comment out the G42 line, the size in axis will change
[06:20:24] <SWPadnos> heh - glad it helped. it's bedtime now
[06:20:31] <K`zan_emc> Noticed that when I put it on at one time.
[06:20:34] <SWPadnos> actually, it was 2 hours ago, bit oh well
[06:20:51] <K`zan_emc> Rest well, you certainly earned it tonight :-). Again, thanks VERY much!
[06:20:58] <SWPadnos> enjoy!
[06:21:04] <K`zan_emc> Yes :-)!
[07:18:26] <K`zan_emc> Well, it made sense with a 0,0 ref, things get crazy from there. BUT, making progress I think. Brain is a bit fried tonight, will jump on it again tomorrow. Amazing the math required to make a simple circle.
[07:18:28] <K`zan_emc> Night all
[09:34:53] <dogfishguzzler> Hey guys long time no see. I was wondering where I can look to see the cutter comp routines. I'm having an issue where I can't use cutter comp and need to right my own I was hoping to see how it was done in EMC for some inspiration.
[13:36:06] <patlbs> Hello
[13:36:13] <jepler> hello patlbs
[13:36:44] <patlbs> Is this the place to ask a question?
[13:37:19] <SWPadnos> there's one :)
[13:39:04] <patlbs> A question about emc2 of course.
[13:39:14] <SWPadnos> yes, this is the place
[13:39:27] <SWPadnos> assuming you're talking about the machine control, not the backup system
[13:40:47] <patlbs> Ok How would I go about changing the Rapids default speed?
[13:41:22] <cradek> rapids are done at the maximum velocity, which are set in the .ini file for each axis
[13:41:24] <SWPadnos> rapid speed is defined as "as fast as possible". are you looking for rapid override?
[13:41:47] <cradek> * cradek kicks SWPadnos
[13:42:15] <SWPadnos> ouch
[13:42:32] <patlbs> Not overide but the actual g00 speed.
[13:43:26] <cradek> did you use the stepconf wizard to generate your configuration?
[13:43:45] <patlbs> Yes stepconfig was used
[13:44:17] <cradek> ok, then you can run it again, load your existing configuration, and change the maximum velocity setting for each of the axes to what you want.
[13:45:06] <SWPadnos> are you trying to speed it up or slow it down?
[13:46:03] <patlbs> Slow it down . I'll try the stepconfig wizard
[13:46:43] <cradek> patlbs: remember the velocities in stepconf are per second, but F word in gcode is per minute.
[13:47:12] <cradek> so if you want your rapids at 120 inches/minute you will put 2.0 inches/second in stepconf.
[13:47:57] <patlbs> Okay.
[13:48:17] <cradek> mm works the same way if you are metric.
[13:53:58] <renesis> metricF is in meters per minute?
[13:54:05] <renesis> or mm per minute
[13:54:10] <SWPadnos> feed is always units/minute
[13:54:20] <cradek> metric is mm/second in stepconf, mm/minute in gcode
[13:54:22] <SWPadnos> if you've defined your units as meters, then it's meters/min
[13:54:26] <renesis> kk
[13:54:32] <cradek> * cradek kicks SWPadnos again
[13:54:40] <renesis> not nice!
[13:54:41] <cradek> gcode is in inch/min or mm/min
[13:54:42] <SWPadnos> * SWPadnos blocks
[13:54:50] <SWPadnos> oh yeah :)
[13:54:52] <cradek> anything else is crazy talk
[13:55:01] <SWPadnos> I think I mentioned somewhere that I need more coffee
[13:55:12] <renesis> i dont think ive ever metric code
[13:55:13] <cradek> and shin guards?
[13:55:18] <SWPadnos> those silly G20/G21 codes
[13:55:26] <SWPadnos> no, I'm a black belt
[13:55:32] <SWPadnos> well, I have a black belt anyway
[13:55:33] <renesis> hehe, so yesterday i reindexed the tools and flycut the vacuum table spoilboard
[13:55:37] <SWPadnos> it's leather
[13:55:55] <renesis> and when the operator went to cut shit, you could see cut marks in the spoil board, but could not feel them
[13:55:58] <cradek> I'm wearing mine now - it holds my pants up
[13:56:06] <renesis> the last guy who setup the machine is a failure
[13:56:18] <SWPadnos> yeah. I think I have to fix my buckle for them to work that way
[13:56:56] <SWPadnos> in the immortal words of Donald Trump - "You're Fired"
[13:57:14] <renesis> i have a nylong web belt
[13:57:35] <renesis> with chrome buckle, the strap is black with little jolly rogers
[13:57:45] <renesis> *nylon
[13:59:43] <patlbs> Okay very well. Another question?
[13:59:50] <cradek> heh
[13:59:54] <cradek> don't ask to ask, just ask
[14:00:01] <cradek> that's the primary rule of irc
[14:00:11] <alex_joni> DATAJA
[14:00:20] <renesis> some chans would just ban you for that, heh
[14:00:29] <alex_joni> may I ask a question?
[14:00:33] <archivist> no
[14:00:35] <cradek> people will answer when/if they can, sometimes it's much later when they see your question.
[14:00:36] <renesis> no.
[14:00:36] <alex_joni> may I ask another one?
[14:00:40] <renesis> no.
[14:00:46] <alex_joni> pretty please?
[14:00:47] <cradek> * cradek kicks everyone
[14:00:53] <alex_joni> * alex_joni goes home
[14:00:59] <renesis> no!
[14:01:04] <alex_joni> s/goes/crawls after cradek's kick/
[14:01:14] <cradek> :-)
[14:01:24] <cradek> patlbs: we're always like this, sorry
[14:01:37] <alex_joni> that's not true.. sometimes we're worse
[14:01:45] <renesis> actually its quite tame here, be happy you didnt ask for help on efnet
[14:02:22] <archivist> normaly very civil in here compared to ##php or ##c
[14:02:34] <renesis> you would get it, but itd likely be wrong, probably on purpose
[14:02:46] <patlbs> That's okay. I'm new to the irc stuff and EMC2 to also too to many two's
[14:02:47] <renesis> i has a lag
[14:04:45] <alex_joni> bbl..
[14:17:30] <patlbs> How do you home an axis after losing steps on that axis?
[14:18:09] <cradek> you can home an axis as many times as you want by pressing home
[14:18:10] <archivist> dont go to fast to lose steps
[14:18:55] <patlbs> But I run out of travel on the machine.
[14:19:26] <cradek> I think you are going to have to describe your question more specifically to get a correct answer
[14:20:25] <cradek> homing can mean many things. in general it sets up a reference point (origin) for an axis. there are lots of ways to do that.
[14:22:15] <renesis> machine at works homes slow
[14:22:49] <patlbs> Okay when I jog to a position then hit home it zeros. If while running a program I lose steps I cannot go back to the original position it will only go to the zeroed position which is incorrect.
[14:23:30] <BigJohnT> without home switches that is what you get
[14:23:42] <SWPadnos> you need to either (a) reduce the speed so you don't lose steps or (b) add home switches so you can re-reference after losing steps
[14:23:51] <SWPadnos> or both
[14:24:07] <BigJohnT> SWPadnos: is fast on the keyboard
[14:24:11] <SWPadnos> (a) is preferable, since your part is already ruined when you notice you've lost steps, so preventing that is best
[14:24:25] <SWPadnos> sometimes :)
[14:24:57] <patlbs> Yes reduce speed but I need to start somewhere. I'm only testing
[14:25:08] <renesis> on my tiny mill, the gib tension is alot of it
[14:25:16] <patlbs> No real parts invovled
[14:25:20] <renesis> is like a tolerance vs speed tradoff
[14:25:36] <renesis> i can go 60ipm consistent if i leave the table a tiny tad little bit loose
[14:25:58] <renesis> but yeah with everything snug its more like 45
[14:26:28] <renesis> and for actual work i never set it over 30
[14:26:52] <renesis> obviously if you have a real CNC you scale those numbers up, hopefully
[14:27:40] <renesis> open loop taig fairie mill is an adventure
[14:28:02] <alSMT> patlbs: move to where you would like to be and hit home on the gui
[14:28:36] <patlbs> Emc won't let me jog past zero
[14:28:38] <renesis> i think he means how its not an absolute home
[14:28:39] <cradek> patlbs: for now you will have to restart EMC to "unhome". In EMC2.3 there will be the ability to unhome.
[14:28:42] <renesis> ok
[14:28:53] <renesis> you might be setting home when you want origin?
[14:29:01] <cradek> soft limits are keeping him from getting back to where the origin is supposed to be.
[14:29:03] <SWPadnos> the limits for each axis define how far you can move
[14:29:06] <renesis> like workspace origin, instead of machine home
[14:29:19] <renesis> yeah i hate that there should be a disable
[14:29:25] <cradek> renesis: there is in emc2.3
[14:29:33] <renesis> omg yay
[14:29:42] <cradek> 'unhome'
[14:29:58] <renesis> ha nice
[14:30:30] <renesis> so i liked axis gui
[14:30:37] <renesis> but now im using some NUM controller bullshit at work
[14:30:57] <renesis> 640x480 dos on xp with vid drivers only go down to 800x600
[14:31:11] <renesis> so now i really really like axis gui
[14:32:00] <renesis> stupid comercial pc based controller is worse than the three free options
[14:32:15] <cradek> heh
[14:32:51] <patlbs> Thank you and goodbye
[14:32:56] <renesis> bye
[14:32:58] <cradek> come back anytime
[14:33:11] <renesis> but not too much you will get addicted
[14:33:36] <BigJohnT> cradek: I have found the home/unhome of a single axis very useful on my plasma cutter
[14:33:42] <BigJohnT> in 2.3
[14:34:06] <renesis> it would be neat for setting mavchine limits for fixtures and clamps, on the fly
[14:34:52] <renesis> or maybe if there was a dialog for soft limits
[14:35:25] <renesis> that would prob make more sense than changing machine origin for alot of things
[14:35:53] <cradek> renesis: http://sourceforge.net/tracker/index.php?func=detail&aid=1491243&group_id=6744&atid=356744
[14:36:42] <cradek> I've hoped for configurable soft limits for a long time, but never done anything about it
[14:37:07] <cradek> heck maybe they could even honor TLO. now that would be slick.
[14:37:24] <renesis> i have to change the laundry to the dryer
[14:37:42] <renesis> so im doing 4 hours of bus everyday for 5 hours of work
[14:37:51] <cradek> ouch
[14:38:02] <renesis> half of the work is figuring out wtf my job is because the guys on the floor design all this shit
[14:38:06] <renesis> =(
[14:38:07] <cradek> can you go to fewer but longer workdays?
[14:38:27] <renesis> they work 7:30 to 3:30
[14:38:41] <renesis> and i havent been there long enough to be asking for a key
[14:38:54] <renesis> hopefully i can get a car this month
[14:39:20] <renesis> to get like 8 hours, id have to wake up at 4:30
[14:39:47] <renesis> for the last 5 years thats like around my bedtime
[14:39:56] <BigJohnT> * BigJohnT goes back to structured text programming for his panasonic plc, lots more fun than ladder
[14:40:20] <renesis> is plc like fpga or wat?
[14:40:39] <renesis> or wait is plc the big controller module things
[14:41:52] <renesis> non program-counter based text logic scares me
[14:42:27] <BigJohnT> programmable logic controller
[14:42:42] <renesis> okay rite
[14:42:58] <renesis> my mind always wants it to be Chip, no Controller
[14:42:59] <BigJohnT> this one is very small about 3" x 4" x3"
[14:43:05] <renesis> oh neat
[14:43:14] <renesis> lots of io still
[14:43:16] <renesis> ?
[14:43:20] <BigJohnT> and very fast with two 100Kh outputs
[14:43:34] <renesis> heh, thats not fast!
[14:43:50] <BigJohnT> 20 inputs 16 outputs
[14:43:59] <BigJohnT> fast for a plc
[14:44:05] <renesis> or i dunno maybe for plc but i do asm code for speed at 20MHz, heh
[14:44:08] <renesis> yeh
[14:44:28] <BigJohnT> ops forgot the M
[14:44:35] <renesis> i read a datasheet for one someone was talking about, was like a little tank thing
[14:46:44] <renesis> that was much bigger tho, i dont think it had many more io ports, tho
[14:46:57] <renesis> omg laundry
[15:25:54] <archivist_emc> some dont believe, that you can IRC and machine :))
[15:44:25] <cradek> jepler: I got the tapping head mounted and working on the mill last night. a few days too late but nice anyway.
[15:47:46] <renesis> archivist_emc: you can irc from the cnc, heh
[15:48:20] <renesis> the realtime shit is really good about keeping the cycle going, i can browse web and the cnc keeps going like whatever, sometimes web goes a bit slow
[15:48:23] <renesis> <3
[15:48:25] <archivist_emc> can do quite a lot while the cnc is running
[15:48:56] <renesis> heh, wasnt so much the case with mach
[15:49:46] <archivist_emc> I have an XML doc build (mysql docs) going on on the box as well
[16:06:53] <jepler> cradek: cool
[16:57:55] <assargadon> Is it needed to download CD with integrated EMC for Ubuntu 8.04?
[16:58:05] <SWPadnos> no
[16:58:25] <SWPadnos> http://www.linuxcnc.org/hardy/emc2-install.sh
[17:03:13] <assargadon> greate
[17:06:27] <Hugomati1> Hi guys... I have a little problem with my A axis: when I home it, it doesn't go to 0, like my X Y or Z. I use g92.1 a lot, but when I close EMC and start it again, it remembers the A position. Any idea what's wrong? thanks
[17:07:13] <SWPadnos> do you have a home switch?
[17:07:43] <Hugomati1> No I don't... my ini file section for the A axis is here http://pastebin.com/d281b8bf2
[17:08:28] <SWPadnos> ok, then homing means "don't move, but mark the current position as HOME_POSITION"
[17:08:53] <SWPadnos> you probably have a POSITION_FILE listed in the ini, which is why EMC remembers where it was
[17:09:07] <Hugomati1> SWPadnos: any idea how I can reset it to 0 without unrolling all my turns?
[17:10:29] <SWPadnos> so what does it do when you try to home? move toward 0, not move at all, set the location to 0.0?
[17:10:54] <Hugomati1> I don't see a POSITION_FILE in my ini...
[17:10:57] <SWPadnos> I don't know if you're supposed to set the HOME_*_VELs to zero, or just leave them unset
[17:11:00] <SWPadnos> hmm
[17:11:30] <Hugomati1> SWPadnos: When I home A (or all), A stays at its current position
[17:11:58] <SWPadnos> and the position display doesn't change to zero?
[17:12:19] <Hugomati1> The display stays the same
[17:12:38] <SWPadnos> does the homed symbol ever show up?
[17:12:55] <Hugomati1> the homed symbol shows up
[17:13:23] <SWPadnos> oh - you have no HOME_POSITION defined for A
[17:13:39] <K`zan_emc> Morning folks.
[17:13:43] <SWPadnos> hiya
[17:14:12] <Hugomati1> SWPadnos: thanks, I'll try to set one up... just a sec
[17:14:18] <SWPadnos> err - maybe that's HOME. I'm not really the one to answer this question :)
[17:14:37] <K`zan_emc> Sigh, got the boss working (short of making an actual part) but the mounting holes I am still trying to figure out, thought I had it about 0200 this morning.
[17:15:31] <K`zan_emc> Suspect the end mill size is an issue for this. Going to have to change the hole size and just do a circle - maybe.
[17:15:54] <K`zan_emc> Or just use it as a spot drill and do it on the drill press.
[17:15:54] <SWPadnos> what is the end mill size?
[17:16:05] <K`zan_emc> #36 - 0.1065
[17:16:20] <SWPadnos> ok, and you're making a 0.201 hole or some similar?
[17:16:26] <K`zan_emc> yes
[17:16:59] <K`zan_emc> G2 X1.0255 Y0.925 I0.1005
[17:17:09] <K`zan_emc> Makes for not a happy camper :-)
[17:17:11] <SWPadnos> I think that should work, but probably nor if you try doing half-sized entry moves like that example
[17:17:30] <Hugomati1> SWPadnos: I added HOME_POSITION = 0 to the [AXIS_3] section and restarted AXIS... no change
[17:17:35] <SWPadnos> yes - you can tell that because I (the radius in this case) is < the tool radius
[17:17:42] <SWPadnos> no, it's called HOME - my bad
[17:18:25] <SWPadnos> you don't need entry moves for every hole, you only need them once at the start of the compensated path
[17:18:45] <K`zan_emc> Looks that way. Error message would take way too long to type in since it isn't copyable (grrrr) but yes, so just using it as a spot drill and then doing it on the drill press would make sense here.
[17:19:10] <K`zan_emc> That is what I thought I was doing - just the lead into the circle.
[17:19:29] <SWPadnos> one lead in to the first circle, then no lead-ins for the other circles, then one lead-out on the last circle
[17:19:40] <K`zan_emc> Lemme comment that out and see if I get the gouge message
[17:20:15] <SWPadnos> are you trying to cut all the holes in one program, or making separate programs? (I'd suggest one progrma, if it's possible to hold the work)
[17:20:18] <K`zan_emc> Nope, same messaage
[17:20:46] <K`zan_emc> Could do that if the end mill isn't just too big.
[17:20:49] <Hugomati1> SWPadnos: the HOME = 0.0 was there already... I wonder what's wrong
[17:21:13] <SWPadnos> dunno - I'd have to read the manual on homing to be able to help ;)
[17:21:31] <SWPadnos> K`zan_emc, can you post your code to pastebin?
[17:21:32] <Hugomati1> OK, thanks for the suggestions
[17:21:50] <SWPadnos> sure. too bad they didn't help
[17:22:18] <SWPadnos> by the way, POSITION_FILE is in the TRAJ section - dunno if you looked for it there (or did a search)
[17:22:42] <SWPadnos> do the other axes also retain their positions?
[17:23:49] <Hugomati1> SWPadnos: I have nothing in the [TRAJ] section about a position file. It looks like I have garbage in the value for the A axis.
[17:24:06] <SWPadnos> hmmm. can you post your entire ini?
[17:25:34] <Hugomati1> SWPadnos: here you go: http://pastebin.com/m70ca6f82
[17:26:36] <K`zan_emc> SWPadnos: Yes, just a sec
[17:28:52] <SWPadnos> well, I don't know what's happening. sorry
[17:29:28] <Hugomati1> OK thanks... I'll try the demo configs to see if I get the same behaviour
[17:29:33] <SWPadnos> unless there's a problem in the hal files, which I doubt could cause the effects you're seeing
[17:31:35] <SWPadnos> K`zan_emc, gotta run for a bit. I'll take a look at the code when I get back
[17:32:38] <K`zan_emc> SWPadnos: rr thanks, takes pastebin a while but: http://www.pastebin.ca/1061463
[17:33:55] <SWPadnos> take out all the G40 and G42 lines except the first G42 and the last G40
[17:34:22] <SWPadnos> and leave all the entry moves except the first commented out
[17:34:58] <SWPadnos> now I'm leaving :)
[17:35:26] <Hugomati1> SWPadnos: I found that if I use "92.1" in the MDI window before closing EMC, then I get A to 0 when I start EMC again, and homing sets it to 0. thanks
[17:47:28] <alSMT> off topic sorry I have a three phase motor that only has L1 L2 L3 it shows a wiring diagram for 230/460 but only has three wires not the typ 9 ? anyone
[17:49:01] <BigJohnT> is this a motor with jumper bars
[17:49:23] <SWPadnos> K`zan_emc, ignore my previous advice. I'll be back later with better info
[17:49:28] <alSMT> ?? don't see any
[17:49:46] <BigJohnT> do you have U V W terminals
[17:50:00] <SWPadnos> Hugomati1, OK, I had thought about G92 offsets, but didn't think they were the problem
[17:50:07] <alSMT> just L1 _L3
[17:50:17] <alSMT> three wires
[17:50:39] <SWPadnos> how many wires does the diagram show?
[17:51:02] <alSMT> 9
[17:51:14] <SWPadnos> ok, do the wires come out of a junction box?
[17:51:22] <alSMT> yes
[17:51:23] <BigJohnT> could this motor have been rewound for one voltage
[17:51:35] <alSMT> maybe?
[17:51:37] <SWPadnos> open the junction box, and you should find the 1-9 wires
[17:51:47] <SWPadnos> unless you opened it already and didn't find them :)
[17:52:00] <alSMT> the box is open only three wires
[17:52:24] <SWPadnos> and they go into the bowels of the motor?
[17:52:49] <alSMT> yep
[17:53:03] <SWPadnos> I guess you're SOL then
[17:53:25] <alSMT> trial and error
[17:54:06] <K`zan_emc> SWPadnos: Thanks, I am, YA, out of ideas :-(.
[17:54:30] <SWPadnos> I forgot that you still need to be careful of inside corners
[19:16:32] <K`zan_emc> SWPadnos: I think the right way to go about this is to simply spot the mounting holes and then drill them manually on the drill press.
[19:26:08] <K`zan_emc> Join1 following error. Only thing I changed was the feedrate from 10 to 100, hummm...
[19:32:04] <K`zan_emc> Something about that last G2 didn't like it, but it wasn't really necessary (I think).
[19:34:52] <anonimasu> hm
[19:34:54] <anonimasu> fix your config.
[19:35:20] <anonimasu> check the accels of your axes.. and what the stepgen max accel is
[19:35:45] <anonimasu> K`zan_emc: your machine should NEVER EVER EVER end up with that condition :)
[19:36:08] <anonimasu> unless you have a closed loop system and crash your spindle into the table.. :P
[20:19:55] <BigJohnT> http://imagebin.ca/view/4LKmSIG6.html
[20:20:10] <BigJohnT> http://imagebin.ca/view/QuJWVyOg.html
[20:28:32] <anonimasu> BigJohnT: what does that machine do?
[20:29:06] <BigJohnT> it tests a running lawnmower engine
[20:29:23] <BigJohnT> we test the starter switch, the stop switch, the stop time, the brake function, the static governor setting, the RPM all in less than 5 seconds
[20:29:43] <anonimasu> ok
[20:29:47] <anonimasu> cute
[20:29:52] <BigJohnT> we built 3 of them at the same time
[20:30:05] <BigJohnT> so if you make one mistake you made 3 :)
[20:30:22] <anonimasu> :)
[20:31:07] <BigJohnT> It is fun work most of the time
[22:37:42] <alex_joni> good night all
[22:38:53] <BigJohnT> night alex
[22:45:20] <dmess> yahoo.. my lathe is finally in the basement...