#linuxcnc | Logs for 2012-03-28

Back
[00:01:20] <ssi> maybe the right answer is to enable the clutch continuously for a whole program (unless needing to change clutches), but enable it only when enabling the spindle when in MDI mode
[00:01:24] <ssi> I don't know how hard that might be
[00:01:55] <Nick001> need to learn how Hardinge handled it - they last for many years however they're doing it
[00:02:34] <Nick001> that sounds like the most reasonable thing to do
[00:17:24] <ssi> ok my spindle interlock limit is working :D
[00:17:41] <ssi> spindle motor won't run if the spindle lock is in
[00:17:52] <ssi> # spindle-not-locked is attached to and2.0.in0 up in the limits section
[00:17:52] <ssi> net spindle-interlock-and1 and2.0.in1 <= motion.spindle-on
[00:17:53] <ssi> net spindle-enable <= and2.0.out
[00:21:39] <ssi> thinking about adding an interlock to enable so nothing runs without air pressure
[00:21:45] <ssi> since the lubrication system doesn't run with no air
[00:24:14] <Nick001> there sould be a low air pressure switch by the collet closer selenoids
[00:24:49] <ssi> there is
[00:24:59] <ssi> I'm just talking about hal-wiring it in so it actually performs the interlock
[00:25:06] <ssi> I already have it wired, but I have to act on it
[00:25:13] <Nick001> connect to the estop chain
[00:26:36] <Nick001> that way nothing runs till it's cleared - no code required
[00:28:54] <Nick001> you also should turn the air off when you shut the machine down to keep from consuming air
[00:29:11] <ssi> yeah it leaks like a sieve
[00:29:29] <ssi> actually what would be awesome is if I had an electromechanical solenoid that enabling the machine enabled
[00:29:43] <Nick001> Hardige made it that way
[00:29:58] <Nick001> always be added -)
[00:29:59] <ssi> yeah, the closer seems to leak by design
[00:30:26] <Nick001> so does the turret
[00:30:58] <Thetawaves> does it help to clear debrie?
[00:31:17] <Nick001> that's what oils up the x tach - I got rid of that with Pico's amps
[01:00:21] <ssi> got some preliminary homing
[01:00:41] <ssi> doesn't use the fine home switch, just seeks to home, comes off home, then forward into it to resolver index
[01:00:46] <ssi> so far seems pretty repeatable
[01:00:50] <ssi> haven't tested it to the tenth yet
[01:05:13] <Nick001> JT's files has the rough and finish home sequence
[01:06:27] <Nick001> as long as it's hitting the index, the indicater will be the same each time you home
[01:07:10] <ssi> he has encoders
[01:07:31] <ssi> so here's the deal with the "proper" hnc homing sequence
[01:07:35] <ssi> it finds the rough switch
[01:07:45] <ssi> then it seeks for an index GATED BY the fine switch
[01:07:54] <ssi> since the resolvers index many times per rev
[01:08:20] <ssi> it's possible without using the fine switch as a gate to seek past the "home" index and find another more different index
[01:09:04] <ssi> what I need to do is figure out how to hack the hal resolver driver (or get KimK or andy's help one of these days), and add the ability to gate the index with a pin
[01:09:20] <ssi> at least that's what cradek and pcw have sorta suggested
[01:09:30] <ssi> I don't know if it's going to be necessary or not, but that's the correct way to do it
[01:10:24] <Nick001> I'd like to know how it's done - I'll be switching back to axis resolvers at some point
[01:10:39] <ssi> well by the time you get there, i'll have it sorted :)
[01:10:45] <ssi> I don't intend to move away from resolvers
[01:10:59] <ssi> I may ditch the tachs some day and get torque mode drives if they give me enough trouble
[01:12:39] <Nick001> Ajax had me swap to encoders with their system and Mach3& rutex used them,I just left them alone untill Pico came out with a resover card.
[01:13:15] <ssi> I'd skip the pico card and go straight for the mesa
[01:13:31] <ssi> it's considerably cheaper, and likely will be a better product once we get all the kinks worked out for the hardinge
[01:15:20] <Nick001> the pico card's been in for a long time now. Mayby on the next machine I'll consider mesa. seems the mesa resolver card has issues with counting?
[01:15:34] <ssi> not sure what issues you mean
[01:16:21] <ssi> my current card has issues with being overdriven, because it's designed for low-output resolvers and the hnc seems to have high output resolvers
[01:16:38] <ssi> but Peter has created a high-output version and he's sending me a test unit this week
[01:17:44] <Nick001> thats what I saw - not high output but geared ratio -
[01:18:27] <ssi> Peter's tailoring the AD frontend to a particular input voltage range, and the original card is assumed that you're using 2:1 resolvers
[01:18:45] <ssi> it drives them with 2V rms, and expects 1V rms back
[01:18:51] <ssi> well mine seem to be like 1:3
[01:18:56] <Nick001> I forget what I measured - about 5 to 1 ratio
[01:20:24] <Nick001> I think they're testing a 1 to 1 ration - like whats on the spindle. X and Z have a high gear ratio
[01:20:34] <Nick001> ratio
[01:20:41] <ssi> the spindle resolver is lower ratio?
[01:20:58] <ssi> or you're talking about the gear ratio not the transformer ratio
[01:21:01] <Nick001> spindle is 1 to 1
[01:21:16] <Nick001> 20 tooth to 20 tooth
[01:21:22] <ssi> yeah that doesn't matter
[01:21:30] <ssi> just affects the scale
[01:21:42] <ssi> it's the electrical ratio that is important for what I'm talking about
[01:22:26] <Nick001> axis has a prox 200t gear driving smaller gears - like i said - I forgot the eaxact ratio
[01:22:49] <ssi> whatever the ratio is, the combination of ratio with the ballscrew produces a scale of 0.2
[01:22:52] <ssi> or maybe 0.002
[01:22:53] <ssi> er, 0.02
[01:22:56] <ssi> I'll have to double check
[01:23:00] <ssi> but I have that sorted already
[01:23:47] <Nick001> it's late - beyond tired
[01:24:27] <ssi> same here
[01:25:13] <Nick001> I believe the resolvers are 2/1 electrical ratio - I have to look at a spare one to see
[01:25:27] <ssi> they certainly don't seem to behave as 2:1
[01:27:08] <Nick001> have to look to see rated voltages for rotor and stator
[01:27:24] <ssi> if you've got a way to look that up, I'd definitely be interested
[01:27:53] <Nick001> in the morning - but not too early -)
[01:28:44] <Nick001> besides - it's cold out tonight
[01:28:51] <ssi> yeah no rush
[01:29:00] <Nick001> night
[01:29:04] <ssi> at this point it's almost too late cause pcw already has my test version ready :)
[01:29:08] <ssi> so I'm just hoping it's correct
[01:29:08] <ssi> hehehe
[02:26:17] <Jymmm> Are 36" bolt cutters worth a damn?
[02:28:21] <awallin> Jymmm: if youre in the business of stealing bicycles...
[02:28:43] <Jymmm> Even then, 36" though?
[02:29:09] <awallin> heh, had to use bolt-cutters when I forgot the number-code to my laptop cable-lock :)
[02:29:34] <Jymmm> Well, you didn't HAVE to, thee are easier ways.
[02:30:28] <Jymmm> I am talking brute force entry purposes here. Just not sure if bolt cutters are a way to go, or something else like an angle grinder instead.
[02:30:48] <Jymmm> or battery powered something or another.
[02:31:46] <awallin> the big ones aren't exactly precision tools...
[02:32:08] <awallin> there might be a 1mm or 0.5mm gap between the blades when it's closed. I guess there's and adjustment for that.
[02:32:44] <Jymmm> But if adj properly, wouldn't a grinder with cutoff blade be more effective?
[02:33:48] <awallin> I'd guess the bolt cutter is silent and quick, if it works. grinder might cut through bigger&tougher things eventually
[02:34:30] <Jymmm> Yeah, quiet is always a good thing. I was even thinking an air grinder and a 40lb nitrogen tank for portability
[02:34:41] <Jymmm> but loud!
[02:37:07] <awallin> the bike thieves might use some way to rapidly cool the lock (makes it fragile), and then a big hammer. make that liquid nitrogen tank then..
[02:38:05] <Jymmm> that rarely works in any plae other than the movies
[02:38:08] <Jymmm> place
[02:38:42] <Jymmm> But, an angle grinder with cutoff blade will always work.
[02:39:05] <awallin> yeah, it's just loud, slow, and sparks will fly..
[02:40:11] <Jymmm> I'm just wondering if it's worth getting 36" bolt cutters for $17 out the door or not.
[02:40:37] <Jymmm> I have a pair of 18" I've used only twice in 10 years.
[03:07:16] <DJ9DJ> moin
[03:11:23] <Loetmichel> mornin
[05:26:56] <mazafaka> evening. had been milling round holes, random axes of our CNC machine turn off because of vibration in the shop.
[05:27:21] <mazafaka> I think I can become a boss on some plant... :)
[05:55:16] <Jymmm> Will he REAL PCW, please stand up!
[06:45:36] <Loetmichel> sooo... if you dont HAVE a 2mm mill bit, GRIND one... (great that i have so much broken Tungsten carbide bits ;) ... i hope it cuts... *test* -> http://www.cyrom.org/palbum/main.php?g2_itemId=12967
[07:54:22] <archivist> Loetmichel, I find toolmaking as part of the job because of the stuff I make, usually too small and one off, made a form cutter and a boring tool to make http://gears.archivist.info/P1010320_hires.JPG
[07:55:03] <archivist> they are 3mm dia ish, hole was bored after the teeth were cut
[08:14:16] <Loetmichel> archivist: i make the tool only because my dealer has calle two weeks delivery time
[08:14:34] <Loetmichel> and i have run out of 2mm 2 flute ;-)
[08:29:17] <mazafaka> So my opponent has called and told 'that's all, we have forgotten everything, my dad already know. . . . What? I'll listen to what my dad says.' after I have uploaded the record of a telephone call with the words of threat to local FTP site. Now need to ask the administartion of the site to quitely remove that mp3 file
[08:34:20] <Loetmichel> mazafaka: whats wrong?
[08:41:06] <mazafaka> i stiffed one at work, then bastards in quantity of three or two future corpses came to mea nd asked something. I decided to write a claim on them to police and maybe finish them once upon a time.
[08:42:24] <mazafaka> Now everybody at work know there was a scandal, and this opponent have called and said it. They're twins, his brother is almost my friend, this one is crappy as shit
[08:43:25] <mazafaka> it's already a halfof second week of this thrilling thriller.
[08:46:37] <mazafaka> I only accept the buying of a huge SUV as 'exciting experience', Loetmichel :)
[08:47:13] <jdhnc> <- Yukon XL
[08:49:04] <mazafaka> jdhnc: maybe http://i.drom.ru/reviews/photos/uaz/buhanka/big_43829_9451_add_1.jpeg but my garage's height doesn't let it.
[08:49:44] <jdhnc> that looks like an all-weather, off-road, child molestors van.
[08:51:13] <jdhnc> http://upload.wikimedia.org/wikipedia/commons/8/85/GMC_Yukon_XL_Denali.jpg
[08:52:36] <mazafaka> yes, people travel in forests on these vehicles, UAZ 3962 or UAZ 2206 http://s2.images.drive2.ru/car.photos/x1/4400/000/000/23f/3ae/48ced34a1099a047-large.jpg
[08:54:10] <mazafaka> it already has 31.8 '' tyres, people think of portal axles and tyres starting from 35 '', differential locks and winches, and of a heater
[08:56:54] <mazafaka> and prices... wheels cost almost half of a used car
[10:55:41] <mozmck> djdelorie: It looks like there are *no* UARTs on the RX/62 series chips! Is that right?
[11:00:19] <pcw__> They have 3 or so UARTs (SCI)
[11:07:08] <mozmck> pcw__: thanks, I was not familiar with that terminology, so didn't know to look for it.
[11:18:14] <Jymmm> G'Morning Folks!
[11:18:51] <ve7it> g'day
[11:21:08] <alex4nder> hey
[11:25:20] <Jymmm> ve7it: Ignore the water, works AWESOME http://www.youtube.com/watch?v=-6FNCS7de_A
[11:26:28] <Jymmm> ve7it: A&W and McDonalds seem to be the bigger ones. and I just found "Bubble Tea" ones that are 1/2" diameter and can be found in any asian market.
[11:31:31] <Loetmichel> *OI!* didn't think that would work, to mill the Landing gear out of straight square aluminium tube and THEN bend and tighten it... but it does! ;-) -> http://www.cyrom.org/palbum/main.php?g2_itemId=12973
[11:37:22] <djdelorie> mozmck: they're called SCI (serial communications interface) and there are six
[11:37:44] <djdelorie> each SCI can be a uart, synchronous serial, SPI, or I2C
[11:37:51] <djdelorie> (I think ;)
[11:39:11] <djdelorie> sorry, SPI and i2c are only available on two of those, plus one CAN
[11:40:47] <mozmck> djdelorie: pcw pointed that out to me. thanks.
[11:41:13] <pcw__> They look like really nice chips and we would like to use them but
[11:41:15] <pcw__> unfortunately their UARTs are fairly lousy (maximum speed limited)
[11:41:38] <mozmck> how fast do you need?
[11:41:50] <mozmck> is this for the Smart Serial I've seen mentioned here?
[11:43:15] <djdelorie> rx uarts limited to 3.125 MBaud...
[11:43:23] <mozmck> I'm using an LPC1752 because it has usb and 4 UARTs, and only costs 3.80. Don't know the max speed though...
[11:43:50] <Jymmm> USB?! WTH???
[11:44:51] <pcw__> We use 2.5M Baud but would like ability to go to 10 (PICs have done this for years)
[11:45:05] <djdelorie> syncronous or asynchronous?
[11:45:12] <pcw__> async
[11:45:20] <mozmck> The datasheet lists under UART features: Maximum UART data bit rate of 6.25 Mbit/s.
[11:46:22] <djdelorie> you can do 2.5M if you lower the clock speed to 80 MHz so you get a clean multiplier
[11:46:24] <mozmck> for the lpc1752
[11:46:32] <pcw__> We tried LPCs some years ago and got frustrated by endless bugs/errata
[11:47:43] <mozmck> Hmm, so far so good on this project. It's a Cortex-M3 and from what I can tell is much nicer to use than older series - although I haven't used any older ones.
[11:48:14] <mozmck> so what micros do you prefer pcw__?
[11:49:09] <Jymmm> SWPadnos: He's Alive (sorta kinda maybe)!
[11:49:28] <pcw__> Well we are looking around for something with more horsepower than the DSPICS but a good UART
[11:50:15] <pcw__> djdelorie are you sure about the 2.5M baud? I thought max was 1.5xxxxM
[11:50:33] <djdelorie> I can test it and see...
[11:50:39] <djdelorie> the math in the datasheet is funny
[11:51:02] <mozmck> How do the Cortex-M4 chips look? I've heard of some problems with the ST versions, but not much about any others.
[11:51:10] <alex4nder> what kind of problems?
[11:52:52] <mozmck> there was a discussion on LPC2000 that mentioned them.
[11:53:05] <alex4nder> hah
[11:53:13] <alex4nder> LPC calling the STM black
[11:53:32] <pcw__> djdelorie: probably not as funny as the STM32Fs BRG with its fractional divider
[11:54:07] <ssi> hi folks :)
[11:54:20] <alex4nder> MPE just released their Forth cross compiler for the STM32F4 and friends.
[11:54:36] * alex4nder gets ready for a 1980s timewarp.
[11:55:16] <pcw__> Our UARTs are are even stranger but avoid the high baud rate settability issue (by using a DDS for the BRG)
[11:55:27] <Jymmm> alex4nder: And you get to wear the corset and fushnets!
[11:55:33] <Jymmm> fishnets
[11:55:48] <mozmck> http://www.embeddedrelated.com/groups/lpc2000/show/55238.php
[11:56:06] <alex4nder> Jymmm: it's just a jump to the left
[11:56:58] <Loetmichel> and then a step to the right ;-)
[11:57:13] <Jymmm> alex4nder: Loetmichel http://www.youtube.com/watch?v=V0SqS2QJdj8
[11:57:42] <Loetmichel> ... with your hands on your hips...
[11:57:44] <Loetmichel> ;-)
[11:58:03] <Loetmichel> Jymmm: i know...
[11:58:06] <djdelorie> pcw__: just tested, can do 2.5M without overclocking, and 5M with, at 80MHz. So if you ran at 96MHz (for usb), you'd get 3M and 6M
[11:58:27] <Jymmm> Loetmichel: you know what?
[11:58:30] <Loetmichel> i think i can recall the whole film dialouge without google ;-)
[11:58:37] <Jymmm> Oh, heh
[11:58:38] <mazafaka> Is there a way to restrict the movements of the body along the frame in case of crash?
[11:58:52] <Jymmm> Loetmichel: Did you ever become an actor?
[11:59:06] <Jymmm> Loetmichel: at the front of the theater?
[11:59:12] <Loetmichel> no, and better so... ;-)
[11:59:34] <Jymmm> Loetmichel: I just bring the rubberbands and umbrella =)
[11:59:39] <mazafaka> Whole bottom of the body is made of same thin sheet metal with some profiles
[11:59:45] <Loetmichel> but i know the feeling to stand in front of 10k rock fans and announcing a "little delay" with the band ;-)
[12:00:04] <pcw__> djdelorie thanks! is that with 100 MHz clock?
[12:00:08] <Jymmm> Loetmichel: better you than me!
[12:01:13] <Jymmm> Loetmichel: I just toss the lead singer out the front door for diving off the stage into the crowd!
[12:01:23] <mozmck> alex4nder: the same guys didn't like the lpc cortex-m4 offerings too much either. Mark with uTasker liked the Freescale Kinetis best it seems.
[12:02:22] <Loetmichel> Jymmm: i had worked nearly ten years for a stage rental company ;-)
[12:03:03] <djdelorie> 2.5/5 with 80 mhz, 3/6 with 96 mhz
[12:04:11] <djdelorie> despite the weird math it's clock/16 but the peripheral clock is normally half the cpu clock
[12:12:34] <pcw__> I can see how you could get 2.5MB (40/16) but not 5
[12:12:44] <djdelorie> 80/16
[12:13:04] <djdelorie> "normally" half. You can set it to be the same as the main clock, but it's not "supported"
[12:13:11] <mrsun> hmm, maybe should make me some of those cylindrical work holding thingies for the mill (for holding things square to the table) =)
[12:13:13] <Jymmm> Loetmichel: I worked as bouncer/doorman =)
[12:13:17] <mrsun> dont know what they are called
[12:13:30] <pcw__> OK
[12:13:32] <mrsun> even with a badly calibrated lathe its better then the vice i have for the mill atm :P
[12:35:31] <SolarNRG> Hi guy
[12:37:03] <djdelorie> hi
[12:37:24] <SolarNRG> Hey it's the guy who built the super-duper arduino
[12:48:06] <mrsun> any machining/electronics blogs you can recomend on youtube? :)
[12:48:11] <mrsun> eevblog i have, and hossmachine ...
[12:48:22] <mrsun> and mrpete222 =)
[12:48:35] <mrsun> or channels or whatever its called =)
[12:50:06] <archivist> the citizen sliding head videos are worth a watch
[12:51:51] <mrsun> archivist, huh ? :)
[12:55:33] <archivist> like http://www.youtube.com/watch?v=CT4OMmjbmj4&feature=related
[12:58:59] <IchGuckLive> Hi all around the blue planet
[13:11:44] <gene_> Good afternoon guys
[13:11:52] <SolarNRG> Its becoming a more grey planet
[13:12:38] <gene_> I'm on the lathe box, trying to make stepconfig work, getting broken pipe messages
[13:12:42] <skunkworks> gene!
[13:12:50] <gene_> howdy!
[13:14:18] <gene_> lp isn't loaded, stepconfig is running but somethings aglay? Ideas
[13:14:41] <IchGuckLive> gene_ please change your nick to a comen one _ what OS 10.04 ?
[13:15:06] <gene_> yes 10-04
[13:15:21] <gene_> installed from the linuxcnc iso
[13:15:25] <IchGuckLive> from livecd install ?
[13:15:32] <gene_> yes
[13:15:50] <IchGuckLive> does a simulation axis come up ?
[13:16:40] <gene_> Haven't tried it. rergukar seems to run but has not moved a motor yet, I am still building the elecytonics
[13:17:00] <gene_> and can't type standing up either :)
[13:17:41] <IchGuckLive> thy first if axis from the simulation starts please if you are on the PC now
[13:18:24] <IchGuckLive> you dont need any electronics to get linuxcnc run
[13:18:50] <gene_> It runs ok, but no motor is moving
[13:18:54] <IchGuckLive> gene_ witch country are you from
[13:19:10] <gene_> I have just one hooked up
[13:19:26] <gene_> Good old hew hess of aye!
[13:19:52] <IchGuckLive> what config are you on parport-> Breakoutboard with optocopplers -> driver
[13:19:54] <gene_> Middle of west virginia in fact
[13:21:05] <ries> archivist: that's impressive...
[13:21:07] <gene_> I have one of arturo's C1G boards hooked to the parport, and also powered from the motor supply with 5.14 volts
[13:21:49] <IchGuckLive> gene_ did you doble check the pinout ?
[13:21:59] <archivist> ries, seen one at an exhibition, wonderful toys
[13:22:23] <ries> archivist: Must be indeed...
[13:22:41] <archivist> ries, when I get pennies I will cnc a sliding head I have
[13:22:45] <gene_> I think it on xylotex mode, and the motor I have hooked up is on pins 2-3
[13:23:29] <archivist> gene_, make sure any enable is set, and does your port need pullups
[13:23:59] <IchGuckLive> im off i do not know this board
[13:24:43] <gene_> I just found the commons are on the 5 volt bus, so I'll change that
[13:25:31] <gene_> eg no pulldown for the bottom of the opto's in the 2m542's
[13:27:02] <gene_> But that didn't change anything, now all the outputs are ijn the 300mv range
[13:27:46] <archivist> commons at 5v is probably ok for open collector driving
[13:27:47] <gene_> aha! board enable jumper went missinjg just now
[13:31:01] <gene_> Now I have leds all over
[13:31:28] <alex4nder> yoh
[13:36:49] <SolarNRG> This looks like a nice starter project: http://www.youtube.com/watch?v=k8d0lFpZBH4
[13:43:41] <gene_> damn, looks like I have my first bad 2m542, the red pwr led is dark.
[13:46:12] <gene_> wrong led, and wrong logic for enable, that input is a disable!
[13:49:58] * JT-Shop hands gene_ a homebrew
[13:53:27] <ssi> hi JT
[13:54:43] <JT-Shop> hi
[13:54:57] <ssi> I got preliminary homing working last night
[13:55:06] <ssi> it doesn't use the fine home prox at all
[13:55:18] <ssi> just seeks at 2ipm to the coarse home, backs off it, then back into it to the next resolver index
[13:55:48] <ssi> I figure that oughta be either quite repeatable, or else it'll be off by some multiple of the resolver cycle
[13:58:32] <JT-Shop> cool
[13:59:14] <gene_> I'll take it!
[13:59:52] <gene_> Now in my .hal for piin one, how to invert that signal"?
[14:00:21] <gene_> Now in my .hal for pin one, how to invert that signal"? Needs a high to disable the drivers
[14:00:34] <ssi> JT-Shop: I'd still like to figure out how to gate the index by the fine home, but I'm not smart enough to do that on my own :?
[14:01:45] <JT-Shop> gene_: which pin?
[14:10:02] <pcw__> gating index enable should be easy, just gate the switch that index enable sees (with the AND comp)
[14:11:26] <ssi> lemme pull up the hal and look at it
[14:12:27] <ssi> ok so I really don't fully grok how index-enable works
[14:12:35] <ssi> who sets it, who reads it, when etc
[14:12:47] <ssi> I see these:
[14:12:47] <ssi> net z-index-enable <=> pid.z.index-enable
[14:12:52] <ssi> net z-index-enable axis.2.index-enable <=> hm2_5i23.0.resolver.00.index-enable
[14:15:18] <pcw__> somehow those must be gated by your homeswitch, maybe further upstream
[14:16:27] <ssi> well I follow you in concept, but I'm confused about who is responsible for setting enable, and who actually looks at enable to decide what to do
[14:16:31] <ssi> the whole thing is a bit of a black box to me
[14:16:52] <ssi> I *think* that I need to gate the signal going to the resolver.00.index-enable
[14:16:53] <FredrikHson> thanks guys for the tips yesterday milled/currently milling a new pcb today and everything but the ssop chip seems to come out just fine
[14:16:59] <pcw__> what does your home switch connect to?
[14:17:21] <ssi> coarse:
[14:17:21] <ssi> setp hm2_5i23.0.gpio.032.is_output FALSE
[14:17:22] <ssi> net z-home-sw <= hm2_5i23.0.gpio.032.in_not
[14:17:32] <ssi> and then the fine just goes to a signal I made up:
[14:17:33] <ssi> setp hm2_5i23.0.gpio.034.is_output FALSE
[14:17:33] <ssi> net limit-z-fine-home <= hm2_5i23.0.gpio.034.in_no
[14:17:36] <ssi> not used for anything yet
[14:18:48] <ssi> so what I'm thinking is that I neeed axis.2.index-enable AND limit-z-fine-home => resolver.00.index-enable
[14:18:48] <pcw__> so z-home-sw needs to be the and of course and fine
[14:18:55] <ssi> oh I see
[14:19:20] <ssi> that's not how cradek explained it...
[14:19:46] <ssi> cradek made it sound like what I wanted was to use the fine to gate the index to only one index per rev
[14:19:48] <pcw__> There may be an issue of passing home if you do it that far upstream
[14:19:59] <ssi> cause I get something like 20 resolver indexes per rev
[14:20:13] <ssi> and the fine switch is a prox on the screw itself
[14:20:39] <pcw__> (hence cradeks way)
[14:20:43] <ssi> right
[14:21:31] <pcw__> i think its tougher downstream because the signal is bidirectional at that point
[14:22:04] <ssi> right
[14:22:33] <pcw__> (I suspect this can be done with a (HAL) set/reset FF and the gate)
[14:22:48] <ssi> I wouldn't begin to know how to go about that
[14:23:02] <ssi> is there a component name you can give me so I can start looking at the man page?
[14:23:18] <pcw__> FF set by and of coarse and fine. cleared by coarse going away
[14:24:27] <gene_> John, pin 1
[14:24:37] <pcw__> feed the FF output to z-home-sw
[14:25:41] <JT-Shop> gene_ on the parallel port?
[14:25:53] <ssi> hrm
[14:26:24] <ssi> that still may not really help
[14:26:31] <ssi> if the axis overshoots the fine switch
[14:26:43] <ssi> your home signal will still be enabled cause it hasn't passed the coarse switch,
[14:26:51] <ssi> but you can't guarantee that you're seeing the correct resolver index
[14:27:06] <pcw__> no that is guaranteed
[14:28:19] <JT-Shop> gene_: if your using the parallel port driver then parport.<p>.pin-<n>-out-invert (bit) Inverts an output pin.
[14:28:32] <JT-Shop> it's a parameter
[14:28:44] <pcw__> because the home on index logic is disarmed at the first "index"
[14:29:33] <pcw__> so only the first "index" after both coarse and fine are valid is recorded
[14:30:06] <ssi> sure, but lets say your searchvel is 4ips, and as soon as it sees both switches high, it stops
[14:30:19] <ssi> but it coasts the equivalent of two resolver indexes
[14:30:27] <ssi> then it's going to latch on the next index
[14:30:33] <ssi> which isn't the index within the gated region
[14:30:40] <pcw__> nope
[14:30:54] <pcw__> it only latches the first
[14:31:16] <ssi> ok
[14:31:23] <ssi> btw if I use the flipflop
[14:31:26] <ssi> what do I use for the clock?
[14:31:52] <pcw__> its software set reset FF
[14:31:58] <pcw__> bbl
[14:32:07] <ssi> I'm looking at man flipflop
[14:32:12] <ssi> loadrt flipflop [count=N|names=name1[,name2...]]
[14:32:16] <ssi> flipflop.N.clk bit in
[14:32:17] <ssi> clock, rising edge writes data to out
[14:34:32] <gene_> That should be the one John, thanks
[14:35:11] <gene_> I wasn't sure if the sytax was 'invert' or 'not'
[14:39:34] <JT-Shop> 'not' is for inputs
[14:39:45] <JT-Shop> 'invert' is a parameter for outputs
[14:46:57] <ssi> JT-Shop: did you have a varispeed screw to deal with?
[14:47:09] <JT-Shop> on?
[14:47:12] <ssi> your CHNC
[14:47:21] <JT-Shop> no, what is it for?
[14:47:24] <ssi> mine has a stepper motor that runs a ballscrew to change the belt ratio
[14:47:26] <ssi> for speed control
[14:47:31] <SolarNRG> What would I possibly use this giant IGBT for: http://uk.farnell.com/jsp/displayProduct.jsp?sku=1833591&CMP=e-2072-00001000&gross_price=true
[14:47:40] <ssi> oh right you have the servo spindle
[14:47:48] <JT-Shop> like a variable speed belt thingy?
[14:47:51] <ssi> yeah
[14:48:38] <ssi> SolarNRG: for £1,861.36 I'm sure you can come up with a use
[14:48:39] <JT-Shop> anyone remember the magic terminal command to make ubuntu share files with a winblows computer?
[14:49:05] <ssi> start samba?
[14:49:14] <ssi> maybe /etc/init.d/samba start
[14:49:58] <JT-Shop> I can visiit all my linux boxes and I did something on the hardinge so I could copy and past files on shared directories
[14:51:11] <archivist> I often cheat and run webservers on all the boxes then its easy to share
[14:52:31] <SolarNRG> I can't afford it, but what use would it possibly have? Like a radio broadcasting station or something?
[14:52:58] <JT-Shop> the part I hate is after I did that I said "I'll make a note of that so I never forget" :/
[14:54:41] <archivist> you need to sacrifice a kitten to remember samba setups
[14:58:14] <JT-Shop> sudo smbpasswd -a username
[14:59:43] <JT-Shop> YEA that worked
[15:52:27] <DJ9DJ> gn8
[16:07:07] <JT-Shop> well crap, my 7i76 card won't wake up now
[16:09:05] <PCW> 10 story high Tesla coil?
[16:09:29] <PCW> oops
[16:09:52] <JT-Shop> that would fix it for sure
[16:09:52] <PCW> No I/O?
[16:10:57] <JT-Shop> yea, just looking to see led status
[16:12:00] <JT-Shop> both leds are yellow
[16:12:02] <ssi> PCW: you see what I mean about the flipflop clock?
[16:14:00] <PCW> Yeah you need a S/R FF
[16:14:19] <ssi> what's the component name
[16:16:22] <PCW> actually flipflop will do (tie clock low)
[16:16:38] <PCW> it has set and reset inputs
[16:21:29] <PCW> (and reset priority which is nice)
[16:21:30] <JT-Shop> and running a 5i25 bare config shows no 7i76 pins in Show Hal configuration
[16:21:30] <PCW> because of the reset priority you dont need the and gate
[16:21:30] <PCW> cable troubles? LV on field I/O
[16:21:31] <JT-Shop> I can check, it was running then hit a limit switch then Axis locked up when rebooting no 7i76
[16:23:28] <JT-Shop> I have 11.98 at the terminal block on the 7i76
[16:23:42] <PCW> that should be OK
[16:23:44] <JT-Shop> 11.98vdc
[16:25:29] <PCW> is the 7I76 connected directly to the 5I25 with a IEEE-1284 cable?
[16:27:11] <JT-Shop> yes
[16:28:21] <PCW> whats the config line in the bare 5i25 INI file?
[16:30:28] <JT-Shop> loadrt hostmot2
[16:30:30] <JT-Shop> loadrt hm2_pci config=" num_encoders=2 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 "
[16:32:25] <PCW> can you try adding "sserial_port_0=0XXX"
[16:32:30] <JT-Shop> ok
[16:33:34] <JT-Shop> config loads but no 7i76 pins
[16:35:42] <PCW> Well sounds bad (though its pretty odd)
[16:36:12] <PCW> can you check one more thing : the 3.3V power?
[16:36:30] <JT-Shop> ok
[16:36:43] <PCW> thats from left side of L1 to field gnd
[16:37:53] <PCW> L1 is little ferrite inductor kinda in between the electrolytic caps
[16:40:12] <JT-Shop> looking
[16:40:43] <JT-Shop> ok, I see it on the print
[16:44:20] <JT-Shop> I don't get anything on the 3.3V power
[16:45:00] <JT-Shop> should the 12V be on to test the 3.3V
[16:45:10] <PCW> yes
[16:46:01] <JT-Shop> 3.31V
[16:46:52] <PCW> One last thing before RMA, have you power cycled the computer?
[16:47:03] <JT-Shop> about 3-4 times
[16:47:35] <PCW> just to be clear, not rebooted but power cycled
[16:49:18] <JT-Shop> yes, power strip switch off wait then back on
[16:49:33] <JT-Shop> any point in trying a 24V power supply for field power?
[16:50:51] <JT-Shop> a couple of times the other day I had to cycle field power a couple of times before Axis would load
[16:51:33] <JT-Shop> be back in a bit
[16:56:19] <PCW> Is field power on before you start?
[17:02:25] <PCW> This is sounding familiar, there's a bug in older 7I76 firmware
[17:02:27] <PCW> (and I think you have very old firmware) that the field voltage check
[17:02:29] <PCW> only reads the voltage once at startup instead of continuously
[17:02:30] <PCW> so if the field voltage ramps too slow it wont start as it was too low at the first read
[17:38:27] <ssi> hrm
[17:58:07] <rob_h> cradek, was just wundering if you could share some insight to the cutting oil you run in your hnc, whos it is
[18:02:13] <cradek> rob_h: I understand it's no longer available, so I have nothing useful for you
[18:03:32] <rob_h> oh right, thx yea alot of them have been replaced with newer ones latly
[18:04:29] <rob_h> was it a biodegraded class one? not a mineral oil based
[18:22:29] <JT-Shop> PCW I let it sit a while then powered up the field power then booted up then started my config and it magically worked...
[18:23:01] <PCW> I think it needs firmware updating
[18:23:05] <Tom_itx> heat related bug?
[18:23:47] <JT-Shop> is that something I can do here?
[18:24:21] <PCW> It awkward
[18:26:19] <PCW> in involves reprogramming both the 5I25 and 7I76
[18:26:47] <PCW> (both of which need updating anyway)
[18:27:03] <cradek> rob_h: it was soybean oil of some kind
[18:27:31] <PCW> I think you have serial #1 or 2...
[18:27:49] <JT-Shop> ok, let me see if I can get my parts cut out then I'll send them back
[18:28:04] <JT-Shop> Andy must have gotten serial #-1
[18:28:23] <Tom_itx> sometimes it doesn't pay to be on the bleeding edge
[18:28:53] <rob_h> its only we was looking at cutting oils and wundering how well them kind of oils work compared to you water based or neat mineral that was all
[18:29:17] <rob_h> how well they work on Alli too if lubricate enougth
[18:30:46] <PCW> I can send you a test 7I76/5I25 to hold you over until we update/send back your set
[18:30:56] <JT-Shop> ok, that would be cool
[18:33:28] <PCW> JT-Shop did you scroll back and see the firmware error in the first cards?
[18:33:30] <PCW> this will also fix operation in modes 1 and 2
[18:33:56] <JT-Shop> PCW yes I saw that
[18:35:46] <PCW> I should have asked for the serial # right away took me a while to remember you have a old card
[18:37:12] <JT-Shop> where is the number?
[18:38:46] <PCW> probably well hidden on the back of the card
[18:39:31] <PCW> (I think you can read it via HAL)
[18:40:20] <PCW> its a parameter
[18:42:03] <JT-Shop> 0x10000001
[18:42:14] <PCW> Ha Andy has 0
[18:42:56] <PCW> or maybe 0xFFFFFFFF if we didn't program it
[18:43:39] <JT-Shop> speaking of Andy is his within 750nm of you
[18:43:55] <djdelorie> nanometers?
[18:44:13] <PCW> Thats too darned close!
[18:44:33] <djdelorie> did my first "real" piece on the cnc machine, Y axis is 10% too big, but the pocket it cut is too small... :-P
[18:45:08] <djdelorie> but my outside is too big, maybe I have the wrong diameter tool...
[18:45:43] <Jymmm> PCW: Just wait till he sails in to your front door!
[18:46:36] <PCW> Hes supposed to stop by. We owe him a nice dinner at least
[18:47:07] <Jymmm> PCW: Heh, you should surprise him with this HUGE care-package box, then only have like the oldest smallest daughter card in it.
[18:47:30] <Jymmm> and a cider block or two for weight
[18:48:27] <Jymmm> PCW: It's best to call for reservations, but not always required... http://houseofprimerib.net/
[18:48:32] <PCW> For all the work he's done we owe him big time so hardware is not an issue
[18:48:59] <djdelorie> X is off by 3%, Y by 10%
[18:49:03] <Jymmm> pcw_: And house of prime rib is SWPadnos approved as well!!!
[18:49:06] <djdelorie> also, DUST EVERYWHERE!!!! :-)
[18:49:10] <PCW> I dont think that will work for Andy (or us)
[18:49:29] <Jymmm> pcw__: Oh, you must be vegan freaks then.
[18:49:44] <PCW> veggiecommies
[18:49:57] <Jymmm> pcw__: Then I dont know of any place, I'm a carnivor.
[18:50:14] <Jymmm> pcw__: And I know NOTHING in your area at all. Richmond that is.
[18:50:27] <djdelorie> "Vegetables: What food eats." ;-)
[18:50:58] <Jymmm> Yeah, what djdelorie said, so it's liek veggies pcw__!
[18:51:23] <Jymmm> pcw__: You live in SJ, or ???
[18:52:04] <PCW> Tiny little place in the sticks called El Sobrante
[18:52:47] <PCW> which means "The Leftovers"
[18:52:55] <Jymmm> PCW: Oh, so you dont have any commute at all, that's good.
[18:53:13] <PCW> about 3 miles
[18:53:26] <Jymmm> you could walk that.
[18:53:42] <PCW> We do sometimes
[18:53:56] <Jymmm> heh
[18:54:08] <mozmck> djdelorie: I notice in your pictures that you have a wood shop. What kind of stuff do you make?
[18:54:23] <Jymmm> sawdust and toothpicks
[18:54:37] <ssi> PCW: I'm about to try your suggestion about using a flipflop to gate the home switch
[18:55:09] <mozmck> Jymmm: all you need it teeth for that!
[18:55:43] <mozmck> is that is.
[18:56:22] <JT-Shop> 2 down 8 to go
[18:56:24] <Jymmm> mozmck: Hey, you make the teeth from wood, Ben did!
[18:56:32] <Jymmm> This is cute... http://www.godvine.com/Ducklings-in-Need-of-Help-Get-Just-What-They-Need-Cute-1313.html
[18:56:52] <djdelorie> mozmck: mostly furniture
[18:57:10] <djdelorie> (for myself and friends, not for "work")
[18:57:35] <djdelorie> http://www.delorie.com/wood/desk/photos/img_1986.html
[18:57:44] <mozmck> djdelorie: neat. I have a few furniture projects in the works.
[18:57:51] <djdelorie> http://www.delorie.com/wood/projects/tables/dining0001.png
[18:58:00] <JT-Shop> that's like being good at concrete but you don't let the secret out unless you really like them
[18:59:48] <Jymmm> djdelorie: where you at on the planet?
[19:00:03] <djdelorie> new hampster
[19:00:12] <Jymmm> ah
[19:00:35] <Jymmm> djdelorie: Ah, a DOS guy! I thought I was the only one left!
[19:01:33] <mozmck> djdelorie: nice stuff. I've mostly built and repaired instruments - banjos, guitars etc.
[19:01:44] <ssi> PCW: for what it's worth, the Z fine home seems to fire twice while the Z coarse home is on
[19:02:01] <Jymmm> djdelorie: WTF... you are the DJGPP guy?
[19:03:24] <JT-Shop> djdelorie: did you make the chairs?
[19:04:57] <djdelorie> yes, I'm the DJ of DJGPP
[19:05:11] <djdelorie> I didn't make the chairs
[19:05:41] <JT-Shop> I like the wedges on the table
[19:06:04] <Jymmm> djdelorie: You SO shouldn't have said that, I'll be dissecting your brain soon!
[19:06:05] <djdelorie> I got the chairs from a local artisan who used the same wood, and finished them at the same time as the table, so they look the same
[19:07:19] <Jymmm> djdelorie: I remember coming across some of your stuff on simtel many moons ago.
[19:08:03] <mozmck> It's quite a job gluing up a top for a table like that isn't it?
[19:09:17] * Jymmm is off to go pickup SWPadnos, laters!
[19:11:31] <PCW> bye jymmm
[19:11:32] <PCW> ssi with the FF cleared by not coarse_home and set by fine_home, the FF output
[19:11:34] <PCW> should only go true when both coarse_home and fine_home are true and stay until coarse_home goes false
[19:11:58] <PCW> (stay true until)
[19:13:37] <PCW> (this depends on the HAL comps flip flop reset having priority over set)
[19:15:16] <djdelorie> gluing the top was easy compared to gluing the legs
[19:15:39] * djdelorie -> food
[19:32:03] <ssi> PCW: yea it works
[19:32:15] <ssi> PCW: what I meant was that there are two fine highs while coarse is high
[20:11:03] <ssi> i feel like I'm about ready to try to cut something
[20:11:05] <ssi> but I dunno what
[20:15:25] <Thetawaves> make some rocket nozzles
[20:20:30] <ssi> got g code for them?
[20:24:55] <PCW> PCW: what I meant was that there are two fine highs while coarse is high
[20:24:57] <PCW> yes but they should no do anything (as index_enable is removed on the first one)
[20:25:27] <PCW> not do
[20:29:05] <PCW> at 4 IPS and 1Khz servo thread, there are ~5 servo thread invocations between
[20:29:07] <PCW> fine indexes so it should work even at this speed
[20:29:09] <PCW> (Though a lower homing speed might be safer)
[20:33:55] <ssi> ah ok
[20:34:00] <ssi> I'm homing at 1ips
[20:34:01] <ssi> and latchvel is 0.2
[20:34:10] <ssi> anyway the homing seems to work, but I haven't measured it for repeatability
[20:44:36] <ssi> now I Have pyvcp buttons for my collet close :D
[21:48:13] <ssi> too quiet tonight!
[22:46:34] <Nick001> did you get the resolver issue solved?
[22:50:16] <ssi> not yet, waiting on new interface card
[22:50:20] <ssi> I did just cut my first part tho
[22:51:49] <Nick001> good deal but how can you do that without knowing the resolver count to leadscrew
[22:51:59] <ssi> I have known the count for ages
[22:52:05] <ssi> http://a4.sphotos.ak.fbcdn.net/hphotos-ak-prn1/529499_818700965252_71107655_35508767_1301398710_n.jpg
[22:52:57] <Nick001> chess part ?
[22:53:09] <ssi> lathe_pawn.ngc that ships with emc
[22:54:01] <ssi> finish isn't great, but it's not exactly calculated feeds and speeds either :)
[22:55:13] <Nick001> then whats the prob with the card?
[22:56:08] <Nick001> you can always slow the feeds down
[22:57:22] <ssi> electrical ratio, like I was saying last night
[22:57:29] <ssi> the hardinge resolvers output too much voltage
[22:57:53] <ssi> they work fine, but it's clipping the AD amp, so I'm losing resolution
[22:58:01] <ssi> my follow error isn't as low as I'd like
[22:58:18] <Nick001> do you still need that info -
[22:58:51] <Nick001> i found 2 of the resolvers
[23:00:06] <ssi> if you've got it, sure
[23:00:43] <Nick001> Harowe Servo Control
[23:01:04] <Nick001> Rotor 1 Phase Output 6.0 V
[23:01:25] <Nick001> Stator 2 Phase Input 12v
[23:01:33] <Nick001> 2500 HZ
[23:01:59] <Nick001> The Singer brand just has part #'s
[23:02:48] <Nick001> Also -5 to 1 ratio with the gears
[23:04:20] <Nick001> leadscrew has 140 t gear driving a 28t gear on resolver and tach
[23:04:45] <Nick001> tach is 20.8v/1000 rpm
[23:05:33] <Nick001> BTW - what is the axis reslver count per rev?
[23:05:58] <Nick001> resolver
[23:07:18] <ssi> the scale is 0.02
[23:07:31] <ssi> but that includes screw ratio
[23:07:51] <ssi> the 12V in, 6V out thing concerns me
[23:07:59] <ssi> leads me to believe that it's a 2:1 resolver
[23:08:05] <ssi> but my empirical measurement says otherwise
[23:08:39] <Nick001> thats whats on the case
[23:09:08] <Nick001> you have 2:1 + 5:1 gearing
[23:11:59] <Nick001> does it make any sense of 4096 line count per rev?
[23:12:20] <ssi> I don't understand your question
[23:13:30] <Nick001> I put a resolver back on the spindle and the card returns 4096 line count on halconfig
[23:15:05] <ssi> you're using a pico card?
[23:15:18] <Nick001> yes
[23:15:28] <ssi> the pico card is a resolver to encoder converter
[23:15:31] <ssi> the mesa card is not
[23:15:40] <ssi> it just reads resolvers directly and has resolver components in hal
[23:15:47] <ssi> they give angle and position... no counts
[23:16:51] <Nick001> how many positions per rev?
[23:17:02] <ssi> infinite divided by 14 bits :P
[23:17:40] <Nick001> you just went way beyond me
[23:17:53] <ssi> it's an analog signal run through a 14 bit AD
[23:17:56] <ssi> or maybe it's 12 bit
[23:18:47] <Nick001> define AD
[23:19:06] <Nick001> dumb questions
[23:19:10] <ssi> Analog to Digital converte
[23:19:22] <Nick001> ah
[23:19:45] <Nick001> 14 bits of what?
[23:20:06] <ssi> 14 bits is 4k
[23:20:11] <ssi> so 4096 counts :)
[23:21:23] <Nick001> how does 14 bits of what becomes 4k -
[23:21:29] <ssi> 2^14
[23:21:47] <ssi> hrm sry
[23:21:50] <ssi> 2^14 is 16k
[23:21:53] <ssi> 2^12 is 4k
[23:23:15] <Nick001> glad i'm a good machinest - I can still make a living -)
[23:23:46] <Nick001> 2^14 means what
[23:23:58] <ssi> two to the fourteenth power
[23:24:07] <Nick001> oh
[23:25:58] <Nick001> never got into it that deep - just point me in the right dir and I get there
[23:26:37] <Nick001> I need to upload to utube 2 vids of my maching cutting a ss part