#emc | Logs for 2010-09-20

[00:04:41] <theorb> theorb is now known as theorbtwo
[00:06:24] <samariota> hey guys
[01:25:14] <Valen> morficmobile: this is what you need http://news.yahoo.com/s/zd/20100824/tc_zd/253938
[07:46:44] <elmo40> @ 7:25... not a way I would end boring a hole! http://www.youtube.com/watch?v=zNxDmf6QXm0 Usually people add a lead-in and lead-out, not this guy.
[08:00:45] <Jymmm> As much chattering as I heard, needs lube too. Lots of unnecessary movements too.
[08:01:05] <Jymmm> And I thought I heard the fire alarm going off in the background as well.
[08:07:19] <elmo40> ok, this is just too cool. Home Built CNC press brake! (caution: mach3 controlled.) http://www.youtube.com/watch?v=38hfwvIbnjo
[08:07:37] <elmo40> I wonder how much those 1" plates cost to get cut!
[08:09:33] <elmo40> I don't know how to program a cnc press brake. don't know where to begin. Back Gauge, sure, it is only a distance issue. How far to press down for thickness and angle? no clue.
[08:17:04] <Jymmm> http://www.youtube.com/watch?v=kX9bdoNElo8&NR=1&feature=fvwp
[08:19:02] <ries_> ries_ is now known as ries
[08:21:12] <elmo40> damn. I wanted to make one of these... didn't know how to go about doing it, but there it is!
[08:21:35] <elmo40> looks Canadian with the .ca website on the poster ;)
[08:22:35] <elmo40> @ 1:13. That was a tool change???? holy crap that took forever. Just a wee bit slow for me. I could whack those out with a hammer probably just as fast.
[08:27:40] <elmo40> http://www.cad2gcode.com/cncprojects/id18.html
[08:28:50] <elmo40> not bad. just add a ball bearing with a spring onto some divots on the wheel to give the 'feel' (I guess it is called detent?)
[12:05:11] <alex7> HI
[12:06:59] <alex7> on EMC2 source, if i only using LPT1 stepper, what files (*.c / *.h) involve?
[12:07:35] <alex7> Lpt-RealTime-Calc-GCode
[12:10:18] <alex7> i need some clue, after that, ill dig it my self
[12:11:03] <micges_work> why do you need it for?
[12:12:09] <alex7> im trying to put it on a microcontroller
[12:12:41] <alex7> (i know, it would be hard, since its 32bit stff)
[12:12:57] <alex7> *u
[12:22:20] <micges_work> you want send gcodes to microcontroller an d drive steppers ?
[12:22:24] <alex7> 1st, G-code calculation?
[12:22:41] <alex7> yes... any help
[12:22:44] <alex7> ?
[12:23:16] <alex7> thats MINUS RT
[12:24:08] <alex7> G-Code to micro =mean- no RealTime needs
[12:24:35] <alex7> prety good idea eih?
[12:28:48] <alex7> (correction, ill place RT Inside micro)
[12:32:44] <alex7> where is "if G02 then" on *.cc
[12:34:27] <micges_work> it's complicated
[12:34:50] <micges_work> gcode interpreter is in src/emc/rs274ngc
[12:35:13] <micges_work> then it goes to src/emc/task
[12:35:24] <micges_work> then it goes to src/emc/motion
[12:38:28] <alex7> :) please continue ...
[12:39:03] <alex7> ah, i already on "src/emc/rs274ngc" trying to search G0"
[12:41:13] <alex7> (yeah complicated, but ill start it)
[12:44:58] <alex7> i cant fine 'G'
[12:46:49] <alex7> interp_internal.hh... ahh
[12:49:22] <alex7> but, thanks... it reallyhelpfull
[13:14:31] <alex_joni> alex7: interp_convert -> convert_g's -> etc
[13:14:52] <alex_joni> alex7: are you willing to spend 1-2 months to understand how it works before having some results?
[13:18:41] <alex_joni> any UK'ers around?
[13:18:45] <alex_joni> http://www.reghardware.com/2010/09/20/giveaway_sony_mdr_ex300sl/
[13:22:30] <alex7> sorry i m away 4 awhile back there..
[13:22:47] <alex7> yep
[13:23:37] <alex7> im not on UK, Australia tommorow
[13:24:16] <alex7> 1-2 months would be fine
[13:24:42] <alex7> start today
[13:25:16] <alex7> even more time would be ok.
[13:27:04] <alex7> convert_g ....yeah thanks alex_joni
[13:27:12] <alex7> :)
[13:27:18] <Valen> alex7: where in australia?
[13:27:34] <Valen> * Valen is in sydney
[13:29:37] <alex7> east Perth
[13:29:56] <alex7> hi valen
[13:31:17] <Valen> ahh
[13:31:22] <Valen> might as well be in the uk
[13:31:28] <Valen> lol anyway bed time for I
[13:32:26] <alex7> good day valen
[13:35:10] <alex7> the code from amazing Thomas Kramer
[13:36:33] <alex7> int Interp::convert_arc(int move, //!< either G_2 (cw arc) or G_3 (ccw arc)
[13:37:03] <alex7> haha, i start from here, guys
[13:38:56] <alex7> the pleasure is mine, thanks.
[13:52:23] <alex7> copy-paste code to other note... hide 'my non-focus' code, examine my_focused code
[13:55:25] <alex7> i ll read them all, gotta go now
[13:57:30] <SWPadnos_> SWPadnos_ is now known as SWPadnos
[14:02:08] <mrsunshine> hmm, a 20mm shaft can flex quite a bit over 120cm cant it? :/
[14:02:20] <mrsunshine> im thinking of buying linear bearing pillow blocks
[14:02:40] <mrsunshine> so i either got the open ones that i can have a support under but they only go to 16mm where im going to buy
[14:08:47] <psha> Is it possible to use M66 command in external .ngc file called with O<file> call?
[15:06:30] <alex7> where can i have EMC 2.4.4 ...(i use EMC 2.4.3 from sourceforge)
[15:08:34] <psha> there is package in repo
[15:10:11] <cradek> you can get the source from the git repository
[15:10:26] <cradek> the tag for 2.4.4 is v2.4.4
[15:10:40] <alex7> how can i access it?
[15:11:11] <cradek> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Getting_the_source_with_git
[15:11:53] <alex7> http://concatenative.org/wiki/view/Factor/GIT%20repository ...?
[15:12:01] <alex7> ill try
[15:13:33] <psha> http://git.linuxcnc.org/gitweb?p=emc2.git;a=snapshot;h=cf709e3bb5ea57810d1b7c2b2af764669d1ca485;sf=tgz
[15:13:52] <psha> if you don't want to bother with cloning
[15:14:22] <psha> but better to clone )
[15:14:51] <alex7> its a tar.gz !! ...THANKS
[15:15:11] <alex7> :)
[15:15:32] <psha> it's pretty hard for git server to roll such files since it's generating them on the fly
[15:20:24] <alex7> :)
[15:27:39] <psha> so since there is at least someone active... repeating question
[15:27:47] <psha> Is it possible to use M66 command in external .ngc file called with O<file> call?
[15:37:48] <alex7> (since i cant answer expert question) (i downloading some pdf on linuxcnc.org)
[15:40:29] <JT-Work> psha: it should be possible
[15:40:46] <alex7> (im reading: EMC2_Integrator_Manual.pdf page20)
[15:42:59] <psha> I've tried 2.4.4 and head and both fail to execute such file
[15:43:15] <psha> to be correct they stop after executing M66 line
[15:43:52] <psha> if line is like M66 E0 L0 G0 Z#5399 then movement is done
[15:44:00] <psha> and that's all
[15:44:12] <cradek> does it work if it's not in O-call?
[15:44:33] <psha> if I load this file direct into axis it's running pretty well
[15:44:54] <psha> but if i call it with O<file> call - no
[15:45:39] <cradek> I'm only about 10% surprised to hear that. Probing is another thing that doesn't work in Ofile-call
[15:45:58] <psha> It's design descision or bug?
[15:46:01] <cradek> bug
[15:48:35] <alex7> sorry, for emc2-stepper, what is the max step-pulse speed for PC-lpt1 pin to burst out?
[15:49:33] <alex7> 25k step/sec? 100k?
[15:50:48] <cradek> that depends on your hardware and the timing requirements of your drives
[15:52:57] <alex7> how about fastest possible today... or 3Ghz PC (cos i already have average 25k pulse/sec)
[15:53:18] <cradek> I don't know the answer to that
[15:53:20] <alex7> (average *is)
[15:53:46] <alex7> how about as you know?
[15:53:54] <cradek> if your setup needs a very high pulse rate for some reason, you should consider an external step generator such as those from mesa or pico systems
[15:54:12] <cradek> those are far superior to software step generation if you need a lot of pulses
[15:54:21] <cradek> what rate does your mill need?
[15:57:05] <alex7> mill G0 will adjust base on that answer...let say if i use gearbox with small stepper
[15:57:34] <cradek> what do you mean gearbox?
[15:57:38] <alex7> 4amp is average stepper
[15:57:55] <alex7> stepper+gearbox
[15:58:05] <alex7> =torque
[15:58:08] <alex7> :)
[15:58:34] <cradek> I think you might have a lot of misconceptions here
[15:58:43] <cradek> you don't want gears that add backlash
[15:59:06] <cradek> steppers have a low max speed, and their torque goes down as their speed goes up
[16:00:00] <alex7> ...its true
[16:03:17] <alex7> im afraid...u right
[16:04:50] <psha> cradek: is it possible to use O-calls inside subroutine?
[16:05:18] <cradek> my understanding is yes, and subroutines can even be recursive
[16:06:12] <psha> looking into interp_o_word gives me a feeling that it won't work with O<file> calls... but i'm unable to test it...
[16:06:31] <psha> at least today...
[16:06:53] <cradek> it would be awesome if you wanted to fix up the last problems with O<file> call
[16:07:18] <cradek> I'm not sure what does and doesn't work, but it seems some things don't. I think particularly those that wait for IO.
[16:08:45] <psha> i'm looking for simple way to do "safe homing" so at last i've hit bug with M66 inside O-call
[16:09:05] <cradek> what is "safe homing"?
[16:09:07] <psha> so i'll give it a try
[16:09:26] <psha> G0 Z[safe-height]; G0 X0 Y0
[16:09:30] <psha> G28 is not working for me (
[16:12:36] <alex7> did u have difficulty on having feedback from switch, to do homing?
[16:13:32] <alex7> (since M66 =Digital and Analog Input Control (I/O))
[16:13:58] <psha> I'm using it to read safe-Z value from halui pin
[16:14:17] <psha> not from real hw
[16:18:12] <alex7> other then setting a maximum coordinate?
[16:18:24] <alex7> of axis
[16:19:34] <psha> hm, it's nice solution to use max-Z as safe-Z :)
[16:20:27] <psha> honestly speaking i have no mill or other hardware except one driver for testing )
[16:20:29] <alex7> M66 is not for hw
[16:20:32] <alex7> ?
[16:20:43] <psha> M66 is for reading data from pins
[16:21:11] <psha> as I understand
[16:21:43] <psha> and what is setup of pin routing it's another question )
[16:22:21] <psha> so I need (not exactly, what I was asked to implement) is safe homing with adjustable safe-Z value
[16:23:58] <alex7> pins to put wires ...we gave some voltage on them to go logic 1-0 or some analog voltage?
[16:24:34] <psha> virtual pins connected to halui slider
[16:24:53] <psha> s/halui/pyvcp/
[16:25:30] <alex7> ok... i gave up on virtual, sorry.
[16:26:35] <psha> Maybe i'm using incorrect words since I'm not common with cnc
[16:27:22] <alex7> (its to advance on code, for me, im good on electronic&mechanic, i just thoght i can help u)
[16:28:10] <psha> I'm programmer and was asked to help with emc )
[16:28:36] <psha> So I see everything from point of code )
[16:28:47] <psha> pins for me are primary abstract value-holders )
[16:28:57] <alex7> (im new on emc2, hahaha)
[16:28:57] <psha> and not physical pins
[16:29:05] <psha> me too )
[16:30:33] <psha> cradek: it seem that I've digged something
[16:30:58] <psha> if input-related or probe codes are used then execute_block returns different value
[16:38:42] <alex7> (imho, in case u dont get the answer,maybe it would help a bit(for hardware) http://www.linuxcnc.org/docs/EMC2_Integrator_Manual.pdf page24)
[16:39:41] <alex7> thanks psha,cradek,an all. ill go of offline from now
[16:57:54] <Jymmm> What's the difference between DXF and DWG formats?
[16:59:18] <cradek> dxf has a published spec and is meant for interchange with other programs, dwg is a private format that autocad uses
[17:00:02] <Jymmm> Functionality are they the same?
[17:00:39] <cradek> I don't understand how you can follow my explanation with that question - what do you mean?
[17:02:02] <Jymmm> I've been exporting as DXF for import into some cabinet making software (I dont remember what it is exactly), would it be better to use one or the other instead?
[17:02:51] <cradek> if you're not loading and saving in autocad only, dwg is the wrong format
[17:04:50] <Jymmm> Well, in this case SW can import/export multiple formats - both DXF and DWG. I just don't know the difference between the two.
[17:05:32] <Jymmm> Other than DXF is more common place
[17:06:25] <cradek> I think any use of DWG comes from reverse engineering it
[17:06:32] <cradek> DXF is the format to use for interchange between programs
[17:06:34] <cradek> bbl
[17:06:38] <Jymmm> k
[17:08:24] <psha> cradek: may you tell me what is 'probing'?
[17:08:43] <psha> you said that probing commands are not working in O<file> calls
[17:16:13] <colinb83> alex_joni you around?
[17:19:35] <IchGuckLive> hi all from sunny Germany
[17:25:30] <colinb83> hi
[18:00:37] <morfic> IchGuckLive: wie is na is wedda?
[18:01:00] <IchGuckLive> here it is Dark
[18:01:04] <morfic> sunny in germany can mean freezing your butt off to sweating like an ox
[18:01:56] <IchGuckLive> but the beer Flow is almost Double tofday in Muenich -> mms://live.oktoberfest-tv.de/HBZELT
[18:02:26] <IchGuckLive> we had about 24Deg Centigrade today
[18:08:10] <morfic> beer flow doubling, not bad
[18:26:41] <elmo40> when I start Axis does it lock the file system? When I am done and close Axis I can not turn off my computer with the button in the top right corner. I get a 'can't find' kind of error. I try to open firefox and 'can't find'. Sounds like a locked file system. Any ideas?
[18:28:34] <micges> any tracks in dmesg?
[18:29:27] <cradek> not sure what you mean by "locked file system". what does the actual error say?
[18:34:27] <Jymmm> Anyone have a mini black hole I could borrow for like 99 years? I need to cram a bunch of stuff in a really small space!
[18:39:14] <Jymmm> Should these help primarily reduce the sound (and vibration) http://search.ebay.com/250643818660 of this dust collector http://www.harborfreight.com/1-hp-mini-dust-collector-94029.html
[18:39:42] <Jymmm> or are they too small, or ???
[18:43:58] <elmo40> cradek: I will try tomorrow morning. but every time I close Axis I can not run anything else, nor can I turn off the system. I have to hit the power button :/
[18:57:40] <JT-Work_> JT-Work_ is now known as JT-Work
[19:13:37] <acciera> hi
[20:09:08] <alex_joni> colinb83: now
[20:10:12] <Jymmm> * Jymmm drops a bomb on alex_joni... Can you feel the love?
[20:10:48] <alex_joni> hmm, I always knew you had a soft side
[20:10:50] <alex_joni> http://en.wikipedia.org/wiki/Love_bombing
[20:11:31] <Jymmm> Heh, I never even heard of the term before.
[20:22:54] <skunkworks> just pressed a gear through a peice of aluminum. insta-broach.
[20:23:12] <skunkworks> took about 12ton.
[20:23:15] <skunkworks> :)
[20:27:03] <tom3p> Jymmm, i just tried to goto http://www.nkk.co.jp/ but AB disabled it, i turned off AB (grey), same thing, i removed all entires in AB list same thing... suggestions?
[20:27:09] <tom3p> NKK turntables
[20:44:30] <skunkworks> http://www.cnczone.com/forums/showthread.php?p=826635#post826635
[20:44:33] <skunkworks> last post
[20:45:37] <tom3p> nm: removing the plugin showed the site just wasnt loading, i guess the message from AB was just poor choice of words, and the result wasnt really due to AB
[20:54:28] <Jymmm> and you could have jsut turned OFF ABP
[20:54:39] <tom3p> tried that
[20:54:42] <Jymmm> it turns GREEN
[20:54:53] <tom3p> mine went grey
[20:56:06] <Jymmm> so now you have to go thru the process of reinstalling it
[20:56:33] <tom3p> yup
[20:56:40] <Jymmm> sahouldn't be so quick to blame. or evne have tried a different browser as a test
[20:56:49] <tom3p> it works great, just had a misleading message
[20:57:43] <Jymmm> It turns green when you have a wesbite that is unfiltered.
[20:57:56] <Jymmm> like paypal for example or your bank, etc.
[20:58:15] <Jymmm> places you 100% trust
[21:10:46] <Jymmm> alex_joni: Wow, it's just quiet today all around, not just in here
[21:52:18] <acciera> is there a possibility to use an usb hid device which has output pins?
[21:53:17] <andypugh> All things are possible, when you have the source. But they might not be easy.
[21:54:06] <alex_joni> acciera: use for what?
[21:54:15] <alex_joni> you can using hal_input
[21:56:02] <acciera> alex_joni yes, this is what i want
[21:56:14] <acciera> for the inputs i want to use an 28pin joystick
[21:56:23] <acciera> alex_joni you speak german i think?
[21:56:30] <alex_joni> that might work, but not in realtime
[21:56:33] <alex_joni> yes, I do
[21:56:47] <acciera> can i ask you a few thinks in a query? cause of german^^
[21:56:55] <andypugh> Ah, you want to read from the joystick into HAL?
[21:57:02] <acciera> andypugh not read
[21:57:05] <acciera> i want to write
[21:57:11] <acciera> stuff like status leds
[21:57:13] <acciera> and so on
[21:57:14] <andypugh> You want HAL to write to the Joystick?
[21:57:17] <acciera> so i need output
[21:57:27] <andypugh> Yes, that is what I first thought.
[21:57:32] <acciera> but what a device has outputs i can use in hal
[21:57:35] <andypugh> There is mention of LEDs in http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/hal/user_comps/hal_input.py;h=6515782103cf855ebb3b89ec6b16793f1a9ff390;hb=HEAD
[21:57:41] <andypugh> But I don't speak Pythoin
[21:58:03] <acciera> andypugh i mean the physikal interface
[21:58:08] <acciera> what a kind of usb device
[21:58:30] <andypugh> hal_input is a generic USB-HID driver for EMC2
[21:58:31] <alex_joni> the LEDs were from a keyboard
[21:58:54] <andypugh> It might just create LED pins, I don't know.
[21:59:10] <acciera> alex_joni or cooling fluid
[21:59:13] <acciera> or stuff like this
[21:59:18] <acciera> i need about 16outputs
[22:01:43] <andypugh> I am confused again.
[22:02:39] <acciera> andypugh i want 16 outputs on an usb device
[22:02:47] <acciera> which dont need to be realtime
[22:02:53] <acciera> not the stepper signals
[22:03:08] <andypugh> Where does the joystick come in? I have never seen a joystick with more than perhaps a status LED and vibrate motor.
[22:04:22] <acciera> andypugh the joystick device is for the inputs
[22:04:34] <acciera> i use a simulated joystick with en avr microcontroller
[22:04:46] <acciera> which has 28 "switches"
[22:06:45] <andypugh> Ah, you might like to look at: http://axis.unpy.net/01198594294
[22:23:48] <acciera> only 6 output pins
[22:27:39] <acciera> could something like this used in emc2? http://sourceforge.net/projects/generichid/
[22:31:36] <Valen> w00t ausie $ is up
[22:31:40] <Valen> time to buy stuff
[22:37:27] <andypugh> I have some generic hid chips, but never got anywhere with them.
[22:38:13] <andypugh> http://www.delcomproducts.com/products_USBIO.asp
[22:38:17] <andypugh> Cheap enough...
[22:38:58] <Jymmm> Anyone know of something that will nest parts on a sheet for optimized cutting?
[22:40:12] <acciera> andypugh but could a custom device such as the one in the url used with emc2? how can i select a pin?
[22:40:45] <andypugh> I never worked it out.
[22:41:12] <andypugh> But as I said, all things are possible with access to the source code.
[22:44:19] <MattyMatt> the dual-analog pendant must be very similar
[22:45:44] <acciera> andypugh but where do i know what i name has the signal?
[22:45:55] <acciera> i mean with an joystick i know in hal, how the signal is called
[22:46:07] <acciera> or can i check this in halui?
[22:46:19] <andypugh> hal gets the signal names from the USB-HID driver.
[22:46:59] <andypugh> acciera: Where are you?
[22:48:18] <andypugh> (You mentioned you speak german?)
[22:48:43] <acciera> switzerland
[22:48:56] <acciera> why?
[22:49:18] <andypugh> I am in the UK, I could post you one of my spare Delcom chips.
[22:49:36] <andypugh> If you fancy experimenting.
[22:49:46] <acciera> what is delcom?
[22:49:57] <andypugh> The link I posted?
[22:50:46] <acciera> ah mom
[22:50:47] <acciera> i check
[22:51:17] <acciera> which one you have?
[22:52:14] <acciera> they look quite interesting
[22:52:41] <andypugh> I think mine are 902770
[22:53:04] <andypugh> I bought enough of them that I was paying more for the chips than for the postage.
[22:54:01] <acciera> how much you need for one?
[22:54:06] <acciera> for trying?
[22:55:05] <andypugh> How about I just lend you one, for free?
[22:55:28] <andypugh> If you get anywhere with it, I might try again myself.
[22:55:35] <acciera> ok^^
[22:55:53] <acciera> did you allready tried something with it?
[22:56:23] <andypugh> I put it on a board and attached a USB cable, and my Mac saw _something_.
[22:56:56] <andypugh> I ought to try it with Ubuntu 10.04.
[22:57:26] <acciera> i can try and tell you what happend with it^^
[22:57:32] <andypugh> As I recall it didn't instantly work with hal_input and I moved on to other things.
[22:58:28] <acciera> i think, you first have to write a driver for it
[22:58:33] <acciera> that it shows the pins
[22:58:40] <andypugh> email me at andy - at - bodgesoc - dot - org and we will sort out the details.
[22:59:36] <andypugh> Perhaps. At the time I knew rather less about HAL and nothing about writing HAL drivers. I now know quite a lot about the first, and a fair bit about the second.
[23:00:24] <acciera> ok
[23:00:28] <acciera> i will do tomorrow morning
[23:00:33] <acciera> now i have to go to bed
[23:00:34] <acciera> gn8
[23:02:09] <andypugh> Crikey! Yes, I had not realised it was so late.