#emc | Logs for 2011-05-14

[00:04:12] -!- theorb [theorb!~theorb@] has joined #emc
[00:04:55] -!- theorbtwo has quit [Ping timeout: 260 seconds]
[00:05:01] theorb is now known as theorbtwo
[00:33:02] -!- skunkworks1 [skunkworks1!~skunkwork@184-158-19-92.dyn.centurytel.net] has joined #emc
[00:39:15] -!- stormlight [stormlight!~jasonandt@c-71-202-13-101.hsd1.ca.comcast.net] has joined #emc
[01:01:05] <Tom_itx> my pc parport needs to be in epp mode in the bios for the 7i43 right?
[01:01:25] <andypugh> Aye
[01:02:16] <Tom_itx> also, i'm a bit unclear on W7. i plan to use usb just for power
[01:02:53] <Tom_itx> i think 'up' is correct
[01:02:57] <andypugh> Hmm. Never tried that.
[01:03:20] <Tom_itx> i have 5v supplies i can use but usb would be handy
[01:03:33] <andypugh> Mine uses the 5V connection.
[01:03:43] -!- skunkworks1 has quit [Ping timeout: 250 seconds]
[01:04:05] <andypugh> Try it both ways, it is unlikely to break.
[01:04:11] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/misc_stuff/5v_switcher.jpg
[01:04:16] <Tom_itx> i made a handfull of those
[01:04:28] <Tom_itx> would run the whole logic system i'm sure
[01:10:11] -!- Calyp [Calyp!~Caly@unaffiliated/calyptratus-tzm] has joined #emc
[01:25:21] -!- andypugh has quit [Quit: andypugh]
[02:02:13] <Tom_itx> what utility do i use to load the config file?
[02:11:15] -!- dgarr has quit [Quit: Leaving.]
[02:19:58] -!- HazardX has quit [Quit: This computer has gone to sleep]
[02:26:10] -!- rooks has quit [Read error: Operation timed out]
[02:31:36] -!- Guest599 [Guest599!~Guest599@125-237-79-200.jetstream.xtra.co.nz] has joined #emc
[02:31:43] <Guest599> ello all
[02:39:10] <Gensor555> hello 599
[02:39:21] <mikegg> I would stay away from USB power. but that's mostly a superstition
[02:39:42] <Tom_itx> what leads you to say that?
[02:39:47] -!- stormlight has quit [Quit: stormlight]
[02:40:55] <mikegg> it won't supply much current
[02:41:05] <mikegg> 5V power supplies are cheap
[02:41:15] <mikegg> I think it was causing a problem with my PC
[02:41:33] <Tom_itx> i'm just using it to mess with the board a bit
[02:41:47] <Tom_itx> to get familiar with it
[02:42:09] <mikegg> oh ok
[02:42:11] <mikegg> should be fine
[02:42:11] <Tom_itx> where do i see the board configuration?
[02:42:20] <Tom_itx> i've got plenty of 5v supplies
[02:42:39] <mikegg> I bought a 2A switcher from hong kong off ebay for like $12 shipped
[02:42:44] -!- phreak has quit [Remote host closed the connection]
[02:42:50] <Tom_itx> i made my own
[02:42:58] <Tom_itx> 3A iirc
[02:43:05] -!- phreak [phreak!~phreak@] has joined #emc
[02:43:10] <mikegg> I made my own 80 VDC for my stepper
[02:43:19] <mikegg> but $12 bucks
[02:43:27] <Tom_itx> mine is 50v ~12A
[02:43:30] <mikegg> can't beat that
[02:43:40] <Tom_itx> surplus
[02:44:15] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/misc_stuff/5v_switcher.jpg
[02:44:18] <Tom_itx> the switchers
[02:44:42] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/temp/cnc/psu1.jpg
[02:44:47] <Tom_itx> parts for the supply
[02:46:03] <mikegg> nice
[02:46:34] <Tom_itx> working on a pendant layout too
[02:46:42] <mikegg> I used a toroid. good value
[02:47:00] -!- jv4779 has quit []
[02:47:03] <Tom_itx> i saw some of those for decent price too
[02:47:10] <Tom_itx> this was local surplus for cheaper
[02:47:38] <emcrules_mill> Tom, I use the usb to power mine and have had no issues
[02:47:58] <emcrules_mill> it been on steady for about 2 years now
[02:48:26] <Tom_itx> where do i see/edit the 7i43 config?
[02:48:53] <emcrules_mill> what do you mean? the ini?
[02:49:12] <emcrules_mill> or hal file?
[02:49:19] <Tom_itx> or is that all in the .hal and .ini files?
[02:49:25] <emcrules_mill> yes
[02:49:28] <Tom_itx> ok
[02:49:53] <Tom_itx> so the drivers load when you start emc and you mod those files to what you need
[02:49:57] <mikegg> start with one of the 7i43 examples
[02:50:02] <Tom_itx> i will
[02:50:12] <Tom_itx> it's a simple 3 stepper conf
[02:50:16] <mikegg> then tell it how many stepgens / pwmgens / encoders you want
[02:50:20] <mikegg> and do a dmesg
[02:50:36] <emcrules_mill> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Mesa_EMC_2_Integration
[02:50:45] <emcrules_mill> that might help a bit
[02:51:05] <mikegg> use the info in the dmesg output with along with the 7i43/47 manual to figure out what pins are where
[02:51:14] <Tom_itx> right
[02:51:18] <Tom_itx> i figured that much out
[02:51:41] <mikegg> beyond that, there isn't much to configure without editing the firmware
[02:51:42] <emcrules_mill> i use servos but i can pastebin my hal file if you want
[02:51:55] <Tom_itx> i'm just kickin back tonight lookin it over a bit
[02:52:02] <Tom_itx> i should be writing avr code
[02:52:35] <emcrules_mill> the pncconfig wors well as well
[02:52:47] <Tom_itx> from the terminal?
[02:53:22] <emcrules_mill> you launch it from terminal but it's a setup wizard
[02:53:43] <emcrules_mill> point and click configuration
[02:54:09] <emcrules_mill> mesa hardware is supported
[03:02:10] <Connor> Hey guys, how can I get the DRO, Velocity and Spindle info out of HAL via python ?
[03:33:04] -!- vladimirek [vladimirek!~vladimire@bband-dyn166.178-41-220.t-com.sk] has joined #emc
[03:34:41] -!- atom1 [atom1!~Tom@ip68-102-101-239.ks.ok.cox.net] has joined #emc
[03:35:49] -!- JT-Shop has quit [Read error: Connection reset by peer]
[03:38:55] -!- atom1 has quit [Client Quit]
[03:39:59] -!- atom1 [atom1!~Tom@ip68-102-101-239.ks.ok.cox.net] has joined #emc
[03:42:12] -!- JT-Shop [JT-Shop!~chatzilla@216-41-156-49.semo.net] has joined #emc
[03:48:32] -!- JT-Shop has quit [Read error: Operation timed out]
[03:50:07] -!- JT-Shop [JT-Shop!~chatzilla@216-41-156-49.semo.net] has joined #emc
[03:50:43] -!- jthornton has quit [Read error: Connection timed out]
[03:53:05] -!- jthornton [jthornton!~chatzilla@216-41-156-49.semo.net] has joined #emc
[04:17:52] -!- atom1 has quit [Quit: Leaving]
[04:20:34] -!- ries has quit [Quit: ries]
[04:22:12] -!- West0n has quit [Read error: Connection reset by peer]
[04:24:06] -!- ries [ries!~ries@] has joined #emc
[04:35:03] -!- Calyp has quit [Quit: Leaving]
[04:57:53] -!- Connor1 [Connor1!~billy@] has joined #emc
[04:58:27] <Connor1> How do you get halui.axis.0.pos-commanded out via python?
[04:58:32] Connor1 is now known as Connor_CNC
[05:05:21] -!- ve7it has quit [Remote host closed the connection]
[05:06:59] -!- Connor_CNC has quit [Remote host closed the connection]
[05:07:42] -!- WalterN [WalterN!~walter@tiwake.com] has joined #emc
[05:07:43] -!- Connor1 [Connor1!~billy@] has joined #emc
[05:07:49] Connor1 is now known as Connor_CNC
[05:11:27] -!- atom1 [atom1!~Tom@ip68-102-101-239.ks.ok.cox.net] has joined #emc
[05:11:49] -!- Valen [Valen!~Valen@ppp121-44-44-67.lns20.syd6.internode.on.net] has joined #emc
[05:25:06] -!- Connor_CNC has quit [Remote host closed the connection]
[05:29:39] -!- atom1 has quit [Quit: Leaving]
[05:33:34] -!- psha [psha!~psha@] has joined #emc
[05:33:44] -!- mhaberler [mhaberler!~mhaberler@h081217056015.dyn.cm.kabsi.at] has joined #emc
[05:52:49] -!- vladimirek has quit [Remote host closed the connection]
[06:01:37] -!- Connor1 [Connor1!~billy@] has joined #emc
[06:01:45] Connor1 is now known as Connor_CNC
[06:01:56] <Connor_CNC> anyone awake? I
[06:02:18] <Connor_CNC> anyone know if the display option for mm vs inch has a pin that I can check ?
[06:18:16] -!- WalterN has quit [Read error: Connection reset by peer]
[06:18:55] -!- WalterN [WalterN!~walter@tiwake.com] has joined #emc
[06:18:59] -!- davec_ [davec_!~davec@host-174-45-229-40.bln-mt.client.bresnan.net] has joined #emc
[06:19:33] davec_ is now known as Guest60698
[06:21:45] -!- cevad has quit [Ping timeout: 246 seconds]
[06:22:24] -!- capricorn_one has quit [Remote host closed the connection]
[06:30:39] -!- toastydeath [toastydeath!~toast@c-69-140-223-139.hsd1.md.comcast.net] has joined #emc
[06:50:30] <awallin> Connor_CNC: if you just want to display things in mm or inch you could route things through an optional multiplier. not sure if you can then plug these values back to the AXIS dro....
[06:55:37] -!- HazardX [HazardX!~HazardX3@pool-96-237-60-90.bstnma.fios.verizon.net] has joined #emc
[06:56:57] -!- HazardX has quit [Client Quit]
[07:16:17] -!- mk0 [mk0!~geissler@fiztech.basnet.by] has joined #emc
[07:29:03] <The_Ball> omg! ballscrew center cooling
[07:34:10] <Jymmm> ?
[07:35:27] <Jymmm> awallin: I think Connor_CNC whats to read the current mm/in setting so he can update that on the pendant he's working on.
[07:35:45] <Jymmm> s/whats/wants/
[07:42:33] -!- H264 [H264!~walter@tiwake.com] has joined #emc
[07:45:19] -!- WalterN has quit [Ping timeout: 246 seconds]
[07:50:45] -!- Guest214 [Guest214!~Guest214@] has joined #emc
[07:51:14] -!- psha has quit [Quit: leaving]
[07:55:52] <awallin> The_Ball: if you want anything better than the standard 3-5 micrometer accuracy that every vmc and their dog has then you need temp control on all parts
[07:58:28] <The_Ball> crazy stuff!
[08:01:09] <awallin> actually the hard part is dynamic range, i.e. the accuracy of the machine compared to the work envelope. it's not rocket science to make piezo-actuators that move with maybe 10nm precision but the range usually only 100um or so
[08:01:53] -!- Guest214 has quit [Quit: Visitor from www.linuxcnc.org]
[08:03:52] -!- mk0 has quit [Ping timeout: 246 seconds]
[08:04:35] -!- acemi [acemi!~acemi@unaffiliated/acemi] has joined #emc
[08:06:23] -!- mhaberler has quit [Quit: mhaberler]
[08:20:54] -!- tris has quit [Ping timeout: 260 seconds]
[08:47:37] -!- mhaberler [mhaberler!~mhaberler@h081217056015.dyn.cm.kabsi.at] has joined #emc
[09:07:02] -!- tris [tris!~tristan@173-164-188-122-SFBA.hfc.comcastbusiness.net] has joined #emc
[09:43:54] -!- mhaberler has quit [Quit: mhaberler]
[10:23:29] -!- mhaberler [mhaberler!~mhaberler@h081217056015.dyn.cm.kabsi.at] has joined #emc
[10:28:25] -!- ries has quit [Ping timeout: 246 seconds]
[10:30:33] -!- ries [ries!~ries@] has joined #emc
[10:41:51] -!- mhaberler has quit [Quit: mhaberler]
[10:55:54] -!- motioncontrol [motioncontrol!~i@host204-74-dynamic.17-87-r.retail.telecomitalia.it] has joined #emc
[10:57:55] -!- motioncontrol has quit [Client Quit]
[11:01:09] -!- robh__ [robh__!~robert@5ace7019.bb.sky.com] has joined #emc
[11:15:01] -!- Guest599 has quit [Quit: Visitor from www.linuxcnc.org]
[11:30:48] -!- rooks [rooks!~rooks@102-bem-18.acn.waw.pl] has joined #emc
[11:36:43] -!- mhaberler [mhaberler!~mhaberler@h081217056015.dyn.cm.kabsi.at] has joined #emc
[11:38:31] -!- psha [psha!~psha@] has joined #emc
[11:51:04] -!- mhaberler has quit [Quit: mhaberler]
[11:56:50] <jthornton> I think I'll carve out a hole in the garage wall today and put in a window AC unit...
[12:01:32] <psha> Valen: around?
[12:15:27] <jthornton> is there any way to get one pulse for a button push with HAL? oneshot gives output by seconds or fractions of...
[12:17:11] <psha> jthornton: what's one pulse?
[12:17:22] <psha> for whom? for servo thread? for base thread?
[12:18:16] -!- HazardX [HazardX!~HazardX3@pool-96-237-60-90.bstnma.fios.verizon.net] has joined #emc
[12:18:44] <JT-Shop> what I'm trying to do is have a single pyvcp or real button be a pause/resume button
[12:18:56] <psha> and what's problem?
[12:19:12] <JT-Shop> so if it is running pause it, if it is paused run it
[12:19:28] <JT-Shop> racetrack condition for every thing I try
[12:19:53] <psha> for vcp you may take gladevcp pause togglebutton
[12:20:16] <psha> or toggleaction
[12:20:31] <psha> which in turn may be hooked to hal pin
[12:20:53] <psha> and in hook you'll just run something like action.toggle(!action.state())
[12:21:03] <psha> (pseudocode)
[12:21:13] <JT-Shop> maybe I should try toggle again to see if I can get that to work
[12:21:26] <psha> sure you'll get races - if you hit _very_ quick both HW button and something in axis
[12:21:54] <JT-Shop> I see toggle has a debounce parameter hmmm
[12:22:01] <psha> otherwise if there is enought time to get notification toggle action will change it's state to reflect actual one
[12:22:12] <psha> so you don't need to hold it yourself
[12:22:38] <psha> wait a bit, i'll show you example
[12:22:43] <JT-Shop> ok
[12:36:37] <jthornton> ah ha... I needed double and2's
[12:49:55] <psha> wow
[12:50:06] <jthornton> what's that?
[12:50:07] <psha> i've found nasty bug in toggle action :)
[12:50:20] <psha> now it's fixed and i'll show you example :)
[12:50:21] <jthornton> glad you found it and not me :)
[12:51:36] <psha> http://psha.org.ru/tmp/pause-test.py
[12:53:46] <jthornton> hmmm for some reason my lan connection is borked to my D510
[12:54:22] <jthornton> I assume I need to be in 2.5 environment and run that python file?
[12:55:05] <psha> yes
[12:55:22] <psha> but you need to apply one patch
[12:55:50] <jthornton> ouch, I need to fix my connection problems first
[12:57:18] <psha> heh, i need to create clean branch :)
[13:02:04] <psha> http://psha.org.ru/cgit/psha/emc2.git/commit/?h=toggle-actions-fix
[13:10:20] <jthornton> are you going to commit that patch?
[13:12:52] <psha> i'm going to ask somebody to merge it :)
[13:13:39] -!- jthornton has quit [Read error: Connection reset by peer]
[13:14:04] -!- jthornton [jthornton!~chatzilla@216-41-156-49.semo.net] has joined #emc
[13:14:21] <jthornton> hmmm it ain't the cable or the router...
[13:14:38] -!- jthornton has quit [Remote host closed the connection]
[13:15:16] -!- jthornton [jthornton!~chatzilla@216-41-156-49.semo.net] has joined #emc
[13:18:58] <jthornton> I wonder if connecting up the parallel port to my breakout board hosed the network part of the D510 somehow?
[13:22:30] <psha> maybe you've burned it?
[13:26:28] -!- phreak has quit [Remote host closed the connection]
[13:26:48] -!- phreak [phreak!~phreak@] has joined #emc
[13:27:14] <JT-Shop> it was kinda hot for some reason
[13:27:32] <JT-Shop> I'll swap motherboards after while
[13:43:55] -!- dgarr [dgarr!~dgarrett@adsl-75-61-78-208.dsl.pltn13.sbcglobal.net] has joined #emc
[13:51:40] <psha> JT-Shop: have you tried this patch?
[13:52:02] <psha> also if you have gladevcp panel you don't need extra component
[13:52:20] <psha> just add hook creating new GPin and hooking value-changed signal to Pause action
[13:54:01] <Valen> psha: yah?
[13:54:22] <Valen> for a bit
[13:54:47] <psha> i've checked how camera is enabled/disabled
[13:55:00] <psha> there is special call (set_active) for widget
[13:55:19] <psha> however you need either button or other signal to hook it in
[13:55:51] <Valen> thats why I was wondering if you could see if the tab had focus
[13:55:54] <Valen> i wonder
[13:56:11] <Valen> perhaps a timer widget, and then look to see which tab has focus? if you can hook that high?
[13:56:33] <psha> tabs are outside of camview scope of view
[13:56:39] <psha> they are in separate processes
[13:56:43] <Valen> ahh
[13:56:52] <psha> one is in axis (using Tk) othere is camview (using Gtk)
[13:57:17] <JT-Shop> psha: my network connection on the D510 is still hosed
[13:58:00] <Valen> and you dont want to use focus as you cant jog when you have focus
[13:58:16] <Valen> is there anything for visible or unhide or similar?
[13:58:28] <Valen> i cant rember the gtk api
[14:07:02] <psha> Valen: i guess focus is closest
[14:07:05] <psha> but it's useless...
[14:07:10] <Valen> rather
[14:07:34] <Valen> sounds like it needs to tap into axis to work then?
[14:07:46] <Valen> i don't really understand how the extra tab is added
[14:07:57] <Valen> is it through that .ui file?
[14:08:06] <psha> Valen: http://www.pygtk.org/docs/pygtk/class-gtkwindow.html#signal-prototypes-gtkwindow
[14:08:10] <psha> list of signals
[14:08:22] <psha> no
[14:08:30] <psha> first, extra empty tab is added in axis
[14:08:45] <psha> then started camview and instructed to reparent under empty widget in new tab
[14:08:56] <Valen> ahh I se
[14:08:57] <Valen> see
[14:09:00] <psha> there is special protocol for such purposes - XEmbed
[14:09:23] <psha> windows are separate but one is child of another
[14:09:36] <Valen> yeah, i have played with it all but it was a while ago
[14:10:44] <Valen> hmm
[14:10:45] -!- mhaberler [mhaberler!~mhaberler@h081217056015.dyn.cm.kabsi.at] has joined #emc
[14:10:48] <psha> mhaberler: hi
[14:11:05] <mhaberler> hi psha! how are things?
[14:11:32] <Valen> I was thinking might it be possible to pass to jog commands through halui back to axis/hal so that the focus following the mouse wont cause issues?
[14:12:14] <Valen> (as holding jog then moving the mouse inside the window causes the window to absorb the keyup and hence the jog just keeps going)
[14:12:34] <Valen> if that is the case then you could use the focus to turn the camera on/off perhaps?
[14:13:20] <Valen> also would http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html#id2506384 perhaps do something along the lines of what we were after?
[14:14:30] <Valen> actually would http://faq.pygtk.org/index.py?req=edit&file=faq10.023.htp do it, or is it visible but hidden?
[14:34:34] -!- awallin has quit [Read error: Operation timed out]
[14:34:44] -!- awallin [awallin!~quassel@cs27057046.pp.htv.fi] has joined #emc
[14:40:35] <Valen> anyway past my bed time
[14:40:39] -!- Valen has quit [Quit: Leaving.]
[15:01:45] <jthornton> I'm guessing that if the only network device that shows up in network tools is "Loopback Interface" that my network adapter is dead...
[15:02:37] <Tom_itx> ok, it looks like i need to reconfigure the step and direction pinout for the 7i43 to match the tx pins on the 7i47
[15:03:02] <Tom_itx> that sounds like it could suck
[15:03:20] <jthornton> that don't sound right Tom_itx
[15:04:00] <Tom_itx> i didn't think so either
[15:04:28] <jthornton> oh, a 7i47...
[15:04:58] <Tom_itx> four of them end up on the rx pins
[15:05:06] <Tom_itx> which i don't think would work at all
[15:08:13] -!- ries has quit [Quit: ries]
[15:08:45] <jthornton> did you use the right bit file?
[15:09:04] <Tom_itx> i used 7i43big
[15:09:11] <Tom_itx> or whatever it's called
[15:09:18] <Tom_itx> and i'm not sure about any other bit file
[15:09:22] <jthornton> SVST2_4_7I47
[15:09:49] <Tom_itx> i may have to locate that and load it
[15:09:55] <jthornton> that is the only bit file I see for the 7i47
[15:09:56] <Tom_itx> i'll check after while
[15:10:08] <jthornton> I think all the others will be wrong
[15:10:15] <Tom_itx> where do you load that
[15:10:36] <Tom_itx> i was just messing with the 7i43 last night
[15:10:39] -!- robh__ has quit [Quit: Leaving]
[15:10:51] <Tom_itx> it might change once i plug in the 7i47 to it. i haven't done that yet
[15:10:54] <jthornton> in the ini file
[15:11:08] <Tom_itx> i wasn't sure that would matter
[15:11:25] <jthornton> change SVST4_4B.BIT to SVST2_4_7I47.BIT
[15:11:40] <jthornton> I'm sure that it does matter :)
[15:11:54] <Tom_itx> i'll mess with it here in a while
[15:12:14] <jthornton> http://www.linuxcnc.org/docview/html/drivers_hostmot2.html#r1_9
[15:12:40] <Tom_itx> not that it will be needed, but can you flash the fpga via the parport or do you need the jtag connector to do that?
[15:12:41] * jthornton wanders back to the shop
[15:13:51] <Tom_itx> i'll make up a ribbon cable and plug them both in next time to try it.
[15:14:04] <Tom_itx> that last question was more for future reference.
[15:14:20] <Tom_itx> i downloaded the webpack yesterday in preparation if needed
[15:14:52] <Tom_itx> it shouldn't be needed
[15:16:35] -!- tom3p [tom3p!~tomp@ip-216-36-91-237.chi.megapath.net] has joined #emc
[15:23:49] -!- Tom_L [Tom_L!~Tl@unaffiliated/toml/x-013812] has joined #emc
[15:26:43] -!- capricorn_one [capricorn_one!~capricorn@zima.linwin.com] has joined #emc
[15:27:26] <aggrav8d> why do end mills suck for cutting wood?
[15:27:39] <psha> jthornton: what's 'ip li' shows you?
[15:28:04] <psha> if you don't have eth0 in network tools maybe it's down? (not dead)?
[15:28:22] <JT-Shop> I'll check
[15:29:22] <pcw_home> Tom_itx; you need a 7I43 bitfile that has a name that ends in 7I47, other bitfiles will have the wrong pinout
[15:29:42] <Tom_itx> i figured
[15:29:50] <Tom_itx> once i plug in the 47 it should show up on the list right?
[15:30:46] <jthornton> I don't know aggrav8d why but from testing I know that end mills don't cut wood as well as a router bit
[15:31:01] <Tom_itx> aggrav8d, different geometry on the cutters
[15:31:18] <Tom_itx> relief angles etc are different
[15:31:39] <pcw_home> No, that is not automatic, you need to choose the appropriate bitfile in your .hal or .ini file
[15:31:49] <Tom_itx> alright
[15:31:59] <jthornton> psha: eth0: <NO-CARRIER,BROADCAST, MULTICAST, UP>
[15:32:31] <psha> cable not plugged?
[15:32:51] <jthornton> yes, I've tested cables by swapping
[15:33:11] <pcw_home> other end bad?
[15:33:11] <psha> ah, it's UP
[15:33:23] <psha> looks ok
[15:33:32] <psha> and what's ip addr show dev eth0
[15:33:33] <psha> ?
[15:33:46] <psha> i mean is there anything sane?
[15:35:44] <jthornton> show dev eth0 ?
[15:35:53] <jthornton> no program
[15:37:18] <jthornton> 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
[15:37:32] <jthornton> that's the whole line from ip li
[15:38:20] <pcw_home> ifconfig eth0: ?
[15:40:30] <jthornton> the only thing that looks different is RX packets:0 and TX packets:5 rest are 0
[15:40:40] <jthornton> different from this computer
[15:41:06] <aggrav8d> hmm... maybe that's why routing that ply was such a disaster.
[15:41:23] <jthornton> missing is inet addr: Bcast: Mask:
[15:43:13] <jthornton> there was quite a bit of heat coming out the back when the C1 breakout board was plugged into the parallel port
[15:43:35] <jthornton> I think it just got smoked but didn't let any out
[15:44:55] -!- Gensor555 has quit []
[15:50:38] <psha> rx/tx - number of recv/sent pacakges
[15:50:39] -!- mozmck1 [mozmck1!~moses@client-] has joined #emc
[15:50:41] <psha> packates
[15:50:48] <psha> packets
[15:51:02] <psha> so either you cable is dead (but you've checked it already) or eth phy is dead
[15:52:39] -!- Gensor [Gensor!Gensor@] has joined #emc
[15:52:50] -!- mozmck2 [mozmck2!~moses@client-] has joined #emc
[15:53:20] -!- mozmck has quit [Ping timeout: 260 seconds]
[15:55:05] -!- mozmck1 has quit [Ping timeout: 260 seconds]
[16:03:25] -!- ve7it [ve7it!~LawrenceG@S0106009027972e37.pk.shawcable.net] has joined #emc
[16:06:54] <JT-Shop> after verifying from the cable out was good I booted from the livecd and still DOA
[16:08:06] <schwege> have you verified it's enabled in bios?
[16:08:46] <JT-Shop> it worked before
[16:08:56] <JT-Shop> so today no
[16:09:25] <schwege> okay
[16:09:38] <pcw_home> Is it connected to a local switch/hub?
[16:09:45] <JT-Shop> yes
[16:10:01] <pcw_home> no link light on the hub?
[16:10:06] <JT-Shop> no
[16:10:46] <JT-Shop> I swapped cables between the two computers to verify that the cables/hub ports were ok
[16:10:53] <pcw_home> well like psha said bat PHY perhaps ( orbad transformer
[16:11:14] <pcw_home> or connector
[16:11:55] <JT-Shop> I'll have to dig it out after while, I'm having fun putting 9" more insulation in the attic of the shop
[16:12:49] <JT-Shop> overcast and slightly cool so must take advantage of weather this time of year to work in the attic :)
[16:13:45] <JT-Shop> dang it's been more than 30 days so I can't return it
[16:14:51] -!- acemi has quit [Quit: WeeChat 0.3.2]
[16:14:57] <Tom_L> i'm not sure it can see that .bit file
[16:14:59] <Tom_L> i got an error
[16:16:19] -!- dgarr has quit [Ping timeout: 250 seconds]
[16:16:57] * JT-Shop reads the manual for Tom_L
[16:17:10] <Tom_L> well i need to find the file
[16:17:10] <Connor> So, Last night, I got my DRO working on the breadboard pendant..
[16:17:23] <Connor> EMC sends out packets of data when ever the axis moves..
[16:17:26] <Connor> really cool.
[16:17:36] <Tom_L> apparently i don't have it yet
[16:18:20] <Connor> Was trying to figure out how to get the pendant to now if AXIS was displaying in mm or inch.. but.. doesn't look like a easy way.. the axis python file has code in it.. I might be able to wirte a hook for that..
[16:19:06] <Connor> but, might be better to simply have the pendant display inch/mm independent of axis using one of the soft buttons as a toggle.. Thoughts ?
[16:20:57] <Tom_L> i found one in the 5i2xx directory
[16:20:59] -!- nullie [nullie!~nullie@nullie.telenet.ru] has joined #emc
[16:26:09] -!- newbynobi [newbynobi!~norbert@p4FC9D175.dip.t-dialin.net] has joined #emc
[16:29:22] -!- Roguish [Roguish!~chatzilla@c-67-174-215-143.hsd1.ca.comcast.net] has joined #emc
[16:30:54] <pcw_home> That wont work...
[16:31:33] <Tom_L> i found one in the mesa zip
[16:31:47] <Tom_L> SVST2_4_7I47.PIN
[16:32:03] <Tom_L> in the 7i43 sub directory
[16:33:14] <Tom_L>  /7i43/configs/hostmot2/
[16:33:30] <Tom_L> there's also a SVST2_4_7I47S.BIT
[16:33:36] <pcw_home> Yeah that the pinout, you need the .BIT file
[16:33:43] <tom3p> greek uni using emc & a custom triaglide mill http://ithaki.meng.auth.gr/data/ICMEN2008PDF/06-ROMA01.pdf
[16:34:06] <Tom_L> where does emc store those?
[16:34:15] <Tom_L> i'll copy it over
[16:34:21] <pcw_home> SVST2_4_7I47B.BIT is there as well thats the one you want
[16:34:50] <Tom_L> haven't run across it yet
[16:35:12] <pcw_home> the SVST2_4_7I47S.BIT is for the 200K
[16:35:26] <Tom_L> ok
[16:35:30] <Tom_L> i think i found it
[16:35:40] <pcw_home> the SVST2_4_7I47B.BIT should be in the mesa zip file
[16:35:46] <Tom_L> it is
[16:37:48] <Connor_CNC> Having issues trying to link these pins
[16:37:50] <Connor_CNC> net dro-jog1 <= opendro.dro-jog-x
[16:37:50] <Connor_CNC> net dro-jog1 => axisui.jog.x
[16:39:14] <Connor_CNC> always end up with some sort of error like this.. dro-jog1 can not add OUT pin axisui.jog.x, it already has out pin opendro.dro-jog-x
[16:39:29] <Connor_CNC> I'm trying to set axisui.jog.x from the pendant.
[16:40:23] -!- Birdman3131 has quit [Read error: Connection reset by peer]
[16:43:55] -!- Birdman3131 [Birdman3131!~quassel@ip70-178-238-227.ks.ks.cox.net] has joined #emc
[16:45:35] -!- Birdman3131 has quit [Read error: Connection reset by peer]
[16:46:51] -!- Birdman3131 [Birdman3131!~quassel@ip70-178-238-227.ks.ks.cox.net] has joined #emc
[16:50:28] -!- Tom_L has quit []
[16:53:19] <JT-Shop> Connor_CNC: it's not lying to you... you can add a second out pin to a signal
[16:53:28] <JT-Shop> cannot/cna
[16:53:35] <JT-Shop> crap can't type
[16:53:41] <JT-Shop> you can't add ..
[16:54:52] <archivist> in the real world that lets the smoke out
[16:55:05] <JT-Shop> lol
[16:55:52] <JT-Shop> that's almost as funny as someone trying to set the state of the same output more than once in a PLC
[16:56:44] <archivist> er cant you set open collector and wire or :)
[16:57:33] <JT-Shop> in ladder the last output wins if you have more than one rung with the same output
[17:02:38] <Connor_CNC> okay, so, how do I take the output from my dro-jog-x and send it to axisui.jog.x.. Or can I.. Is that aoutput pin and takes no input ?
[17:03:14] <JT-Shop> I can't even find axisui in the docs is it new or old
[17:04:05] <JT-Shop> oh, that is old stuff
[17:07:25] -!- mhaberler has quit [Quit: mhaberler]
[17:08:08] <JT-Shop> you can't send anything to an out bit
[17:08:28] * JT-Shop wonders why axisui does not have a man page???
[17:09:44] <JT-Shop> axisui.jog. shows the currently selected axis :)
[17:10:50] <tom3p> its the name blah.out it makes people think you send stuff to it, that stuff goes out to it i wish they were src & dest ( yay Z80 )
[17:11:04] <archivist> hint of the day drive an input pin not an output
[17:11:40] <archivist> output pins drive input pins
[17:11:50] <JT-Shop> If only people would read this page first http://www.linuxcnc.org/docview/html/hal_basic_hal.html before trying to program in hal
[17:11:56] -!- newbynobi has quit [Quit: Verlassend]
[17:12:10] <JT-Shop> second hint use halui
[17:12:49] * JT-Shop wanders inside to take a nap... putting insulation in the attic makes me tired
[17:14:51] <Connor_CNC> okay, so what pin do I need to use?
[17:21:32] <DaViruz> it makes me itchy
[17:21:40] <DaViruz> just seeing you write about it
[17:21:42] <DaViruz> :)
[17:33:41] <Connor> is their a way for a python userspace program to send a key press event ?
[17:38:55] <anonimasu> JT-Shop: there's a neat solution to that issue on plc's
[17:39:18] <anonimasu> like if ( Output1_1 OR Output1_2 OR output1_3 ) then ....
[17:42:15] <DaViruz> huh
[17:42:55] <anonimasu> (for iec-61131-3 plc's=
[17:43:19] <DaViruz> how will probing the status of a few outputs solve setting the same outputs in two different rungs
[17:44:18] <anonimasu> you map the same out to several variables you can set
[17:44:23] <anonimasu> and you can set it wherever you like
[17:44:49] <DaViruz> oh you mean like that.
[17:45:30] <anonimasu> I use that kind of stuff all the time at work for manual overrides of functions
[17:45:46] <anonimasu> if you like add a if inside and set priority of stuff
[17:45:57] -!- nullie has quit [Quit: Ex-Chat]
[17:46:06] <DaViruz> well that is the usual way of avoiding overly long rungs in ladder :)
[17:48:14] <tom3p> looking for cblackburns work on hal gui... how do i find the branches available and their descriptions?
[17:50:21] <anonimasu> tom3p:
[17:51:39] -!- mhaberler [mhaberler!~mhaberler@h081217056015.dyn.cm.kabsi.at] has joined #emc
[17:52:21] -!- mk0 [mk0!~geissler@] has joined #emc
[17:59:01] -!- acemi [acemi!~acemi@unaffiliated/acemi] has joined #emc
[18:03:20] -!- mhaberler has quit [Quit: mhaberler]
[18:03:51] H264 is now known as WalterN
[18:18:38] <JT-Shop> anonimasu: I just use bits ored together if I have multiple things that might need to turn on an output
[18:26:31] -!- tom3p [tom3p!~tomp@ip-216-36-91-237.chi.megapath.net] has parted #emc
[18:26:33] -!- stormlight [stormlight!~jasonandt@c-71-202-13-101.hsd1.ca.comcast.net] has joined #emc
[18:29:02] -!- kanzure__ has quit [Ping timeout: 276 seconds]
[18:29:08] <pcw_home> anonimasu: if I get a chance this coming week I will take a stab at a ENDAT encoder firmware module (and a BISS one)
[18:29:10] <pcw_home> need to get a cheap ENDAT and BISS encoder to test though. Had no luck finding out the ENDAT CRC polynomial however
[18:29:12] <pcw_home> probably leave CRC support for later (BISS and ENDAT are similar, both derivatives of SSI but ENDAT requires the data channel to be bidirectional)
[18:33:23] -!- JustinXJS3 has quit [Quit: Leaving]
[18:53:43] <Connor> okay, so, from what I can tell.. interacting with axisui itself is a mute point.. too messy.. no pins.. I can get stuff out, but not in.. I did find the halui.jog stuff.. and was able to set my rig so I can select a axis to jog via the MPG wired direct...
[18:55:27] <JT-Shop> cool
[18:55:28] <Connor> my next question is.. is their a pin or something I can do that will send a single "pulse" to increment the axis? I found halui.jog.selected.plus and minus.. but, that doesn't look like it's a pulse.. if it's true it'll keep moving.. no way to pulse it..
[18:56:19] <Connor> kind of like when you set axis to use .001 instead of continues and then click the button.
[18:57:47] <JT-Shop> or like when you use a MPG
[18:58:06] <Connor> yea. Well.. MPG uses encoder inputs..
[18:59:11] -!- isssy [isssy!~isssy@78-83-51-185.spectrumnet.bg] has joined #emc
[18:59:37] <JT-Shop> yep
[19:00:05] <Connor> I'm planning on trying this with the Arduino sending out a stream of 0 or 1.. 0 for one direction 1 for the other.. and the character itself as the "tick"
[19:00:15] <JT-Shop> hint read about the encoder
[19:00:39] <JT-Shop> the software one
[19:01:00] <JT-Shop> counter-mode
[19:03:38] * JT-Shop twists off a cap and gives it a couple of squirts of lime and ain't going back to the attic today
[19:03:43] -!- isssy has quit [Client Quit]
[19:04:18] -!- willburrrr2003 [willburrrr2003!~IceChat77@c-67-183-91-29.hsd1.wa.comcast.net] has joined #emc
[19:05:48] <willburrrr2003> good morning all :) , when working with a lath, is there a gcode function that lets me do a repeatable cut down the zaxis , and increment the depth of cut on each repeat?
[19:06:24] <willburrrr2003> sorry about my spelling errors, kb sucks
[19:07:01] <JT-Shop> yes, ngcgui
[19:07:26] <JT-Shop> http://www.linuxcnc.org/component/option,com_kunena/Itemid,20/func,showcat/catid,40/lang,english/
[19:07:57] * JT-Shop wishes he could blame spelling errors on the keyboard and not fingers :/
[19:08:32] <willburrrr2003> haha...well pretty sure not my fingers ;)
[19:09:03] <archivist> or the soggy mass driving the fingers
[19:10:05] <JT-Shop> yep
[19:13:45] <willburrrr2003> so the ngcgui generates g-code files?
[19:13:57] <willburrrr2003> if I am understanding what I was just reading
[19:14:46] <JT-Shop> yes, you create your subroutine once then when you want to turn the od for example you just fill in the blanks...
[19:14:56] <JT-Shop> I use it 99% of the time on my lathe
[19:15:01] <JT-Shop> even for profiles
[19:15:05] <willburrrr2003> nice, seems very handy
[19:15:19] <willburrrr2003> is it hard to install into my emc2?
[19:15:29] <JT-Shop> I don't want to think about life before ngcgui
[19:15:34] <JT-Shop> what version?
[19:16:46] <willburrrr2003> I am still new to the Linux platform, version of ubunto is the 10.04 emc2 version
[19:17:24] <JT-Shop> the EMC version I assume is 2.4.x?
[19:17:43] <JT-Shop> when you start EMC it says what version it is
[19:19:30] <willburrrr2003> just ran it, 2.4.3
[19:20:53] <JT-Shop> there is a step by step in that link
[19:23:06] <willburrrr2003> ok, will give it a shot :D thanks for pointing me in the right direction! I made my first cuts through emc2 lastnight, chips were flying hehe but was doing all my cuts in manual mode....can't wat to start throwing g-code at my machine to make stuff....it's getting exciting and fun now that my machine is getting usable!
[19:23:21] <Connor> JT-Shop: Looking at the encoder stuff.. I used that when I had the MPG hardwired.
[19:23:22] -!- acemi has quit [Quit: WeeChat 0.3.2]
[19:23:23] <JT-Shop> cool, got any photos?
[19:24:18] <willburrrr2003> Not yet, will get batteries for my camera while I am out and about today :D will even try and get vid of it running too
[19:24:24] <JT-Shop> Connor encoder.N.counter-mode bit i/o Enables counter mode. When true, the counter counts each rising edge of the phase-A input, ignoring the value on phase-B. This is useful for counting the output of a single channel (non-quadrature) sensor. When false (the default), it counts in quadrature mode.
[19:24:42] <JT-Shop> willburrrr2003: cool
[19:25:20] <Connor> Yea. I just read that.. okay... so.. send the pulse to that.. but, how to handle direction since I'm not using B ?
[19:25:30] <willburrrr2003> I'll let you know how it goes with the ngcgui, and share pics and hopefully a vid tomorrow :D c'ya later
[19:25:41] -!- willburrrr2003 has quit [Quit: Easy as 3.14159265358979323846...]
[19:26:11] <Connor> I guess this would be the same as hooking up a encoder that is A as count B as direction.
[19:27:29] <JT-Shop> can't you use halui.jog...plus and minus with the encoder
[19:27:58] <Connor> I was thinking I could.. but, I think the issue is.. plus/minus is on/off.. not pulse ?
[19:28:35] <Connor> which means, I don't know how much it's going to move..
[19:29:04] <JT-Shop> yea, that is a problem
[19:29:31] <Connor> yea..okay.. I need a step/dir encoder setup vs a quadrature setup.
[19:29:48] <JT-Shop> yea that might work
[19:31:15] * JT-Shop goes back to clearing a hole for the life support climate control system
[19:38:39] <JT-Shop> Connor can you increment or decrement axis.N.jog-counts somehow?
[19:39:09] <Connor> If the python userspace has access to it.. yea.
[19:39:29] <JT-Shop> it's a realtime hal pin so I don't know
[19:39:33] <Connor> wonder if it's possible to add a negative 1
[19:39:45] <Connor> I dunno either..
[19:39:50] <JT-Shop> that and axis.N.jog-scale would do it maybe
[19:40:27] <JT-Shop> what you need is an count up/down counter
[19:40:37] <JT-Shop> roll one with comp
[19:40:52] <JT-Shop> oh my they all ready have one
[19:41:16] <Connor> it's seprecated
[19:41:21] <Connor> err. deprecated
[19:41:27] <JT-Shop> updown?
[19:41:35] <Connor> Oh. dunno.. counter is..
[19:41:42] <JT-Shop> updown
[19:42:01] <Connor> yea..looking at that now.
[19:43:01] <Connor> lets see if that works.. back in a bit.
[19:46:38] -!- stormlight has quit [Quit: stormlight]
[19:55:08] -!- syyl [syyl!~syyl@p4FD132C7.dip.t-dialin.net] has joined #emc
[20:18:48] <Connor_CNC> updown isn't working... it's not incrementing.. I see the pin change state.. but.. nothing.
[20:26:56] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust1037.basl.cable.virginmedia.com] has joined #emc
[20:47:53] <JT-Shop> did you add it to the servo-thread
[20:50:13] -!- Loetmichel [Loetmichel!Cylly@p54B11EE1.dip.t-dialin.net] has joined #emc
[20:50:16] <Loetmichel> moin
[20:50:46] <Loetmichel> oh, sorry, english... -> hello!
[20:50:46] <Connor_CNC> forgot too.. and I put in base thread... for now..
[20:51:12] <JT-Shop> not good idea to put things in the base thread that only need to be in servo thread
[20:51:23] * JT-Shop takes the wife to dinner now :)
[20:51:27] <Connor_CNC> i'm just testing
[20:51:28] -!- psha has quit [Quit: Lost terminal]
[20:51:47] <Loetmichel> JT-Shop: HF
[20:54:18] <JT-Shop> HF?
[20:55:03] <Loetmichel> have fun
[20:55:30] <JT-Shop> ah yes we will be with 2 other couples so yes we will be having fun :)
[20:55:57] * Loetmichel has his sister and her Husband visiting tonight
[20:56:50] <Loetmichel> <- changed the Keyboard from a ModelM to a silent cherry 'cause their Guestroom is next to my working place ;-)
[20:57:27] <Loetmichel> (better not use the minimill tonight ;-)
[20:57:49] <Loetmichel> its silent, but not THAT silent ;-)
[20:59:31] <Loetmichel> http://www.cyrom.org/palbum/main.php?g2_itemId=11450
[21:00:20] <Loetmichel> (the wall behind the monitor is the wall to our guestroom ;-)
[21:00:36] <andypugh> I replaced the plastic gears in my minimill with metal ones. It is now far, far from silent.
[21:00:58] <Loetmichel> andypugh: no gears-> no sound ;-)
[21:01:07] <syyl> but, better than broken plastic gears :D
[21:01:39] <andypugh> Aye, the plastic gears don't like interrupted cuts with a facing cutter.
[21:01:45] <Loetmichel> direct driven 10mm*3mm trapezoidal thread
[21:01:48] <syyl> hrhr
[21:02:14] <syyl> i have converded my minimill-head to belt drive
[21:02:20] <Loetmichel> POM drive Nuts
[21:02:36] <Loetmichel> and the Spindle is also direct driffen
[21:02:40] <Loetmichel> driven
[21:02:56] <Loetmichel> originates from a Proxxon BFW40
[21:02:59] <andypugh> I wanted to keep the two speeds, so converted to oil-bath and metal gears. If I was doing it again I would go for belt drive...
[21:03:28] <Connor_CNC> why belt vs gear ?
[21:03:33] <Loetmichel> (the Hispeed-spindle is a KRess 9660, but too loud for everyday use)
[21:03:37] <syyl> i have to throw over the belt to change the speed ranges
[21:03:49] <andypugh> Loetmichel: I am guessing that you don't make parts for commercial vehicles on yours?
[21:04:11] <Loetmichel> andypugh: no, just for som Model Helicopters and stuff
[21:04:15] <andypugh> Connor_CNC: Just for the quietness.
[21:04:29] <Loetmichel> andypugh: my minimill ahs only 200mm*110mm*110mm travel!
[21:04:39] <Loetmichel> has
[21:04:46] <andypugh> Ah, yes, note to self, remember to buy a more helicopter-proof light fitting.
[21:05:04] <Loetmichel> hihi
[21:05:28] <Loetmichel> "thats the moment where the shit^W glass hits the fan!"
[21:05:29] <Loetmichel> ;-)
[21:05:47] <andypugh> Yes, I keep finding bits of glass.
[21:06:18] <Connor_CNC> is their a way to switch what feeds a input pin?
[21:06:53] <Connor_CNC> example.. I want to set it so if I push a button, it toggles from relative position to commanded position
[21:06:55] <andypugh> Connor_CNC: Can you be more specific?
[21:07:17] <Connor_CNC> using the halui.axis.0.pos-relative or halui.axis.0.pos-commanded
[21:07:18] <Loetmichel> andypugh: i am talking about some incarnations of THIS: http://www.cyrom.org/MC/thilo_pilot.avi http://www.cyrom.org/MC/thilo_onboard.avi
[21:07:23] <Connor_CNC> andypugh: was getting their...
[21:07:25] <andypugh> It is possible that HALUI has that function.
[21:07:54] <Loetmichel> not the "indoor-only" toys
[21:07:56] <Loetmichel> ;-)
[21:08:05] <Connor_CNC> halui has both of those pins.. and I can feed them both into the python userspace.. but, then python has to deal with it..
[21:08:26] <Connor_CNC> I was thinking it would be faster to let hal feed the desired input based on pin configuration.
[21:08:49] <Loetmichel> oh, i just have been told: minimill is a fixed alias for the "sieg x2" and clones here
[21:08:59] <andypugh> If the pin exists, then HAL ought to be able to control it.
[21:09:27] <Connor_CNC> okay. so, what function can take two inputs and switch them to a single output based on a toggle ?
[21:09:31] <Loetmichel> my mill ist selfbuild from stock aluminum and steel bars. i just wanted to emphasize that it is very little
[21:09:58] <andypugh> and2 and toggle, I think
[21:10:14] <Connor_CNC> will that work with floating point stuff ?
[21:11:48] -!- stormlight [stormlight!~jasonandt@c-71-202-13-101.hsd1.ca.comcast.net] has joined #emc
[21:12:08] <andypugh> Connor_CNC: Does it need to?
[21:12:24] <andypugh> Loetmichel: Did you see http://www.eng.umd.edu/html/media/release.php?id=104
[21:12:30] <Connor_CNC> yes. halui.axis.0.pos-commanded and halui.axis.0.pos-relative are floating point values.
[21:12:49] <andypugh> Sorry, I thought you wanted to toggle the view.
[21:12:54] <Loetmichel> andypugh: yes
[21:13:11] <Connor_CNC> no. toggle which one of those two will feed a pin I'm using in my python code.
[21:13:54] <andypugh> http://www.linuxcnc.org/docview/html/man/man9/mux2.9.html
[21:14:15] <Connor_CNC> yup.. mux
[21:14:16] <Connor_CNC> okay.
[21:19:43] -!- Connor_CNC has quit [Read error: Connection reset by peer]
[21:21:13] -!- Connor1 [Connor1!~billy@] has joined #emc
[21:21:30] Connor1 is now known as Connor_CNC
[21:21:37] -!- robh__ [robh__!~robert@5ace7019.bb.sky.com] has joined #emc
[21:38:43] -!- crazy_imp has quit [Ping timeout: 250 seconds]
[21:40:49] -!- crazy_imp [crazy_imp!~mj@a89-183-35-109.net-htp.de] has joined #emc
[21:53:02] <andypugh> My foundry pattern is made, now I need to fill and paint it.
[21:53:08] -!- Fox_Muldr has quit [Ping timeout: 276 seconds]
[21:54:03] -!- mk0 has quit [Read error: Operation timed out]
[21:54:12] <Loetmichel> i would get some foul words from my wife/my neighbours if i made a foundry here
[21:54:44] -!- Fox_Muldr [Fox_Muldr!quakeman@frnk-4d01c67b.pool.mediaWays.net] has joined #emc
[21:55:00] <Loetmichel> 'cause my Workshop is a room in my flat, not in a garage or some place outside ;-)
[21:58:11] <andypugh> I haven't made a foundry (yet). I send the patterns to a foundry to be cast.
[21:58:24] <andypugh> They charge about £25 each.
[21:59:00] <syyl> cast iron?
[21:59:06] <andypugh> Yes.
[22:00:04] <andypugh> These are machine-tool parts, so cast iron is the right thing to use.
[22:00:10] <syyl> apart from the 25pound, are there any costs?
[22:00:21] <andypugh> No, that's it.
[22:00:27] <syyl> cool
[22:00:31] <syyl> thats nice
[22:01:12] <andypugh> Previous batch: https://picasaweb.google.com/bodgesoc/Gibbs#5511282568768390018 Next picture is the patterns.
[22:02:10] <Loetmichel> nice
[22:02:23] <Loetmichel> oh, jpu are from norway? oder canada?
[22:02:23] <syyl> attachements for cnc conversation?
[22:02:37] <Loetmichel> syyl: conversion
[22:02:48] <andypugh> Yes, those are motor mounts and a ball-nut holder.
[22:02:59] <Loetmichel> conversation means "gespräch" ;-)
[22:03:35] <andypugh> https://picasaweb.google.com/bodgesoc/Gibbs#5559905744520719218 is them all assembled
[22:04:30] <Loetmichel> uiuiuiui. thats a BIG AC servo
[22:05:44] <andypugh> No, it's rather a small milling machine. The servo is only 500W and is approx 200mm long
[22:06:11] <Loetmichel> ah. I see
[22:06:45] * Loetmichel has converted a little Brake disc grinder to CNC
[22:06:50] <Loetmichel> for a friend
[22:07:07] <Loetmichel> 11kW grinding spindle
[22:07:31] <Loetmichel> 500kg rotating table with 1000mm travel in y
[22:08:02] <Loetmichel> used 2*3kw Indramat AC Servos for y and z
[22:08:33] <andypugh> That's a big brake disc
[22:09:27] <Loetmichel> as I tested the servos the light in the hall was flickering dark at accelerating ann bright white at decelerating
[22:10:08] <Loetmichel> no, the grinder was für brake discs from 100mm to about 600mm diameter
[22:13:26] <Loetmichel> http://www.gebrauchte-drehmaschinen.de/schleifmaschinen/142 <- something like thsi but with a 600mm diameter rotating magnet table instead the fixed square one an MUCH bigger
[22:13:50] <Loetmichel> (IIRC about 4 tons or cast iron for the frame ;-)
[22:13:53] <Connor_CNC> okay.. were in axis (code wise) calls functions from the menu..
[22:14:14] <Connor_CNC> I managed to make a new pin for coord_type.. and it works with the keypress events.. but not the mouse events.
[22:20:57] <Connor_CNC> kick ass.. I got it working..
[22:21:08] <Connor_CNC> okay. now to add one in for mm/inch view. :)
[22:32:54] -!- factor [factor!~factor@] has joined #emc
[22:42:38] -!- vladimirek [vladimirek!~vladimire@bband-dyn166.178-41-220.t-com.sk] has joined #emc
[22:43:26] -!- tsingi [tsingi!~Tsingi@CPE30469a09ac47-CM00195eefbbb8.cpe.net.cable.rogers.com] has joined #emc
[22:45:57] <tsingi> haven't rtfm'd yet, well, kinda, I read that if you have a parallel card, as opposed to a motherboard hookup, the ports will not be what emc expects, fix?
[22:46:33] <andypugh> Even motherboard ports move around.
[22:46:55] <tsingi> ok, I thought they were hard wired.
[22:47:07] <andypugh> You can just refer to them as port 0, port 1 etc and the OS will sort it out (supposedly)
[22:47:43] <tsingi> ok, I haven't tried it yet, just powered up. I have motors, controller, and PSU. !!!
[22:47:54] <andypugh> They are hardwired, but what the base address is varies somewhat
[22:48:45] <tsingi> OK, Thanks andypugh
[22:49:10] <tsingi> (cleaning up bench, I will report)
[22:49:17] <andypugh> If you can't find them by index, you shold be able to find them with lspci
[22:49:36] <tsingi> that was what I wanted to know :)
[22:52:40] <tsingi> shit, I spilled beer in a parts container.
[22:53:01] <bzzzz> dmesg|grep -i parport
[22:53:10] <bzzzz> gives you the addresses, i think
[22:54:04] <tsingi> parport0: PC-style at 0xec00 (0xe880), irq 19, using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
[22:54:13] <tsingi> ayup
[22:54:15] <bzzzz> bingo
[22:55:29] <Connor_CNC> kick ass.. I add two new pins to axisui to report the display_units (in/mm), and the coord_type(machine or relative)
[22:55:42] <Connor_CNC> my DRO now reflects AXIS exactly.
[22:56:04] <tsingi> :)
[22:56:40] <Connor_CNC> is there a way to have someone review the changes and put in in the tree ? Would anyone else care to have it ?
[22:57:05] <bzzzz> didn't there used to be a jmkasunich around here?
[22:58:25] <tsingi> It goes from jepler to jstenback
[23:00:35] <andypugh> Connor: Perhaps send an email to the developers list?
[23:00:55] <andypugh> tsingi: That list just shows who is online right now.
[23:00:57] <Connor_CNC> Yea. I'll have to join it first. :)
[23:01:36] <tsingi> andypugh: Yeah :)
[23:01:38] <andypugh> Alternatively, perhaps as a feature-request on the Sourceforge site?
[23:02:02] <Connor_CNC> FYI.. I DID try to use the MPG through the arduino and send the pulses via serial to EMC.. I had it counting up and down.. but.. it was missing ticks.
[23:02:38] <tsingi> I have my PSU and controller built into a cookie tin, I like it.
[23:02:41] <Connor_CNC> probably would work.. but, the detents and numbers on the dial would be meaningless.
[23:03:16] <Connor_CNC> it was dropping ticks if you moved it very fast.
[23:03:39] <tsingi> Connormy buddy is fooling with making a controller with arduinos, anything he should know?
[23:04:06] <Connor_CNC> about the only other way I could figure to do it would be keep the encoder count internal to the arduino and send out totals.
[23:04:27] <tsingi> the lat is talking to the arduinios?
[23:04:27] <Connor_CNC> but, I'm not sure how that would work either.
[23:04:29] <tsingi> lag
[23:04:48] <Connor_CNC> all of it.. python userspace code, serial comm etc ..
[23:05:16] * tsingi loves python
[23:05:25] <andypugh> I send quadrature pulses to an encoder counter on the 7i43. Seems reliable
[23:05:49] <Connor_CNC> What protocol ?
[23:05:51] <tsingi> sometimes you have to use c
[23:06:17] <Connor_CNC> cradek: was saying it wouldn't work very well because it's not realtime..
[23:06:33] <andypugh> What are you trying to do?
[23:06:41] <andypugh> The encoder counter is realtime.
[23:06:48] <Connor_CNC> It's no big deal.. I'll just hardwire the MPG straight into the system.
[23:06:50] <andypugh> The Arduino is realtime...
[23:06:57] <Connor_CNC> but usb and serial isn't
[23:07:11] <andypugh> No.
[23:07:14] <Connor_CNC> they're buffered.
[23:07:46] <andypugh> I wasn't clear what you were trying to do. (I still aren't)
[23:07:49] <Connor_CNC> not to mention, the serial isn't fast enough to send out a packet for each tick if you turn the dial too fast.
[23:08:06] <Connor_CNC> Oh. I'm working on a DIY Pendant with LCD DRO built in.
[23:08:24] <Connor_CNC> based on Arduino.
[23:08:31] <tsingi> You can writer your own usb driver, it's not REAL hard
[23:08:36] <andypugh> How busy are you? DO you have time to make the RTAI USB library work?
[23:08:44] <tsingi> :)
[23:08:53] <Connor_CNC> Umm.. Yea.. not happening.
[23:09:23] <andypugh> https://www.rtai.org/RTAICONTRIB/
[23:09:36] <tsingi> It's not that hard, really.
[23:09:41] <andypugh> Sounds like tsingi just volunteered
[23:10:02] <tsingi> heh, maybe, claendar full until this machine is going.
[23:10:02] <Connor_CNC> Only a few ways around it.. don't worry about the dropped ticks. and just use the DRO. Switch to internal count storage and send total counts instead of each tick.. but this could present it's own problems. or just run 2 extra wires with the USB to plug into a parport.
[23:10:12] <andypugh> I got it to nearly compile, the real problem is that since it was last looked at in 2006 quite a few kernel macros have changed.
[23:11:19] <andypugh> Connor_CNC: For jogging, sending actual counts ought to work fine. (And dropping ticks is probably bearable anyway)
[23:11:40] <tsingi> Actually, there are a few things that I may be able to contribute to, but this machine has to work first, that will take a month. Waiting on ballscrews.
[23:12:35] <Connor_CNC> andypugh: If I do that.. I'll probably have the python userspace code send back periodic updates of it's count just to make sure they're in sync..
[23:13:02] <Connor_CNC> They whole idea is to make this a open system.. give building blocks so other people can do their own setup.
[23:13:09] -!- Aggrav9d [Aggrav9d!~aggrav8d@S0106000b6a15cda1.vc.shawcable.net] has joined #emc
[23:13:39] <Connor_CNC> frankly I like using my joypad for X-Y jogging.. it's fast.. but, I wanted a MPG for more accurate stuff when doing setups and such.
[23:13:47] <tsingi> Connor_CNC: I program professionally in C and Python. I'm interested in hearing any problems you encounter with Python, because it's definitely the more elegant language.
[23:14:19] <tsingi> read, more fun.
[23:14:31] <andypugh> Functional whitespace is just misguided.
[23:14:45] <Connor_CNC> tsingi: No Real Issues at the moment.. I'm a webdev.. and do CNC/Robots for hobby.
[23:15:09] <Connor_CNC> Yea.. I can't stand the whitespace crap with python.. it's abouts as much of a pain as braces are. :)
[23:15:14] <tsingi> Connor_CNC: yeah, taht's kinda what I do too at the moment.
[23:15:55] <tsingi> I love the formatting, I'm a format maniac, and Python fits right into my idiosyncracies.
[23:15:55] -!- aggrav8d has quit [Ping timeout: 264 seconds]
[23:15:57] <Connor_CNC> hehe.. that's cool.. my main machine beeps when people address Connor_CNC even though it's logged in as Connor.
[23:16:19] <Connor_CNC> CNC machine has no speakers.
[23:17:28] <Connor_CNC> Well. At this point.. I have a functional DRO that will display both mm/inch depending on what Axis is set to. also displays in relative or machine coodinates. I have a XYZ rotary switch that sets the input for the MPG when hardwired.
[23:18:12] <Connor_CNC> Next is to set the multiplier, Feed Rate Display, Spindle Speed, and Overrides.
[23:18:47] <Connor_CNC> then add a few nice things like home, touch-off, spindle on/off etc etc.
[23:19:16] <Connor_CNC> I think it's about time to mount it in a box and get it off of the bread board.
[23:19:45] <Connor_CNC> okay, back in a while, need to go to the store.
[23:19:58] <tsingi> sounds like you have things well in hand
[23:20:02] -!- Valen [Valen!~Valen@ppp121-44-44-67.lns20.syd6.internode.on.net] has joined #emc
[23:21:12] -!- Tom_shop [Tom_shop!~Tl@unaffiliated/toml/x-013812] has joined #emc
[23:22:13] -!- Tom_itx has quit [Disconnected by services]
[23:22:19] Tom_shop is now known as Tom_itx
[23:27:07] -!- Valen has quit [Quit: Leaving.]
[23:30:19] -!- Tom_itx has quit [Ping timeout: 264 seconds]
[23:30:23] -!- Valen [Valen!~Valen@ppp121-44-44-67.lns20.syd6.internode.on.net] has joined #emc
[23:30:43] -!- elmo401 [elmo401!~Elmo40@CPE0017ee09ce6d-CM001bd7a89c28.cpe.net.cable.rogers.com] has joined #emc
[23:30:43] -!- elmo40 has quit [Ping timeout: 246 seconds]
[23:31:21] -!- stormlight has quit [Quit: stormlight]
[23:31:39] -!- Valen has quit [Client Quit]
[23:31:55] <tsingi> andypugh: I have written a usb driver, and it really isn't that hard, are there drivers needed for emc?
[23:32:18] <andypugh> What do you mean by "USB Driver"?
[23:32:39] <andypugh> What EMC2 could use is a realtime USB.
[23:33:04] <andypugh> ie, re-jig the protocol to be hard-realtime but using the standard hardware
[23:33:46] <tsingi> If you mean what I have done, a kernel driver plugin that basically reads a thrmometer. But I have access to a kernel developer in the off chance that I run into problems.
[23:33:57] <andypugh> Have a look at the USB20.. file here: https://www.rtai.org/RTAICONTRIB/
[23:34:05] <tsingi> OK.
[23:34:52] <andypugh> I think we would need a whole new kernel driver that uses the realtime code. (like all the other HAL drivers do)
[23:35:01] -!- elmo401 has quit [Ping timeout: 240 seconds]
[23:35:10] -!- Tom_shop [Tom_shop!~Tl@unaffiliated/toml/x-013812] has joined #emc
[23:35:23] <tsingi> I have a problem in that all my 32 bit machines are really old, so I may have to build a kernel. later
[23:35:25] Tom_shop is now known as Tom_itx
[23:36:04] <tsingi> So it might be fun to look into all that anyway.
[23:36:29] -!- stormlight [stormlight!~jasonandt@c-71-202-13-101.hsd1.ca.comcast.net] has joined #emc
[23:37:01] <andypugh> Kernel building is mainly an excercise in frustration, and watching the sun come up.
[23:37:57] <andypugh> Night all.
[23:38:06] -!- andypugh has quit [Quit: andypugh]
[23:41:02] -!- vladimirek has quit [Remote host closed the connection]
[23:45:12] -!- atom1 [atom1!~Tom@ip68-102-101-239.ks.ok.cox.net] has joined #emc
[23:52:29] -!- OoBIGeye has quit [Ping timeout: 260 seconds]
[23:52:35] -!- OoBIGeye [OoBIGeye!~kent@194-237-167-11-no48.tbcn.telia.com] has joined #emc
[23:52:39] -!- ries [ries!~ries@] has joined #emc
[23:55:34] -!- stormlight has quit [Quit: stormlight]