#emc | Logs for 2009-03-03

Back
[00:00:10] <PCW> Yep
[00:00:21] <seb_kuzminsky> how do you set the chip select bits in the channel descriptor? how are the CS bits connected to the slave device?
[00:00:33] <seb_kuzminsky> are there some dedicated CS pins on the 50-pin header?
[00:03:04] <PCW> Yes the CS bits are just a field in the descriptor. CS just special I/O like step/dir etc
[00:03:06] <PCW> Theres also a variant of BSPI that has decoded chip selects, in case you want to directly connect to chips
[00:03:49] <seb_kuzminsky> is there a datasheet for the 7i65 somewhere?
[00:04:07] <PCW> (7I65 uses non decoded CS to save isolation channels)
[00:04:09] <geo01005> PWC: So if I want to send a frame using the second descriptor, I send the data to the ports base address+32bits?
[00:04:16] <seb_kuzminsky> found it
[00:04:29] <PCW> No data sheet but the preliminary manual is on website
[00:05:00] <PCW> Geo: yes +04
[00:09:01] <seb_kuzminsky> PCW: so to send to the DACs you write the frames you want to the DACs' channel-descriptor's fifo, i see how that works
[00:09:14] <geo01005> what should the GTag for SPI be?
[00:10:10] <seb_kuzminsky> how do you read from the ADCs? You put the right number of frames in the ADC's channel-descriptor's fifo, with dont-care data?
[00:10:13] <PCW> So transmit FIFO spans 0x40 byte address range (16 x 32 bit words one per descrriptor)
[00:10:15] <PCW> In other words in hardware when you do a write to the send FIFO, the top 4 bits of the
[00:10:17] <PCW> data pushed on the 36 bit wide send FIFO are the address bits 5,4,3,2
[00:11:16] <PCW> For the ADCs on the 7I65 You also send a read next channel address command
[00:13:21] <PCW> Geo BSPI tag is 0x0e DBSPI tag is 0x0F (config I sent has DBSPI = decoded BSPI)
[00:13:23] <PCW> So you have a gated FRAME/CS signal for direct connection to a SPI device
[00:14:04] <geo01005> I see.
[00:15:35] <seb_kuzminsky> gotta go, see you guys later
[00:16:19] <PCW> For ADCs, I havent finished it yet but I'm adding a autosend buffer,
[00:16:21] <PCW> so a single write can trigger up to 16 pre-programmed frames to be sent
[00:16:23] <PCW> to avoid the overhead of sending multiple read requests
[00:16:46] <geo01005> So the only things that need to be done to setup the DBSPI interface is to write the channel descriptors, and make sure the IO are the right direction?
[00:16:59] <geo01005> That sounds great :)
[00:17:18] <geo01005> (The auto send buffer)
[00:17:52] <PCW> Basically thats it (plus learning the internals of whatever device you are talking to)
[00:19:31] <geo01005> So, I really could use the RAW mode if I don't have to read the device each time HM2 talks to the firmware.
[00:21:10] <PCW> I think raw mode would be OK for testing anyway, it would give
[00:21:12] <PCW> you a feel for the way the hardware works.
[00:21:13] <PCW>
[00:22:43] <geo01005> PCW: thanks for the help, I've got to run too.
[00:23:39] <PCW> Welcome!
[00:33:53] <alex_joni> good night all
[01:40:00] <eric_unterhausen> anyone remember what size flash drive JMK used to boot his robot?
[01:41:50] <jmkasunich> 128M
[01:42:02] <eric_unterhausen> that's what I remembered, thanks
[01:42:31] <eric_unterhausen> which distribution did you use?
[01:42:37] <jmkasunich> hardy
[01:42:58] <jmkasunich> things would have been much easier if I had a bigger flash drive
[01:43:12] <jmkasunich> I had to put the installer and boot kernel on the flash, and transfer the rest over the network
[01:43:16] <eric_unterhausen> 1gig big enough to be easier?
[01:43:19] <jmkasunich> much googling and trial-and-error
[01:43:28] <jmkasunich> yes, the iso iso is ~700M
[01:43:32] <eric_unterhausen> cool
[02:49:22] <UncleGemc> can I check my tach on my servo with the halscope without nuking my lpt port?
[02:53:47] <skunkworks> no. Tach is a analog signal - printer port it digital.
[02:59:01] <eric_unterhausen> you could get an analog to pulse converter
[03:00:35] <UncleGemc> Thank you guys, i'll see what I cant drum up on that analog to pulse
[03:11:29] <UncleGemc> * is on ebay looking at scopes
[03:12:52] <UncleGemc> $25 for a 20mhz analog worth getting or is there something I should know before I buy one?
[03:14:38] <jmkasunich> UncleGemc: buying a scope is like buying a car
[03:14:54] <JustinXJS2> you have to be careful with buying scopes on ebay, lots of them have issues
[03:15:00] <jmkasunich> if you don't know what you want you probaby shouldn't
[03:15:16] <jmkasunich> hmm, do I want a sports car, a pickup, or a station wagon?
[03:15:20] <UncleGemc> Well, I own a 1964 chrysler 300 and I like it pretty good
[03:15:22] <jmkasunich> if you don't know, don't buy
[03:16:14] <UncleGemc> I really just need to check the tach output to make sure it is "critically damped"
[03:18:59] <UncleGemc> I don't need anything fancy I don't think max voltage on the tach 7v, it should look like this /````\ but it prolly looks like this $#^&% other than using a scope do anyone got any tips on how to get it damped?
[03:20:41] <eric_unterhausen> I thought I was going to give away a scope but the timebase doesn't work for some reason. They must have capacitors in a timing circuit or something like that
[03:59:01] <LawrenceG> rob__, your internet is borked
[07:26:01] <Guest116> test
[07:26:39] <toastydeath> this is only a test
[07:26:52] <toastydeath> if this was a real chatroom, directions on conversation would immediately follow
[07:29:21] <Guest116> i thought it wasnt working things were so quite
[07:30:33] <JymmmEMC> Did you hear something toastydeath?
[07:30:52] <toastydeath> i think i left the door open and it's the wind
[07:31:12] <JymmmEMC> toastydeath: Ah ok, I thought I was imagining things there for a sec.
[07:32:18] <toastydeath> it happens to the best of us
[07:32:29] <JymmmEMC> =)
[07:55:06] <micges_emc> good morning
[10:39:02] <pjm__> good morning
[10:42:00] <Dallur> morning
[13:53:47] <Guest865> Guest865 is now known as skunkworks_
[14:24:52] <BJT-Work> is the 9-number coordinate of each successful straight probe X Y Z A B C U V W?
[14:40:31] <jepler> BJT-Work: yes
[14:41:13] <BJT-Work> thanks jepler
[15:34:15] <skunkworks_> hmm - dead here.
[15:35:15] <BJT-Work> my string broke :/
[15:39:50] <skunkworks_> heh
[15:52:59] <pjm__> afternoon all, i've finally got my 'test' encoder on the spindle, it has 32ppr and a seperate index pulse, is it possible to get some tips on integrating these signals into emc2 with the end goal of being able to do synchronised spindle movements
[15:53:21] <pjm__> i've had a look at the lathe.hal demo but i think its over complicated for my needs?!?
[15:54:14] <fenn> lathe.hal is simulated, it's no good for you
[15:54:53] <fenn> look at nist-lathe.hal
[15:55:55] <fenn> except use encoder instead of counter
[15:57:12] <fenn> you could also look at etch-servo/etch.hal for encoder hookup example
[15:57:52] <fenn> you won't need any of the PID stuff
[15:58:16] <fenn> er, at least i'm assuming your VFD has that built in
[15:59:34] <pjm__> okey dokey thanks i will examine that nist-lathe. eventually i want to hook the encoder up to a pid so i can have closed loop spindle speed control
[15:59:43] <BJT-Work> pjm__: if you can get/wait for 2.3 the wizard does a pretty good job of getting you goint
[15:59:46] <BJT-Work> going
[16:00:38] <pjm__> ah ok thanks perhaps i'll download that and compile it on another box then run the wizard to make the config
[16:01:04] <BJT-Work> the config might not work with 2.2.x
[16:01:12] <BJT-Work> so you have to use it with 2.3
[16:02:29] <pjm__> ok, well perhaps i can look at the file it creates and cut/paste it into my existing configs
[16:02:46] <pjm__> i'd like to try and understand how to make it work thoough
[16:03:23] <BJT-Work> http://www.linuxcnc.org/docview/devel/html//examples_spindle.html#r2
[16:06:00] <pjm__> BJT-Work thanks that stuff at the bottmom of the devel page looks exactly what i need!
[16:06:08] <BJT-Work> cool
[16:08:00] <pjm__> great i will try it in a few mins and report back! brilliant
[16:08:23] <pjm__> i just finished making the encoder electroncs, so its outputting nice clean edges
[16:31:21] <dave_1> Does anyone have or know of a working hm2-servo 5i20 .ini and hal file ????
[16:32:30] <BJT-Work> for 2.3?
[16:35:12] <dave_1> yes
[16:35:51] <BJT-Work> run emc from the menu and select a config from there and tell it to save a copy for you
[16:36:05] <BJT-Work> they are basic configs with no limit switches
[16:38:46] <dave_1> I have pre-2.3 (like the day before release) and it has a 7i43 config but no 5i20
[16:39:38] <dave_1> can you give me a path to the hm2-servo-5i20 config?
[16:39:58] <BJT-Work> dave_1: the 5i20 was in there for quite a while as I have been playing with them for some time now... you may be looking in your configs not the ones in usr/share or something like that
[16:40:26] <BJT-Work> the top of the list is what is in your ~emc2/configs directory
[16:40:29] <jepler> configs/hm2-servo/5i20.ini
[16:40:43] <dave_1> apparently I'm looking in the wrong place
[16:41:05] <dave_1> will try again
[16:41:52] <BJT-Work> http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/configs/hm2-servo/5i20.ini
[16:49:10] <BJT-Work> * BJT-Work is off to take my crack head to the machine shop to be repaired
[16:50:04] <eric_unterhausen> crack heads are so '80s, nowadays it's meth heads
[16:50:04] <archivist> BJT-Work, but but you are the machine shop
[16:52:06] <BJT-Work> archivist: but I don't weld cracked tractor heads and rebuild them :/
[16:52:37] <BJT-Work> eric_unterhausen: actually it is a 1956 head
[16:53:08] <archivist> BJT-Work, doing it properly does require cast iron cooking I know :)
[16:53:44] <BJT-Work> I can weld cast iron but don't have the equipment to do the valve job...
[16:53:45] <archivist> I last did a casting in a forge, was entertaining
[16:53:55] <BJT-Work> that sounds like fun
[16:54:13] <BJT-Work> be back after while
[16:55:30] <dave_1> Ni rod and pre-heat is supposed to work on cast ... I've never been very successful
[16:55:59] <dave_1> braze may work as well
[16:56:04] <archivist> it does work but care is needed
[16:56:34] <eric_unterhausen> if care is needed, it's no good for me
[16:56:50] <archivist> also cast rod and a muffle furnace with a hole to work through
[16:57:03] <fenn> just mig weld it
[16:57:06] <archivist> and a gas torch
[16:57:25] <dave_1> Jepler/BJT having the right file certainly makes it easy. THANKS! Now off to wire limit and home switches (ugh)
[16:58:54] <jepler> unfortunately we haven't been able to find a way to allow "net" commands in the hal file to actually do new wire runs
[17:05:16] <SWPadnos> ?
[17:07:07] <cradek> that would sure be nice.
[17:07:12] <cradek> I'd pay twice as much for EMC if it did that
[17:07:27] <SWPadnos> make new "wires" using net in a hal file???
[17:07:49] <SWPadnos> like "rewire this net from that output to this output instead"?
[17:08:08] <cradek> jepler was talking about wires, not "wires"
[17:08:20] <SWPadnos> oh - that makes all the difference :)
[17:08:37] <SWPadnos> maybe I'll drink more of this here coffee
[17:08:57] <notranc> need to link EMC to Eagle to route the wires
[17:09:08] <SWPadnos> that
[17:09:16] <SWPadnos> that's been though about before
[17:09:35] <SWPadnos> and tomp even mad some eagle components representing HAL components
[17:09:39] <SWPadnos> made
[17:10:04] <SWPadnos> so you could make diagrams and stiff. I don't think he ever got to the point of exporting a schematic like that as a HAL file though
[17:10:19] <notranc> so that's not a joke?
[17:10:26] <SWPadnos> nope
[17:10:31] <SWPadnos> soryy :)
[17:10:35] <SWPadnos> argh
[17:16:52] <eric_unterhausen> SWPadnos: are you typing with your toes?
[17:17:00] <SWPadnos> I have no idea
[17:17:29] <alex_joni> eric_unterhausen: he's been on vacation ;)
[17:17:35] <jepler> hm, http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Eagle2HAL
[17:18:07] <SWPadnos> just woke up from about 14 hours of sleep, after being up for ~36 hours getting home
[17:20:15] <dave_1> SWP just needs more coffee to calm him down ;-)
[17:20:23] <SWPadnos> getting to it :)
[17:20:44] <alex_joni> valium ftw
[17:20:58] <SWPadnos> that's the opposite of coffee :)
[17:22:34] <alex_joni> http://www.reghardware.co.uk/2009/03/03/asus_lamborghini_vx5/
[17:23:15] <SWPadnos> I'm betting there's an extra zero in the price tag
[17:23:42] <notranc> just spoiled my day
[17:24:09] <dave_1> nothing that lots of $$ won't cure
[17:24:16] <eric_unterhausen> too bad about the limited ram
[17:24:35] <SWPadnos> other than the styling, thbe quad-core CPU, the video card, and the 1TB SSD, it's more or less the same as my laptop (excepat mine has a bigger screen)
[17:25:06] <dave_1> I like that "more or less"
[17:25:13] <SWPadnos> heh
[17:25:33] <alex_joni> I like the other than part :D
[17:26:05] <SWPadnos> mine has dual-core, 17" 1920x1080 screen, 4GB, 200GB disk, and 8400M graphics, so it's in the same league at least, if not in the same ballpark
[17:26:11] <SWPadnos> err, 1920x1200
[17:26:48] <dave_1> probably much more bang for the buck!
[17:27:05] <SWPadnos> heh, yeah. I bought it over a year ago, and it's still usable
[17:27:17] <SWPadnos> (about $2k at the time)
[17:27:19] <alex_joni> haha .. all in one: http://www.reghardware.co.uk/2009/03/03/review_inkjet_printer_brother_mfc_990cw/
[17:27:24] <notranc> my brother's Lamborghini http://envirofuel.files.wordpress.com/2007/10/r6-100-fs.jpg runs circles around Asus
[17:28:31] <SWPadnos> alex_joni, that's probably a very good machine actually. I have an older one (B/W only, not a flatbed) and it's excellent
[17:28:45] <SWPadnos> brother has some of the best paper handling in the FAX world
[17:29:11] <alex_joni> SWPadnos: I found it funny that it includes a phone and an answering machine
[17:29:24] <alex_joni> but it's actually pretty smart, as you need the phoneline for the fax function anyways
[17:29:30] <SWPadnos> well, so does mine :) (at least the phone, maybe not the answering machine)
[17:29:33] <SWPadnos> right
[17:29:53] <dave_1> gotta go wire .... see ya later.
[17:30:00] <SWPadnos> mine has a handset on the side, and sometimes you need to call with voice, then send the fax after someone on the receiving endhits a button
[17:30:03] <SWPadnos> see ya
[17:30:21] <archivist> we stopped using fax a few years ago
[17:30:38] <SWPadnos> email has mostly replaced it
[17:30:45] <SWPadnos> but not for some signature-related things
[17:32:04] <pjm__> btw, i know this might be a thick question but could someone give me an example of g-code for M6X1 tapping say 10mm deep? I've just hooked up the spindle encoder and want to do a fresh air tapping cycle first to test
[17:32:49] <SWPadnos> I think K is 1.0. does that help?
[17:33:37] <pjm__> one rev per mm movement of Z yeah that is right
[17:34:25] <SWPadnos> it may be 1mm per rev ...
[17:35:05] <SWPadnos> so M6x0.75 sould use K=0.75, not 1/0.75
[17:35:24] <cradek> g33.1 z-10 k1
[17:37:17] <pjmcnc> ok that simple. thanks ;-)
[17:37:20] <pjmcnc> i will test
[17:59:07] <Kohlswa7578> hmm... what will cut ferrite magnets good without shattering them ?
[17:59:58] <archivist> grinding or ceramic cutting diamond wheel
[18:01:18] <Kohlswa7578> thanks, think it will end up being cost prohibitive. :(
[18:01:20] <SWPadnos_> SWPadnos_ is now known as SWPadnos
[18:03:06] <archivist> nah a tile cutting wheel should be cheap enough, see also wht lapidary people do (we diamond cutting) all on the cheap
[18:05:05] <Kohlswa7578> well trying to come up with a way to solve a issue we have with several thousand round magnets. thay used to work just fine but now we are craping over 10%.
[18:08:26] <archivist> also a green grit silicon carbide wheel may cut ok
[18:11:54] <Kohlswa7578> mm.. well i'm just the unlucky guy that's forced to assemble them before thay get shiped out for welding. it's basically a stainless hollow hockey puck that we put a magnet in (prevented from moveing by locktight and a oring on the inner diameter).
[18:12:50] <archivist> drill hole larger
[18:13:34] <Kohlswa7578> hmm ?
[18:14:02] <archivist> actually ferrites have a loose size spec due to sintering process
[18:14:14] <Kohlswa7578> yes, thats why thay use the o-ring
[18:14:56] <archivist> whats the fitting problem ? length ?
[18:16:54] <Kohlswa7578> the problem is lately 10%+ of the magnets have come back lose after welding, the puck is welded on one site to enclose the magnet compleatly.
[18:17:27] <Kohlswa7578> lose/cracked thay rattle when shaked.
[18:17:46] <SWPadnos> what's the O-ring material?
[18:18:06] <SWPadnos> I can imagine the ring getting a bit warm during welding
[18:18:28] <Kohlswa7578> donno the specs, but it has worked more or less flawlessly for 3 years im told
[18:18:28] <archivist> and locktight cannot handle temperature
[18:19:06] <SWPadnos> if the O-rings changed from rubberto something else, or the loctite compound was changed, then that could be the cause of the problem
[18:19:38] <SWPadnos> which has nothing to do with cutting though
[18:19:40] <Kohlswa7578> well thay intend to try a oring meteral that suposedly will handle a higher temp.
[18:20:36] <Kohlswa7578> well about the cutting, i was thinking about makeing 2-4 slits to keep the magnet from spining inside the puck.
[18:22:02] <archivist> I would use a better potting compound
[18:22:45] <archivist> and most important educate the welder to heatsink the puck during welding
[18:23:06] <archivist> eg put in a vice
[18:23:35] <Kohlswa7578> thay are spun on some rotary setup with a tig welder, very nice welds.
[18:23:45] <Kohlswa7578> we machine them after welding
[18:25:38] <Kohlswa7578> thay are used to transfer power from a motor to some form or drive unit. to prevent oil/contamination.
[18:25:55] <archivist> eddy current drive
[18:27:23] <archivist> another more reliable trick would be a spring
[18:28:52] <Kohlswa7578> well there cant be physical contact
[18:33:48] <Kohlswa7578> well thanks for the input, im off for a bit.
[19:35:35] <fenn> Kohlswa: i'd say use black silicone gasket maker instead of the o-ring
[19:35:46] <fenn> it can handle 350C
[19:36:03] <fenn> (and heatsink the puck while welding of course)
[19:37:07] <archivist> if any goo is soft and expands or out gases it will damage the weld
[19:42:00] <dpy> hi
[19:42:59] <fenn> there would be some air space inside
[19:43:04] <dpy> say, does anyone know if 3 x 12 oz.in steppers would be sufficient to build this introduction-to-CNC-toy machine: http://www.instructables.com/id/Easy-to-Build-Desk-Top-3-Axis-CNC-Milling-Machine/
[19:43:55] <fenn> dpy: try it and find out
[19:44:07] <fenn> i'd say yes, but that thing is known to be a piece of crap no matter what you do
[19:45:27] <dpy> fenn: no problem with that, it's an introduction to the subject
[19:45:37] <archivist> ive seen better in the scrap yard
[19:46:05] <dpy> these steppers are also 37.5 Ohm per coil, so this is going to be slow anyway
[19:46:45] <archivist> ask yourself what you want to make first
[19:47:24] <dpy> with the machine you mean?
[19:47:40] <archivist> yes, perhaps use a real machine to learn how stiff and solid they are
[19:47:58] <dpy> I'd be happy if it got to mill PCBs and maybe some plastic/nylon/delrin parts
[19:48:49] <archivist> PCB requires some accuracy to your building of it eg the squareness
[19:49:39] <dpy> also, I hope it will be able to drill holes in kind of accurate locations
[19:49:51] <jepler> yes, low backlash, high squareness and table flatness, and low spindle runout are all important for circuit board milling. for etching+drilling, things can be a bit sloppier.
[19:49:58] <dpy> so maybe use this as a bootstrap machine to make a better one with it
[19:50:31] <archivist> I would not start with something so flimsy
[19:51:00] <dpy> well, I like the agile development adagium: small baby steps
[19:51:59] <dpy> better to have something that works from start to end, than have something that is for 1/3th best-of-the-best and 2/3 not finished, ergo: unusable
[19:52:13] <archivist> that design has no inherent squareness, will require some setting up
[19:52:31] <dpy> archivist: that's fine, I see it as a stepping stone
[19:53:02] <archivist> I dont want to see people tripped up by a stone
[19:53:22] <dpy> I have seen too many people who buy the best microstepping driver boards, NEMA 32 (or better) steppers
[19:53:32] <dpy> and end up not finishing the mill
[19:53:52] <dpy> or whatever it is they intended to build with it
[19:54:37] <archivist> they need more round tuits
[19:54:45] <dpy> archivist: failure is an option, if it only is capable of engraving my name, or even writing my name with a pencil, then I have a starting point for improvement
[19:54:58] <dpy> first-time-right is not one of my beliefs
[19:55:12] <archivist> ok, go for it
[19:55:22] <dpy> tnx for your approval:)
[19:55:42] <archivist> no its your approval not mine
[19:56:00] <dpy> lol, k
[19:57:15] <archivist> I have an advantage, Ive used all sorts of machines before I built my cnc, so I have an idea what not to do
[20:05:50] <fenn> dpy: that thing won't be milling plastic unless you use tiny tiny tiny bits (and even then..)
[20:06:26] <fenn> it uses the stepper as a thrust bearing so you get lots of slop from the motor (it wasn't designed to be used that way)
[20:06:52] <fenn> slop = broken tiny bits
[20:07:55] <archivist> machine is flimsy and that means frame spring chatter and broken bits
[20:09:06] <archivist> and I note the cheeky bar steward wants money to download the pdf
[20:10:09] <toastatwork> one more vote for "don't do it"
[20:12:02] <fenn> dpy: i'd suggest getting some 5/16 threaded rod and using the skate bearings for thrust bearings, and then make a frame and add ball bearing drawer slides for the ways (if you're cheap and dirty)
[20:12:49] <fenn> make a frame -> out of concrete reinforced with threaded rod
[20:13:14] <fenn> or MDF if you are a wimp and enjoy failure
[20:14:41] <toastatwork> the mori in the background is making the most awful sounds, it's finish cutting roughed out carriages, and the rough cut left huge fins of metal sticking up. it sounds like electric arcing.
[21:18:34] <pjm__> howdy, i have a g33.1 question. I have the encoder / index pulse linked to EMC2 properly, when i start a rigid tapping cycle, the Z descends properly, but when it gets to the bottom and reverses spindle direction, Z does not retract, and the MDI input wont take any further commands such as M05 to stop the motor, any idea what I'm doing wrong?
[21:19:06] <cradek> does the spindle reverse?
[21:19:27] <pjm__> yeh
[21:19:36] <pjm__> it just doesnt retract
[21:20:25] <cradek> watch motion.spindle-revs with halmeter. rotate the spindle by hand and see if it goes up by 1.0 for each turn clockwise and down by 1.0 for each turn counterclockwise
[21:21:13] <pjm__> now i'm not using a quadrature encoder just a 64 ppr + 1ppr index and i wasnt sure if emc2 would look for a change of direction via the spindle encoder
[21:21:49] <skunkworks_> you need quad for rigid tapping - yours will work for threading though
[21:21:51] <cradek> if you don't have quadrature, it's impossible to sense the reversal
[21:22:17] <cradek> you need a real encoder
[21:22:22] <pjm__> ah yes ok i will mill another encoder disk out with quadrature
[21:22:31] <pjm__> i used the config as per http://www.linuxcnc.org/docview/devel/html//examples_spindle.html#r2 at the bottom
[21:22:43] <pjm__> great, well i'm a) getting somewhere and b) learning
[21:23:10] <cradek> it's true that you can cut threads without quadrature because the spindle doesn't reverse
[21:23:39] <pjm__> ah yes of course, on a lathe that would make perfect sence
[21:23:39] <cradek> it's possible you can get quadrature out of your homemade disc by adding a third sensor
[21:24:17] <pjm__> yeah i'm just on the cad now gonna add in another set of holes for a 90deg phase shift then add another opto switch for the 'b' channel
[21:24:31] <cradek> you don't need a separate set of holes
[21:24:45] <cradek> just offset another sensor by an integer number of holes + 1/4 hole
[21:24:47] <archivist> just move the opto a bit
[21:24:49] <pjm__> ah yes of course
[21:25:04] <cradek> you will want to tune the exact position for good quadrature signal with a scope
[21:25:10] <pjm__> yeah i can do that
[21:25:58] <cradek> err 1/2 hole, sorry
[21:26:09] <cradek> you know what I mean
[21:26:39] <pjm__> yeah, i got it
[21:27:02] <pjm__> well i'll test this on my home made encoder, if it works nicely, i'll find a 'proper' 100ppr quad + index encoder
[21:27:32] <pjm__> i found a 1250ppr heidenhain encoder but think its too fast for my parport inputs
[21:27:42] <seb_kuzminsky> heh
[21:27:43] <cradek> depends how fast you want to tap
[21:27:57] <cradek> at a few hundred rpm might be fine - you'd have to do the math
[21:28:27] <pjm__> yeah 500rpm gives just over 10KHz
[21:28:29] <archivist> * archivist contemplates 1 mm tap and sensible surface speed
[21:29:16] <cradek> * cradek contemplates getting extra taps
[21:29:56] <archivist> I have not broken a teeny tap in a while
[21:30:44] <fenn> * fenn contemplates testing the tap in some sharp cheddar
[21:30:55] <toastatwork> that's actually a brilliant idea
[21:31:03] <fenn> naturally
[21:31:05] <cradek> ha
[21:31:26] <fenn> i'll be making a business of custom cnc'd party snacks
[21:31:50] <archivist> hey that joke was from next door a few hours ago
[21:31:51] <fenn> i just need to find someone to handle the marketing end
[21:32:02] <fenn> joke? what joke?
[21:32:18] <archivist> us and cheese in #cam
[21:32:19] <motioncontrol> good evening.because in the m3 s1000 or m4 s1000 commad emc not visualization the red line on m3 command partprogram?
[21:36:07] <motioncontrol> when i start the partprogram the emc not evidence the m3 line.i setp false motion-spindle-at-speed , but the problem not change.when emc read the m3 line the red line on actual line cnc read not see
[21:50:58] <cradek> motioncontrol: I think that will be better in version 2.3
[21:51:55] <cradek> the line highlighted is usually the one currently causing motion -- m3 does not cause any motion so in some cases it is not highlighted
[21:52:13] <motioncontrol> ok if i can help the comunity i have happy
[21:52:21] <cradek> bbl
[21:52:46] <motioncontrol> today i have install linux debian 5.0 lenny with rtai 3.7 test 1 .very good
[22:05:17] <motioncontrol> good.night
[22:12:40] <robh_> hi all i just updated my CVS and it is now telling me i need to use kernel 2.6.24-16-rtai
[22:13:01] <alex_joni> robh_: what's the exact error message?
[22:13:18] <robh_> 1 sec see if i paste it
[22:13:37] <robh_> EMC2 requires the real-time kernel 2.6.24-16-rtai to run.
[22:13:37] <robh_> Before running EMC2, reboot and choose this kernel at the boot menu.
[22:13:46] <robh_> EMC2 requires the real-time kernel 2.6.24-16-rtai to run.
[22:14:21] <robh_> unless its an update machine decided to install
[22:14:41] <alex_joni> robh_: you probably got a kernel update installed
[22:14:48] <alex_joni> which then is selected by default at boot
[22:15:06] <alex_joni> you need to reboot, and at the grub menu (just after BIOS) you need to press Escape
[22:15:14] <alex_joni> then you'll see a menu with different kernels
[22:15:15] <robh_> uname tells me i still have
[22:15:23] <robh_> emc 2.6.24rtai-3.6.1-smp #1 SMP PREEMPT Sun Feb 8 00:57:57 GMT 2009 i686 GNU/Linux
[22:15:23] <alex_joni> one of them is 2.6.24-16-rtai
[22:15:42] <alex_joni> ah, so you are using the smp kernel
[22:15:47] <robh_> i had coustom kernel, CVS was working fine on it till i updated few hours ago
[22:15:54] <alex_joni> that means you probably are running the wrong version of emc2
[22:16:02] <alex_joni> (the installed emc2, not the run-in-place one)
[22:16:12] <alex_joni> remember to ". scripts/emc-environment"
[22:16:13] <robh_> i uninstalled old one
[22:16:19] <alex_joni> type "which emc"
[22:17:06] <robh_> /usr/local/bin/emc - thats only as i installed cvs
[22:24:33] <robh_> aaah, i see some rtai-modules-2.6.24-16-rtai was downloaded in an update
[22:35:39] <robh_> yep that sorted it
[22:39:51] <robh_> with a tool change do you need to tell EMC the new tool number? as i see there is a iocontrol.0.tool-number (out) no in
[22:40:57] <dmess> i would think there is a Txx M06 or vise versa
[22:41:22] <robh_> im thinking throught my PLC for the ATC
[22:41:27] <SWPadnos> robh_, are you planning on changing tools manually?
[22:41:30] <SWPadnos> ah
[22:41:37] <robh_> no bidirectional ATC
[22:41:52] <SWPadnos> EMC2 assumes that once a tool change has completed, the requested tool is in the changer
[22:42:01] <robh_> thats fairenough
[22:42:14] <SWPadnos> the only place you might need an input is to determine what tool is initially there (at startup)
[22:42:46] <robh_> yea, i need away of always knowing whats in spindle or where atc is
[22:42:56] <robh_> from power on
[22:43:34] <robh_> is iocontrol.0.tool-number in paramiter file?
[22:43:49] <robh_> or just taken from the program at the time
[22:43:51] <SWPadnos> I think the tool number is now maintained across runs of EMC2, but I don't recall the method (could be a parameter or a file similar to POSITION_FILE)
[22:44:40] <SWPadnos> I think tool number used to default to 0, which wasn't too great if it was wrong
[22:44:55] <robh_> no pocket zero
[22:45:12] <robh_> zero ok if u have arm changer i guess
[22:45:24] <SWPadnos> the Mazak has a 0, but that's not why it defaulted that way
[22:45:32] <SWPadnos> has more to do with C than anything else :)
[22:45:39] <robh_> i see
[22:46:42] <robh_> shame u cant tell EMC max tools, no biggie ill just determ in ladder if tool >16 or <1
[22:47:05] <SWPadnos> hmm. yeah, that would be a good thing
[22:47:57] <robh_> as long as u could still read past set tmax in TBL
[22:48:43] <SWPadnos> I imagine the max would just be so the interp could throw an error if you do T<too high>
[22:49:10] <robh_> correct, as other wise if dont check it, changer just goes round and round looking for it
[22:49:31] <SWPadnos> is there already a PLC on the ATC?
[22:49:56] <robh_> no, well old control had a PLC yes, but was built into control it self
[22:49:58] <SWPadnos> you can likely use HAL/classicladder if there isn't already one there
[22:50:01] <robh_> im rewritting it all so
[22:51:02] <robh_> i did take a print out before i took it all apart so can see how they did things etc
[22:51:50] <robh_> apart from magic box's they dont want you to know about, guess they need you to call a fanuc engineer out some times lo
[22:54:22] <robh_> thx SWPadnos ill take look see if tool-number retains its value
[23:02:23] <jepler> add M61 Qxx
[23:02:23] <jepler> * allows changing the current tool number (the Q-word defines the loaded tool number from now on)
[23:02:26] <jepler> * for now it's not allowed to call M61 from a program, only from MDI (or while in manual mode)
[23:02:29] <jepler> robh_: ^^^
[23:03:24] <robh_> aah ri cool, that will let me set the current tool in spindle if like
[23:07:48] <dmess> check for KEEP RELAYS... on old fanuc's
[23:09:24] <robh_> hi dmess, yea all iv dont is looked at these for concept
[23:10:07] <dmess> hmm
[23:10:08] <robh_> untill like i said u get a box they dont want you to know about
[23:11:01] <robh_> well this machine had mitsubishi, but very much like the fanuc
[23:11:12] <dmess> could it be a virtual/satalite drive..?? how old was the fanuc??
[23:11:38] <robh_> machine is 1985
[23:12:47] <dmess> i have fanuc manuals .. but i dont believe thats where the problem lies
[23:13:06] <dmess> you need machine tool builder manuals
[23:13:11] <robh_> i got both
[23:13:17] <robh_> for all our machines
[23:13:29] <robh_> this is the machine, http://cnczone.com/forums/showthread.php?t=73943
[23:13:44] <dmess> there has gotto be SOMEthing??
[23:13:53] <robh_> something? for
[23:16:27] <mykro> mykro is now known as notranc
[23:17:49] <dmess> 1st.. it a random t/c you are chasing 16+ 1 in the spindle keep relays i believe... i seem to know that machine
[23:18:45] <robh_> no radom, the dahli is random with arm yes
[23:19:00] <dmess> very sweet hardware BTW... accurate and reliiable once you knew her... finicky like a woman
[23:19:01] <robh_> machine im doing it carosel
[23:19:17] <dmess> umbrella??
[23:19:20] <robh_> yes
[23:19:30] <robh_> bidirectional
[23:19:56] <dmess> so non random.. called pot IS spindle pot
[23:20:08] <robh_> correct
[23:20:33] <dmess> so curret pot position equals spindle tool
[23:20:49] <robh_> yes, pot facing spindle always has to be empty
[23:21:17] <robh_> so in with empty pot, release tool and down with atc, find out wich way to go, how many upin with new tool, back out
[23:21:37] <robh_> no encoder on atc to make it more fun, so all counters in plc
[23:21:50] <dmess> should unless you have mucho $$$$ we had a 24 t/c umbrella that could hold 5 tools at 1 place i played
[23:22:59] <robh_> iv ATC with atached changer, so when run out of 24 or what ever in machine, theres a 2nd one changing the pockets too, that gets fun
[23:23:18] <robh_> ^iv seen atc
[23:23:20] <dmess> timers will be your friend...its a t/c macro you build out of g codes that drive the ladder
[23:23:29] <robh_> yes
[23:23:36] <robh_> emc has no Gcode macro calls, M19 etc
[23:23:46] <robh_> but old one does yes
[23:23:56] <dmess> G04
[23:24:06] <dmess> call a sub
[23:24:11] <robh_> if in MDI can do M19 - M24 and does motions of atc
[23:25:40] <dmess> ok so you need to look at their atc sub-programs as im telling you to build... maybe aquire them instead...
[23:26:54] <robh_> yes i do have them, all they did was call M code into the PLC section
[23:28:57] <dmess> so you will need to build Mcodes to match them with t/c motions and appropriate timers to allow NOT pulling the machine apart as ther probably arent switches for all limits of things
[23:29:55] <robh_> there are switch for ATC postions, but yes like u said need to delay when going in out etc and wait for ATC to get there
[23:33:48] <robh_> i b off now, gd night all
[23:35:44] <dmess> arm in.open.switch. colletopen .timer.airblow.timer.pullout..switch....rotate to position.. swich. in and reverse
[23:59:26] <BigJohnT> say goodnight Gracie