#emc | Logs for 2009-07-15

Back
[00:28:19] <Goslowjimbo> SWPadnos: I got the SPI to talk to my I/O card. Can't get an output to work, but I can tell when I reset the WD!
[00:28:28] <SWPadnos> cool!
[00:29:27] <Goslowjimbo> So now I assume I am the correct read and write addresses, but I'm doing something else wrong.
[00:29:57] <SWPadnos> so you can tell when you reset the WD on the 5i20, or on your card?
[00:29:59] <Goslowjimbo> am / am using
[00:31:14] <Goslowjimbo> On the I/O card, I think. It's the one in the read back in the bit train on the raw.read_data
[00:31:29] <SWPadnos> ok, sool
[00:31:31] <SWPadnos> cool
[00:32:11] <Goslowjimbo> I've just got D0 hooked up, but I couldn't drive it for some reason.
[00:32:22] <SWPadnos> hmmm. isolated inputs?
[00:33:14] <Goslowjimbo> Yes, the number escapes me right now, but it's the one with 24 in, 24 out
[00:33:26] <SWPadnos> ok, the Mesa 7I64?
[00:33:34] <Goslowjimbo> sounds right
[00:34:50] <Goslowjimbo> I've got a single led, 1K Resistor, and the I/O card on a 5 volt supply.
[00:36:21] <SWPadnos> the LED and resistor are on an output though, right?
[00:36:30] <SWPadnos> what are you using to drive the input?
[00:36:33] <Goslowjimbo> +5 goes to P2-1, and P2-2 goes to the resistor.
[00:37:07] <Goslowjimbo> I'm not driving any inputs right now.
[00:37:36] <SWPadnos> oh duh. for some reason I thought you said you couldn't get an input to work :)
[00:37:39] <Goslowjimbo> P2 -1 and -2 are the first output
[00:38:24] <Goslowjimbo> haven't tried the inputs yet
[00:39:57] <SWPadnos> do you have P2-2 connected to ground?
[00:40:09] <Goslowjimbo> Never did see anything on the scope, but I read the WD back.
[00:40:38] <SWPadnos> the output is like a switch, it's isolated from the ground and supply
[00:40:50] <Goslowjimbo> no, P2-2 goes to the resistor, then to the led then to ground.
[00:40:56] <SWPadnos> ok
[00:41:23] <Goslowjimbo> If I short the terminals, I get light.
[00:46:15] <SWPadnos> when you write to the output address (address 0x0000), is the readback correct?
[00:49:19] <Goslowjimbo> I'm not sure what you're calling readback. The only read I know of is the raw.read_data. It is either all Fs if Im not set up right, 0xff000000 if the WD is set, or 0xf7000000 if WD is clear.
[00:49:31] <Goslowjimbo> If my memory is working well tonight.
[00:50:09] <SWPadnos> you can also read back the output register, and it should be whatever the last value you wrote was
[00:51:02] <SWPadnos> so if you write 0x08555555, you should read back the same value later
[00:51:11] <SWPadnos> (and if the outputs work, every second one wil be on)
[00:51:15] <SWPadnos> will
[00:52:01] <Goslowjimbo> So this is a 7i43 function, then?
[00:52:05] <SWPadnos> no
[00:52:11] <SWPadnos> it's in the 7i64 manual
[00:52:39] <SWPadnos> REGISTER 0x0000: 32 BIT ISOLATED DATA-OUT
[00:52:41] <SWPadnos> The data out register controls the 24 isolated outputs. A one bit in the data-out
[00:52:42] <SWPadnos> register turns the corresponding output switch on. Only the least significant 24 bits control
[00:52:44] <SWPadnos> outputs. Bit 27 (WHB) has a special function, when set it clears the watchdog-has-bitten
[00:52:45] <SWPadnos> status bit. Whenever the watchdog has bitten, this bit must be cleared to resume normal
[00:52:47] <SWPadnos> operation. Reads from the data-out register will return the last written data. Note that this
[00:52:48] <SWPadnos> register only supports 32 bit operations, accesses with other data sizes will result in
[00:52:50] <SWPadnos> undefined operation.
[00:57:22] <Goslowjimbo> But isn't the offset of the 7i43 added to that to yield a raw.read_address of 0x500c?
[00:57:37] <SWPadnos> I don't think so
[00:57:46] <SWPadnos> I was wondering if there was an addressing issue :)
[00:58:18] <SWPadnos> I haven't used it, but I think the deal is that you have one address to deal with in the 7i64, which is sent via SPI
[00:58:41] <SWPadnos> the address you use to send that data is separate, and is a function of the card you'r eusing (7i43, 5i20, bit-banging on the parallel port ...)
[00:58:55] <Goslowjimbo> pcw was telling me he was turning lights on and off with his little batch file. I copied his batch file addresses.
[00:59:13] <SWPadnos> can you pastebin that batch file again?
[00:59:24] <Goslowjimbo> I'll try to find it.
[01:00:39] <Goslowjimbo> http://pastebin.com/m64f82c2e
[01:01:25] <SWPadnos> ok. note that the address used for all the writes to the 7i64 are done with address 500C
[01:01:39] <SWPadnos> as are the reads
[01:01:47] <Goslowjimbo> tight
[01:01:52] <SWPadnos> 1104 and 1204 are used to set up the SPI parameters
[01:01:55] <Goslowjimbo> uhh right
[01:01:59] <SWPadnos> heh
[01:02:47] <SWPadnos> as far as I know, you don't get address 0x0004 on the 7i64 by reading address 5010 (500C + 0004) on the 7i43
[01:03:07] <SWPadnos> you write a new address to 500c, then read 500c again
[01:03:29] <Goslowjimbo> No, I'm sure it's not linear.
[01:04:07] <SWPadnos> ok. then I misunderstand what you mean by asking if the offset of the 7i43 gets added to the 7i64 address somehow
[01:04:13] <Goslowjimbo> Don't you write the new data (output) to 500c?
[01:04:49] <SWPadnos> everything to or from the 7i64 goes through address 500c, once the SPI block has been set up (by the two writes to 1104 and 1204)
[01:05:51] <Goslowjimbo> Yes. but all you send then is the data words for outputs and receive the data words for inputs. (plus some status)
[01:07:54] <SWPadnos> oh hmm. I should probably look at the SPI section of the manual rather than the LBP section
[01:08:00] <Goslowjimbo> Actually, we're both ignoring the bit frame setup and bit rate setup,
[01:08:23] <SWPadnos> yep, I just noticed thosem the wrotes to 510C and 520C
[01:08:40] <SWPadnos> huh. nice typos I've got there
[01:09:04] <Goslowjimbo> we both need our keyboards fixed.
[01:13:14] <SWPadnos> what confuses me about the batch file is that there is never a write with a value starting with 0xB - ie no read commands
[01:14:07] <SWPadnos> but it's time to go watch a movie, so have fun with it without me :)
[01:15:43] <Goslowjimbo> the read function happens on the tail end of every write on the 7i64.
[01:16:09] <Goslowjimbo> It's time for me to fold also.
[02:55:03] <cradek> jepler: I made a dozen or so - they look great
[02:56:30] <jepler> cradek: did you get the spot drill how you wanted it?
[02:56:34] <cradek> yes
[02:56:34] <jepler> did you do the second mounting?
[02:56:38] <cradek> no
[02:56:49] <cradek> I want to run all of them before I change the setup
[02:57:22] <jepler> I think I'll use a dozen right off the bat (3 boards to mount at 4 each)
[02:58:31] <jepler> maybe some evening next week I can run parts for awhile?
[03:04:13] <cradek> sure, I want quite a few of these
[03:04:25] <cradek> although, you press R, wait 2 minutes, get part, press R
[03:04:49] <cradek> in all seriousness we could just add a loop around it
[03:04:51] <jepler> sounds about at my level of competence
[03:05:12] <jepler> the hard part is "try to remember to be attentive, for when something goes wrong", though, and I suck hard at that
[03:05:30] <cradek> push R, wait 24 minutes, find the dozen parts that may or may not be in the part chute
[03:05:44] <cradek> yeah it's hard.
[03:07:26] <cradek> btw, for lathe - entry is X then Z - exit is Z only to clearance plane
[03:07:46] <cradek> I changed the tool change position, and then the parting tool flew away
[03:08:06] <cradek> it was one of those diagonal entries that assumed the tool was in front
[03:08:20] <cradek> anyway, it's fixed now
[03:10:17] <jepler> good
[03:11:12] <jepler> damaged the parting tool?
[03:11:21] <cradek> it is no more
[03:11:38] <cradek> but I had another one
[03:11:57] <cradek> totally my fault - I was an idiot and changed something but didn't recheck all the entries
[03:12:41] <jepler> where did you move the toolchange position? closer to Z0?
[03:12:54] <cradek> X0 and nearer in Z
[03:13:03] <cradek> the X change was what killed it
[03:13:23] <cradek> it was at X+ all the way
[03:13:29] <jepler> er, right
[03:13:41] <jepler> I still get X and Z backwards
[03:14:27] <cradek> I also edited out a lot of wasted motion - took maybe 30 seconds off
[03:14:55] <jepler> but it's still 2 minutes per?
[03:14:58] <jepler> hmph.
[03:14:59] <cradek> yes
[03:15:01] <SWPadnos> making standoffs?
[03:15:06] <jepler> it's such a tiny piece, how can it take so long?
[03:15:09] <cradek> if I was making a huge number, I'd speed up the drill/tap
[03:15:38] <cradek> heck - could speed up all of it by half (3000 rpm instead of 2000)
[03:15:41] <cradek> SWPadnos: yeah
[03:15:56] <SWPadnos> ah
[03:16:06] <SWPadnos> because you can or because you can't find ones you like? :)
[03:16:21] <cradek> the latter
[03:16:23] <cradek> or, both
[03:16:48] <SWPadnos> heh
[03:17:28] <SWPadnos> I'm finding that MSC is about as expensive as "anywhere else", after I apply a 35% discount code
[03:17:34] <cradek> yep
[03:17:43] <cradek> guess why you have a 35% discount code
[03:17:58] <SWPadnos> yeah
[03:18:13] <SWPadnos> I get a new code about every other day, so maybe I'll wait for a better one
[03:18:22] <cradek> fwiw, enco is currently 10% off plus free shipping
[03:18:38] <cradek> at $99
[03:18:51] <SWPadnos> hmm. I should see if they have the right jacobs flex collet
[03:18:57] <SWPadnos> that's in the $50-75 range
[03:19:07] <cradek> what's a jacobs flex collet?
[03:19:09] <Jymmm> topic topic topic
[03:19:13] <cradek> I know what jacobs is, and what collets are
[03:19:22] <SWPadnos> the rubber thingy that goes inside a tapmatic tapping head
[03:19:30] <SWPadnos> rubber and steel that is
[03:19:34] <Jymmm> collet
[03:19:36] <cradek> oh, those suck
[03:19:40] <cradek> why do they cost so much?
[03:19:53] <SWPadnos> maybe it's hard to mix rubber and steel
[03:20:16] <cradek> they do work surprisingly well...
[03:20:16] <Jymmm> I have one of each
[03:20:34] <cradek> I only have one size, and I make size adapters for overly small taps
[03:20:44] <SWPadnos> this is an overly big tap :)
[03:20:55] <Jymmm> > 1/4" ?
[03:21:05] <SWPadnos> the collet I have is the smaller size for this tapmatic
[03:21:06] <SWPadnos> 19mm
[03:21:07] <cradek> big enough and it'll probably just center itself
[03:21:40] <cradek> wow, I'd sure run that by hand
[03:21:41] <SWPadnos> http://www.use-enco.com/CGI/INSRIT?PMAKA=240-2655&PMPXNO=4839997&PARTPG=INLMK32
[03:21:46] <cradek> how slow a speed do you have?
[03:21:51] <SWPadnos> same price as MSC for that
[03:21:57] <SWPadnos> 60 RPM I think
[03:22:03] <Jymmm> 6 RPM
[03:22:33] <SWPadnos> but the head should make it work well, even with hand downfeed
[03:22:56] <Jymmm> SWPadnos: which tapmatic do you have?
[03:23:08] <SWPadnos> 30TC/DC, 50 TC/DC, and 70X
[03:23:31] <cradek> $64! that's amazing.
[03:23:37] <Jymmm> irc I have the 30x
[03:24:03] <SWPadnos> I had a 90TC/DC as well, but I sold it at the CNC workshop a couple of years ago - it's too heavy to use in a Bridgeport
[03:25:13] <cradek> goodnight
[03:25:31] <SWPadnos> see ya
[03:26:18] <Jymmm> msc uk
[03:26:19] <jepler> 'night
[03:26:21] <Jymmm> interesting
[03:26:38] <Jymmm> http://www.mscjlindustrial.co.uk/
[03:29:10] <Jymmm> anyone have a 4" solenoid? http://blogs.pcworld.com/tipsandtweaks/WindowsLiveWriter/TimeKillerQuickChangeArtist_99DE/spud%5B5%5D.jpg
[03:30:00] <SWPadnos> oh man
[03:31:40] <Jymmm> I dont see any solonoids on it though
[03:33:54] <Jymmm> oh man... google voice's spech to text isn't half bad.
[03:33:59] <Jymmm> speach
[03:34:10] <Jymmm> speech
[03:34:27] <SWPadnos> hmmm
[03:35:02] <Jymmm> I left myself a VM, and got the email as audio and text
[03:35:15] <SWPadnos> huh. got any invites?
[03:35:23] <Jymmm> I think it's open now.
[03:35:44] <Jymmm> https://www.google.com/voice
[03:36:04] <SWPadnos> it says it's available by invite only
[03:36:15] <SWPadnos> oh, but you can ask for them
[03:36:17] <SWPadnos> how silly
[03:36:52] <SWPadnos> and they'll let me know when they open it up to more users
[03:37:15] <Jymmm> SWPadnos: I dont see invites, let me look
[03:37:24] <SWPadnos> ok, thanks
[03:40:41] <Jymmm> I dont see it, you should ask for an invite
[03:40:53] <SWPadnos> did that
[03:41:43] <Jymmm> SWPadnos: When you get the invite, go into settings and disable SMS or it'll text you every time a call comes in.
[03:42:09] <SWPadnos> good dea. they cost me $0.40 or $0.25 each
[03:42:12] <SWPadnos> idea
[03:43:26] <Jymmm> SWPadnos: I think you need to change settings in two places. 1) general settings, 2) Mobile detailed settings.
[03:43:44] <SWPadnos> hopefully I'll remember when/if they ever get back to me
[03:44:19] <Jymmm> SWPadnos: After the first time they text you, you'll remember
[03:44:27] <SWPadnos> I'm thinking about getting a new cellular plan, and changing numbers once (to a google voice number) would be nice
[03:44:59] <SWPadnos> I know I can do LNP, but I don't know how that wrorks across LATAs or state lines etc (if we ever decide to move)
[03:45:26] <Jymmm> SWPadnos: When you setup your google number, you can 1) choose an area code, and/or put in words like "FuckOff"
[03:45:37] <Jymmm> and it'll tell you what's available
[03:45:37] <SWPadnos> and of course it's hard to try out a new service and then cancel it if you port your number
[03:45:59] <Jymmm> SWPadnos: It'll ring every phone you setup if you like
[03:46:00] <SWPadnos> cool
[03:46:03] <SWPadnos> right
[03:46:06] <SWPadnos> I know about that one
[03:46:24] <SWPadnos> I'd use it more as a permanent number at first
[03:46:30] <Jymmm> Then if you are at home and want to take the call on cell, press *
[03:46:45] <SWPadnos> ?
[03:46:58] <SWPadnos> if I've taken the call at home and want to switch to cell, press * on the home phone?
[03:47:30] <SWPadnos> (at which time presumably google calls my other numbers again)
[03:47:48] <SWPadnos> oh there it is, call switch
[03:47:57] <Jymmm> SWPadnos: You setup your home, work, mobile numbers, and someone calls your google number you answer your home phone, now you want to get in the car, press * on home home and all your other setup phones ring and you can continue the convesation
[03:48:15] <SWPadnos> that
[03:48:18] <SWPadnos> that's way cool
[03:49:50] <Jymmm> you can even say when a phone rings... weekdays, weekends, none, all, custom
[03:50:27] <Jymmm> SWPadnos: http://www.google.com/support/forum/p/voice/thread?tid=7c63838aae334fe3&hl=en
[03:51:03] <ds3> blah
[04:02:04] <Jymmm> SWPadnos: OMG.... When you play the audio of a VM (browser), the words of the VM are underlined, like kareokey
[04:02:08] <Jymmm> lol
[04:02:37] <SWPadnos> funny
[04:02:48] <SWPadnos> I woinder how quick the transcription is
[04:02:53] <SWPadnos> -i
[04:03:13] <Jymmm> Eh, not THAT fast, but you get an email of the transcript
[04:03:29] <SWPadnos> I'm thinking about possible uses for my mostly deaf father
[04:03:50] <SWPadnos> like real-time transcription to an Android phone or something
[04:04:21] <Jymmm> It'll text a transcript of the VM to you mobile phones
[04:04:46] <SWPadnos> right. that's not realtime enough for a conversation
[04:05:06] <SWPadnos> but it is good in that someone can leave a VM and have it magically turn into an SMS/email
[04:05:52] <Jymmm> yep
[06:39:25] <renesis> guys my steppers are doing this weird oscillation thing
[06:39:50] <renesis> like during a drill, the Y will take make 6 or 8 steps one direction
[06:39:54] <renesis> and go back
[06:40:10] <renesis> other time they will be fine
[07:10:15] <renesis> guys i think its coming from the emc
[07:10:22] <renesis> or at least the pc
[07:10:34] <renesis> it goes away when i unplug the parport =\
[07:11:50] <renesis> its doing this back and forth typewriter sound
[07:12:43] <renesis> moving about 3 mil
[07:12:48] <renesis> oh its the program
[07:12:59] <renesis> zero was flashing negative signs for X and Y axis
[07:13:04] <renesis> like it couldnt decide
[07:13:09] <renesis> i watched it for 5min
[07:13:33] <renesis> i dont think it was crawling, just moved back and forth over the same 3mil
[07:13:41] <renesis> it does this other plac es besides zero tho
[07:13:54] <renesis> like it would wobble during drills
[07:14:10] <renesis> i hit stop on the program during an m0 and it went away
[07:14:30] <micges> renesis: what kind of stepper generator? software ,mesa ?
[07:17:07] <micges> sorry stupid question, you're using parport :P
[07:26:45] <renesis> its a xylotex
[07:27:13] <renesis> its something emc is doing
[07:30:28] <renesis> hm2: fixed a bug that would cause the stepgen to oscillate by one step when the scale was negative
[07:30:31] <renesis> wat
[07:55:53] <toastydeath> renesis: is your table loose
[07:56:12] <toastydeath> I have a machine with gibs in poor condition, and the X axis occilates by ~10 thou to try and keep a handle on it
[08:04:51] <Jymmm> SWPadnos: http://www.myri.com/myrinet/PCI64/m3s-pci64b.html
[08:05:07] <Jymmm> SWPadnos: M3S-PCI64B-2
[08:15:36] <renesis> toastydeath: its open loop
[08:15:42] <renesis> thats why its weird =(
[08:16:36] <archivist> most likely an earth/ground connection loose and electrical noise getting in
[08:17:47] <toastydeath> oh snap.
[08:19:03] <Jymmm> or crappy paraport able
[08:19:06] <Jymmm> cable
[08:21:43] <renesis> archivist: it stopped when it hit stop in acix
[08:21:46] <renesis> axis
[08:21:55] <Jymmm> can anyone think of a use for a 32 port serial card?
[08:21:56] <renesis> i was doing it during a pause
[08:22:13] <renesis> and X0 and Y0 were like flashing the - sign
[08:22:22] <Jymmm> renesis: try replacing your paraport cable
[08:22:24] <renesis> *it was
[08:22:52] <renesis> why would it go away when i hit stop
[08:23:12] <Jymmm> renesis: Also, there's no need to hit enter after every sentence. You can write a whole paragraph or two.
[08:23:30] <renesis> my terminal is only 20 char long
[08:23:43] <Jymmm> so?
[08:23:52] <archivist> noise stops as well!
[08:23:54] <renesis> its a joke
[08:24:00] <renesis> it was funny!
[08:24:05] <Jymmm> talking like
[08:24:07] <renesis> archivist: okay maybe
[08:24:09] <Jymmm> this gets
[08:24:13] <Jymmm> really annoying
[08:24:15] <Jymmm> after a
[08:24:17] <renesis> well
[08:24:18] <Jymmm> while if
[08:24:20] <renesis> i wasnt
[08:24:20] <Jymmm> you know
[08:24:23] <Jymmm> what I
[08:24:25] <Jymmm> mean ?
[08:24:25] <renesis> youre kinda
[08:24:27] <archivist> wot!
[08:24:28] <renesis> exagerating
[08:24:34] <Jymmm> renesis: No, I'm not.
[08:24:51] <renesis> okay ill make a whole sentence out of correcting my typo next time
[08:27:49] <renesis> also if it was noise i dont think it would always return the same exact number of steps
[08:37:23] <archivist> if the noise is of a fixed nature...
[08:37:35] <renesis> no cmon everytime?
[08:38:00] <renesis> it sat there and did this for like 5min before i moved it, it always goes back
[08:39:59] <renesis> cycle paused, the - sign for X and Y in axis would flash, and it would bounce forward a couple steps at a time, maybe 6 or 8 steps, then go back all at once
[08:40:18] <Jymmm> it's a VERY easy test to confirm/deny it being an issue.
[08:40:21] <renesis> soon as i hit cycle stop the - signs stopped flashing and the steppers stopped
[08:41:54] <renesis> and how would changing the cable stop the noise if this one is adequately shielded
[08:44:10] <renesis> theres an app probably to see step/dir pulses on my parport?
[08:45:42] <renesis> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Eagle2HAL
[08:45:44] <renesis> haha what
[08:46:25] <renesis> neat
[08:46:37] <pjm> archivist re what i was talking about last night with EMC blending G00 moves, http://pjm.dyndns.org/cam/g00.gif
[08:47:18] <archivist> pjm, did you sort it?
[08:47:31] <pjm> no i tried the g61 but the gcode isnt supported
[08:48:02] <archivist> in the cam?
[08:48:04] <renesis> guys is there some gui thing to watch my parport?
[08:48:13] <archivist> halscope
[08:48:22] <renesis> * renesis imagining something with little fakey leds
[08:48:25] <renesis> hmm, k
[08:48:38] <pjm> archivist no i tried manually entering the MDI commands to test it but the code were not supported
[08:50:22] <renesis> neat
[08:50:32] <renesis> halscope has roll mode \o/
[08:51:49] <archivist> pjm, g61 is accepted here, what are you using some other sh
[08:52:46] <pjm> ah interesting, what ver of emc2 u running?
[08:52:55] <archivist> 2.2.8
[08:52:56] <pjm> i tried it in the MDI and it was not supported
[08:52:59] <pjm> ahh i'm on 2.3.2
[08:53:28] <archivist> I cant see it being removed... check manwell
[08:59:56] <pjm> ok i have read and understood the g61 text, i will redo from start
[09:06:38] <EbiDK> EbiDK is now known as EbiDK|AWAY
[09:06:45] <micges> pjm: if both moves are G0, your gif shows buggy behaviour
[09:07:08] <pjm> yeah both are G00
[09:07:36] <pjm> i think it is because of the G64 in the code
[09:07:43] <pjm> but i will fiddle and check this
[09:08:15] <micges> check G61, G61.1, G64 Pn and see what happens
[09:09:03] <pjm> ok will do just booting the cnc up
[09:12:43] <Jymmm> Anyone need any 8 port gigabit switches?
[09:13:01] <Jymmm> (unmanaged)
[09:17:31] <piasdom> g'mornin all
[09:18:49] <pjm> Jymmm that sounds interesting re the switches, have u a cheap source?
[09:19:33] <Jymmm> pjm: you in the us?
[09:19:42] <pjm> fraid not, the UK
[09:19:59] <Jymmm> Yeah, you'ld get screwed on the customs fees
[09:20:01] <pjm> but have friends in Atlanta that proxy deliveries for me sometimes
[09:20:22] <Jymmm> ah, well it's a local place they don't ship
[09:20:27] <pjm> okey dokey
[09:22:11] <Jymmm> damn, this 4U case is just heavy, and there's no drives in it
[09:25:07] <Jymmm> pjm: But if you care... http://sfbay.craigslist.org/sby/sys/1268223763.html
[09:25:25] <Jymmm> SWPadnos: 8 port gig switch $20 http://sfbay.craigslist.org/sby/sys/1268223763.html
[09:25:32] <pjm> that is cheap
[09:25:53] <pjm> i saw some good gig-e deals at frys just before xmas last year
[09:26:22] <Jymmm> I was ging to ask how good, but I bet they're unmanaged.
[09:26:25] <Jymmm> going
[09:26:35] <pjm> yeah they were bog standard netgears or something
[09:26:54] <Jymmm> I'm looking for a 24 port gig managed switch with VLAN, SNMP
[09:28:07] <pjm> ah yes that wont be cheap
[09:33:00] <pjm> archivist i have fixed the cad, now it always writes G61 regardless of exact stop / constant velocity mode
[11:02:35] <alex_joni> Jymmm: http://www.theregister.co.uk/2009/06/11/voltaire_10ge_switch/
[11:04:02] <archivist> $1299 per port
[11:04:35] <alex_joni> archivist: cheap :P
[11:05:06] <archivist> not as cheap as the switch I have at home
[11:05:24] <alex_joni> really? :P
[11:05:40] <alex_joni> bet it doesn't come in a 15U case
[11:06:16] <archivist> http://www.collection.archivist.info/netstar.html
[11:06:47] <archivist> note the welding current type cable on the 5v
[11:07:54] <archivist> I dont know the real price when it was new
[11:09:57] <_Poincare> _Poincare is now known as Poincare
[11:31:17] <EbiDK> EbiDK is now known as EbiDK|AWAY
[12:09:12] <jepler> emc2 blends g0 moves in g64. it's a debatable practice (look, you're debating it), but it's intentional behavior by emc2.
[12:10:22] <archivist> very debatable if pulling out of a milled hole
[12:10:35] <SWPadnos> it occurs to me that there should be an option to not blend G0 and/or to not blend G0 with other types of move
[12:10:46] <christel> [Global Notice] Hi all, I need to remove a server from production, it will be somewhat noisy and approximately 5,000 users will be affected. Apologies for the inconvenience and have a good day.
[12:14:26] <tomp> tomp is now known as tom3p
[12:17:11] <tom3p> the sim config '5axisgui' describes 6 joints (0thru5) and the DRO shows 6, but only 5 are visualized in the vismach file.
[12:17:17] <tom3p> I thought i'd get the last one to render ( i think its W, par to Z) but i'm lost aligning the joints to the axis.
[12:17:18] <tom3p>  are 6 joints needed for 5 axis?
[12:17:41] <SWPadnos> W is a "virtual" joint
[12:17:57] <tom3p> didnt bill clinton say that?
[12:18:14] <SWPadnos> the kinematics move the 5 real joints to get W mothin, which is always aligned with the tol
[12:18:17] <SWPadnos> he may have
[12:18:35] <SWPadnos> I think it was "that's only virtually sex" or something
[12:18:57] <SWPadnos> err s/mothin/motion/
[12:19:19] <SWPadnos> and s/tol/tool/
[12:22:03] <tom3p> ok, is this specific to... whatever kins is called for in 5axisgui ?( sorry, cant look it up... using a vm ubuntu w/o emc right now)
[12:22:15] <SWPadnos> 5axiskins, I think
[12:22:51] <SWPadnos> but yes, it is specific to the kins used in that config
[12:23:43] <tom3p> ok, thx
[12:38:16] <pjm> jepler thanks for the explanation, this was what I was seeing, I guess its 'constant velocity mode which would need a blend. Anyway I have fixed it with a G61 and modified the cad prog to only use G61
[12:38:59] <pjm> i noticed it because on a Z retract followed by an X rapid, the tool hit the job
[12:39:22] <pjm> so perhaps a 'dont blend Z rapids with anything' option as per SWPadnos comment
[12:40:22] <SWPadnos> you should be able to use G61G0 ..., then G64 (or G64Pxx) before a feed move
[12:41:16] <pjm> ah yes i wonder if i could make my cad s/w do that
[12:41:32] <pjm> is G61G00 Z-15 G64 valid on a single line?
[12:49:51] <SWPadnos> no
[12:50:11] <SWPadnos> G61 and G64 are in the same modal group, and you can only have one code from any modal group on a line
[16:25:34] <Jymmm> alex_joni: Not a bad price for a 10GigE switch
[17:53:24] <DaViruz> http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=230355332226
[17:53:30] <DaViruz> yay, should make a decent spindle servo
[17:53:36] <DaViruz> rigid tapping, here i come
[17:53:56] <cradek> with emc2 you don't need a servo spindle for rigid tapping
[17:54:38] <DaViruz> i know
[17:54:46] <DaViruz> but i want one anyway
[17:54:47] <DaViruz> :-)
[17:55:00] <cradek> yeah I bet they're nice.
[17:55:31] <cradek> I just did a dozen rigid-tapped parts last night - 2hp regular old 3ph AC motor on a regular old VFD
[17:55:46] <cradek> it still makes me smile - one of our coolest features.
[17:56:59] <DaViruz> is one pulse per revoultoin enough for emc2 rigid tapping?
[17:57:10] <cradek> no
[17:57:35] <DaViruz> thought as much
[17:57:36] <cradek> you need an encoder - otherwise how would it follow the spindle's reversal?
[17:57:46] <DaViruz> hmm
[17:58:02] <DaViruz> didn't think about that though.. :)
[17:58:04] <cradek> it's totally impossible to do rigid tapping without precise feedback
[17:58:41] <cradek> you can do regular lathe threading IF you assume the spindle is constant speed
[17:59:26] <cradek> but slowing-down-and-reversing is part of tapping - you need real feedback for that. a stream of pulses can't even tell you the direction it's going.
[18:01:45] <DaViruz> yeah i drew too many paralells between lathe threading and rigid tapping
[18:02:12] <DaViruz> didn't think about the fact that you need to get the tap out too..
[18:02:21] <archivist> methinks good threading needs good control too
[18:02:42] <cradek> depends whether you want good threads or "good enough" threads
[18:02:49] <cradek> an encoder is definitely better
[18:04:05] <DaViruz> however if you use step/dir outputs for the spindle, it's possible to avoid hooking up feedback back to emc2 for rigid tapping?
[18:04:07] <cradek> since the variation of a poor thread would be in the pitch, it would be hard to quantify
[18:04:22] <cradek> DaViruz: no, the feedback is needed.
[18:04:29] <DaViruz> oh, ok
[18:04:44] <cradek> DaViruz: the spindle control commands are velocity, not position. threading requires position feedback.
[18:05:30] <DaViruz> i havent looked into it but i assumed you could "position control" the spindle
[18:06:53] <SWPadnos> you must have index at minimum
[18:06:59] <SWPadnos> else you don't know when the spindle is at "zero degrees"
[18:07:18] <SWPadnos> and it's impossible to position the spindle to a specific orientation without knowing where the reference for that orientation is
[18:08:48] <DaViruz> if you specify 200 pulses per revolution it should be possible to keep track accurate track of index
[18:08:50] <cradek> if your spindle is inherently position-controlled, it's possible you could generate fake feedback in HAL
[18:09:11] <cradek> but that's left as an exercise for the student :-)
[18:09:12] <SWPadnos> DaViruz, in theory, that's true
[18:10:05] <SWPadnos> you'd need a modulo HAL component I guess, or a stepgen that generates an index output every N steps
[18:10:06] <cradek> your generated-fake-feedback would just have to work like an encoder, giving position feedback that resets on an index handshake
[18:10:17] <DaViruz> the omron servo drive has scaling on the inputs, but i'm not sure if the differential outputs can be scaled as well
[18:10:27] <SWPadnos> oh right, resetting is a PITA for an external component
[18:10:31] <DaViruz> i doubt the parallel port will be happy with a 2048 line encoder at 3000rpm
[18:10:41] <SWPadnos> it seems unlikely
[18:10:41] <cradek> um no.
[18:11:04] <cradek> on the other hand I doubt you'd be happy threading or tapping at 3000 rpm
[18:11:38] <DaViruz> no, but the spindle should be able to do other work too.. :)
[18:11:52] <DaViruz> but ofcourse maybe it won't mind if the feedback is screwed up then
[18:12:11] <anonimasu> hm, threading at 3000rpm.. with a 1.5mm pitch tap..
[18:12:22] <anonimasu> or a 3mm pitch tap
[18:12:28] <Jymmm> SWPadnos: dd you see that $20 8-port gig switch?
[18:12:30] <Jymmm> did
[18:12:30] <DaViruz> my 800mm/min z won't quite cut it eh
[18:12:31] <DaViruz> :)
[18:12:56] <anonimasu> with that it ends up as 533rpm max..
[18:13:09] <anonimasu> but 3mm pitch taps are huge and expensive.. :]
[18:13:10] <DaViruz> yeah
[18:13:15] <SWPadnos> yes, I saw the link but didn't follow it
[18:13:24] <Jymmm> SWPadnos: http://sfbay.craigslist.org/sby/sys/1268223763.html
[18:13:33] <DaViruz> i doubt i'll be doing anything over 1.5mm
[18:13:34] <Jymmm> SWPadnos: Oh, not interested?
[18:13:36] <SWPadnos> and I still don't need it :)
[18:13:40] <SWPadnos> nope, thanks
[18:13:40] <anonimasu> 533rpm for a 1.5mm tap..
[18:13:41] <DaViruz> or even over 1mm
[18:13:44] <Jymmm> SWPadnos: really?
[18:14:00] <SWPadnos> I have a 24-port managed GigE switch already
[18:14:17] <Jymmm> SWPadnos: Oh, why didn't you ship it to me already?! Eeeeesh
[18:14:35] <Jymmm> SWPadnos: which one?
[18:14:52] <SWPadnos> oh. actually it's 28 ports, with 4 having both SFP and RJ45 connections
[18:15:18] <Jymmm> SWPadnos: I bet it's actually 20 port + SFP
[18:15:25] <SWPadnos> Netgear FSM7328S
[18:15:25] <Jymmm> if you use fiber
[18:15:34] <SWPadnos> no, it's 24 port + 4 SFP/RJ45
[18:15:45] <SWPadnos> I guess it's "smart", not "managed" though
[18:15:59] <Jymmm> L3 managed it says
[18:16:23] <Jymmm> SWPadnos: that's not a gig switch, it's 24 10/10 + 4 gig
[18:16:23] <SWPadnos> ok - I thought it was, but there's no serial port, so it's only in-band management
[18:16:33] <Jymmm> 24 10/100
[18:17:06] <SWPadnos> I am blind
[18:17:16] <Jymmm> http://www.netgear.com/Products/Switches/FullyManaged10_100Switches/FSM7328S.aspx
[18:17:17] <SWPadnos> there's a console port on the right side on the front
[18:17:23] <SWPadnos> here I was thinking it would be on the back :)
[18:17:49] <SWPadnos> oh. maybe I settled for that because it was so cheap
[18:18:02] <Jymmm> Yeah
[18:18:31] <Jymmm> SWPadnos: That's why i was asking about all 8 port being gig
[18:18:42] <SWPadnos> yep - good call there
[18:18:48] <Jymmm> if you were interested that is
[18:19:37] <Jymmm> $100 if you want a 24p gig web managed no snmp
[18:20:23] <SWPadnos> not really critical here
[18:20:48] <Jymmm> SWPadnos: I thought for video you might have been interested is all
[18:21:01] <SWPadnos> oh. I don't do networked video at home
[18:21:04] <SWPadnos> that's a work thing
[18:21:27] <SWPadnos> and they need to buy new stuff, sometimes with spares
[18:21:32] <Jymmm> I might pick up the 24 port 10/100 for $20 as it has rack mount brackets
[18:21:42] <Jymmm> SWPadnos: These are all brand new
[18:21:53] <Jymmm> from the company that makes thems
[18:21:53] <SWPadnos> these are really cool little guys: http://www.netgear.com/Products/Switches/DesktopSwitches/GS105.aspx
[18:22:06] <pjm> SWPadnos thanks for the pointers on G61 / G64
[18:22:06] <SWPadnos> $36 from NewEgg, and there's a $5 or $10 rebate
[18:22:10] <SWPadnos> sure
[18:22:33] <Jymmm> SWPadnos: I have a 8 port gig right now, it's full
[18:24:37] <Jymmm> SWPadnos: I like that netgear has a lifetime warranty
[18:25:00] <SWPadnos> yeah. that is a plus
[18:25:02] <archivist> where lifetime is what 3 days
[18:25:42] <Jymmm> archivist: these are $700 and up switches
[18:25:59] <SWPadnos> that's the catch-22. once it breaks, it's obviously beyond the lifetime of the device, so the warrantee should be void
[18:26:11] <Jymmm> lol
[18:26:39] <SWPadnos> it is funny that the only 10gigE NIC that NewEgg carries is an Intel for $3087.99
[18:26:52] <Jymmm> fiber
[18:27:26] <Jymmm> SWPadnos: need a switch cheap? Only $1300... per port @ 288 ports... http://www.theregister.co.uk/2009/06/11/voltaire_10ge_switch/
[18:28:05] <SWPadnos> that'$ cheap
[18:28:24] <Jymmm> (batteries not included)
[18:30:40] <Jymmm> Jul 14 - You don't need a gun and mask to steal this 2007 Saturn Ion - (San Jose) img <<cars & trucks - by dealer
[18:31:00] <ds3> they don't seem to define the words "lifetime" too well
[18:40:29] <DaViruz> yes they do
[18:40:35] <DaViruz> Q: How long are products covered?
[18:40:36] <DaViruz> A: For as long as the original buyer owns the ProSafe product. Original proof of purchase is required to receive warranty service.
[18:40:48] <DaViruz> http://www.netgear.com/warranty
[18:56:28] <roh> hrhr.. one thing i like about living in germany.. everything you buy as a end-consumer/customer (not as a business) has 24month of warranty, to be delivered by the seller. 6 month from the start the seller needs to proof something is ok after repair, the rest of the 24month the customer needs to proof the flaw is due to bad manuf, and not misuse or simple wear. no need to customers to read different warranty-foo for every item they buy
[18:59:20] <roh> and it makes pressure on sellers not to sell crap since it depends on their contracts with suppliers if they themselves or the supplier does warranty handling and how long.
[19:05:48] <DaViruz> same here in sweden, except that it's 36 months
[19:13:33] <alex_joni> good night all
[19:15:13] <seb_kuzminsky> DaViruz: hej, en svensk! hur star det till?
[19:17:04] <DaViruz> utmärkt antar jag
[19:17:27] <DaViruz> but i'd prefer to speak english in english channels
[20:00:34] <Jymmm> Can ayone think of a use for a 32 port PCI serial card?
[20:01:34] <archivist> collectors of old computers #classiccmp
[20:08:13] <bill2or3> Jymmm, you could run a small ISP, in 1991.
[20:08:27] <Jymmm> you assholes!
[20:08:47] <Jymmm> I have a 32port serial over ethernet for that =)
[20:09:00] <Jymmm> lol
[20:09:33] <Jymmm> Just for that... you guys dont get a login to the BBS!
[20:09:34] <archivist> I have some 8 port serial to ethernet
[20:09:46] <pjm> hahh i have a 16 port PCI serial card that i'm saving for a 'useful' purpose
[20:09:59] <archivist> and a couple of modem racks
[20:10:16] <pjm> u never see "sorry there was line noise" any more either ;-(
[20:10:26] <pjm> when u coughed over the acoustic coupler
[20:10:28] <bill2or3> but I haven't used my TradeWars turns yet!
[20:10:49] <Jymmm> bill2or3: and you never will now!
[20:10:59] <bill2or3> :-(
[20:11:25] <Jymmm> I have three modems: Total Control, a usb/serial voice, and a USB powered
[20:11:25] <SWPadnos> Jymmm, my 8-port one is so I can have several microcontroller development kits attached at the same time
[20:12:01] <SWPadnos> other than that, I can't really see any use (unless of course you have a lot of other serial devices you want to use without having to swap cables around)
[20:12:02] <Jymmm> SWPadnos: Ah. I have the serial over ether
[20:12:23] <Jymmm> This card even has DOS drivers/API
[20:12:25] <SWPadnos> if that works with various uC programmes/dev kits, then the PCI card really has no use :)
[20:13:38] <Jymmm> http://my.comtrol.com/support/download.asp and select "RocketPort PCI"
[20:15:28] <Jymmm> SWPadnos: You dont need a 2Gbps serial card do ya?
[20:46:22] <frallzor> hmm cant get 4th axis to work properly, anyone got tips? =)
[20:46:55] <SWPadnos> fix it so it works
[20:46:58] <mozmck_work> kick it
[20:47:05] <archivist> give people a better description so they can help
[20:47:14] <frallzor> it wont work, there =)
[20:47:20] <Jymmm> BLOW IT UP!
[20:47:20] <frallzor> not much more to saht
[20:47:21] <SWPadnos> fix it
[20:47:38] <SWPadnos> that's the only advice I can give you with so much information at my disposal
[20:47:55] <frallzor> deg/s = what
[20:48:12] <Jymmm> 42 miles
[20:48:30] <mozmck_work> is it rotary?
[20:48:36] <frallzor> yes
[20:49:06] <archivist> what does deg ans s normally stand for
[20:49:07] <frallzor> did 360deg in mach3 at 15 sec, divided deg with that time and put it, and when i did rotate it wasnt nearly as fast in mach3
[20:49:32] <frallzor> *it
[20:49:59] <frallzor> and then it complained about latency delay, lowered values a bit, and now no go
[20:50:02] <archivist> think 360/15 is ...
[20:51:01] <frallzor> 24, but it wasnt nearly as fast as in mach3 when i played around there
[20:51:09] <frallzor> which it should be
[20:51:31] <archivist> time it
[20:51:36] <anonimasu> usually, the issue is the steppers not being able to keep up with the pulsetrain not the other way around
[20:52:02] <anonimasu> unless you use very very tiny microstepping
[20:52:25] <frallzor> what about the "unexpected realtime delay" then? get it instantly now when I start =)
[20:52:35] <frallzor> worry or not?
[20:52:43] <anonimasu> do you have a usb stick plugged in?
[20:52:59] <frallzor> nope, a mouse though
[20:54:05] <frallzor> did a small timing now for the table, 10deg, 5 sec
[20:54:28] <archivist> do a latency test for long enough, to get your figures
[20:55:07] <SWPadnos> what is the scale?
[20:55:16] <SWPadnos> ie, how many steps per degree
[20:55:30] <frallzor> 500
[20:55:54] <SWPadnos> so you're looking for 500 * 24 = 12000 steps/second. that sounds reasonable
[20:55:58] <SWPadnos> any microstepping?
[20:56:05] <frallzor> 10
[20:56:11] <frallzor> max for G540
[20:56:15] <frallzor> try half?
[20:56:20] <SWPadnos> so you need 120000 steps/second, which is probably not reasonable
[20:56:39] <SWPadnos> there are no settings for the G540, it's always 10x microstepping
[20:56:56] <archivist> nasty
[20:57:28] <SWPadnos> um. was that 500 microsteps per degree?
[20:57:32] <SWPadnos> or 500 full steps
[20:57:53] <frallzor> Axis scale: 500.0 Steps/deg
[20:57:54] <SWPadnos> (500 microsteps makes more sense, with a 90:1 worm drive and a 200 step/rev motor))
[20:58:18] <SWPadnos> you enter that from the physical construction of your machine
[20:58:34] <frallzor> the pulley teeth option input?
[20:58:51] <SWPadnos> for rotaries you might have to re-interpret those lables a little :)
[20:59:00] <SWPadnos> labels
[20:59:30] <frallzor> the Motor:leadscrew you mean?
[20:59:53] <SWPadnos> but yes - 200 steps * 10 microsteps * (whatever the turns ratio is on your rotary table) * (whatever the gear ratio is between the motor and the rotary table shaft) / 360 = steps/degree
[21:00:19] <frallzor> hmm where to find that info then =)
[21:00:34] <SWPadnos> in the documentation for your rotary table
[21:00:34] <frallzor> ah it was 1:90 :P
[21:00:53] <SWPadnos> ok
[21:01:04] <archivist> direct coupled?
[21:01:12] <frallzor> yes
[21:02:32] <frallzor> hmm still abit odd though
[21:03:09] <frallzor> if its direct coupled shouldnt it be 1:1 then?
[21:03:33] <SWPadnos> the realtime delay should be unrelated, except that if you now want more steps per second than before, stepconf will make the fast thread faster, which makes the tolerance for that message smaller
[21:03:33] <archivist> (whatever the gear ratio is between the motor and the rotary table shaft)=1:1
[21:03:40] <SWPadnos> 500 sounds right
[21:03:58] <SWPadnos> 2000 microsteps moves the table 4 degrees (the 90:1 ratio), so 1 degree is 500 microsteps
[21:04:10] <SWPadnos> (2000 / 4)
[21:04:44] <archivist> I have 90:1 here as well but use 1/2 step
[21:06:04] <frallzor> hmm It might be working anyway, didnt realize jogspeed was slower than its fastest speed
[21:06:26] <frallzor> so its probably ok then
[21:06:30] <SWPadnos> there's a separate "default angular velocity" which is applied for rotaries
[21:06:46] <SWPadnos> there's a separate limit for that, I'm not sure if stepconf allows you to set it
[21:06:56] <SWPadnos> good that it works though :)
[21:07:29] <frallzor> gonna pressure the system now though to get rid of that delayerror
[21:08:01] <frallzor> is there something nice to make it beg for mercy while doing the latencytest?
[21:08:41] <SWPadnos> run programs like openoffice, drag them around, run glxgears to stress the openGL subsystem, if it's internet-connected, run firefox
[21:08:48] <SWPadnos> etc etc
[21:08:56] <mozmck_work> start and stop other programs, run glxgears, browse websites that use flash...
[21:13:05] <frallzor> did all ended up with 14000 rounded up
[21:14:51] <frallzor> still same error though it happens when I turn the mill on
[21:16:36] <SWPadnos> did you edit the latency number (to 14000) in stepconf?
[21:17:04] <frallzor> yes
[21:17:11] <SWPadnos> hmmm. ok
[21:17:24] <frallzor> maybe just a hick-up while starting
[21:17:44] <frallzor> will know if it matters when I test it all
[21:17:52] <SWPadnos> yeah, I think it probably is a startup glitch
[21:18:07] <archivist> and check your latency for much longer
[21:18:22] <SWPadnos> the problem is that you can't tell if it happens again, because it will only show the error once (depending on which error it is)
[21:19:15] <frallzor> if it can produce a modell without issues Ill assume its ok then =)
[21:19:39] <frallzor> ill give it something hard to bite at and something easy
[22:00:22] <SWPadnos> skunkworks, do you recall whether the internal USB headers on the D945GCLF2 work in USB2 high speed mode?
[22:07:21] <skunkworks> I thought they did.
[22:07:49] <SWPadnos> I wasn't sure if you ever found your USB bracket to check it with :)
[22:07:55] <skunkworks> I thought I hooked 5 deviced up and they where all 2.0
[22:08:08] <SWPadnos> I guess I should go looking for one of mine and try it on this unit here
[22:08:13] <skunkworks> heh
[22:30:13] <skunkworks> SWPadnos: do you remember a date? It should be on the irc log'
[22:30:28] <skunkworks> dev
[22:30:46] <skunkworks> it was before the fest - maybe a week or 2?
[22:30:54] <skunkworks> or more
[22:41:00] <mozmck> SWPadnos: irc, were you telling me at the fest that you can only query hal for pins and parameters on components that are loaded?
[22:43:02] <frallzor> hmm the dist that is supplied with the live-cd, if I run it, hook a touchscreenmonitor, will it enable a virtual keyboard or how does it work in linux?
[22:43:16] <SWPadnos> mozmck, yes, halcmd show all will only show you what is loaded, in whatever configuration it ended up with (based on detected hardware, for example)
[22:43:23] <frallzor> just for future reference =)
[22:43:38] <SWPadnos> skunkworks, no idea. "in the last few months" is about as close as I could get :)
[22:43:43] <mozmck> frallzor: I think your finger acts as the mouse pointer.
[22:43:58] <SWPadnos> there is an on-screen keyboard, btu I don't remember its name
[22:44:39] <frallzor> no biggie, just planning for the far future =)
[22:44:50] <mozmck> SWPadnos: that's what I thought. that could make things difficult.
[22:45:26] <mozmck> I'm tossing around ideas in my head about gui configuration stuff...
[22:47:36] <mozmck> bbl