#emc | Logs for 2010-07-31

[00:04:31] <theorb> theorb is now known as theorbtwo
[00:29:49] <PCW_> PCW_ is now known as PCW
[01:22:36] <tom3p> can i set the debug level so everything executed by emc2 is printed to the terminal that ran emc2? could this list be replayed by emc2 without re-interpreting?
[01:55:08] <tom3p> where is debug output?
[01:55:08] <tom3p> i run 'emc -d' after i set .ini with [EMC]DEBUG=0x00000040 and choose NML in AXIS gui & dont see squat in terminal or logs.
[02:09:55] <lepton> Is there an easy way to cause a pyvcp button to run several lines of gcode? (for doing a zero plate routine)
[02:25:48] <tom3p> argh! to get debugging to work you have to also toggle the 'TASK ISSUE' check widget in AXIS
[02:26:56] <tom3p> 'TASK ISSUE' ? could there be a better name please? i already asked for it to happen, i didnt expected a microsoft 'are you sure' also
[02:46:26] <cradek> ichudov: yay! looks like you nailed it.
[03:02:02] <cradek> tom3p: TASK_ISSUE is 0x10, not 0x40
[03:03:09] <cradek> (don't know what you mean about are-you-sure, I didn't get one when I turned on that debug bit)
[03:12:58] <cradek> I'm talking to myself - jeez
[03:21:02] <madsci44> I do that all the time cradek, but I never listen to myself
[03:21:08] <madsci44> :)
[04:44:59] <Tech_Talk> Tech_Talk is now known as Birdman3131
[05:41:12] <MrSunshine__> hmm, im thinking of a locating probe ... how the heck would you do that .. that is both for material finding on Z and X and Y =)
[05:41:45] <MrSunshine__> i guess just a bar with known length and width would work as a probe, if not eveyrthing was connected together :P
[05:41:56] <MrSunshine__> but doesnt work on other materials then metal :(
[05:44:49] <elmo40> then you need micro switches, or tiny optical sensors that detect shadow (if the probe has an internal pivot point to make a shadow...)
[05:44:56] <elmo40> it gets complicated the more high-tech you want
[05:53:40] <ichudov_> q
[06:11:25] <MrSunshine__> elmo40, mm :/
[06:36:10] <MrSunshine__> these touchprobes with ball bearing balls .. maybe can be something
[06:36:16] <MrSunshine__> atleast should get me some precision =)
[07:33:17] <MattyMatt> microswitches are designed to be repeatable, so a needle/ball operating one should be fairly accurate
[07:33:29] <MattyMatt> for some values of fairly
[07:36:20] <MattyMatt> NC contacts would probably be less subject to wear & abuse, if you make the contacts yourself (salvaged relay contacts etc)
[07:38:25] <MattyMatt> dial gauge with a broken dial? not likely I suppose
[07:40:42] <MattyMatt> maybe a good dial gauge with a conducting needle and zero stop?
[07:41:48] <MattyMatt> that might be a good use for one of these ball mouse encoders, a machine readable dial gauge
[07:42:30] <MattyMatt> quicker than using the Z to probe fo sho
[08:17:58] <Birdman3131> Birdman3131 is now known as Dansen_Hit|er
[08:18:17] <Dansen_Hit|er> Dansen_Hit|er is now known as Birdman3131
[08:21:33] <Fox_M|afk> Fox_M|afk is now known as Fox_Muldr
[08:22:11] <Birdman3131> Birdman3131 is now known as pikachu
[08:22:41] <pikachu> pikachu is now known as Guest80718
[08:23:03] <Guest80718> Guest80718 is now known as Birdman3131
[08:26:13] <Fox_Muldr> Fox_Muldr is now known as Fox_M|afk
[08:47:38] <Birdman3131> Birdman3131 is now known as PokemonIsEvil
[08:53:20] <bortreb> does emc2 work with the latest (9.10) version of ubuntu?
[08:55:37] <micges> yes - in simulation mode
[08:56:04] <micges> no rt kernel - you must patch it yourself if you want
[08:57:39] <bortreb> is simulation mode useless for actually controlling something like a laser cutter and thus I should patch, or is it ok?
[08:58:46] <micges> only rt kernel is ok for control machine
[09:01:56] <PokemonIsEvil> PokemonIsEvil is now known as Birdman3131
[09:02:27] <bortreb> thanks, I guess I'll get to patching then!
[09:03:01] <bortreb> also, where might I find information for configuring emc2 to run a laser cutter?
[09:03:20] <micges> this could help: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Ubuntu10.04Notes
[09:04:13] <micges> I have 4 laser cutter on emc2
[09:04:36] <micges> bortreb: describe source and material you want to cut
[09:06:09] <bortreb> I'm etching anodized aluminum with a 40 watt chinese laser refitted with a "mach 3" control board shown here http://www.fullspectrumengineering.com/co2laserv2-40w.html.
[09:06:28] <bortreb> supposedly it "works well with some setup" with emc2
[09:08:16] <bortreb> I have this file: http://www.fullspectrumengineering.com/files/laser.xml which is the config for the mach2 windows program that would otherwise control the laser
[09:14:16] <MattyMatt> wtf :) $295 for that board
[09:14:49] <MattyMatt> I hope that included a full licenced copy of Mach3
[09:17:49] <bortreb> yeah they're proud of that board
[09:18:11] <bortreb> but it sure beats the chineese.... thing that it came with
[09:19:25] <MattyMatt> are you sure? they look like the same $5 stepper chips you find on pololus
[09:20:48] <MattyMatt> I can't quite read the number on the chips, but the text says it's Allegro DMOS
[09:22:32] <bortreb> hmmm that's good to know
[09:22:47] <micges> bortreb: you can setup this laser by stepconf like normal 3d mill, just ignore z axis
[09:23:00] <MattyMatt> good to know if you burn them out. you should have heatsinks on them really
[09:23:20] <bortreb> I was wondering how that guy actually made any money
[09:23:38] <bortreb> $2000 for a laser cutter is a pretty good price
[09:23:40] <micges> bortreb: so it seems that there are stepper inside this?
[09:24:00] <bortreb> yeah
[09:24:17] <bortreb> I believe so
[09:24:19] <MattyMatt> I'm guessing Q3 is the laser switching mosfet
[09:24:42] <MattyMatt> but yeah that's a plain 2 axis stepper board otherwise
[09:25:00] <MattyMatt> all the magic is in the software on the PC
[09:26:02] <bortreb> so I can use stepconf? and I guess the laser would be "drill" or something? do I need that huge xml file?
[09:27:00] <MattyMatt> "spindle power" is what it's called in stepconf
[09:27:31] <bortreb> (sorry for all the noob questions, I haven't dealt with the physical side of software much...)
[09:27:50] <MattyMatt> that seems like a sensible way to do it, I dunno if you modulate it at all or just turn it on or off
[09:27:59] <bortreb> it can be modulated
[09:28:28] <bortreb> because you need to use a lower power for etching vs cutting
[09:28:51] <MattyMatt> ah, emc2 can do software PWM, which is beyond my ken
[09:28:59] <bortreb> so this is some sort of config file that emc2 reads or something?
[09:29:24] <bortreb> maybe that guy already has created one?
[09:29:26] <MattyMatt> stepconf is a wizard which makes the config file
[09:29:36] <MattyMatt> yeah ask him
[09:29:48] <MattyMatt> he does mention emc in the ad
[09:30:50] <bortreb> guess I should boot into my rt-kernel now
[09:30:56] <MattyMatt> the machine has Z for focussing, I wonder why that isn't controlled by that board
[09:31:03] <bortreb> and try compiling this thing
[09:31:32] <bortreb> oh, that's because the z-axis is manually controlled by an elaborate set of gears turned by a knob
[09:31:40] <MattyMatt> bleh, I chickened out of that. I installed of the live cd onto a bare PC
[09:32:28] <bortreb> do people generally have problems with running this on a laptop?
[09:32:57] <MattyMatt> not generally. laptops can have worse latency
[09:33:39] <MattyMatt> but for what is essentially a 2 axis plotter, I doubt it'll give you any problems
[09:35:35] <MattyMatt> maybe the PWM for the laser modulation won't be quite as smooth as possible, but I'm guessing that'll be negligable
[09:36:25] <bortreb> too bad you can't get it with synaptic
[09:37:35] <MattyMatt> I think you can, actually, once you've got the special emc repo in your list, and you're using the right ubuntu RT kernel
[09:39:30] <bortreb> oh I see! by what name does this tremendous special repo go?
[09:40:31] <MattyMatt> I haven't touched or updated mine since it started working, to be honest :) I've been milling like mad for months. one more week and my first job is done hopefully
[09:42:57] <bortreb> why is everything on the emc website so out of date?
[09:43:08] <bortreb> the instructions are all for 8.04!
[09:43:31] <MattyMatt> 10 is very new
[09:44:20] <micges> bortreb: becouse 8.04 is with official rt kernel
[09:44:21] <MattyMatt> 8.04 was the recommended stable version last time I looked. I hear the 10.x version is pretty well tested now
[09:44:26] <bortreb> oops, take it back, found instructions for 9.10 already
[09:45:03] <micges> 10.04 rt kernel works fine on three our machines from about month
[09:45:10] <bortreb> looks like there is no repo for 9.10 but compiling shuld hopefully be easy
[09:45:25] <archivist> bortreb, we use the long term support versions
[09:45:41] <MattyMatt> 9.10 is not a LTS (long term support) ubuntu, so is not officially supported by emc really
[09:47:43] <bortreb> off to compile!
[09:47:52] <bortreb> thanks for all your help everyone
[10:04:40] <MattyMatt> my latest millage pic http://imagebin.ca/view/q0hEq8Bh.html
[10:05:07] <MattyMatt> nearly done, and then I can refit my machine \o/
[10:06:13] <MattyMatt> my spindle brushes are down to stumps, with wire padding behind them
[10:07:44] <MattyMatt> I'm getting sick of sawdust. I wanna make some swarf
[10:08:25] <Birdman3131> Birdman3131 is now known as birdman3131|zzzz
[10:54:40] <alex_joni> MattyMatt: submerge it in water
[10:55:13] <alex_joni> those sure are a lot of parts
[11:20:10] <bortreb> I tried to compile emc2 but failed miserably, what is the latest liveCD version?
[11:21:06] <micges> 8.04
[11:21:19] <micges> 10.04 is in progress
[11:28:41] <bortreb> ... anyone know about the rtai module-dir? it's missing on my machine and I get the error
[11:28:43] <bortreb> configure: error: /usr/bin/rtai-config --module-dir did not specify an existing directory. You must use specify it using --with-module-dir=...
[11:29:18] <alex_joni> sounds like a bad rtai configure/install process
[11:29:31] <alex_joni> what distro/rtai are you on?
[11:31:23] <bortreb> ubuntu 10.04 2.6.31-11-rt, rtai 3.7.1-1
[11:31:49] <bortreb> rtai was downloaded using apt-get
[11:33:52] <bortreb> also, I had a bunch of different header files for the various linux kernel and had to run
[11:33:54] <bortreb> sudo ln -s /usr/src/linux-headers-2.6.31-11-rt /usr/src/linux
[11:34:22] <bortreb> to get past "version.h" not found. I feel like that may be a problem in the config script
[11:42:28] <alex_joni> rtai is from wher?
[11:42:32] <alex_joni> where*
[11:45:09] <alex_joni> is that from official ubuntu repo's ?
[11:45:13] <bortreb> yes
[11:45:17] <alex_joni> because 3.7.1 is quite old
[11:45:23] <alex_joni> latest rtai is 3.8.1 iirc
[11:45:44] <alex_joni> bortreb: I'd wait a couple more days (maybe a week tops) for our official packages
[11:46:03] <bortreb> you mean the 10.04 live CD?
[11:46:03] <alex_joni> or just try to install them now from: http://www.linuxcnc.org/emc2/
[11:46:19] <alex_joni> yeah, but since you have 10.04 already installed, just pull in the packages
[11:46:39] <alex_joni> http://www.linuxcnc.org/lucid/emc2-install.sh
[11:47:03] <alex_joni> those should be ok, but are still in testing phase. so if something doesn't work 100% right, we would like to hear it
[11:50:20] <bortreb> I notice it's installing a new linux image
[11:50:35] <bortreb> so I will presumably need to boot with that kernel?
[11:51:42] <bortreb> also, thanks for helping me out, I'll be glad to test stuff :)
[11:53:22] <alex_joni> yup
[11:56:49] <bortreb> that package did the trick, emc starts up now
[11:58:04] <alex_joni> cool
[11:58:24] <alex_joni> bortreb: it would be best to remove the 3.7.1 rtai along with kernel
[12:09:28] <bortreb> does it play nice with USB to serial converters?
[12:09:54] <alex_joni> depends what you want to do with them
[12:10:04] <alex_joni> USB and serial from RT isn't really an option
[12:10:12] <alex_joni> bbl
[12:11:00] <bortreb> you mean usb TO serial isn't an option?
[12:12:26] <morficmobile> i think he means they are not an option for things needing real time (either of them)
[12:14:44] <bortreb> so what do you use then? parallel?
[12:15:19] <bortreb> given that my laser iteslf only has a serial port I should be ok right?
[12:26:41] <jthornton_> 1 yes 2 no
[12:35:43] <bortreb> but if serial can't be used in RT and the laser only has a serial connector, then how could it need a RT connection?
[12:37:25] <morficmobile> what is the serial port for? does it take commands to let the *laser's control* move the axis?
[12:37:38] <jthornton_> your laser might be "smart" on the inside and only needs little info to work in that case EMC will not work. EMC is the "smart" side
[12:38:55] <morficmobile> where i was headed, you would have to see how the axis are driven and what hardware between emc and the axis can make it move, emc replacing the control/smarts in the laser
[12:40:10] <jthornton_> oh boy EMC is now installed on this 10.04 computer... time to reboot :)
[12:46:13] <jthornton> well that didn't go well... I didn't follow the instructions :/
[12:47:41] <morficmobile> http://www.vermontindexable.com/backspott.html i think that's ingenius! and would allow us to do the back spot face we need easier it seems (oh and ignore the fact the drawn tool doesn't match the pictured ones), right now checking which tool i can find with enough land length to stick into our boring head to "get by" but having all the same benefits of those tools.
[12:48:20] <micges> bortreb: around?
[12:48:49] <bortreb> yep
[12:49:18] <micges> bortreb: I've pm to you
[13:26:57] <roh> hm... micges any idea how long 10.04 will take?
[13:27:25] <roh> * roh would like to update his heekscad and cam packages, but building anything serious on 8.04 is pain and a waste of time.
[13:27:48] <roh> all libs outdated too much. basically i would need to backport dependencies.
[14:03:35] <alex_joni> roh: couple days now
[14:21:46] <roh> nice.
[14:59:56] <Fox_M|afk> Fox_M|afk is now known as Fox_Muldr
[15:05:44] <Guest480> alex_joni: google translate returnes bereitschaft as willingness. Would that be 'enabled'?
[15:05:53] <Guest480> Guest480 is now known as skunkworks_
[15:23:32] <eztam> hello folks
[15:23:38] <alex_joni> depends on the context for 'bereitschaft'
[15:23:46] <alex_joni> howdy eztam
[15:24:45] <eztam> hello alex
[15:26:11] <eztam> anyone with steppers and encoders hier ?
[15:27:29] <eztam> ups hier=here
[15:50:07] <ichudov_> Does anyone have G code to mill a human face, or something fun like that
[16:03:21] <ichudov_> Is there some software for cutting gears (sprockets is my first interest)
[16:05:52] <L84Supper> http://cgi.ebay.com/Hurco-CNC-Mill-Manuals-PC-Tools-7-5hp-Converter-/160460106051?cmd=ViewItem&pt=BI_Mills&hash=item255c2ae943
[16:06:07] <L84Supper> Spindle motor is cracked from top to bottom "weld repair has been attempted". Important NOTE: The spindle has always functioned perfectly in this condition.
[16:08:03] <L84Supper> ichudov_: there are tools to covert bmp to G code
[16:10:47] <L84Supper> http://code.google.com/p/imagecarve/ for one
[16:19:29] <Jymmm> jthornton: Too much coffee!
[16:21:37] <archivist> ichudov, chain sprockets?
[16:23:37] <Fox_Muldr> Fox_Muldr is now known as Fox_M|afk
[16:27:00] <tom3p> cradek: i couldnt get any debug output until i toggled TASK_ISSUE, so it appeared to be some kind of enable to me. It isnt, so there's some bug in the debug in this version "EMC2VERSION=2.3.4"
[16:32:26] <tom3p> now, how do i identify the element printed? for example...
[16:32:28] <tom3p> Issuing EMC_TRAJ_LINEAR_MOVE -- (+220,+116, +0,50.006250,26.919860,-0.523482,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000, +2,4.233333,13.401523,150.017048, +0,)
[16:33:19] <tom3p> seems theres a set of 9 axis xyzabcuvw but i'm guessing at what emcCommandBuffer->msg2str(cmd) is
[16:33:35] <tom3p> i cant fidn the header file that describes that
[16:33:41] <micges> tom3p: hi
[16:33:49] <tom3p> hi micges
[16:34:07] <micges> tom3p: 50.006250,26.919860,-0.523482 <- there are x y z destination position
[16:34:22] <tom3p> yes, i could identify those from the DRO :)
[16:34:37] <tom3p> theres 9 of em
[16:34:41] <micges> 4.233333,13.401523,150.017048 <- commanded velocities for x y z
[16:34:56] <tom3p> hoho cool!
[16:35:30] <tom3p> and the pefix & suffix (220,116,0 ....0) ?
[16:35:38] <tom3p> prefix
[16:35:46] <cradek> those aren't commanded velocities for xyz
[16:36:12] <tom3p> wait... where is this documented? i need to find information about this structure
[16:36:34] <cradek> they are velocity requested by F word, max feed of move that is possible without violating constraints (for FO > 100%) and accel
[16:36:48] <cradek> tom3p: that I don't know, sorry
[16:37:01] <tom3p> i could guess it was task id and position and velocity and some delminiters, but thats just guessing
[16:37:16] <tom3p> ok, thanks
[16:38:05] <tom3p> ive never been able to trace an action to a cause or vsvs in emc and i been in here for years
[16:39:46] <micges> cradek: I was close ;)
[16:58:19] <ichudov_> cradek: thanks for opinters
[16:59:16] <mshaver> ichudov_: http://www.mattshaver.com/cncutils/bmp2cnc-0.22.tgz
[17:02:31] <ichudov_> Very nice, I see it is your stuff!
[17:03:05] <ichudov_> Matt, what is this dog.txt?
[17:04:09] <ichudov_> what cutter should I use?
[17:10:21] <mshaver> Don't browse the directory, just download the file :) Dog.txt is just some test output where the input was dog.bmp. As to cutter, it's your choice, but I would think that a 90 degree conical engraving bit would be a good start.
[17:11:21] <mshaver> There's a lot of junk in this directory that I just backed up - the really necessary stuff is in bmp2cnc-0.22.tgz
[17:22:53] <ichudov_> Awesome!
[17:23:24] <ichudov_> Guys, what HAL components should I use to implement momentary Cycle Start and Cycle Stop (pause) buttons?
[17:24:09] <jthornton> halui
[17:24:24] <ichudov_> no way to do it with just HAL, right?
[17:24:35] <ichudov_> This is my first conversion, so some questions may be stupid
[17:26:05] <ichudov_> no way to do it with just HAL, right?
[17:27:14] <micges> ichudov_: using halui component you can do this with just hal
[17:28:48] <jthornton_> jthornton_ is now known as jthornton
[17:29:05] <ichudov_> I see. Well, I will read some more, it would be a great thing to do today.
[17:34:35] <davidf> hi
[17:34:59] <micges> hi
[17:35:18] <davidf> Hey
[17:36:09] <davidf> JT-Hardinge madsci44 I just wanted to let you know the outcome of my optical index for homing my lathe cross slide.
[17:36:11] <jthornton> hi
[17:37:42] <davidf> I anded the linear optical home switch with the rotary optical and set the flag position so that the linear switch will always trigger before the rotary one
[17:37:43] <jthornton> I'm JT-... just not out in the shop at the Hardinge
[17:37:52] <davidf> right
[17:38:05] <jthornton> how did that work?
[17:38:16] <davidf> It works so well, it is just awesome.
[17:38:50] <davidf> less than a tenth accuracy, 100% repeatable
[17:39:02] <jthornton> so you electrically anded them?
[17:39:09] <davidf> yes, hardware
[17:40:07] <davidf> Just wanted to thank you for the advice. Greatly appreciated. and PCW, too, but I don't see that nick in the list...
[17:40:48] <jthornton> cool, you should do a little write up of that for the forum or the wiki so others can learn from you how to do that
[17:41:45] <davidf> I improved my friction-type axis indicator ring at the same time, so I can lock it down so it stays put
[17:41:55] <davidf> OK I will do that.
[17:42:00] <jthornton> did you start a topic about that on the forum?
[17:42:24] <jthornton> I seem to remember something about or similar on there
[17:43:05] <davidf> Anyway, the laser mark for 0 on the stationary part is a bit narrower than the marks on the rotating part...
[17:43:19] <davidf> and I locked the ring down at 0...
[17:44:03] <davidf> and the marks stay pretty much dead-on aligned
[17:44:21] <jthornton> cool
[17:44:35] <jthornton> I love it when a plan comes together
[17:45:12] <davidf> I haven't tested it yet with a tool, but from what I see so far, the only limit on repeatability is now due to the nut and leadscrew wear only.
[17:45:31] <tom3p> does the linear switch identify which of many rotary trips is the correct home?
[17:47:29] <davidf> Sorry, had to take a pizza out of the oven. :)
[17:47:39] <jthornton> I'll be right over :)
[17:48:29] <davidf> no, right now it is the only home switch I'm using. I stole the z axis switch to put two on the x.
[17:48:57] <jthornton> * jthornton thinks it is time for a nap... digging that stump out wore me out
[17:49:01] <davidf> C'mon!
[17:49:11] <davidf> Central MO
[17:49:28] <jthornton> SwampEast MO
[17:49:38] <davidf> Ha
[17:49:41] <davidf> Cape?
[17:49:51] <jthornton> Poplar Bluff
[17:50:08] <davidf> Columbia
[17:50:31] <davidf> tom3p, Now I get your question...
[17:50:35] <tom3p> hah just left Grand Chain on the Ohio, same kinda country
[17:51:48] <tom3p> david, we often use a linear to say which of several, we call it a 'valid', it idenitfies THE rotary index that is HOME
[17:52:37] <davidf> Yes, Here's how that works: The linear switch is such that there is about 100 thou of travel area available after closure so it is closed for more than a complete revolution of the flag.
[17:52:59] <davidf> OK, so yeah, it is like that
[17:53:07] <tom3p> tricky bit is to NOT have the index close to the valid , else you get miss triggers and are out of home by +/- 1 rev
[17:53:25] <tom3p> try to get the home in middle of valid window
[17:54:17] <davidf> the first flag after the linear is the only one that ever gets seen. Then on the backup and slow forward search phase, it's the rotary flag that does the "business"
[17:54:47] <tom3p> right, gotcha
[17:55:39] <davidf> My optics are fed through op amp compatators so the trigger error window is really tiny
[17:56:49] <tom3p> well, say today you had them right on top of each other, tomorrow with a bit of temperature diff or humidty in air, you might be 1 rev out of whack, so dont let them get too close together
[17:57:19] <davidf> I wired all that because I used used optic slot detectors from old printers... But I am now ordering new ones fron Digi-Key that have all the electronics built in, op amp, schotkey debounce, etc... price $1.41 each LOL
[17:57:39] <tom3p> we had that a lot on a rotary axis with 90:1 encoder gearing... the user complaine he was 4 degree out :( i just had to offset the a hair )
[17:58:09] <ichudov_> Regarding HALUI: I have some buttons (like spindle forward) that are momentary, and some buttons (like Spindle Start) that are non-momentary. How does HALUI handle that?
[17:58:19] <ichudov_> Oops
[17:58:26] <ichudov_> Regarding HALUI: I have some buttons (like spindle forward) that are momentary, and some buttons (like Spindle Start) that are non-momentary. How does HALUI handle that?
[17:58:27] <ichudov_> [12:58] <ichudov_> Oops
[17:58:29] <tom3p> ooh nice device, can you enter the digikey number?
[17:58:55] <ichudov_> Regarding HALUI: I have some buttons (like spindle forward) that are non-momentary, and some buttons (like Spindle Start) that are MOMENTARY. How does HALUI handle that?
[17:59:04] <ichudov_> sorry for the confusion
[17:59:09] <davidf> I'll keep an eye on that. I don't expect it to be a problem. But with the simple and gate method, I don't see any way to have it trigger farter in than one rev past the linear trip
[18:00:05] <tom3p> icudov_ hal knows about NOW, but you can write code that knows about LASTTIME or use devices that 'remember'
[18:00:53] <micges> ichudov_: halui understand only momentary logic
[18:02:47] <tom3p> micges what could a statement like this mean ? 'emcCommandBuffer->msg2str(cmd)'
[18:02:48] <tom3p> how can a function be an element of a structure?
[18:03:26] <tom3p> or does it resolve to the name of an element in the strcut?
[18:03:26] <micges> it can be, its c++ code
[18:03:31] <tom3p> struct
[18:03:33] <ichudov_> micges: that's a bummer. So nothing I can do?
[18:04:03] <tom3p> hmm i thought in c++ the << operator was used
[18:04:51] <micges> ichudov_: check flipflop.comp hal component, its D type something
[18:04:54] <madsci44> davidf; just saw your message - glad to hear it works!
[18:05:23] <ichudov_> micges: OK, will do. I will imlpement CYCLE START and CYCLE STOP buttons first, as they are momentary.
[18:05:31] <davidf> tom3p, www.digi-key.com part# 425-1954-5-ND
[18:06:00] <tom3p> thanks
[18:06:10] <micges> tom3p: in emc advanced c++ syntax isn't used
[18:06:19] <davidf> madsci44, yeah, I am sooooo happy to have a dependable x home! I was homeless!
[18:06:40] <tom3p> urgh i think they use their own version of c++
[18:06:47] <Jymmm> davidf: Get a job ya homeless bum!
[18:07:03] <madsci44> sounds really good!
[18:07:29] <davidf> tom3p, also try putting this entire search string in digi-key search: Optical - Photointerrupters - Object Sensor / Slot Type - Logic Output
[18:07:50] <micges> tom3p: no, just as little as possible/usable
[18:08:11] <madsci44> if you ever have need for more than a rev or debouncing you could just use flipflop method - its about as simple and solves both those
[18:08:22] <davidf> jymmm my new address is g53 g0 x0!!!
[18:08:26] <tom3p> davidf will do, was using a different part and for same task, adding a good home to a stepper axis
[18:08:36] <tom3p> micges haha ok
[18:08:44] <Jymmm> davidf: google map or it doesn't exist!
[18:09:26] <davidf> it's a mini lathe, too small to show up :)
[18:09:44] <tom3p> davidf wow its even got a built in connector
[18:10:30] <Jymmm> davidf: Hey, if google can map mars you can map yours! http://www.google.com/mars/
[18:10:32] <davidf> yes I think I have a part# for the female... it's like 17 cents I think... let me look
[18:11:19] <micges> tom3p: check src/libnml/nml.cc line 1995
[18:13:09] <tom3p> micges :) thanks const char *NML::msg2str(NMLmsg * nml_msg)
[18:13:19] <micges> tom3p: it seems that those debug lines are builded deep inside nml library, I can't extract it
[18:13:52] <micges> tom3p: by the way: what are you looking for?
[18:14:25] <tom3p> micges I'm hoping to get the nml list out to a file and 'run' that file using a file pointer BUT be able to move the file pointer forwards and backwards thru the path
[18:15:08] <micges> what for?
[18:15:34] <tom3p> actually i want to insert a 'move away' and a 'return to' the contour, but one step at a time... get it to reproduce without re-intrerpreting.
[18:16:14] <tom3p> the purpose is SINK edm ( so not retrace, but 'go away' and 'come back' to the contour )
[18:16:51] <tom3p> in wedm you go fwd and bwd on the contour, in sink edm you leave the path and return to it
[18:17:07] <micges> tom3p: you can set [TASK]INTERP_MAX_LEN = 1 to disable interpreter readahead
[18:18:37] <tom3p> but to move away from the memorized ( file) contour, i could insert blocks at will, and on the fly
[18:20:33] <tom3p> micges did you use grep to find that reference?
[18:21:10] <micges> nope, following header files
[18:21:39] <tom3p> sorry to cause you so much work, thanks
[18:22:27] <micges> not much, opening 4 files in gedit and press 4 times ctrl F
[18:22:59] <tom3p> i got a load of em open now & didnt find it ( me blind )
[18:24:31] <micges> developing emc makes sure of knowing source structure
[18:25:19] <davidf> tom3p, The connector calls for an AMP connector No.175487-3 which has a metric pitch that is like .95 inch I think, and digi-key doesn't stock that, but the Tyco A30979-ND is stocked, it's .1 pitch so I think it should fit ok...
[18:27:23] <tom3p> davidf, thanks ( yes I squeeze small pin count connectors too :)
[18:30:40] <davidf> tom3p, I'm pretty sure it's 2.5 mm pitch, which is .0984 inch. Can't imagine that would be a prob
[18:31:28] <davidf> The female connector is the kind that you just press the wires into. (insulator separator type.)
[18:32:31] <davidf> I like the mounting eyelet and position pin setup, but I'd prefer two mounting holes.
[18:37:17] <tom3p> yah 2.5 2.54 toMAYto toMAHto
[19:15:07] <Guest864> Hello
[19:15:17] <Guest864> I have a quick question
[19:15:50] <Guest864> If I build a part in solidworks what do I need to do to get it into emc2
[19:15:54] <Guest864> ?
[19:16:23] <JT-Hardinge> a cam program
[19:16:30] <archivist> you need CAM
[19:16:47] <Guest864> whats a good one?
[19:17:16] <JT-Hardinge> I got a flier from BobCrap the other day saying they are a SW partner now
[19:17:31] <JT-Hardinge> describe "good one"
[19:17:51] <Guest864> Works well between SW and EMC2
[19:18:40] <archivist> I use inside rear of skull at the moment for that
[19:18:53] <JT-Hardinge> any cam program that works well with SW will generate g-code that can be used with EMC
[19:19:20] <JT-Hardinge> non of which will be cheap
[19:19:36] <Guest864> Mach3 or hyper cam?
[19:21:51] <JT-Hardinge> mack3 is a cnc controller program so I don't understand the last question
[19:22:42] <JT-Hardinge> Guest864: are you doing 5 axis mold work or just profiling a part?
[19:23:19] <Guest864> profiling a part
[19:23:31] <tom3p> maybe of use... other peoples struggles with SW to NGC http://www.cnczone.com/forums/archive/index.php/t-44858.html
[19:23:35] <Guest864> I built a 3 axis cnc
[19:24:30] <tom3p> basiclally they went this route: SW to DXF to DXF2Gcode to TextEditor to patch in EMC2 specific commands like feedrate...
[19:25:02] <Guest864> Sounds like fun
[19:25:14] <tom3p> or pay a lot of money :)
[19:25:14] <JT-Hardinge> any software that directly can use a SW file or works inside of SW it going to be >10k in cost
[19:25:34] <JT-Hardinge> Guest864: have you seen the simple g code generators on the wiki site?
[19:25:46] <Guest864> nope
[19:26:29] <Guest864> I'm checking it now
[19:27:32] <JT-Hardinge> while that is not yet a complete solution (for generate g-code from a dxf) they are a start to generating some paths
[19:27:49] <tom3p> can you read gcode? ( like draw the path described by the gcode? )
[19:27:49] <tom3p> if so, you can write the gcode ( or add in the neccesary bits /correct some stuff, from a freebee program )
[19:28:44] <Guest864> Ok whats a good cad that works with emc2?
[19:29:38] <Guest864> nope can't read G-code
[19:29:43] <JT-Hardinge> no cad programs "work with EMC" EMC as all other controllers use g-codes and CAD programs do not make g-codes
[19:30:24] <Guest864> K Thanks peeps, Ill look into it a little more
[19:30:46] <tom3p> Guest864 you mean cam ? well theres whats available and whats best is up to you... see http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Cam
[19:30:53] <tom3p> oops
[19:31:05] <JT-Hardinge> what is a peeps?
[19:31:16] <tom3p> peeple people
[19:33:32] <tom3p> gcode is just dumb maps go left3 blocks turn right go fwd 1 block ( see the 'turtle' language )
[19:34:17] <micges> would it make sense to make dxf from Axis preview?
[19:34:26] <micges> to any of you?
[19:34:38] <JT-Hardinge> if I could pick a cut path yes
[19:35:01] <micges> pick a cut path?
[19:35:15] <micges> you mean select some part of preview?
[19:35:23] <JT-Hardinge> micges: I downloaded your vec2gcode the other day
[19:35:46] <JT-Hardinge> no, I mean to pick the lines and what side I want to cut :)
[19:41:00] <tom3p> cw & ccw too, the path needs direction ( sounds like apt :/ )
[19:42:54] <tom3p> uh, no it doesnt make sense, you began with gcode so it makes sense to make a gcode to dxf, not gcode to axis preview to dxf
[19:45:34] <Jymmm> alex_joni: You are going to hate me
[20:32:09] <alex_joni> Jymmm: why's that?
[20:32:54] <Jymmm> alex_joni: Guess what I just picked up from a yard sale for $5 ?
[20:33:11] <alex_joni> dunno
[20:33:13] <Jymmm> alex_joni: http://www.logitech.com/en-us/speakers-audio/wireless-music-systems/devices/5847
[20:33:46] <alex_joni> Jymmm: cool, congrats
[20:34:03] <alex_joni> does it work?
[20:35:33] <Jymmm> alex_joni: Well, when it boots, it does say it's "pre-production beta". But I plugged in the lan cable, and listening to some station in Seattle Wa
[20:37:34] <alex_joni> cool, maybe you can do a firmware update
[20:37:50] <Jymmm> alex_joni: It already updated the firmware at boot =)
[20:38:00] <alex_joni> ah, ok
[20:38:08] <Jymmm> alex_joni: There is even SSH access to it too.
[20:38:09] <alex_joni> sweet anyways
[20:38:16] <alex_joni> nice catch
[20:38:25] <alex_joni> I'll have the next one please :P
[20:39:00] <Jymmm> alex_joni: From what I've read so far.... you can use this model to control other squeezebox models
[20:39:11] <Jymmm> like a remote control
[20:40:09] <Jymmm> alex_joni: Right now, I'm just trying to figure out how to add the device to the website so I can control it from a browser.
[20:41:49] <davidf> Oh Boy!
[20:42:35] <davidf> I just made two identical cuts on an al rod, with a home sequence prior to each one.
[20:43:18] <davidf> The micrometer readins are indistinguishable.
[20:43:52] <davidf> Easily within one tenth, and looks to be in the hundredths range.
[20:47:31] <davidf> I'm looking forward to being able to just mount my stock, and just go right to making chips once I get all my tools measured and in the tool table.
[20:49:06] <davidf> Thanks again!
[20:57:27] <Jymmm> alex_joni: DUDE!!!!!!!!!!!!!!!!!!!!!!!
[20:57:43] <alex_joni> alex_joni has changed the topic to: EMC (Enhanced Machine Controller) is a linux-based opensource CNC control. | Latest release: EMC 2.4.3 | http://www.linuxcnc.org | http://wiki.linuxcnc.org
[20:57:45] <morficmobile> was almost gonna say something
[20:57:51] <Jymmm> alex_joni: I'm controlling it from the web, including volume, etc =)
[20:57:57] <alex_joni> cool
[20:58:23] <Jymmm> alex_joni: And it actually has great sound too
[20:58:36] <alex_joni> sweet, now stop bragging :P
[20:59:07] <Jymmm> alex_joni: Reviews are mixed, so no clue
[20:59:31] <Jymmm> alex_joni: Sorry man, not bragging as much as excited like a kid on Christmas morning =)
[21:00:13] <alex_joni> Jymmm: I know.. was kidding
[21:00:23] <alex_joni> I actually looked at it a while ago
[21:00:31] <alex_joni> in the end ended building my own
[21:00:33] <Jymmm> alex_joni: Just read it'll play FLAC too, so guess it's time to rip my cd's to flac - screw mp3! lol
[21:00:46] <alex_joni> ogg is better
[21:00:56] <Jymmm> alex_joni: cost? features? because you could?
[21:01:03] <Jymmm> alex_joni: FLAC is lossless
[21:02:06] <alex_joni> cost, features, because I could
[21:02:26] <Jymmm> alex_joni: *SMACK*
[21:02:30] <alex_joni> http://juve.ro/blog/projects/radio
[21:25:22] <alex_chally> * alex_chally bought stock for cutting more bearing blocks
[21:25:26] <alex_chally> steel is expensive
[21:25:41] <alex_chally> 2 6" disks 2" thick for $40
[21:50:45] <skunkworks> http://www.electronicsam.com/images/KandT/conversion/servo/x-z_servomount
[21:51:11] <skunkworks> http://www.electronicsam.com/images/KandT/conversion/servo/x-zservo_mount
[21:51:23] <skunkworks> now we need to order the right belts. :)
[21:55:23] <skunkworks> logger_emc: bookmark
[21:55:23] <skunkworks> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2010-07-31.txt
[22:10:37] <tom3p> well, emccanon.cc describes 14 of the 18 data in the struct. no idea why this code is so !&%$W@
[22:10:56] <alex_joni> skunkworks: cool
[22:11:20] <skunkworks> alex_joni: thanks - getting closer
[22:11:26] <alex_joni> yup
[22:11:56] <skunkworks> we had one of our berger lahr 5 phase stepper drives fail today. :(
[22:21:21] <eztam> moin moin
[22:33:23] <skunkworks> hmm - any good suppliers for H size timing belts. (other than mcmaster carr?)
[22:37:21] <birdman3131|zzzz> birdman3131|zzzz is now known as Birdman3131
[23:05:53] <alex_joni> good night all
[23:14:31] <Jymmm> alex_joni: G'night, dream of me! LOL
[23:20:41] <Jymmm> skunkworks: grainger maybe?
[23:32:15] <skunkworks> Jymmm: have to look
[23:32:25] <Jymmm> k
[23:33:44] <skunkworks> thanks
[23:57:25] <Jymmm> skunkworks: They had them?