Back
[06:18:37] <NickServ> This nickname is owned by someone else
[06:18:37] <NickServ> If this is your nickname, type /msg NickServ IDENTIFY <password>
[12:34:22] <CIA-12> 03jepler 07HEAD * 10axis/scripts/axis.py:
[12:34:22] <CIA-12> introduce a new group of functions to convert to/from AXIS internal units
[12:34:22] <CIA-12> (which are always inches). Use these functions in most places we work with
[12:34:22] <CIA-12> units. Keep an eye out for newly-introduced units related bugs, but this
[12:34:22] <CIA-12> really is best in the long term (for instance, it allows us to fix the ABC-axis
[12:34:22] <CIA-12> readouts in metric settings)
[13:46:34] <harty> hi all i am after a bit of help on a getting emc2 setup to use a spindle encoder on my lathe
[13:52:47] <Lerneaen_Hydra> you'd best talk to cradek, he's the most into lathes and g33 related stuff now
[13:52:58] <Lerneaen_Hydra> * Lerneaen_Hydra pokes cradek
[13:53:48] <cradek> huh wha?
[13:54:29] <Lerneaen_Hydra> * Lerneaen_Hydra gives craked a bottle of awakening
[13:54:40] <Lerneaen_Hydra> err,, s/craked/cradek
[13:54:54] <cradek> harty: is your lathe run by parallel port?
[13:55:43] <harty> yep and encoder is mounted and connected
[13:55:55] <cradek> great
[13:56:13] <cradek> you have an encoder with index pulse right?
[13:56:29] <harty> just need to know what i need to change in emc to get it to see it
[13:56:34] <harty> yep
[13:57:18] <cradek> http://cvs.linuxcnc.org/cvs/emc2/configs/nist-lathe/nist-lathe.hal?rev=1.6
[13:57:35] <cradek> this is the hal file for my demo lathe, pull it up and let's go over it
[13:57:53] <harty> got it
[13:58:07] <cradek> go down most of the way to Beginning of threading-related stuff
[13:58:14] <harty> yep
[13:58:38] <cradek> see at the top of this section parport pins 11,12,13 are hooked to an encoder module
[13:58:51] <harty> yes
[13:58:52] <cradek> in the middle that encoder module's scale is set according to the ppr of the encoder
[13:59:13] <cradek> at the bottom is the connection of the encoder to the motion controller (it's a little hairy)
[13:59:24] <harty> k
[13:59:34] <cradek> you want pretty much this whole section edited for your setup
[13:59:51] <cradek> (looks like there's a bit of homeswitch stuff in there that doesn't belong)
[14:00:23] <harty> so don't need that?
[14:00:36] <cradek> no, leave out the homeswitches lines
[14:00:54] <cradek> fix up the rest for your setup (you will probably just have to change your ppr and input pins)
[14:02:07] <cradek> when you're done, start emc, put a halmeter on the spindle-pos signal, and if your scales are right it should go from 0 to 1, 0 to 1 ... as you turn your spindle slowly by hand
[14:02:25] <harty> and i need to add this to wich hal file
[14:02:54] <cradek> any one of your custom config's hal files
[14:03:04] <harty> k
[14:03:06] <cradek> you have a custom config in your home directory right?
[14:04:13] <harty> ist just a straight copy of standard_pinout .hal and core_stepper.hal
[14:04:33] <cradek> ok, that's fine
[14:04:47] <cradek> probably you want to put it in standard_pinout then
[14:04:54] <harty> k
[14:05:04] <cradek> my nist-lathe config uses just one hal file, but it doesn't matter
[14:07:27] <harty> now when i run emc it show the splash screen then it just drops back to linux
[14:08:06] <cradek> ok, run it at the shell so you can see the error
[14:08:31] <cradek> (there's probably an error in your hal file)
[14:08:41] <cradek> are you using the 2.0.3 release or a cvs version of emc?
[14:09:20] <harty> k this will take me a few minutes not very good with linux
[14:09:47] <Lerneaen_Hydra> brb
[14:13:13] <harty> HAL: ERROR: pin 'encoder.0.phase-A' not found
[14:13:13] <harty> HAL:46: link failed
[14:13:34] <cradek> ok we forgot some stuff
[14:13:40] <cradek> look at the very top of my file
[14:13:51] <cradek> loadrt encoder num_chan=1
[14:14:00] <cradek> this loads the encoder module
[14:14:08] <cradek> also you need a "not" block
[14:14:18] <cradek> so if you already have a loadrt blocks, add "not=1"
[14:14:25] <Lerneaen_Hydra> nothing like having to resort to reboot to be able to unmount drives
[14:15:06] <harty> k
[14:15:29] <cradek> if you don't have a blocks loaded, you'll have to add loadrt blocks not=1
[14:18:56] <harty> does it need the ddt=6
[14:19:14] <cradek> if you don't already have it, no
[14:19:24] <cradek> you just need the not block
[14:19:36] <harty> k
[14:20:34] <harty> that's got it
[14:20:42] <cradek> great
[14:20:57] <cradek> are you using release 2.0.3 or a cvs version you compiled?
[14:21:42] <harty> i think its 2.0.2 the one that's just been released
[14:21:51] <cradek> ok
[14:22:23] <cradek> you won't have g76 then, the new multipass threading cycle
[14:22:35] <cradek> but you can still thread with g33
[14:22:53] <Lerneaen_Hydra> ooh, where's the spec on G76
[14:22:59] <harty> that will do for now
[14:23:15] <cradek> Lerneaen_Hydra: the documentation is only written in C so far...
[14:23:24] <Lerneaen_Hydra> oh, right
[14:23:25] <harty> just keen to get a thread cut
[14:23:28] <cradek> (it's not quite done)
[14:23:47] <Lerneaen_Hydra> is there support for angled lead-out
[14:23:47] <cradek> harty: do you know how to run halmeter?
[14:23:57] <cradek> Lerneaen_Hydra: not right yet
[14:24:05] <harty> havent used it yet
[14:24:26] <cradek> harty: run halmeter at the prompt and let's look at the spindle-pos signal
[14:25:22] <Lerneaen_Hydra> cradek: ok
[14:25:24] <cradek> Lerneaen_Hydra: the rapid lead-out seems to work really well, I cut with it last night
[14:25:40] <Lerneaen_Hydra> cradek: rapid lead out?
[14:26:05] <cradek> yeah it cuts in Z synchronized, then unsyncs and rapids out at the end
[14:26:15] <Lerneaen_Hydra> cradek: what I mean is an angled lead out, so after the main thread you specify an angle or something that will taper off the thread, still synced to spindle
[14:26:17] <cradek> it makes a nice sharp ending on the thread
[14:26:27] <Lerneaen_Hydra> oh, ok, that's different behavior
[14:26:28] <cradek> yes, I understand, it doesn't do that yet
[14:26:39] <harty> whats the commad to run halmeter
[14:26:40] <Lerneaen_Hydra> ok, though that should be doable with g33?
[14:26:44] <cradek> harty: halmeter
[14:26:55] <cradek> Lerneaen_Hydra: yes you can do anything with g33
[14:27:06] <harty> no love there
[14:27:27] <cradek> harty: command not found?
[14:27:32] <Lerneaen_Hydra> cradek: so a g33 section followed by another g33 section will result in a synced crossover from one command to the other?
[14:27:39] <cradek> Lerneaen_Hydra: yes
[14:27:44] <Lerneaen_Hydra> cradek: nice!
[14:28:06] <cradek> Lerneaen_Hydra: that's how my demo in threading.ngc works
[14:28:13] <Lerneaen_Hydra> oh, ok
[14:28:31] <harty> sorry my bad needed to be in a new terminal
[14:28:37] <harty> got it
[14:28:50] <cradek> ok pick the signals tab, pick spindle-pos
[14:29:15] <cradek> this is exponential notation so .5 will be shown as 5.0000e-01
[14:29:38] <harty> brb my daughter has just woken up needs a feed
[14:29:41] <cradek> as you turn the spindle forward, you should see spindle-pos ramp up from 0 to 1 and then reset to 0 and ramp again
[14:29:48] <cradek> ok
[14:37:17] <Lerneaen_Hydra> cradek: how often does it go from 1 to 0 per turn? once? the resolution of the encoder?
[14:37:54] <cradek> every turn
[14:39:01] <Lerneaen_Hydra> so that's the index pulse
[14:39:21] <Lerneaen_Hydra> how much more work is needed to use a hole-disc encoder rather than grey-code?
[14:39:59] <cradek> you just use the counter module instead of the encoder module
[14:40:15] <Lerneaen_Hydra> oh, so a trivial matter really
[14:40:26] <Lerneaen_Hydra> what about a FO jogwheel?
[14:41:18] <cradek> not so trivial
[14:41:48] <Lerneaen_Hydra> haha, ok
[14:42:23] <Lerneaen_Hydra> I'l probably going to bug someone about that later on ;)
[14:51:54] <cradek> I thought you already had bugged us about it plenty of times...
[14:53:07] <cradek> you could rig something using the adaptive feed motion input with enough hal work
[14:53:58] <Lerneaen_Hydra> oh that was just the jogwheel
[14:54:01] <Lerneaen_Hydra> ;)
[14:54:17] <cradek> looks like maybe alex intends to put FO in halui (the comments say it) but it's not there
[14:54:21] <cradek> you'd have to ask him
[14:54:22] <Lerneaen_Hydra> that "enough hal work" is the part I can't do ATM
[14:54:28] <cradek> I'm not sure how it would work
[14:54:39] <Lerneaen_Hydra> since the words themselves are unknown to me
[14:54:47] <cradek> Lerneaen_Hydra: have you read through the whole hal tutorial? it's really good
[14:54:49] <Lerneaen_Hydra> yes I was planning to ask alex later
[14:55:17] <Lerneaen_Hydra> is it seperate from the end user manual?
[14:55:37] <cradek> it used to be, but now it's inside the big user manual
[14:56:15] <harty> back
[14:56:17] <harty> no luck on the spindle pos
[14:56:24] <cradek> what's it show?
[14:56:38] <harty> 0.0000e+00
[14:56:41] <Lerneaen_Hydra> cradek: I have a hardcopy of the version from the 27th may
[14:57:12] <cradek> what parport pins are your encoder lines hooked to?
[14:57:16] <harty> i get a true false on the spindle phase though
[14:57:21] <Lerneaen_Hydra> and it had a bit about hal, though the newer words with things like encoder and so on weren't in it to the extent that I'd be able to config. myself
[14:57:21] <harty> 11 12 13
[14:57:43] <harty> 13 is z
[14:57:47] <cradek> harty: true/false on both lines spindle-phase-A spindle-phase-B?
[14:57:59] <cradek> you might not be able to see the true on spindle-phase-Z, it's too short
[14:59:09] <cradek> oops, I forgot more things, argh
[14:59:09] <harty> yes can see all 3 if im really slow and cos i know the posision for the index
[14:59:16] <cradek> ok that's great
[14:59:31] <cradek> look at my hal file again
[14:59:45] <harty> yep
[14:59:46] <cradek> addf encoder.update-counters base-thread
[14:59:54] <cradek> addf encoder.capture-positionservo-thread
[15:00:04] <cradek> addf not.0 servo-thread
[15:00:19] <cradek> you have to add these three lines in amongst your addf commands
[15:00:36] <harty> k
[15:08:33] <harty> HAL: ERROR: function 'stepgen.capture-position' is not reentrant
[15:09:36] <cradek> check your new lines again
[15:09:51] <cradek> I bet you used copy/paste but didn't change stepgen.capture-position to encoder.capture-position
[15:12:04] <harty> yep i had
[15:12:12] <alex_joni> hello
[15:12:20] <cradek> morning alex
[15:12:25] <alex_joni> heh.. evening all
[15:12:28] <Lerneaen_Hydra> hi alex
[15:12:34] <harty> evening
[15:12:37] <Lerneaen_Hydra> giid afternoon/evening
[15:12:43] <Lerneaen_Hydra> s/giid/good
[15:12:52] <alex_joni> Lerneaen_Hydra: the HAL Documentation is separate from the EMC2 User Manual
[15:13:03] <alex_joni> the EMC2 User Manual only covers part of it
[15:13:28] <cradek> oh? ok
[15:13:37] <alex_joni> and yes, halui will have a feed-override pin (probably today ;)
[15:14:05] <alex_joni> cradek: only the basic part of hal_intro is in emc2_user_manual, the descriptions of drivers & such are of no use to a new user
[15:14:06] <Lerneaen_Hydra> ooh, spiffy
[15:14:14] <jepler> Python program:
http://emergent.unpy.net/files/sandbox/hal_feedoverride_wheel
[15:14:43] <alex_joni> Lerneaen_Hydra: see.. done already
[15:14:52] <alex_joni> use the thing from jeff and presto :)
[15:15:44] <harty> 10cradek:01 that fixed the spindle pos
[15:16:10] <jepler> harty: don't write in colors. On my screen, that came out as black letters on a black background.
[15:16:19] <harty> it counts k
[15:16:31] <cradek> I don't see anything either
[15:16:48] <cradek> oh it counts? cool
[15:16:56] <cradek> does it go from 0 to +1 and then reset to 0?
[15:17:02] <harty> yep
[15:17:07] <alex_joni> harty: cradek: that fixed the spindle pos
[15:17:14] <cradek> cool, you're ready
[15:17:24] <harty> sweeet
[15:17:28] <cradek> now calculate the max rpm you can use before the counting can't keep up
[15:17:39] <cradek> you can have no more than one transition per BASE_PERIOD
[15:18:13] <cradek> you can go over that when you're not threading, it doesn't matter, but when threading you must stay under it
[15:18:23] <harty> k
[15:19:08] <cradek> can you see how to calculate that?
[15:19:42] <harty> no
[15:20:24] <cradek> heh I bet we can figure it out
[15:20:29] <cradek> what's your ppr and BASE_PERIOD?
[15:23:22] <harty> 5000 base period 1000ppr
[15:23:30] <Lerneaen_Hydra> alex_joni or jepler: how do I use the python script?
[15:24:01] <Lerneaen_Hydra> does it make a hal file based on other things?
[15:24:07] <Lerneaen_Hydra> s/other things/parameters
[15:24:13] <cradek> is your scale in the halfile 1000 (so the encoder is 250 line)?
[15:24:48] <alex_joni> harty: 5000 ? or is it 50000?
[15:24:58] <cradek> 50000 I assume
[15:25:23] <Lerneaen_Hydra> A working 5000 system would be... desirable
[15:25:28] <alex_joni> 5000 is 5 usec, which is pretty wild
[15:25:40] <alex_joni> I went down to 7.5, but that was extreme ;)
[15:28:41] <Lerneaen_Hydra> stability was rather bad?
[15:29:26] <alex_joni> Lerneaen_Hydra: it started to be kinda slow
[15:29:34] <alex_joni> and I suspect jitter is a big problem
[15:29:42] <alex_joni> I didn't actually run any iron with it
[15:32:03] <harty> encoder is 250 line 1000ppr
[15:32:16] <cradek> perfect
[15:32:17] <harty> base period is just default
[15:32:25] <Lerneaen_Hydra> alex_joni: what's your current base period?
[15:32:34] <cradek> % units '50000nanosec * 1000/rev' rpm
[15:32:40] <cradek> * 1200
[15:32:54] <cradek> so keep it well under 1200 rpm and you will be in great shape
[15:33:06] <cradek> that's a nice encoder for this use
[15:33:21] <cradek> of course you'll have to go slow enough that your Z axis can keep up too
[15:33:29] <cradek> that really depends on the thread pitch
[15:33:51] <harty> that will bet the killer i think being steppers
[15:33:51] <Lerneaen_Hydra> does emc give an error if the projected speed is over maxvel?
[15:34:17] <cradek> harty: depends - if you're cutting 40tpi all the time, you can turn the spindle pretty fast
[15:34:27] <cradek> harty: you'll just have to do the math and be careful
[15:34:54] <harty> will do some testing and see how it goes
[15:35:01] <cradek> Lerneaen_Hydra: I'm not sure what happens, probably a following error
[15:35:34] <harty> Lerneaen_Hydra: do you use mastercam lathe ?
[15:37:06] <Lerneaen_Hydra> harty: no, for cam stuff I use edgecam
[15:38:08] <harty> does edgecam have lathe functions
[15:38:22] <Lerneaen_Hydra> yes both lathe and mill functionality
[15:38:49] <Lerneaen_Hydra> and lathe + driven tool functionality (C+B axis), two chucks and so on
[15:39:14] <Lerneaen_Hydra> so overkill for simple lathes like this, but I find it to my liking
[15:40:26] <harty> master cam is the same but its a bugger to sort out the post processors
[15:41:02] <harty> was hoping someone might have done the hard work for me:-)
[15:41:26] <etla55> harty: what kind of machine do you have ?
[15:42:51] <harty> the cnc lathe is one of these
[15:42:53] <harty> http://www.lathes.co.uk/qualos/page2.html
[15:43:11] <etla55> does anyone know how to change the max upload size on the wiki ? I would upload pdfs of all the manuals since they are not on www.linuxcnc.org
[15:43:25] <alex_joni> etla55: but they are
[15:43:29] <alex_joni> on linuxcnc
[15:43:42] <alex_joni> but if anything is missing, I'll be glad to put it there
[15:44:29] <etla55> there were requests for the old emc1 integrator and developer docs.
[15:44:52] <etla55> If they were online maybe people would be compelled to fix them little by little...
[15:45:16] <alex_joni> can't fix the pdf's though
[15:45:20] <Lerneaen_Hydra> harty: oh, I see. I've got a working post for edgecam if you want that
[15:45:21] <alex_joni> but I see your point..
[15:45:29] <alex_joni> etla55: I think they are still at sourceforge
[15:45:59] <Lerneaen_Hydra> You'd need to use edgecam to use it though
[15:46:20] <Lerneaen_Hydra> unless mastercam has some type of import functionality
[15:46:35] <harty> Lerneaen_Hydra: that would be great i thik i have a copy of edgecam somewhere
[15:46:35] <alex_joni> etla55:
http://prdownloads.sourceforge.net/emc/emc-docs-1.0.0.pdf.tgz?download
[15:46:39] <etla55> harty: have you retrofitted ballscrews or are the original trapezoidal screws working ok
[15:47:11] <harty> yes it has ballscrews converted it to cnc with parts from one of our surplus photographic printer
[15:47:57] <Lerneaen_Hydra> harty: oh, ok. the code in the post is not very pretty, but it works and I haven't found any bugs in the current version I have
[15:48:39] <Lerneaen_Hydra> You may have to config some threading stuff, I haven't done that yet as I'm to lazy to get threading to work in the hardware on my lathe (retrofit compact 5)
[15:48:56] <Lerneaen_Hydra> though I think that as long as you do longhand stuff it should work
[15:49:08] <Lerneaen_Hydra> toolchange is probably very broken though
[15:49:29] <harty> Lerneaen_Hydra: that's ok i don't have a tool changer
[15:49:56] <Lerneaen_Hydra> ok.
[15:50:04] <etla55> alex: what about automagic pdf generation for the emc2 manuals ?
[15:51:00] <Lerneaen_Hydra> harty: ftp://basic:basic@lerneaenhydra.shacknet.nu
[15:51:08] <Lerneaen_Hydra> the file: EMC2_lathe_no_g33.cgd
[15:51:21] <Lerneaen_Hydra> by the look of the filename I haven't done G33 yet ;)
[15:51:29] <alex_joni> etla55: we'll get there
[15:51:32] <harty> k thanks
[15:51:33] <Lerneaen_Hydra> that's the newest version I have though
[15:51:40] <Lerneaen_Hydra> G33 shouldn't be too hard to add
[15:51:57] <cradek> please put that on the wiki if you get it going
[15:52:02] <alex_joni> etla55: jmk favoured moving the docs into the sourcetree
[15:52:04] <cradek> sounds valuable to others
[15:52:18] <alex_joni> etla55: that way the docs can stay synched with branches and versions
[15:53:18] <etla55> alex: OK, but the documentation has not kept up with 2.0.0 so It's doubtful if they will keep up anytime soon...
[15:53:24] <Lerneaen_Hydra> cradek: the post?
[15:53:34] <alex_joni> etla55: who's they?
[15:53:38] <cradek> Lerneaen_Hydra: yeah don't you think?
[15:53:45] <etla55> the docs
[15:53:53] <Lerneaen_Hydra> cradek: hmm, sounds like a good idea
[15:53:55] <cradek> Lerneaen_Hydra: if you're allowed to share it anyway
[15:53:59] <etla55> alex: can the compile-farm generate the pdfs also ?
[15:54:00] <Lerneaen_Hydra> AFAIK I am
[15:54:35] <alex_joni> etla55: it could
[15:54:50] <cradek> it would be nice to have a scheme that generates them automatically, we'll have to think about that
[15:55:01] <cradek> we haven't worked out any of the details yet
[15:55:24] <Lerneaen_Hydra> cradek: having it on the wiki may be a good idea, if someone else updates it then everyone else can get the new functionality
[15:55:37] <Lerneaen_Hydra> so should I call this v 1.0?
[15:56:31] <Lerneaen_Hydra> where on the wiki would be best?
[15:56:40] <alex_joni> cradek: is there a release info for 2.0.3 ?
[15:56:50] <alex_joni> we need a newsticker for linuxcnc.org and for sourceforge
[15:56:58] <alex_joni> and a source package on sourceforge
[15:57:02] <alex_joni> I'll do that now
[15:57:23] <etla55> cradek/alex: could you remind me how I set up cvs access. I've installed cvs and I have the id_dsa.ppk and .pub files. But where do they go and do I need to activate them somehow ?
[15:58:13] <etla55> probably in the .shh directory ?
[15:58:20] <alex_joni> right
[15:58:30] <alex_joni> the .ppk sounds like a doze key ?
[15:58:45] <etla55> yes it was generated under xp
[15:58:57] <alex_joni> you need to convert it to a ssh-key
[15:59:13] <alex_joni> or generate one directly
[15:59:18] <Lerneaen_Hydra> harty: I'm not sure how good that chips is, I haven't run it and it was mainly as a proof of concept
[15:59:42] <Lerneaen_Hydra> err, or maybe that was someone else
[15:59:50] <SWPadnos> alex_joni, we can put a source .gz on linuxcnc as well
[16:00:03] <alex_joni> SWPadnos: yeah.. but not sure if needed
[16:00:13] <alex_joni> etla55:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl/emcinfo.pl?CVS
[16:00:24] <alex_joni> etla55:
http://sourceforge.net/mailarchive/message.php?msg_id=15301001
[16:00:33] <etla55> thanks
[16:00:36] <SWPadnos> personally, I think that the less we have stuff spread all over the place, the better
[16:00:50] <Lerneaen_Hydra> which also reminds me, I think I have a working mill post for edgecam, though the only testing I've done is loading into AXIS
[16:01:29] <cradek> alex_joni: 2.0.3 is the same as 2.0.2 except I didn't screw it up
[16:01:40] <alex_joni> how about 2.0.2 then?
[16:01:45] <SWPadnos> "the unscrewed version"
[16:01:45] <Lerneaen_Hydra> both the posts are in my ftp now if anyone else wants them
[16:01:45] <alex_joni> anything groundbreaking?
[16:02:02] <alex_joni> * alex_joni is playing with his new phone
[16:02:23] <harty> Lerneaen_Hydra: will have a look at the mill one as well
[16:02:41] <cradek> http://cvs.linuxcnc.org/cvs/emc2/debian/changelog?rev=1.5.2.8
[16:02:54] <jepler> alex_joni: mostly, 2.0.2/2.0.3 have probe_parport which fixes parallel ports we broke in 2.0.1
[16:02:59] <Lerneaen_Hydra> harty: that one is probably much less stable (definetly much less tested, the lathe I've been using for quite some time now)
[16:03:10] <cradek> also, I added the user manual and made a link to it on the gnome menu, forgot to put that in the changelog
[16:03:16] <harty> k
[16:03:30] <alex_joni> jepler, cradek: thanks
[16:05:01] <etla55> so anyone know how to covert the id_dsa.ppk key I have to a format that the ubuntu cvs understands. It was generated with puttygen under winxp
[16:05:15] <alex_joni> etla55: puttygen can convert it
[16:05:27] <etla55> but then I need to reboot ?
[16:05:27] <alex_joni> etla55: I did it once.. let me refresh my memory
[16:05:29] <cradek> also I can add a second key to your cvs account
[16:05:43] <alex_joni> etla55: generate a new one, and send the pub to cradek
[16:05:48] <alex_joni> seems faster/easier
[16:05:54] <etla55> cradek: if that would not be too much trouble I will do that now ?
[16:06:00] <cradek> sure
[16:06:39] <cradek> etla55: please email it to chris@timeguy.com
[16:08:17] <alex_joni> cradek: heh, you made a CNC entry to the menu ;)
[16:08:18] <alex_joni> sweet
[16:08:34] <cradek> jepler finally figured it out
[16:09:07] <etla55> cradek: email sent, let me know when I can start trying to do a checkout
[16:10:38] <etla55> hmm... ubuntu suggests that I update emc2, but the version number is shown as 1:2.0.3 is that right ?
[16:10:41] <SWPadnos> cradek, has it been tested on kubuntu?
[16:10:50] <alex_joni> etla55: that's the last version
[16:10:53] <jepler> SWPadnos: no
[16:10:54] <cradek> etla55: yes
[16:10:54] <alex_joni> 1:2.0.3
[16:10:56] <cradek> SWPadnos: no
[16:11:05] <cradek> etla55: try your ssh now
[16:11:16] <SWPadnos> ok. maybe I'll try that today (unless you're pretty sure it won't work)
[16:11:34] <cradek> SWPadnos: no idea...
[16:12:06] <etla55> cradek: thanks, checkout seems to work, I'll try an update soon
[16:12:21] <cradek> great
[16:13:05] <etla55> do you guys have some custom scripts for working with cvs, or a GUI, or do you just remember the switches and options which go on the command line ?
[16:13:21] <jepler> etla55: commandline here
[16:14:02] <alex_joni> same here
[16:14:06] <cradek> same here
[16:14:16] <cradek> if there are some options you use all the time (update -dP) put them in .cvsrc
[16:14:24] <cradek> my .cvsrc:
[16:14:26] <cradek> cvs -q
[16:14:27] <cradek> update -dP
[16:14:28] <cradek> diff -u
[16:15:01] <etla55> what is the -z5 ?
[16:15:23] <cradek> use compression
[16:15:28] <jepler> "-z5" compresses data as it is transmitted
[16:15:28] <cradek> very important
[16:15:42] <cradek> my .cvsrc should have: cvs -q -z5
[16:15:46] <jepler> it makes it faster because the CVS server is actually on a fairly slow connection (384kbps)
[16:20:53] <etla55> any default options for commit ?
[16:20:56] <alex_joni> -m
[16:21:04] <alex_joni> cvs commit -m "message"
[16:21:10] <alex_joni> nothing else needed
[16:21:29] <alex_joni> and you can leave the -m out, and you'll get an editor to code the commit message
[16:21:53] <etla55> does 'commit' commit everything I have changed or can I specify just one file
[16:22:01] <alex_joni> you can specify
[16:22:12] <alex_joni> by default it commits everything in the current folder and below
[16:22:26] <alex_joni> so a commit in emc2/src won't commit stuff from emc2/docs for example
[16:23:31] <etla55> was there a scratch.txt somewhere ?
[16:23:39] <alex_joni> in documents
[16:23:41] <alex_joni> as a module
[16:23:57] <etla55> right
[16:25:16] <etla55> now...
[16:25:39] <alex_joni> now?
[16:25:46] <etla55> wait for CIA
[16:25:48] <CIA-12> 03awallin 07HEAD * 10documents/scratch.txt: aw testing
[16:28:13] <alex_joni> seems to be working
[16:30:06] <etla55> yes, thanks for the help
[16:33:07] <SWPadnos> ok - I get nice emc2 and emc2 documentation links under lost&found on kubuntu :(
[16:33:25] <cradek> ugh
[16:33:44] <jepler> where did they appear in the last release?
[16:33:52] <cradek> but that's a start - maybe there's just one (stupid xml) file you have to add
[16:34:03] <SWPadnos> same place
[16:34:18] <etla55> anyone know if there is a working flash plugin for firefox ?
[16:34:24] <cradek> yes
[16:34:26] <SWPadnos> I think there is a stupid thing to add, but I haven't found the magic location yet
[16:34:39] <cradek> I think you just install a package from universe
[16:34:50] <harty> wooohooo she cuts threads:-)
[16:34:58] <cradek> SLICK
[16:35:01] <alex_joni> harty: woah.. that was fast
[16:35:19] <cradek> harty: did you use cam or write it by hand?
[16:36:13] <harty> there is a program on the turbo cnc yahoo group that generates the gcode for threads
[16:37:01] <harty> just put in your required perameters and away you go
[16:37:16] <cradek> being compatible with turbocnc is a happy accident
[16:37:33] <cradek> I wonder if they don't have a canned cycle
[16:37:52] <Jymmm> notify A-L-P-H-A
[16:39:00] <cradek> harty: does it feed in at 29 degrees or straight?
[16:39:22] <harty> i think its straight in
[16:39:34] <cradek> ok ours is better :-)
[16:39:40] <Jymmm> A-L-P-H-A you got it?
[16:39:49] <jepler> can you put the generated g-code online somewhere?
[16:40:01] <harty> it is so
[16:40:10] <Jymmm> http://pastebin.ca
[16:40:18] <A-L-P-H-A> Jymmm, yeah.
[16:40:29] <Jymmm> A-L-P-H-A k
[16:40:31] <A-L-P-H-A> and converted it to mp4
[16:40:34] <A-L-P-H-A> now it's 14megs.
[16:40:39] <A-L-P-H-A> instead of your 250~ megs
[16:40:45] <Jymmm> A-L-P-H-A using what?
[16:40:49] <alex_joni> wot's that?
[16:41:01] <A-L-P-H-A> WinAVI mp4 converter
[16:41:17] <Jymmm> A-L-P-H-A quit yer bitchin, you wouldn't have it at all if I didn't record it.
[16:41:27] <A-L-P-H-A> Jymmm... it's ODD.
[16:41:32] <Jymmm> alex_joni How it is made - Cutting Tools
[16:41:59] <A-L-P-H-A> the show in Canada, where it's made, has a woman's voice... very canadian accent... listening to the monotone american guy, kind of sucks.
[16:42:09] <A-L-P-H-A> alex_joni, I'll send you the mp4 version, if you want.
[16:42:15] <alex_joni> A-L-P-H-A: why not
[16:42:25] <Lerneaen_Hydra_> Lerneaen_Hydra_ is now known as Lerneaen_Hydra
[16:43:23] <etla55> alpha: anything interesting in your video ?
[16:43:41] <harty> thanks for all the help guys
[16:43:41] <Jymmm> A-L-P-H-A I got Plastic Mold Injection too, but you whine too much!
[16:46:37] <A-L-P-H-A> etla55, just how they make endmills...
[16:46:45] <anonimasu> Hello, ltns everyone
[16:46:53] <A-L-P-H-A> alex_joni has more bandwidth... maybe he'll put it up on his site.
[16:47:16] <Lerneaen_Hydra> *real* men use h.264 and ogg in an mkv container :p
[16:47:59] <A-L-P-H-A> isn't mp4 = h.264
[16:48:12] <Jymmm> A-L-P-H-A: It's copyrighted and I haven't gotten a reply to my email yet (except canned response)
[16:48:39] <Lerneaen_Hydra> A-L-P-H-A: AFAIK it's just mpeg4
[16:49:07] <A-L-P-H-A> Jymmm, email to what? what'd you ask for?
[16:50:03] <harty> time for bed for me 3am here thanks again for the help
[16:50:03] <Jymmm> A-L-P-H-A a dvd
[16:50:38] <Jymmm> A-L-P-H-A Alright, how do you use this thing? I don't see mp4 as an option
[16:51:20] <Jymmm> A-L-P-H-A oh, did you use the ipod one?
[16:51:22] <etla55> yeah, now I got flash working, got the plugin directly from adobe
[16:51:23] <Lerneaen_Hydra> A-L-P-H-A: what do you want to do?
[16:51:26] <Lerneaen_Hydra> transcode?
[16:52:11] <A-L-P-H-A> Lerneaen_Hydra, I reencoder jymmm's mp2 to mp4...
[16:52:19] <A-L-P-H-A> Lerneaen_Hydra, re-encoded
[16:52:42] <A-L-P-H-A> Jymmm, top left corner, should be a mp4 button
[16:52:44] <A-L-P-H-A> top right
[16:53:17] <Jymmm> A-L-P-H-A: Eh, I installed the wrong application. (why the hell do they have more than one "converter" is beyonf me)
[16:53:39] <A-L-P-H-A> called "pricing point" to maximize profit.
[16:54:18] <A-L-P-H-A> I used to work for embacadero technologies, they had software that was like 90% - 95% the same in two products. Except one sold for $10K, and the other $6K.
[16:54:32] <A-L-P-H-A> we just had lines to disable functions, and change the GUI slightly.
[16:54:40] <A-L-P-H-A> it was gay...
[16:54:53] <A-L-P-H-A> but the marketing guys knew how to sell, so <shrug>
[16:55:02] <A-L-P-H-A> they made money for the company so they could pay me...
[16:55:39] <anonimasu> well, :9
[16:55:39] <Lerneaen_Hydra> bbl
[16:56:10] <Lerneaen_Hydra> if anyone wants the post from my ftp then either do it now or later on today/tomorrow
[16:56:22] <A-L-P-H-A> what post?
[16:56:24] <anonimasu> A-L-P-H-A: if they sold them as one product for 15k no one would have bought ;)
[16:56:35] <Lerneaen_Hydra> edgecam lathe & mill postprocessor
[16:56:47] <A-L-P-H-A> oh
[16:56:49] <Jymmm> A-L-P-H-A mp2 isn't on their "supported format" list. You did use "WinAVI video converter ipod/psp/3gp/mp4" correct?
[16:57:01] <A-L-P-H-A> Jymmm, rename the file to .mpeg, and then convert.
[16:57:13] <Jymmm> A-L-P-H-A oh gawd
[16:57:17] <A-L-P-H-A> works fine afterwards.
[16:57:20] <Lerneaen_Hydra> okay, no new activity. bbl
[16:57:45] <A-L-P-H-A> alex_joni, watched it?
[17:05:45] <alex_joni> A-L-P-H-A: not yet.. was away
[17:05:50] <alex_joni> still need to dl it ;)
[17:54:34] <A-L-P-H-A> Jymmm, how are you doing with that stuff?
[19:03:20] <A-L-P-H-A> I need a nap.
[19:11:50] <les_w> Im about ready to quit for the day, but it's to hot to do much outside.
[19:23:56] <Jymmm> les_w clena out the beer fridge instead =)
[19:26:10] <Jymmm> les_w Be sure to inspect the inside of each and ever bottle too!
[19:35:21] <Jymmm> les_w: There will be a "How many fingers am I holding up" test!
[19:41:35] <Jymmm> les_w: Jsut fyi...
http://www.abrasiveresource.com/
[20:01:27] <alex_joni> jepler: around?
[20:03:15] <alex_joni> jepler: I saw you added a change for axis to show the tool size.. happen to remember where the info comes from?
[20:03:30] <alex_joni> * alex_joni would hate if halui would have to read the toolfile
[20:03:32] <cradek> the tool table
[20:03:42] <alex_joni> argh
[20:03:43] <cradek> it's in the stat buffer I think...?
[20:03:51] <alex_joni> stat sounds better
[20:03:58] <alex_joni> and if it's not, I'll put it there
[20:04:20] <alex_joni> I think reading the tool table from all over the place is a big mistake
[20:04:45] <cradek> class EMC_TOOL_STAT:public EMC_TOOL_STAT_MSG {
[20:04:48] <cradek> ...
[20:04:51] <cradek> CANON_TOOL_TABLE toolTable[CANON_TOOL_MAX + 1];
[20:05:04] <alex_joni> oh.. that tool table
[20:05:17] <cradek> haha
[20:05:17] <alex_joni> I thought you are talking about the tool table file (foo.tbl)
[20:05:25] <cradek> well it comes from there originally
[20:05:33] <cradek> I didn't know exactly what question you were asking
[20:05:35] <Jymmm> * Jymmm hands alex_joni a fermented beverage
[20:05:44] <alex_joni> cradek: you answered it :)
[20:05:55] <Jymmm> * Jymmm hands alex_joni a [fermented|distilled] beverage
[20:06:04] <cradek> I guess I answered several questions that were all spelled the same
[20:06:35] <alex_joni> beeing psychological?
[20:06:46] <Jymmm> -logical
[20:07:39] <Jymmm> alex_joni: There's a method to cradek's madness.
[20:07:51] <cradek> there is??
[20:08:09] <alex_joni> hmm.. really?
[20:08:13] <Jymmm> cradek: Yes, be we have yet to determine WHAT that acutally may be.
[20:08:58] <alex_joni> heh
[20:09:02] <alex_joni> good luck
[20:09:34] <Jymmm> alex_joni No luck required, we just don't care/want to know what it is. If it ain't broke, don't fuck with it!
[20:09:49] <alex_joni> thought you said it is :)
[20:10:39] <Jymmm> I said htere was a method, but we just dont' care/want to know what it is =)
[20:11:07] <alex_joni> let's leave it then :)
[20:11:19] <Jymmm> It's like suasage... you might love it, but you really don't want to know how it's made or whats in it.
[20:13:04] <Jymmm> Damnit, I dont WANT to buy a belt/disc sander - I got no room for the thing.
[20:19:09] <Jymmm> What do you guys think of this?
http://sfbay.craigslist.org/sby/tls/189095197.html
[20:53:22] <robin_sz> meep?
[20:57:04] <robin_sz> today, I have to thank the world for Americans ...
[20:57:15] <robin_sz> http://www.porkolt.com/crash/first/snow/first-snow-crashes-1797.html
[20:57:57] <robin_sz> for being so funny :) ... why do thye keep getting out of the cars?
[21:15:29] <les_w> hi robin
[21:15:49] <les_w> they are bailing because of the airbag injury thing i'll bet
[22:25:47] <Lerneaen_Hydra> 'lo again
[22:26:16] <anonimasu> wb
[22:30:50] <alex_joni> hi
[23:08:00] <CIA-12> 03alex_joni 07HEAD * 10emc2/src/emc/usr_intf/halui.cc:
[23:08:00] <CIA-12> feed-override support. for now FO can be set using an encoder (or some other
[23:08:00] <CIA-12> counting device: e.g. a counter and 2 up/dn buttons) which generates a count.
[23:08:00] <CIA-12> The count - last count * scale + current-FO gives the new FO request (clamped
[23:08:00] <CIA-12> between 0 and MAX_FEED_OVERRIDE). An output pin tells the current FO value
[23:13:34] <Lerneaen_Hydra> alex_joni: ooh, sounds nice
[23:14:11] <davidf> hi
[23:14:16] <Lerneaen_Hydra> hi
[23:14:30] <Lerneaen_Hydra> alex_joni: I'll have to bug you some other time though
[23:14:37] <Lerneaen_Hydra> it's late here in borkland
[23:14:50] <alex_joni> same here
[23:14:57] <alex_joni> we're bork++ :)
[23:15:04] <alex_joni> GMT+3 right now
[23:15:12] <Lerneaen_Hydra> +3? oh dear
[23:15:31] <alex_joni> +2 usually
[23:15:35] <Lerneaen_Hydra> I'm utc+2
[23:15:36] <alex_joni> but GMT has no summer time
[23:15:41] <Lerneaen_Hydra> oh, right
[23:15:53] <Lerneaen_Hydra> so that would make me utc+3 right now
[23:16:19] <alex_joni> anyways... we're sweden+1
[23:16:33] <Lerneaen_Hydra> ok
[23:16:39] <alex_joni> oh.. btw, I set up a nice map :)
[23:16:43] <Lerneaen_Hydra> map?
[23:16:47] <alex_joni> with places I've been to
[23:17:06] <Lerneaen_Hydra> oh, nice! IRL or web-based?
[23:17:26] <alex_joni> www.frappr.com/alextravels
[23:17:30] <alex_joni> iirc
[23:18:06] <davidf> Hey anyone. does any of you know which speed and acceleration parameters are used immediately following a homing operation, during the time that the machine is moved to the home offset position, after the home switch has been detected? (The last part of the homing?)
[23:18:10] <Lerneaen_Hydra> that's quite a lot of places
[23:18:28] <alex_joni> davidf: yeah.. but I need to look it up in the manual
[23:18:45] <Lerneaen_Hydra> alex_joni: even a visit in borkland.
[23:19:08] <Lerneaen_Hydra> but I'd better get some sleep now
[23:19:13] <alex_joni> davidf: max_vel
[23:19:15] <Lerneaen_Hydra> 'night
[23:19:23] <alex_joni> night
[23:19:25] <davidf> My machine tries to go super fast to the home offset. I checked the manual, and tried lots of things before asking, but nothing I do seems to affect it.
[23:19:45] <alex_joni> davidf: change the axis_* max_vel to be lower
[23:19:55] <davidf> Probably just a dumb mistake, but I'm not able to figure it out (at least mnot yet.)
[23:20:20] <davidf> Did that. no effect.
[23:20:35] <davidf> I'll try again just to be sure.
[23:20:56] <alex_joni> ok
[23:21:05] <alex_joni> maybe lower the max_vel in TRAJ aswell
[23:21:23] <davidf> ok.
[23:21:24] <alex_joni> what are your HOME_OFFSET and HOME values?
[23:22:02] <davidf> h offset=13.0 home = 0.0
[23:22:27] <alex_joni> ok, so it will have an G0 x0 at the end of homing
[23:22:32] <alex_joni> assuming this is X
[23:23:50] <davidf> yes . It will travel 13.0 inches to x=0.
[23:24:49] <davidf> I lowered both params you suggested, no effect still races 1/4 inch super fast. and the stops with a following error.
[23:25:54] <alex_joni> are you using steppers?
[23:26:01] <davidf> It was working fine before, till I made some changes to fix stalling (lowered acceleration) but now it is doing this stuff.
[23:26:10] <davidf> yes, steppers.
[23:26:33] <alex_joni> odd.. can you pastebin.ca the ini?
[23:26:34] <davidf> I can do rapids at 73 in/sec on all axes.
[23:27:06] <alex_joni> 73 in / sec ??
[23:27:25] <davidf> sorry, /min. !!!
[23:27:30] <alex_joni> phew
[23:27:39] <alex_joni> * alex_joni got a bit scared
[23:27:40] <alex_joni> :D
[23:27:45] <davidf> right. oops.
[23:27:58] <alex_joni> I've seen machines that fast though.. scary
[23:28:06] <Jymmm> 4380 in/minute
[23:29:29] <davidf> The huge one where I used to work goes amazingly fast. It hit a guy once. 5 foot by 12 foot table. Ouch. He didn't slow it down much, as you might imagine.
[23:30:10] <davidf> OK I'll put this up. Give me a minute to figure out how.
[23:30:24] <alex_joni> open an editor (gedit for example)
[23:30:32] <davidf> done
[23:30:33] <alex_joni> select all, copy, etc
[23:30:45] <davidf> k
[23:32:33] <davidf> http://pastebin.ca/115953
[23:33:02] <davidf> It's there. It has the couple changes you asked for.
[23:34:03] <alex_joni> I think you still have 10 IPS on X
[23:34:11] <jmkasunich> yep
[23:34:11] <alex_joni> that's 600 IPM
[23:34:19] <alex_joni> quite fast :)
[23:34:22] <alex_joni> hi john
[23:34:24] <davidf> Oh... hang on.
[23:34:51] <jmkasunich> homes obey only the [AXIS_N] limits, not the [TRAJ] limits
[23:34:53] <jmkasunich> hi alex
[23:35:24] <davidf> what section are you refering to ?
[23:35:25] <alex_joni> homes obey the joint limits :)
[23:35:29] <alex_joni> AXIS_0
[23:35:34] <alex_joni> MAX_VEL = 10
[23:35:48] <jmkasunich> MAX_VELOCITY = 10 (nitpick)
[23:35:59] <davidf> oh shoot. That one is inch / second isnt it?
[23:36:02] <alex_joni> * alex_joni has a short memory
[23:36:05] <alex_joni> davidf: right
[23:36:11] <davidf> darn!
[23:36:16] <jmkasunich> all velocities in the ini file are units/second
[23:36:24] <jmkasunich> all accels in the ini file are units/sec^2
[23:36:37] <davidf> how come?
[23:36:45] <davidf> not that it matters.
[23:36:55] <alex_joni> easier during tuning
[23:36:58] <alex_joni> I guess
[23:37:08] <davidf> except it does get confusing for the uninitiated.
[23:37:14] <jmkasunich> because seconds are the standard unit of time for every technical field in the world (except for machining)
[23:37:33] <davidf> of course.
[23:38:32] <jmkasunich> anyway, if you are happy with the 1.22 inches/sec velocity you have in TRAJ, I would change [AXIS_n] MAX_VELOCITY to 1.22 or 1.3 or so
[23:39:01] <jmkasunich> and change [AXIS_n] STEPGEN_MAXVEL to a little higher thant that, like 1.3 or 1.35
[23:39:26] <davidf> I used to work in medical research. The convention for graphing brain waves is negative up. Apparently someone early on didn't want to acknowledge their mistake, or else they had all become so used to seeing it upside down, they thought that was better.
[23:39:39] <jmkasunich> lol
[23:40:07] <davidf> exists to this day.
[23:40:11] <alex_joni> lol
[23:40:15] <alex_joni> same as inches
[23:40:24] <jmkasunich> :-P
[23:40:43] <alex_joni> probably not going anywhere either..
[23:40:47] <jmkasunich> inches are the one true unit!
[23:40:48] <davidf> right. divide some guy's size 12 up into 12 pieces, and measuere the kingdom.
[23:40:52] <alex_joni> * alex_joni thinks of mills & co.
[23:41:31] <alex_joni> it feels odd to have bodyparts as units
[23:41:56] <davidf> Well, you wouldn't want to be without your unit.
[23:42:06] <alex_joni> my mm?
[23:42:13] <alex_joni> :D
[23:42:13] <davidf> ha!
[23:42:21] <alex_joni> * alex_joni lives in metric land
[23:46:17] <davidf> That did it. Thanks guys.
[23:46:27] <alex_joni> np
[23:46:30] <jmkasunich> happy to help
[23:47:43] <davidf> That homing switch setup really is nice. I'm going to try to draw it up and post it as promised. Can I get the link to the wiki, and what format for the scematic would you suggest?
[23:48:05] <davidf> (schematic)
[23:48:29] <davidf> Does Breezy have a PDF format writer?
[23:48:30] <alex_joni> any you like, but export as picture too
[23:48:37] <alex_joni> I think so
[23:48:45] <alex_joni> pdf is fine too
[23:49:07] <alex_joni> you can always print to postscript, and run it through gs
[23:49:12] <davidf> What about DXF?
[23:49:44] <alex_joni> sure, standard enough
[23:50:05] <alex_joni> wiki.linuxcnc.org btw
[23:50:19] <davidf> That's the simplest for me. Maybe I'll make a PC layout as well.
[23:50:49] <davidf> Thanks alex_joni
[23:51:07] <davidf> and jmkasunich
[23:51:10] <alex_joni> davidf: np
[23:51:19] <jmkasunich> you're welcome
[23:52:06] <davidf> Going to get to work on the drawing now. See ya.
[23:52:15] <alex_joni> g'night