Back
[00:04:24] <LawrenceG> skunkworks: hard to trace... very crowded.... will see what JymmmEMC says about his oem750... just reading the manual now.... who knows they may have a paragraph on conversion
[00:36:57] <JymmmEMC> conversion?
[00:37:12] <JymmmEMC> with and w/o the indexer daughter card?
[00:37:31] <LawrenceG> hey JymmmEMC
[00:37:57] <LawrenceG> yea... pulled the indexer on my 750... looking for conversion infofor step/dir
[00:38:16] <JymmmEMC> do you have jumpers for ths pins?
[00:38:18] <JymmmEMC> the
[00:38:30] <LawrenceG> http://imagebin.org/10418 and
http://imagebin.org/10417
[00:38:49] <JymmmEMC> yeas, saw those. but do you have jumpers
[00:39:07] <LawrenceG> I can check to see if I have some old HD pins.... I think they are 0.050x0.1 spacing
[00:39:44] <JymmmEMC> Hmmm, I dont have my camera handy, gimme a while and I can take a pic of mine
[00:41:01] <LawrenceG> are the 1st 5 pins jumped?
[00:41:21] <JymmmEMC> something like that... 5 or 6
[00:43:50] <LawrenceG> going to shop to look for those micro jumpers....
[00:50:51] <Guest638> Guest638 is now known as skunkworks
[00:55:34] <LawrenceG> back
[00:57:09] <skunkworks> any luck?
[00:57:35] <LawrenceG> http://imagebin.org/10419
[00:58:11] <LawrenceG> smoke test will take a little longer
[00:58:34] <LawrenceG> some of my small jumpers were too loose
[01:00:18] <skunkworks> heh - that looks familliar ;)
[01:00:41] <skunkworks> I stole mine from some older 9gb scsi drives (seagate)
[01:03:13] <LawrenceG> I have no idea if this drive works.... might be worth starting with the indexer on
[01:03:45] <skunkworks> on the oem650 - you can put it into test mode with 1 jumper
[01:03:55] <skunkworks> runs the stepper forward and reverse.
[01:04:03] <skunkworks> without anything hooked to it
[01:04:09] <LawrenceG> same with the 750... 1 dip switch
[01:05:21] <skunkworks> that is an easy test :)
[01:07:16] <LawrenceG> the 750 manual says it only works on oem750 not oem750x
[01:07:29] <skunkworks> the test?
[01:08:00] <LawrenceG> yea... but not sure if it will work with converted 750x..... looking for a junk stepper ....
[01:08:30] <skunkworks> all I know is with the 650's - there is no difference between the actual drives
[01:08:52] <skunkworks> just the daughter board addition
[01:09:40] <jlmjvm> http://pastebin.ca/696692
[01:11:01] <jlmjvm> im installing a 2nd parport,this is what lspci -v shows
[01:12:05] <jlmjvm> it looks different from the example on the wiki
[01:13:06] <RungeKutta> Hello. I'm trying to help my uncle out getting a 2d gantry system working he built. I'm trying to figure out how to change the duty cycle and/or waveform of what's generated on the parport, but I'm not sure exactly what I need to change/add to the default stepper_inch file.
[01:13:43] <jlmjvm> has anybody here ever installed a netmos pci parport in ubuntu?
[01:14:15] <SWPadnos> jlmjvm, you need to test to see which port is the correct one
[01:14:32] <SWPadnos> that list of d000 d100 ... d500 numbers are the ones to try
[01:15:34] <SWPadnos> RungeKutta, what do you mean by changing the waveform? the step outputs will depend on programmed feed rate, among other things
[01:16:04] <jlmjvm> ahhh
[01:16:05] <RungeKutta> Well, I mean, what type of waveform does it generate by default? Squarewave?
[01:16:24] <SWPadnos> it's a more or less square wave :)
[01:16:52] <SWPadnos> there are parameters that let you specify minimum step length, spacing between steps, reversal time, etc.
[01:17:07] <RungeKutta> aah ok, I believe that's what I need to adjust
[01:17:17] <skunkworks> RungeKutta: maybe explain how your machine is setup..
[01:17:18] <SWPadnos> also the scale - number of steps per inch (or mm)
[01:17:24] <skunkworks> what drivew
[01:18:21] <RungeKutta> Well the machine itself is a 2D gantry system and the hardware was custom built by my uncle for some Windows software he bought, which doesn't work. So I decided to give EMC a shot.
[01:19:11] <RungeKutta> Basically the circuit has X/Y/Z step and direction signals it needs at around a 50% duty cycle and I think it would need to run at a couple khz.
[01:19:55] <RungeKutta> My uncle isn't very friendly with linux and such so I thought I'd help him get EMC setup instead of using the hacky Windows program, that doesn't seem to work very well at all.
[01:20:55] <SWPadnos> if you're pretty happy / handy at the command line, you can do some teating with HAL (the hardware driver layer)
[01:21:04] <RungeKutta> yea I'm perfectly fine on the command line
[01:21:32] <SWPadnos> you can set up a simple test environment to just make sure the hardware is running as you think it should
[01:21:51] <SWPadnos> like use a sinewave signal generator to feed the software step generator
[01:21:54] <RungeKutta> ok cool, that's exactly what I'm trying to do anyways :P
[01:22:02] <SWPadnos> and you can change the amplitude while it's running :)
[01:22:05] <SWPadnos> heh
[01:22:17] <SWPadnos> have you read the HAL tutorial?
[01:22:40] <RungeKutta> well, I haven't read it completely indepth, I skimmed for something that seemed important
[01:22:57] <RungeKutta> but I wasn't quite sure what I was looking for
[01:23:15] <SWPadnos> ok - I think the example leads you through setting up the siggen and halscope components, plus some other stuff
[01:23:39] <RungeKutta> cool, I'll go look at that now then
[01:23:53] <SWPadnos> you can kinda skip over the stuff for prompt-o-phobes though :)
[01:24:01] <RungeKutta> heh
[01:24:28] <RungeKutta> what I've done so far, was to modify the standard_pinout.hal
[01:24:42] <RungeKutta> got the X/Y/Z step/dir mapped to the proper pins
[01:24:46] <SWPadnos> cool
[01:25:00] <RungeKutta> but clicking "Run" didn't do anything
[01:25:04] <SWPadnos> you'll definitely need to set the scaling and acceleration/velocity limits in the ini file as well
[01:25:10] <SWPadnos> "run" what?
[01:25:13] <RungeKutta> well it made one axis jerk a ocuple times
[01:25:16] <SWPadnos> hmm
[01:25:28] <RungeKutta> whatever that EMC2 Axis example is with the Ubuntu live cd
[01:25:57] <SWPadnos> ok, just to make sure, you did take it out of estop and turn machine on? (F1 then F2)
[01:26:13] <SWPadnos> a stepper just twitching often means that the step and dir lines are swapped
[01:26:31] <RungeKutta> oh yea
[01:26:48] <RungeKutta> I saw the little circle move and "cut" the logo
[01:27:03] <SWPadnos> ok, but the steppers just stayed still or shuddered?
[01:27:09] <RungeKutta> stayed still
[01:27:38] <RungeKutta> one axis jerked once and that was it - I checked the HAL Configuration and the pinout mappings are correct for what was designed
[01:27:47] <SWPadnos> ok. one other simple mistake is that for the parport.0.out-nn pins, nn represents the pin number on the DB25 connector
[01:27:49] <SWPadnos> ok
[01:28:03] <skunkworks> what exactly are the drives and breakout board? could there an 'enable' that needs to be set?
[01:28:17] <RungeKutta> no enable
[01:28:18] <SWPadnos> (you sound like you're doing the right stuff, so I'm assuming it's some simple error rather than a problem with you not understanding what to do :) )
[01:28:19] <jlmjvm> i think its working
[01:28:27] <SWPadnos> jlmjvm, cool
[01:28:32] <RungeKutta> the hardware was all custom built by my uncle
[01:29:44] <jlmjvm> its showing up in my hal configuration,par 0 read n write,par 1 read n write
[01:29:51] <RungeKutta> he built a little test circuit using a 555 timer to drive it manually and had that going at a coup
[01:29:54] <RungeKutta> err
[01:30:17] <RungeKutta> I guess it has a period of 8ms so that's like 125Hz?
[01:30:39] <SWPadnos> yep - not so fast at all
[01:31:06] <SWPadnos> note that the accel and vel limits in the ini file are in units per second ...
[01:31:34] <RungeKutta> aah ok, so that's probably why the osciloscope just sees a little blip :P
[01:31:39] <SWPadnos> heh
[01:31:55] <SWPadnos> the steps may be only one period long - I'm not sure it's a square wave
[01:32:04] <SWPadnos> (or however many periods you set it for)
[01:32:47] <SWPadnos> if you didn't change the BASE_PERIOD setting in the ini, then it's running a 20 KHz step generation thread, which can get up to 10 KHz stepping
[01:32:48] <RungeKutta> well all I've done was to map the pins to the proper function, so it's all whatever the emc ubuntu live cd has as default
[01:32:53] <SWPadnos> ok
[01:33:10] <RungeKutta> yea that's about 100x too fast
[01:33:12] <SWPadnos> heh
[01:33:17] <RungeKutta> hehe
[01:33:27] <RungeKutta> well I guess that's the first thing to go change
[01:33:51] <SWPadnos> have you looked at the wiki pages on stepgen tweaking?
[01:36:24] <RungeKutta> looking right now
[01:36:39] <SWPadnos> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGeneration
[01:36:51] <SWPadnos> I think it's more aimed at getting things to go faster though ;)
[01:37:13] <RungeKutta> hehe
[01:41:47] <LawrenceG> JymmmEMC: skunkworks YEA.... 750x going back and forth in test mode after conversion to 750!
[01:42:18] <skunkworks> sweet :)
[01:42:35] <Martini_> Martini_ is now known as jlmjvm
[01:42:49] <LawrenceG> some unknown stepper.... resistored for .5amp as it has 11ohm coils
[01:59:48] <Martini_> Martini_ is now known as jlmjvm
[02:13:15] <LawrenceG> skunkworks: JymmmEMC .... motor seems to run test nicely at 30vdc supply, 0.7amp currentsetting... will give it 1/2 hour heat test.
[02:32:30] <skunkworks> LawrenceG: I don't think you will ahve any problems :)
[02:40:20] <LawrenceG> drive seems great.... not even warm with no heatsink, stepper is warming up but just warm... not hot
[02:53:14] <JymmmEMC> LawrenceG: now try 40,000,000 volts!!!
[02:54:55] <JymmmEMC> http://www.reuters.com/article/technologyNews/idUSN1334455520070914
[03:16:23] <LawrenceG> JymmmEMC: looking for more power....
[04:10:20] <tomp> for gEDA 7i33 component
http://pastebin.ca/696894 7i37 component
http://pastebin.ca/696897 pic
http://imagebin.org/10421 (you can use gEDA to plan your wiring)
[04:11:01] <tomp> forget that crap spreadsheet i tried to use :-[
[04:11:10] <SWPadnos> heh
[04:11:34] <tomp> 5i20 coming but not tonite
[04:11:40] <SWPadnos> too big ;)
[04:12:10] <tomp> too late, just 3 pcs 50 pin cnx with labels
[04:12:14] <SWPadnos> but then again, you can do it as 3 (or 4 for the 5i22) bus connections
[04:12:16] <SWPadnos> right
[04:13:02] <SWPadnos> and you could turn the big bus connections on the 7i37 and 7i33 into single lableed ports as well
[04:13:12] <tomp> thats was how the others were, but unlocked, imported as bits n pieces, then strung together & saved as a comp
[04:13:21] <tomp> separate is useful?
[04:13:22] <SWPadnos> you don't need to label the individual pins for the 5i20 connection
[04:13:51] <SWPadnos> the other side certainly needs to be individual connections
[04:14:11] <tomp> becuz (on the 5i20) they're software dependant ( loaded image dependant) ?
[04:14:35] <SWPadnos> no, the ground pins are still ground pins, and the IO pins are still the same numbered IO pin
[04:15:14] <SWPadnos> they may have some more advanced function behind them, but it's not like you're going to connect 22 of the pins to one interface card and the other 28 to another
[04:15:51] <SWPadnos> (ie, the 50-pin ribbon cable is a single unit at both the 5i20/5i22 end and the 7i33/7i37 end)
[04:16:44] <tomp> yes, its at the breakout that things begin to vary
[04:16:52] <SWPadnos> right
[04:16:59] <tomp> uh yeah, breakout coming too
[04:17:03] <SWPadnos> heh
[04:17:10] <eric_u> what do you do with the files?
[04:17:29] <SWPadnos> err - maybe download them as raw and stick them in your geda component library
[04:17:33] <SWPadnos> ?
[04:17:58] <eric_u> that was a valid answer to my question
[04:17:58] <tomp> put them in your gEDA sym folder usually /usr/share/gEDA/sym/local/
[04:18:10] <eric_u> tx
[04:18:43] <tomp> the docs will say to put them in other places... this place is different ( it works :)
[04:19:21] <tomp> g'nite
[04:19:28] <SWPadnos> see you
[04:20:05] <fenn> i want to define my bus connections in C
[04:20:15] <fenn> so i dont have to define it again on the schematic
[04:20:33] <fenn> what's the buzzword for that process called?
[04:20:35] <SWPadnos> that would be VHDL or verilog, I think
[04:21:02] <SWPadnos> how about "language-agnostic instantiation"?
[04:21:30] <fenn> vhdl sounds good to me
[04:21:54] <SWPadnos> vhdl happens to be where the bus connections are defined, not in C
[04:22:11] <fenn> as long as i can get at those #defines or whatever
[04:22:40] <fenn> i assume its a constant so its gets boiled down at compile time
[04:22:52] <SWPadnos> do you mean "constant BusWidth: integer := 32;" ??
[04:22:59] <SWPadnos> that sort of thing
[04:23:12] <fenn> no, i mean "LED1 = PA0"
[04:23:51] <SWPadnos> I guess that would be the pin file, but it isn't in connector-speak, it's fpga pin-speak
[04:25:01] <fenn> most schematics these days end up looking like long lists of pin name -- bus name
[04:25:09] <fenn> and then they draw a big square around it
[04:25:11] <tomp> netlist?
[04:25:14] <SWPadnos> heh
[04:25:32] <SWPadnos> no, because there are 600 pins and people can't be bothered to actually draw lines to each of them
[04:25:52] <SWPadnos> so everything gets bussed and labeled
[04:26:09] <fenn> yeah but why bother with making a schematic for that
[04:26:32] <SWPadnos> wel, if you want a netlist for PCB routing, a schematic can be a very useful first step
[04:26:37] <SWPadnos> well
[04:27:11] <fenn> i understand that, but it just seems like the wrong medium to use in some cases
[04:27:36] <SWPadnos> I agree. I think cabinet wiring is one of those cases, but apparently there aren't really any specialized tools for that
[04:27:54] <SWPadnos> so people default to using any CAD program that they can draw with (like autocad)
[04:28:15] <fenn> i think 'electric' is supposed to do that kind of stuff
[04:28:34] <SWPadnos> could be. that used to be for chip design, I thought
[04:28:44] <fenn> yes it's used for chip design
[04:28:54] <SWPadnos> ok. I thought I remembered it in college
[04:29:12] <fenn> maybe i'm thinking of something else
[04:29:16] <fenn> it was used for building wiring
[04:29:21] <SWPadnos> hmmm
[04:29:57] <fenn> well, schematic works well enough for cabinets i guess
[04:30:16] <fenn> not my problem :)
[04:31:02] <SWPadnos> heh
[04:36:35] <eric_u> now tom just needs to draw me a DDM-009
[04:36:53] <eric_u> :)
[04:39:29] <eric_u> Is there a parts editor somewhere in gEDA?
[04:50:21] <toast> thundercats, ho
[04:58:38] <eric_u> a symbol creation program which has the output: Bad arguments, usage is: /usr/bin/tragesym infile outfile doesn't look real useful
[05:01:21] <eric_u> I see, you use the schematic program -- what a crazy idea
[05:10:27] <jlmjvm> swpadnos:i think i finally got this dual parport going
[05:10:46] <jlmjvm> what a pita,lol
[05:11:57] <jlmjvm> for some reason i had to increase my base period to 20000 when i added the encoder to the dual setup
[05:12:31] <jlmjvm> or it would take several minutes for emc to start
[05:12:53] <SWPadnos> you added more work for the base threas, so it takes longer
[05:12:56] <SWPadnos> thread
[05:13:03] <SWPadnos> congrats on getting the second one working
[05:15:16] <jlmjvm> thanls,that base period threw me for a loop
[05:16:21] <SWPadnos> is this with the second parport read and write functions in the thread, or just with the encoder function added (still using one port)?
[05:18:48] <jlmjvm> 2 ports
[05:19:14] <SWPadnos> ok, then it makes sense
[05:19:31] <jlmjvm> but when i added the encoders,it would jam up,till i dropped the base period
[05:19:33] <SWPadnos> the CPU load for doing encoder counting is pretty low - it's the I/Os that take so long
[05:26:17] <jlmjvm> its definately working,motors moving on 1 port,limits and encoder on the other
[05:26:52] <jlmjvm> for some reason the 2nd port isnt inputs like i thought it would be
[05:26:58] <SWPadnos> if you keep it separate so all inputs are on one port and all outputs are on the other, then you should be able to get rid of one read function and one write function
[05:28:58] <jlmjvm> wont be able to do that unless i can make the second port have more inputs
[05:29:20] <SWPadnos> is it set as an input port now?
[05:29:53] <jlmjvm> i dunno,where would that be,what i been looking for
[05:30:17] <SWPadnos> try `man hal_parport` :)
[05:30:41] <jlmjvm> where is that?
[05:30:55] <SWPadnos> I don't remember if it's before or after the port, but you do something like "loadrt hal_parport 0x378 out 0xd800 in
[05:31:08] <SWPadnos> at a command line, or in the Ubuntu manual page browser
[05:31:21] <SWPadnos> oh - in the .hal file loaded for your config
[05:31:37] <SWPadnos> same place you added the second port address
[05:32:05] <jlmjvm> "loadrt hal_parport 0x378 0xd800
[05:32:12] <jlmjvm> thats what mine is now
[05:32:32] <jlmjvm> change it to yours
[05:32:44] <SWPadnos> ok, I think you cahange it to "loadrt hal_parport 0x378 0xd800 in" to make the second port have more input pins
[05:33:04] <SWPadnos> look in the emc2 manual, it has the pinouts for the various available modes
[05:33:12] <jlmjvm> lemmee try it
[05:33:13] <jlmjvm> k
[05:33:26] <SWPadnos> and get used to the man command ;)
[05:33:54] <SWPadnos> time for me to get to bed. have fun
[05:34:33] <jlmjvm> thanks a bunch,when i get this working as an input im going too
[05:34:45] <SWPadnos> heh
[05:34:53] <alex_joni> hi & bye
[05:35:12] <jlmjvm> alex:where u going
[05:57:21] <maddash> weeeeeeee syriana!
[05:58:03] <toast> ffff
[06:00:06] <maddash> toast: i just setup my new wrt54g network with WPA2-PSK/CCMP/AES. Boy, do I feel cozy.
[06:00:27] <toast> nice
[06:00:36] <toast> soon, quantum encryption
[06:01:23] <toast> hey guys
[06:01:28] <toast> question
[06:01:30] <maddash> "soon" = 10+ years
[06:01:45] <toast> we have a cnc bridgeport at work
[06:01:59] <skinnypuppy1334> Any of you using opencam ?
[06:02:09] <toast> angled cuts are ragged
[06:02:18] <toast> straight cuts are fine
[06:02:21] <maddash> besides, the only known way to crack WPA/2 is through brute force trial and error -- and that's not going to work with my 20-character random alphanumeric string.
[06:02:43] <maddash> ooh, bridgeport!
[06:02:47] <toast> exact same pattern, no matter what rpm (from 500 to 3000) and no matter what feed rate (2 ipm to 45 ipm)
[06:02:54] <toast> my question is
[06:03:00] <toast> what could be wrong with the motors
[06:03:07] <toast> to produce that pattern, because that's what it is looking like the problem is
[06:03:41] <maddash> how's an angled cut different from a straight cut?
[06:03:58] <toast> sensitive direction is at an angle to both axes
[06:04:00] <maddash> you mean angled vs. horiz/vert?
[06:04:03] <toast> so any jitter in the servos
[06:04:05] <toast> will show up
[06:04:30] <toast> whereas if the motors shake or have whatever problem they're having in a straight line, it's in a nonsensitive direction
[11:12:07] <liorc> Hi all. I'm trying to build a CNC machine, and currently I'm designing a stepping motor controller. Where can I find the specs of how emc interfaces with the controller?
[11:15:38] <fenn> liorc: the "standard" pinout is a lot less standard now..
[11:15:53] <fenn> basically the answer is "however you want"
[11:17:11] <fenn> anyway, look at
http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/~checkout~/emc2/configs/stepper/standard_pinout.hal?rev=1.6;content-type=text%2Fplain
[11:18:07] <fenn> you know what step/direction signalling is right?
[11:19:15] <tomp> mating plug for the -T variants of mesa boards is Weidmuller 1620440000 which is available thru Digikey as 281-1062-ND and costs $21.18 qty 1. Thanks to Lily Wun and Oleg Vodyanov of MesaNet.
[11:20:14] <fenn> you should put that on the wiki
[11:20:53] <liorc> fenn: thanks for the answer. Regarding the step/direction signalling, I can only guess you would tell the motor if it should make a full step or a half step, and the direction is CW or CCW... but of course I might be wrong. Where can I read about it?
[11:22:15] <fenn> liorc: the drive is set to one setting, for example half-step, and each pulse of the "step" line the driver takes a half step
[11:22:30] <fenn> and direction tells it which way to go
[11:24:01] <liorc> I see. So all I need to do is to program my MicroChip pic to accept 2 bits - direction and "step", and connect it to the parallel port. Easy :) thanks.
[11:28:31] <fenn> you need a step and direction for each axis
[11:34:28] <tomp> fenn: now on wiki, added 12$ src from arrow too
[11:35:25] <liorc> fenn: do I also need an 'enable' bit for every motor? Also, does it matter to what parrallel port pins I connect my controllers, or it could all be set up in emc?
[11:45:50] <tomp> fenn: fea for reinforced concrete frames like your lathe bed new on freshmeat
http://fachwerk.berlios.de/index3D_en.html
[11:46:05] <tomp> liorc:
http://www.linuxcnc.org/docs/stepper_quickstart.pdf
[11:46:33] <tomp> well, new on berlios ;)
[11:55:44] <fenn> there are lots of FEA programs out there
[11:55:54] <fenn> Free ones, at that
[12:21:44] <skunkworks_> logger_emc: bookmark
[12:21:44] <skunkworks_> Just this once .. here's the log:
http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2007-09-14.txt
[14:09:37] <jlmjvm> good morning all
[14:09:48] <skunkworks_> good morning. How goes it?
[14:10:04] <jlmjvm> rough,lol
[14:10:26] <skunkworks_> a good learning experience though - right?
[14:10:30] <jlmjvm> almost done with my 2 parport setup
[14:10:30] <skunkworks_> :)
[14:10:37] <jlmjvm> oh yes
[14:12:10] <skunkworks_> I don't think I have asked - what are you running with emc2?
[14:12:18] <skunkworks_> any pictures?
[14:13:09] <jlmjvm> a cnc bridgeort,older boss mill
[14:13:19] <skunkworks_> oh yah - I remember.
[14:13:19] <jlmjvm> great machine
[14:14:50] <jlmjvm> if you use hal show parport 1 shows pins 2-9 as outputs,parport2 shows pins 2-9 as inputs
[14:15:23] <jlmjvm> but when i try to use any inputs on parport2 i get an error
[14:15:56] <SWPadnos> that should be parport.0 and parport.1
[14:16:18] <jlmjvm> correct,thats what they are
[14:16:54] <jlmjvm> if i try to use input 2-9 on parport.1 i get an error
[14:17:27] <jlmjvm> on parport.0 ,2-9 are outputs
[14:18:59] <SWPadnos> can you pastebin the error and the line that causes it?
[14:20:42] <jlmjvm> thats what im doing now
[14:24:58] <jlmjvm> http://pastebin.ca/697567
[14:25:10] <jlmjvm> sorry for the delay
[14:25:31] <jlmjvm> coffe hasnt kicked in yet
[14:26:31] <SWPadnos> I know the feeling
[14:28:00] <jlmjvm> wasup till 3 am trying to get this working
[14:28:34] <SWPadnos> heh - I think I was helping until about 1:30 AM :)
[14:28:42] <skunkworks_> can you paste the ouput of the hal show?
[14:28:53] <skunkworks_> hal show parport
[14:28:59] <skunkworks_> (or whatever you did)
[14:29:20] <jlmjvm> i was in emc and went to hal show
[14:29:42] <anonimasu> *yawns*
[14:29:47] <anonimasu> parts parts part ยค!"#
[14:29:47] <skunkworks_> right - copy and past that into pastebin
[14:30:20] <SWPadnos> or open a terminal and paste iun the output of `halcmd show all parport`
[14:33:09] <jlmjvm> gives an error when i try that
[14:33:43] <SWPadnos> you're running a packaged EMC2? (not compiled on your own)
[14:34:36] <jlmjvm> yes
[14:34:46] <jlmjvm> never compiled before
[14:36:13] <skunkworks_> emc need to be running..
[14:36:13] <SWPadnos> what's the error you get?
[14:36:16] <SWPadnos> heh
[14:36:19] <SWPadnos> that's true :)
[14:38:34] <jlmjvm> http://pastebin.ca/697585
[14:38:58] <SWPadnos> was emc running when you ran that?
[14:38:58] <jlmjvm> thats what im getting when i try the terminal command
[14:39:05] <jlmjvm> no
[14:39:32] <SWPadnos> ok. halcmd lets you manipulate a running HAL. if there's no HAL running (ie, no emc), it can't do anything
[14:39:38] <jepler> if emc won't start, insert 'show' commands in your .hal files (without the 'halcmd' prefix) to see the state of hal just before the error happened
[14:39:55] <SWPadnos> oh - good point. time for more coffee
[14:40:38] <jlmjvm> its showing now,lemmee paste
[14:44:16] <jlmjvm> http://pastebin.ca/697595
[14:46:48] <SWPadnos> it's parport.1.pin-09-in
[14:46:52] <SWPadnos> not pin-9-in
[14:47:03] <SWPadnos> (that's text, not a number, so it has to match exactly)
[14:51:03] <jlmjvm> where r u seeing that
[14:53:08] <skunkworks_> your error is this HAL:22: ERROR: pin 'parport.1.pin-9-in' not found
[14:53:30] <skunkworks_> and the actual pin name is what SWPadnos posted parport.1.pin-09-in
[14:54:01] <jlmjvm> k
[14:56:55] <jlmjvm> i thought there was something that needed to be changed
[15:01:46] <SWPadnos> usually an error message is an indication that something needs to be changed ;)
[15:02:11] <jlmjvm> agreed
[15:02:19] <jlmjvm> i can use pins 10,11,12,13,15 as inputs on both parports and emc works
[15:03:08] <jlmjvm> but if i try to 2-9 on 2nd port always give the error,no matter which 1 i use
[15:03:24] <SWPadnos> you have to type ...02..., not ...2...
[15:03:28] <SWPadnos> in the hal file
[15:03:49] <SWPadnos> so pin 2 input becomed parport.1.pin-02-in - note hte 0 in front of the 2
[15:03:52] <SWPadnos> becomes
[15:05:02] <jlmjvm> by golly that wors
[15:05:08] <jlmjvm> works
[15:05:12] <SWPadnos> yay!
[15:05:40] <jlmjvm> lemmee try it right quick
[15:08:34] <jlmjvm> yep its working,motors running outta par0 and switches and encoder par1
[15:09:36] <SWPadnos> great. you may be able to take parport.0.read and parport.1.write out of the base thread now
[15:12:19] <jlmjvm> k,will give it a try
[15:14:35] <jlmjvm> works,but that wont work if i needed inputs and outputs on both would it?
[15:18:59] <jlmjvm> cant believe a little typo had the show stopped temporarily
[15:20:41] <rayh> Like any programming language the HAL language suffers from mis-spelling.
[15:21:20] <rayh> I have to go back all the time and check my typing. Was that a . or a -.
[15:22:18] <jlmjvm> im just so glad its working
[15:22:52] <rayh> You bet. Seeing it do what you designed in is a great reward.
[15:23:01] <jlmjvm> in the middle of a retrofit and wanted to use emc this time instead of mach3
[15:23:17] <jlmjvm> now it looks like all systems are go
[15:23:29] <jlmjvm> have all the inputs i need
[15:24:31] <jlmjvm> gonna attemt to use ferror on some gecko g320 servo drive
[15:25:09] <jlmjvm> and homing to index
[15:25:38] <skunkworks_> oh - neat idea
[15:26:55] <rayh> You gonna run EMC without PID and tune with the 320? Or the other way round?
[15:27:10] <jlmjvm> run the a,b encoder wires to gecko and 2nd parport
[15:27:18] <jlmjvm> yes tune with 320
[15:27:47] <jlmjvm> and share a,b input with drive and 2nd parport
[15:28:01] <rayh> I seem to remember having a problem with running the encoder sigs both ways.
[15:28:21] <rayh> But it was way long ago.
[15:28:44] <jlmjvm> im hoping it will work
[15:30:09] <jlmjvm> if it doesnt couldnt the error output of the 320 go to the 2nd parport to stop the software if the gecko faults?
[15:30:13] <rayh> Check the encoder voltage from 320 to +5 and G on the PC before you connect the signals.
[15:30:38] <jlmjvm> k
[15:30:56] <rayh> Sure but this is a pretty low level ferror compared to EMC's closed loop.
[15:31:42] <jlmjvm> i know,but thats all you can do with this drive isnt it?
[15:32:12] <SWPadnos> the error output fromthe G320 is a digital fault output, not a following error output
[15:32:35] <rayh> Seems like Mariss has done something to the error setup since I played with em.
[15:32:37] <SWPadnos> so you can use it as a stop input to EMC, but you can't use it to help with tuning
[15:33:01] <rayh> Yep.
[15:33:41] <jlmjvm> yes,but would stop machine if a drive faulted,correct?
[15:33:58] <rayh> I've used the HAL feedhold pins but only when an axis is stationary and as an external feedhold keyswitch.
[15:34:36] <rayh> Yes it will signal EMC that a fault has occurred and you can do whatever you like with that pin inside the HAL.
[15:34:56] <rayh> abort, estop, feedhold, fault.
[15:35:30] <jlmjvm> amp-fault-in
[15:36:45] <jlmjvm> taht may be the direction i go with this setup
[15:36:49] <jlmjvm> that
[15:36:51] <rayh> Yep. Loss of position would still be an issue. You can fix that with the real encoder feedback.
[15:37:43] <jlmjvm> or just rehome to index
[15:38:23] <rayh> Yep. We were talking about this kind of fault causing EMC to change the status to unhomed.
[15:38:41] <SWPadnos> take a look at Jon Elson's gecko servo interface for splitting the encoder signals - I think it buffers the encoder outputs, plus it provides power to the encoder even when the gecko is faulted
[15:38:58] <skunkworks_> rayh: the main thing your worried about with hooking the encoders to the gecko - and the printer port is if the supply for the gecko is the same level as the computer?
[15:39:17] <rayh> Yes skunkworks.
[15:39:19] <skunkworks_> potential
[15:39:21] <SWPadnos> I think with the gecko servo drives, encoder power is shut off when the drive faults
[15:39:29] <jlmjvm> yes
[15:39:50] <rayh> I wouldn't be surprised SWP
[15:40:54] <jlmjvm> wasnt gonna use the gecko power for the encoder on this
[15:41:00] <SWPadnos> good point about the grounds though - I think the encoder supply from the gecko may be referenced to the motor power groud
[15:41:43] <jlmjvm> im wired direct right now,encoder works when software is stopped
[15:41:56] <rayh> I think so but that was long ago. I have a 4 gecko box in the corner someplace. I should dig it out.
[15:42:03] <SWPadnos> that's with the stepper drives though, right?
[15:42:07] <jlmjvm> right
[15:42:33] <SWPadnos> those don't have an encoder input, so the ground reference isn't an issue - you can only connect the encoders to the PC
[15:42:44] <SWPadnos> the G320 needs encoder feedback or the motor will run away
[15:42:54] <SWPadnos> so you *do* have to be concerned about ground references there
[15:42:55] <jlmjvm> yes
[15:43:32] <jlmjvm> may just go the error output on this 1
[15:44:10] <jlmjvm> thought it would be easy to split the signal between the 2
[15:44:10] <rayh> That is a good first step toward servo.
[15:44:13] <SWPadnos> http://pico-systems.com/gecko.html
[15:44:26] <SWPadnos> that has opto-isolated encoder outputs to the gecko
[15:44:53] <jlmjvm> dont you havt to use it with a usc
[15:45:01] <SWPadnos> nope
[15:45:18] <SWPadnos> in fact, I have a friend who uses it with DeskCNC :)
[15:45:21] <jlmjvm> you can use this with breakboards
[15:45:50] <jlmjvm> he has 1 of those in stock
[15:46:44] <jlmjvm> if that would make this setup work i can order today
[15:46:46] <rayh> Damn that's a big resistor on that thing.
[15:46:59] <SWPadnos> you won't get any guarantees from me ;)
[15:47:16] <SWPadnos> yeah - that's supposed to be a load dump resistor
[15:47:45] <rayh> Ah. Multipurpose.
[15:47:48] <SWPadnos> one problem my friend and I had was that Jon doesn't really have specs on what voltage/current the unit is rated to safely fump
[15:49:57] <jlmjvm> do you think it might work for what im wanting to do
[15:50:39] <SWPadnos> it should certainly allow you to connect the encoder to both EMC and the gecko
[15:50:56] <rayh> Yep.
[15:51:01] <SWPadnos> and it will also allow you to keep track of position while the drive is disabled
[15:51:27] <rayh> I've never heard anyone complain about Jon underdesigning.
[15:51:35] <jlmjvm> i think im gonna get it
[15:51:57] <jlmjvm> i always thought it had to be used with a usc
[15:52:13] <rayh> It will safely allow you to run EMC closed loop.
[15:53:13] <jlmjvm> and it has a braking resistor also
[15:54:23] <Adam_> Hello
[15:55:21] <cradek> hi Adam_
[15:56:10] <Adam_> how are things
[16:00:02] <rayh> gotta get out and hook up a VFD. catch you later.
[16:16:02] <Guest479> I recently came across a small cnc router. It no longer has software and to be controlled via serial port (i.e RS232) rather than parallel port (RS 274). Would EMC be at all useful to me as controller?
[16:16:21] <SWPadnos> probably not, if you want to use the serial port to run the machine
[16:16:57] <SWPadnos> if you dig a bit deeper into the machine and get rid of the internal serial controller, then probably :)
[16:17:54] <Guest479> I was afraid that was exactly what the response would be :). Thanks.
[16:18:02] <SWPadnos> heh - sorry
[18:06:03] <jlmjvm> swpadnos:its offical i just ordered the whole pico setup
[18:06:43] <jlmjvm> usc+gecko servo interface+spindle dac board
[18:06:51] <user_> I just got in the G203v's geckos are a little smaller than I thought
[18:07:07] <jlmjvm> i have 203v drives
[18:07:41] <user_> Are you driving yours straight off the para port? I noticed that it says input is opto iso already
[18:07:48] <jlmjvm> they are the same size as the g201 and the g320
[18:08:14] <jlmjvm> yes i am
[18:08:16] <user_> Ahh , my first experience...
[18:08:31] <user_> That's good to hear straight from the para port
[18:08:57] <jlmjvm> if i turned on my spindle or coolant my motor would pulse
[18:09:18] <jlmjvm> only way to stop it was wire direct to parport
[18:09:25] <jlmjvm> works great now
[18:09:38] <user_> How was it connected previously?
[18:10:59] <jlmjvm> through a cnc4pc c10 bidirectional breakout board
[18:11:07] <jlmjvm> http://www.winfordeng.com/products/brk25.php
[18:11:19] <jlmjvm> thats what i got to hook it up
[18:12:13] <jlmjvm> woks good
[18:12:28] <jlmjvm> works
[18:12:29] <user_> Ok, I had been juggling just using a breakout like that, over a bidirectional type board with charge pump and some relays
[18:14:06] <jlmjvm> have you looked at the pico systems universal stepper board
[18:14:12] <user_> What type of machine are you running with this
[18:14:24] <jlmjvm> bridgeport cnc mill
[18:14:43] <user_> I was looking at that board last night when my 6.06 box went apeshit
[18:15:10] <jlmjvm> i just ordered 1 today for a retrofit im doing
[18:16:20] <user_> Cool, I would love to hear how that works out for you. You're obviously running a full sized mill, once tuned are missing steps and accumulative error something that really affects you ?
[18:17:54] <jlmjvm> i have encoders reading back now,only affect woul be the software estoping
[18:18:58] <jlmjvm> what kinda computer you using?
[18:19:06] <user_> 2.4 celeron
[18:19:15] <jlmjvm> should be cool
[18:19:24] <jlmjvm> video card?
[18:19:43] <user_> shortly after installing opencam last night it went apeshits...
[18:19:58] <user_> vid is agp 2x on board, but does fine in sim
[18:20:32] <jlmjvm> it prolly wont work with emc
[18:21:21] <jlmjvm> i use an older style nvidia card mx400,mx440,works great,could never make emc work untill i did
[18:21:50] <user_> Mouse acts accurately at the login prompt, but once X is up a slight touch of the mouse sends the pointer all across the screen and opens programs and hits the shutdown icon and loged out and shutdown you go...
[18:22:24] <user_> I've got a better machine in the house with a 4x agp 2.4 athalon
[18:22:32] <jlmjvm> if you have an agp slot you should try a nvidia card
[18:22:52] <jlmjvm> im running a athlon 64 2.2
[18:23:20] <user_> Yeah I have a nvidia in my 7.04 machine, but it looks like time to send it to the garrage to run emc soon
[18:24:07] <jlmjvm> you will have to have a vid card,i spent months trying to get it to work
[18:24:54] <jlmjvm> what kinda machine you gonna put this on
[18:25:06] <user_> It's an nvidia, can't remember what though, runs compiz fusion ok on 7.04
[18:25:21] <user_> I'll be putting on amd 2.4 1Gig ram
[18:25:39] <jlmjvm> im running 512
[18:26:06] <jlmjvm> gotta run
[18:26:25] <user_> sure, thanks again
[18:26:43] <jlmjvm> holler back if you have any problems
[18:26:52] <user_> somehow I'm user today, usually skinnypuppy1334 thanks
[18:27:07] <jlmjvm> k,i remember you
[18:27:22] <user_> ;O)
[18:27:25] <jlmjvm> later
[18:27:30] <user_> l8r
[18:33:16] <Guest539> Guest539 is now known as skunkworks_
[18:41:58] <CIA-8> 03cradek 07TRUNK * 10emc2/src/emc/motion/motion.c: this is not an error
[19:21:11] <CIA-8> 03cradek 07TRUNK * 10emc2/src/rtapi/ (sim_common.h rtapi.h rtai_ulapi.c rtai_rtapi.c): by default, remove unwanted messages that obscure errors
[19:21:11] <CIA-8> 03cradek 07TRUNK * 10emc2/scripts/rtapi.conf.in: by default, remove unwanted messages that obscure errors
[19:21:20] <toast> i need some wrenches and sockets
[19:38:40] <CIA-8> 03cradek 07TRUNK * 10emc2/src/hal/utils/halcmd_commands.c:
[19:38:40] <CIA-8> I don't like this change much, but it might solve the immediate
[19:38:40] <CIA-8> problem that people don't recognize HAL:123: as a line number.
[19:43:57] <Guest627> hello?
[19:43:59] <skunkworks_> Guest627: hello
[19:44:22] <Guest627> hi, I have a question about LinuxCNC
[19:44:46] <skunkworks_> ask
[19:45:29] <Guest627> Do you know if EMC software is compatible with 'denford' cnc machines?
[19:47:10] <skunkworks_> Compatable? That is a broad statement. What are you hoping to do? replace the existing cnc controller?
[19:47:38] <Guest627> i have a microturn lathe and micromill 2000 that I bought at an auction with no software or instructions
[19:48:01] <Guest627> yes, I want to replace it.
[19:48:46] <skunkworks_> I am not familliar with denford - do you know what kind of drives they are? stepper / servo?
[19:48:54] <cradek> http://denford.com/Micromill%202000.html
[19:49:10] <cradek> tiny stepper machine, looks like a sherline clone
[19:49:18] <Guest627> sorry if I seem clueless. I'm a real newb at machining. They have stepper motors.
[19:49:36] <Guest627> they actually use sherline machines.
[19:49:50] <Guest627> sherline supplies them with the machines.
[19:49:52] <dmess> should be relatively painless for someone who knows how..
[19:49:54] <cradek> you could run it directly with a xylotex driver board (~ $150) hooked to a PC running EMC
[19:50:28] <cradek> or maybe it came with stepper drivers that you could figure out instead of buying new ones.
[19:50:56] <skunkworks_> Guest627:
http://www.cnczone.com/forums/showthread.php?t=7994&highlight=Micromill+2000+denford
[19:51:01] <dmess> should have a nice spot marked... step... dir....
[19:52:03] <cradek> ok, looks like you don't want to use their driver even if you have it...
[19:53:14] <Guest627> it's just like that, all enclosed and everything.
[19:53:25] <skunkworks_> did you buy it from this guy ;)
[19:54:20] <Guest627> no. I got both a lathe and a mill at a school surplus auction. I figure the sherline mill and lathe were worth the $450 I paid for them.
[19:54:40] <skinnypuppy1334> that seems a fair price
[19:54:44] <cradek> if you want to make small parts they are definitely worth that.
[19:55:13] <cradek> it will take some work to get them going, but you'll save $1500+ over the sherline prices
[19:55:15] <dmess> what rpm they have??
[19:55:28] <Guest627> I want to use them to make some little hinge joints, ball & socket etc for stop motion puppet armatures.
[19:56:07] <Guest627> they're down in the basement... but I think they're 2500 Rpm
[19:56:22] <Guest627> or at least that's the mill speed.
[19:56:29] <cradek> geared for power the lathe spindle does maybe 1200
[19:56:35] <cradek> (they have two pulley settings)
[19:58:12] <skunkworks_> Guest627: you should be able to do that sort of stuff no problem with emc - your going to have to come up with drives. Like xylotex or similar
[19:58:19] <skunkworks_> (sounds like fun :))
[19:58:43] <cradek> if you want to cut single point threads on the lathe, you'll have to rig a suitable spindle encoder, this is a bit of an advanced configuration
[19:59:02] <cradek> if you can get by with taps instead, it's just like the mill but with two axes instead of three
[20:01:01] <Guest627> I mainly want to use the lathe to make holes in stainless 316 balls
[20:01:33] <Guest627> I was thinking about just using a hand tap set
[20:02:09] <Guest627> I'm afraid I'm in way over my head. I may just have to stick to the ol' wire armatures for a while.
[20:02:13] <JymmmEMC> LawrenceG: Ok, just checked. Yes, top 5 pairs are jumpered (furtherest away from screw terminals) on the OEM750
[20:04:05] <JymmmEMC> LawrenceG: and SW1 on mine is empty, only SW2 and SW3 has dip switches.
[20:04:52] <skunkworks_> Guest627: cnczone is a good place to get general cnc information.
[20:05:04] <skunkworks_> Be warned though - it is very mach biased.
[20:05:21] <skunkworks_> (mach is a commercial machine control software)
[20:06:32] <JymmmEMC> TCNC FTW!!!
[20:06:39] <JymmmEMC> DOS RULES!!!
[20:07:26] <cradek> drilling holes in stainless balls is going to be a challenge, especially if they are small
[20:07:57] <JymmmEMC> like making SS beads?
[20:08:00] <cradek> does your lathe have handwheels on the back of the motors? If so you will have the best luck just using it that way
[20:08:13] <cradek> you'll drill with the tailstock anyway, and it probably is not cnc controlled
[20:09:04] <JymmmEMC> Guest627: Why SS?
[20:09:12] <Guest627> yes there is a handcrank
[20:09:28] <cradek> good
[20:10:10] <Guest627> do you know of any machinists from th kansas city area on here?
[20:10:12] <cradek> try putting the ball in the chuck, file a small flat on it, and use a center drill in the tailstock to hit the flat
[20:10:28] <Guest627> ss is what was reccomended
[20:10:40] <JymmmEMC> ah
[20:11:15] <JymmmEMC> Guest627: max diameter of the ball?
[20:11:40] <Guest627> right on cradek, that is what i was also told to do
[20:11:59] <Guest627> probably around 1/4"
[20:12:45] <JymmmEMC> Guest627: Just a thought...
http://www.armaverse.com/
[20:12:44] <LawrenceG> JymmmEMC: thank you sir... I left the drive running all night.... working fine in test mode
[20:13:27] <JymmmEMC> LawrenceG: cool beans. Was that at 40,000,000 volts?
[20:13:41] <CIA-8> 03jepler 07TRUNK * 10emc2/scripts/emc.in: leftover NML shared memory segments are a repeating problem; fix it with a hammer
[20:13:47] <cradek> Guest627: you don't mean ball bearings, do you?
[20:13:47] <LawrenceG> no... the slower 30volt option :}
[20:13:56] <JymmmEMC> LawrenceG: wuss ;)
[20:14:45] <CIA-8> 03jepler 07TRUNK * 10emc2/scripts/emc.in: fancy use of INI_DIR to find .hal files is unnecessary, since we're running in there anyway
[20:15:00] <Guest627> no, ball bearings are hardened... just ss 316 from mcmasters
[20:15:07] <cradek> ok good
[20:15:08] <LawrenceG> JymmmEMC: todays project... design a breakout board for the shoptask
[20:15:27] <cradek> just checking...
[20:15:29] <JymmmEMC> LawrenceG: good luck, then you can send me one
[20:15:41] <skunkworks_> LawrenceG: my oem650's are hooked directly to the printer port :)
[20:16:06] <Guest627> here's a link to a book on machining the armatures...
http://www.amazon.com/Stop-Motion-Armature-Machining-Construction-Manual/dp/0786412445/ref=pd_bbs_sr_1/102-3703970-3067305?ie=UTF8&s=books&qid=1189800838&sr=8-1
[20:16:08] <cradek> LawrenceG: did you consider the pmdx? It seems good
[20:16:18] <skunkworks_> LawrenceG:
http://youtube.com/watch?v=Og6V-nS2dig
[20:16:22] <LawrenceG> same as most, but want the lathe spindle inputs buffered
[20:16:55] <LawrenceG> looking.... man I wish I could mill pcb that fast!
[20:17:17] <JymmmEMC> skunkworksSell that thing already
[20:17:27] <skunkworks_> JymmmEMC: in proccess.
[20:17:37] <JymmmEMC> skunkworksyeah yeah
[20:17:44] <cradek> I think mine is about that fast - what was the feed rate?
[20:17:49] <LawrenceG> congrats on the bid!
[20:17:56] <skinnypuppy1334> Nice board
[20:18:04] <skunkworks_> 20ipm - but rapids max are 450ipm :)
[20:18:22] <cradek> yeah I also use 20 I think
[20:18:33] <cradek> and I don't do the long rapids so it doesn't matter :-)
[20:18:45] <cradek> but that definitely looks nice.
[20:19:00] <skunkworks_> :) accelleration is 50in/s/s
[20:19:44] <cradek> usually a stepper machine can't rapid like that. it's impressive.
[20:20:10] <skunkworks_> it supprised me. I kept upping it and upping it.
[20:20:16] <CIA-8> 03jepler 07TRUNK * 10emc2/src/hal/utils/ (6 files):
[20:20:16] <CIA-8> improve halcmd error messages so that they show the filename and line number where they occur, e.g.,
[20:20:16] <CIA-8> core_sim:9: addf failed
[20:20:58] <JymmmEMC> LawrenceG:
http://www.cnc4pc.com/Store/osc/product_info.php?cPath=33&products_id=48
[20:21:33] <LawrenceG> cradek: looking at a combined lathe/mill config for the shoptask..... I want Threading!
[20:22:25] <cradek> two configs will be the easiest I bet
[20:22:27] <JymmmEMC> LawrenceG: it has a charge pump and a speed control
[20:23:18] <LawrenceG> cradek: ya... 2 hal configs, but 1 wiring config to breakout board
[20:23:18] <jlmjvm> what is the status of tapping with emc
[20:23:33] <skunkworks_> jlmjvm: its in there. :)
[20:23:55] <skunkworks_> Well - in cvs it is.. I think
[20:24:01] <jlmjvm> so if you have a spindle index pulse you can tap?
[20:24:20] <skunkworks_> you need an encoder - say 200 or more line with an index pulse
[20:24:45] <skunkworks_> single index tapping/threading is just crazy. :)
[20:24:56] <LawrenceG> cradek: on spindle encoder, is there any critical timing for the Z phase? ie when A==B==0
[20:25:52] <jlmjvm> so you also need an encoder on the spindle,i thought it could be done with a index and a vfd
[20:26:42] <robin_sz> meep?
[20:28:46] <skunkworks_> jlmjvm: you need an encoder that also has an index pulse. as LawrenceG said it has a,b and z channels.
[20:29:34] <skunkworks_> I don't know if using a 2 channel encoder an external index would work - that would be a question for cradek
[20:29:40] <skunkworks_> and
[20:30:39] <jlmjvm> the machine has a prox switch from the factory for spindle readout,was wanting to utilize it
[20:31:33] <jlmjvm> is cool to know just adding an encoder to spindle could give you tapping
[20:32:56] <skunkworks_> emc is pretty cool huh :)
[20:33:10] <jlmjvm> extremely,im hooked
[20:34:03] <cradek> LawrenceG: no, as long as it's consistent
[20:34:19] <jlmjvm> gotta get my x and y motor mounted this weekend
[20:34:56] <cradek> err too many questions have gone by for me to answer an old one, disregard that
[20:35:17] <cradek> skunkworks_ is right that you definitely need an encoder for rigid tapping
[20:36:19] <jlmjvm> gotta try this soon,will blow away a mach setup
[20:37:24] <cradek> fwiw, at cnc workshop, we heard from the horse's mouth that mach will do rigid tapping "probably never"
[20:37:40] <toast> do you guys have a preference
[20:37:42] <toast> for wrenches
[20:37:46] <toast> like, size range, brand
[20:37:50] <cradek> wenches?
[20:37:54] <toast> no no
[20:37:55] <jlmjvm> just gotta figure out where to put an encoder at on the huge 7 1/2 hp spindle motor
[20:38:01] <toast> i've got my wench preferences down pat
[20:38:05] <toast> i'm looking for wrenches
[20:38:40] <jlmjvm> you mean art
[20:38:47] <JymmmEMC> craftsman - can be replaced 7 days a week
[20:39:05] <skunkworks_> jlmjvm: yes. I actually heard that converstion.
[20:39:08] <cradek> for me a nice case that holds them together so I don't lose them scattered all around is almost more important than the brand of wrench
[20:39:28] <cradek> even cheap ones seem pretty usable
[20:39:31] <JymmmEMC> I just use this roll out pouch
[20:39:48] <jlmjvm> cool,im gonna have to start going to the workshops
[20:39:50] <cradek> yeah the pouch works ok but is a bit clumsy (and needs a large surface for rolling out)
[20:40:29] <JymmmEMC> yeah, the ground works good for that, but I rarely need to use wrenches
[20:40:46] <JymmmEMC> screwdriver/cutters/pliers socket set is another story
[20:41:11] <cradek> I actually use wrenches more than sockets
[20:41:20] <jlmjvm> rigid tapping means this could work on a real machine center
[20:41:35] <cradek> jlmjvm: could?? you should come see the mazak.
[20:41:50] <JymmmEMC> I *LUST* my 1/4" snap on deep well socket set
[20:41:50] <jlmjvm> my bad,ive seen it
[20:42:16] <skunkworks_> jlmjvm:
http://youtube.com/watch?v=JCEwlfJj__A
[20:42:17] <JymmmEMC> it has been well worth the price - and paid for themselves long ago
[20:42:17] <cradek> I refuse to use a crescent/adjustable wrench anymore, I bleed on them every time I try to use them
[20:42:21] <jlmjvm> will be glad when i can do a machine that size
[20:42:36] <JymmmEMC> cradek: nuckle busters!!!
[20:42:39] <JymmmEMC> k
[20:42:46] <cradek> yep
[20:43:16] <cradek> skunkworks_: I wish we would have filmed tapping the metal instead...
[20:43:21] <jlmjvm> ive got a big boring mill a guy wants me to do when i get done with this trade school mill
[20:43:34] <JymmmEMC> cradek: I thought it was taped?
[20:43:35] <cradek> skunkworks_: I still have the first aluminum hole we tapped :-)
[20:43:38] <skunkworks_> cradek: next year :)
[20:43:41] <JymmmEMC> maybe not metal, but...
[20:43:48] <toast_> arrrgh
[20:43:53] <skunkworks_> jlmjvm:
http://youtube.com/watch?v=vNn-Yr7it5s
[20:43:56] <toast_> re: wrenches
[20:43:58] <toast_> i have a toolbox
[20:44:09] <JymmmEMC> craftsman and a roll up pouch
[20:44:21] <toast_> so like pouches/carrying devices would be thrown away
[20:44:30] <toast_> (for work)
[20:44:42] <toast_> so i guess if i use them nearly every day, is it worth spending more money on a wrench
[20:44:47] <toast_> or are cheaper ones okay
[20:44:48] <JymmmEMC> roll away or hand carry toolbox?
[20:44:54] <toast_> roll away
[20:45:03] <JymmmEMC> then buy the drawer dividers
[20:45:15] <toast_> well like the issue is the wrenches themselves
[20:45:30] <skunkworks_> I like these
http://www.sears.com/shc/s/p_10153_12605_00942444000P?vName=Tools&cName=Hand+Tools%2C+General+Purpose
[20:45:55] <toast_> hmm
[20:46:38] <JymmmEMC> SWPadnos: just bought those, and I was thinking of getting those ones too and in metric
[20:46:58] <jlmjvm> cool vid
[20:47:18] <skunkworks_> a nice set of these also come in handy - the have a decent lenght to them.
[20:47:18] <JymmmEMC> skunkworks they have the chrome ones too - slim
[20:47:20] <skunkworks_> http://www.sears.com/shc/s/p_10153_12605_00942962000P?vName=Tools&cName=Hand+Tools%2C+General+Purpose&sName=Wrenches
[20:48:01] <JymmmEMC> screw box end
[20:48:24] <skunkworks_> lets see you take a stuck bolt out with a open end wrench.
[20:48:24] <JymmmEMC> unless you're working on pipe fittings/gas lines
[20:48:59] <JymmmEMC> skunkworks it's called a blowtorch
[20:49:16] <skunkworks_> heh - you can't always do that.
[20:49:33] <robin_sz> evening guys ...
[20:49:38] <robin_sz> girls
[20:49:39] <JymmmEMC> if I need a box wrench, then I usually can use a toch too =)
[20:49:58] <JymmmEMC> except gas lines =)
[20:50:24] <jlmjvm> has anybody here set up a usc before
[20:50:28] <toast_> a usc?
[20:50:36] <JymmmEMC> alex has
[20:50:40] <JymmmEMC> SWPadnos: has one
[20:51:08] <jlmjvm> just wondering how hard its gonna be to the the pid loop
[20:51:09] <JymmmEMC> re robin_sz
[20:54:19] <Roguish_> hey all. any clue how i would show encoder pulses on halscope?
[20:54:47] <Roguish_> pin? signal? or ?
[20:54:55] <cradek> either
[20:56:54] <skinnypuppy1334> Jlmjvm , I missed one of your questions earlier, I'm retrofiting an enco bp clone.
[20:56:59] <Roguish_> do i need to create one, or does something exist? i have looked through all i can see and didn't see anything obvious.
[20:57:20] <cradek> what pins are your encoder hooked to? you just scope those
[20:57:35] <skunkworks_> Roguish: what are you encoders hooked into? if it is a board then all you can see is the raw counts.
[20:57:37] <Roguish_> 5i20
[20:57:57] <cradek> ah then skunkworks_ is right - all you can see is the counted output
[20:58:13] <skunkworks_> woohoo - twice in one day :)
[20:58:29] <Roguish_> just the counts? not the actual pulse train?
[20:58:33] <jlmjvm> skinnypuppy1334:what question
[20:58:37] <cradek> right
[20:58:54] <cradek> one reason you use hardware encoder counting is that the pulse train is too fast for emc to read it
[20:59:00] <Roguish_> crap, now i gotta drag the real scope out.......
[20:59:12] <cradek> so instead, emc just reads the accumulated count every servo cycle
[20:59:28] <skinnypuppy1334> Much earlier I missed when you asked what kind of machine
[20:59:44] <jlmjvm> ahh,i remember now
[21:00:06] <Roguish_> i'm trying to see it the index is actually working.
[21:00:56] <skunkworks_> that is different - you should be able to see that.
[21:01:03] <cradek> you can set index-enable with halcmd and then see if the count resets
[21:01:31] <skunkworks_> or the effect of it anyways :)
[21:01:42] <cradek> when the count resets, it will reset the index-enable pin too
[21:02:54] <skunkworks_> iirc - you need to un-remark some lines regarding the index in the hal file (mesa card) I think...
[21:03:18] <skunkworks_> I am probably talking out of my ass now though.
[21:04:40] <Roguish_> i'm running the trunck version, so i think the index-enable stuff works.....?
[21:04:48] <cradek> yes
[21:04:53] <cradek> also works in 2.1.7
[21:05:04] <Roguish_> cool. been keepin' up on the reading.
[21:05:11] <jlmjvm> is adaptive feedrate already in emc,was looking at hal show in emc and in the motion section it has adaptive feed
[21:05:48] <cradek> yes
[21:06:20] <jlmjvm> cool
[21:07:01] <jlmjvm> is there anything on the wiki about it
[21:08:00] <jlmjvm> cant find anything
[21:12:16] <jepler> http://linuxcnc.org/docs/html/gcode/main/#sec:M50:-Feed-Override http://linuxcnc.org/docs/html/config/emc2hal/ (pin motion.adaptive-feed-in)
[21:12:27] <jepler> this is also in the PDF documentation that is in the Applications > CNC menu
[21:12:57] <jepler> bbl
[21:19:58] <Roguish_> ok. how about 'setp axis.2.index-enable true' ? should this set the index enable?
[21:21:09] <Roguish_> then spin the motor 1 rev and watch if it goes 'false'?
[21:24:52] <Roguish_> all i get is 'invalid arguments !!
[21:28:56] <skunkworks_> I don't know. Cradek would know but I bet he is on his way home.
[21:31:26] <jepler> Roguish_: after connecting axis.2.index-enable with the 5i20's HAL index pin, you would 'sets' the signal to TRUE. If you have not connected index-enable to 5i20's index pin, then you would 'setp' the 5i20's index pin to TRUE.
[21:33:12] <jepler> in the CVS version's sample config files, the index-enable pins are already connected: net Zindex-enable m5i20.0.enc-02-index-enable <=> axis.2.index-enable
[21:33:31] <jepler> so you would 'sets Zindex-enable 1' (or TRUE)
[21:33:37] <jepler> bbl
[21:34:15] <Roguish_> thanks
[22:10:29] <Adam__> hello
[22:30:08] <jmkasunich__> jmkasunich__ is now known as jmkasunich
[22:34:37] <CIA-8> 03jepler 07TRUNK * 10emc2/src/po/ (fr.po fr_axis.po fr_rs274_err.po): updates from Francis TISSERANT
[22:38:11] <Adam__> how can I trip a relay from a 7i37?
[22:38:30] <Adam__> I am a n00b
[22:40:57] <eric_u> what kind of relay?
[22:41:10] <eric_u> the outputs will drive most relays, some need a diode added
[22:41:45] <Adam__> I have a 24vdc relay
[22:41:53] <eric_u> solid state or coil?
[22:42:05] <Adam__> coil
[22:42:14] <eric_u> you need a diode across the relay
[22:43:05] <eric_u> the best way is probably this: hook up the relay to 24v, and pull the other side of the relay low with the 7i37
[22:45:09] <Adam__> If i go the diode route what should I use for that?
[22:45:50] <eric_u> if you don't want to smoke your 7i37, you use a cathode. The skirt side goes to the 7i37, the arms side goes to 24v
[22:46:47] <eric_u> anode = skirt side; cathode = arms side
[22:48:01] <eric_u> I'm assuming your relay did not come with the diode, some do but for some reason they charge 3 times as much to add a 10 cent part
[22:49:26] <eric_u> say you want to use output zero on the 7i37, you hook one side of the relay to 24v, the other side to pin 33 of the 7i37
[22:49:41] <eric_u> pin 34, hook to the power ground
[22:50:22] <eric_u> most dc relays, it doesn't matter which side of the coil is which, this is not true if it has the diode built in.
[22:50:40] <eric_u> do you have a manufacturer and part number for this relay?
[22:50:48] <eric_u> or better yet, a link to the data sheet?
[22:50:57] <Adam__> omron my4 24vdc
[22:51:18] <Adam__> unless it has an invisible diode I dont see it
[22:52:52] <eric_u> you got it from digikey?
[22:53:18] <Adam__> it was laying around
[22:53:28] <eric_u> that's the best kind
[22:55:56] <maddash> this is so cool
http://www.pabr.org/sixlinux/sixlinux.en.html
[22:58:17] <eric_u> I didn't know the ps3 controller had inertial sensing in it
[22:59:44] <maddash> the controller is trivial ; i was looking at the hexapod
[23:00:02] <eric_u> the hexapod is trivial, I was looking at the controller :)
[23:00:49] <eric_u> hexapod isn't too trivial, but it's $25 worth of servos from united hobbies and a servo controller that you can get for another $25
[23:01:15] <eric_u> or you can go with the high priced spread on the controllers and pay 5x as much
[23:01:46] <eric_u> the linkages are available down at the hobby shop, that should run you another $20 at most.
[23:02:02] <maddash> it's actually more than a hexapod, if you look at the bottom
[23:03:00] <eric_u> not sure why you say that
[23:04:26] <jmkasunich> could sombody check this link for me?
http://jmkasunich.dyndns.org/website/vannorman/VN_Home.htm
[23:04:38] <eric_u> works for me
[23:04:48] <jmkasunich> can you follow the links on that page?
[23:05:04] <Ziegler> works for me
[23:05:09] <eric_u> yes
[23:05:09] <Ziegler> looks good
[23:05:10] <jmkasunich> thanks
[23:05:29] <jmkasunich> I'm moving the site from my (may soon be _former_ ) isp to my own server, wanted to make sure I did it right
[23:05:59] <eric_u> your mail thing doesn't work
[23:06:15] <Ziegler> jmkasunich: can I send that page to friend?
[23:06:18] <jmkasunich> yeah, I knew that
[23:06:25] <jmkasunich> Ziegler: sure
[23:06:40] <Ziegler> how often is your home server down?
[23:06:48] <jmkasunich> its been on the web for 5 years or so, but better to send the new address, the old one might go away
[23:06:59] <jmkasunich> only when the power goes out or something else like that
[23:07:01] <Ziegler> lol
[23:07:06] <Ziegler> alright thanks
[23:07:08] <eric_u> new address being the dynamic dns?
[23:07:14] <jmkasunich> eric_u: yes
[23:07:32] <jmkasunich> the power company had a 6 hour scheduled outage on Wednesday, for tree trimming in the neighborhood
[23:07:39] <jmkasunich> before that I had 53 days uptime
[23:07:45] <eric_u> my power company cuts the power just after I leave for work
[23:09:11] <eric_u> which is actually better than when they cut the power just before I'm leaving for work so I have to use the emergency release on the garage door and open it by hand
[23:09:38] <jmkasunich> hmm.... my old page is the #1 hit on google for "van norman milling machine". I wonder how to make google learn that it's moved?
[23:12:04] <eric_u> I had a server that was the number one hacked computer on the Penn State campus; it was named hammer.me.psu.edu
[23:12:17] <jmkasunich> heh
[23:12:29] <eric_u> we never really thought about that url when we asked for it to be put in dns
[23:13:38] <eric_u> hackers are so easy to control, we took it offline, and when we put it back online, it was rooted within 2 hours
[23:14:47] <eric_u> some security should get the domain youcanthackme.com
[23:17:01] <eric_u> Adam__ your relay is here
http://oeiwcsnts1.omron.com/ocb_pdfcatal.nsf/PDFLookupByUniqueID/FDF7E79B0E41203C86256FC70060DC70/$File/D20MY0305.pdf
[23:17:32] <skinnypuppy1334> I'm shopping for a torroid, is 800va with 40v Ct 40v secondarys enough for a 3 axis bp?
[23:18:54] <eric_u> if it doesn't have a + sign next to pin 14, you can hook 24v up to either pin 13 or 14 and ground the other, and it will close the contacts. If you do that with the 7i37, there needs to be a diode across pins 13 and 14
[23:20:36] <eric_u> sorry, they sell both polarities of diode protected models, look at the pdf and identify your exact model. the coil is always pin 13 and 14
[23:29:36] <maddash> rooooooooooooooooot!
[23:50:17] <robboplus> maddash did ya? :)
[23:58:18] <OzarkMark> awful quiet for all the ppl here
[23:58:25] <OzarkMark> hmm
[23:59:36] <cradek> jepler: got all the holes tapped, cleaned out, and plugged
[23:59:55] <cradek> also, it will fit the t-slots fine, I got lucky