Back
[00:53:28] <tjtr33> how to shutdown BBB machinekit debian...05-19-2014 ? logout nfg, shutdown reports "timeout opening/writing control channel /run/initctl"
[00:59:35] <tjtr33> ^AltDel gets popup 'Failed to execute child process "lxtask" (Nosuch file or directory)'
[01:01:22] <tjtr33> frkn sudo reboot fails just like shutdown ( -h or -r )
[01:01:41] <tjtr33> yank power ! (sucks)
[02:08:55] <Deejay> moin
[03:05:12] <Loetmichel> mornin'
[03:05:32] <tjtr33> morning
[03:06:26] <tjtr33> just got wifi up on machinekit ( seems there a boatload of unknowns inthis BBB stuff )
[03:07:26] <tjtr33> like you have to reboot at least once before worrying about all the stuff that doesnt work.
[03:09:52] <tjtr33> the internet cnxn needed editing of /etc/network/interfaces and restarting services
[03:10:24] <tjtr33> the ugly bit is that the supplied netmgr 'Wicd' still says theres no wireless cnxn ( as i type this ;)
[03:10:36] <tjtr33> luckily i remembered Wicd was a POS
[08:17:32] <fenugrec> hmm... I was testing latency on a computer with the 10.04 live CD, and everything was going fine (~ 12us max jitter, 38ms max interval) until I tried running e2fsck as root on one of the hard drives. Then the max jitter instantly jumped up to 3ms !! Is this just because running e2fsck is a bit too aggressive? (before that I tried browsing the web, glxgears and a bunch of stuff without causing more than ~ 12-13 us max jitter...)
[08:20:39] <archivist_herron> it is a test to add to the list of nasty things to do to test latency
[08:22:09] <fenugrec> nasty indeed.... while e2fsck was running ("e2fsck -cfv /dev/sdb2") I could reset the latencytest stats and the max jitter would instantly go back to 3.8ms ... that's insane
[08:22:24] <fenugrec> Has anyone else ever tried this on a "known good" computer ?
[08:22:54] <archivist_herron> would you ever do that to a running cnc though
[08:25:00] <fenugrec> haha all the time !! No of course not. I was just "running the computer through its paces" as hard as I know how.
[08:25:16] <fenugrec> And wondering if that behavior indicates a real problem with this system
[08:28:22] <archivist_herron> one thing I found on a box was to grab the scroll bar in gedit with a large text file and scroll it
[08:29:34] <archivist_herron> there are so many things that can cause problems, I suppose a list somewhere would help, or avoid anything you can
[08:30:27] <archivist_herron> on one cnc I used to run a buildbot compiling while machining, that used to slow the forground but the machine was ok
[08:32:14] <fenugrec> ! pretty bold
[08:33:12] <fenugrec> I wanted to run a LAN fileserver but it's probably a bad plan
[08:42:26] <archivist_herron> networking should be ok as many use it one way or another
[08:45:30] <fenugrec> hmm I might try it after all. Maybe by nice-ing the server thread to a really low-priority level would be enough to avoid surprises
[08:55:21] * JT-Shop doesn't run anything else when LinuxCNC is "running"
[09:19:14] <Loetmichel> JT-Shop wimp ;-)
[09:19:35] <malcom2073> Heh, I crashed my machine when axis "locked up", and continued to run the axis to the end. I have softstops now :)
[09:19:41] * Loetmichel is using his cnc PC as video engocer while milling
[09:19:44] <malcom2073> I also don't run anything anymore when cncing
[09:20:30] <Loetmichel> https://www.youtube.com/watch?v=AkKHPsJtZlc
[09:20:42] <Loetmichel> https://www.youtube.com/watch?v=9u_ChO1AKYY
[09:20:45] <malcom2073> Loetmichel: yeah I've seen that video :)
[09:20:50] <malcom2073> Awessome remote setup
[09:20:53] <Loetmichel> works like a charm ;-9
[09:20:58] <pcw_home> not terribly surprising that fsck breaks realtime since there's not any reason for it to get along with other processes
[09:21:56] <Loetmichel> and that is an amd sempron with 2,x ghz
[09:22:01] <Loetmichel> nothing treally fast
[09:22:07] <Loetmichel> dualcore
[09:24:55] <pcw_home> disk errors can also cause mS latency spikes
[09:33:42] <skunkworks_> I agree with disk errors. Have seen it is person
[09:34:08] <skunkworks_> the system just hangs while trying to read/redirect...
[09:34:23] <skunkworks_> (had the mesa watchdog fire..)
[09:36:19] <pcw_home> Also not unlikely that fsck ties up things in protected regions for indeterminate times
[09:39:46] <tjtr33> maybe HDparam could make access worse but latency better for linuxcnc?
[09:39:47] <tjtr33> http://unix.stackexchange.com/questions/30286/can-i-configure-my-linux-system-for-more-aggressive-file-system-caching
[09:41:58] <t12> watch out with high dirty_ratio and dirty_background_ratio
[09:42:25] <t12> depending on the amount of memory its easy to get what amounts to io hangs for the flush time of the cache
[11:45:33] * Loetmichel just had a good laugh on bosses expense. he brought down a big 50" tv from his living room ti the co-worker: "look at it, no sound" ... co-worker tinkered 2 days "i cant find a fault!"... so i brought the tv back up today. connected it to the sat revciver: pic there, no audio. Volume at the TV at 100%... wait a moment... pushed Volume up at the revier: "ah, there is the audio!"
[11:46:07] <IchGuckLive> hi all b)
[11:46:14] <IchGuckLive> B)
[11:48:02] <IchGuckLive> not realy mutch action today on the channel logs
[12:29:38] <IchGuckLive> Germany leads 3:0 portugal O.O
[13:04:03] <IchGuckLive> hi kfoltman how is it
[13:04:10] <kfoltman> hi IchGuckLive
[13:04:21] <kfoltman> I didn't get my stepper driver yet
[13:04:37] <IchGuckLive> NP soon it will run
[13:04:42] <kfoltman> going to try with the one I have
[13:05:10] <IchGuckLive> be shure no main power till signal power
[13:05:18] <kfoltman> then I can borrow a flight suit and a space on a carrier and declare MISSION ACCOMPLISHED
[13:05:32] <IchGuckLive> did you cionsidder the cheep leadshine 542
[13:05:42] <kfoltman> IchGuckLive: I've heard so, but those drivers I have seem to be idiot-resistant :)
[13:05:53] <kfoltman> I'm using them with pretty weak power supply so maybe that's why
[13:06:02] <IchGuckLive> thats always nice at sartup
[13:06:22] <IchGuckLive> you shoudt invest the 30USD for the 24/5
[13:07:17] <IchGuckLive> did you get the last post from amazon yesterday
[13:08:00] <kfoltman> you mean your amazon link?
[13:08:17] <kfoltman> I was trying to find the same one on ebay, just to avoid import from the US
[13:08:30] <kfoltman> (they like to slap customs on US stuff more than the China stuff)
[13:10:05] <IchGuckLive> its always a miss we here in germany got realy good electronic supplers
[13:10:27] <IchGuckLive> but it is a miss to get things from china
[13:12:12] <kfoltman> IchGuckLive: I sometimes regret I'm not living in Germany (in terms of asking people for help, availability of gear etc.)
[13:13:07] <kfoltman> the Irish engineering scene is very sparse, and lot of people emigrated to Australia and other better-paying countries
[13:13:26] <kfoltman> on the other hand, life is much easier here
[13:13:47] <IchGuckLive> today we got some low shift change in the Hospial area at USAFB and now 6 american move from town with tears in there eys
[13:14:07] <kfoltman> IchGuckLive: low shift change?
[13:14:25] * kfoltman probably needs to translate to German back to English, but he can't :(
[13:14:38] <IchGuckLive> there are 2year and 5 year contracts on the US hospital
[13:15:26] <kfoltman> their contract has ended and they have to go back to US?
[13:15:56] <CaptHindsight> some US service people stationed in Germany don't want to come back to the US
[13:15:59] <IchGuckLive> they going to south korea to my knolige or elswhere
[13:16:09] <kfoltman> doesn't sound THAT bad
[13:16:23] <kfoltman> CaptHindsight: I can see why
[13:16:25] <IchGuckLive> CaptHindsight: 5 pentioners are aleady barried here at the graveyard
[13:16:35] <CaptHindsight> S Korea is nice as well
[13:16:41] <kfoltman> IchGuckLive: pensioners? buried? :P
[13:16:48] <CaptHindsight> ex-pensioners
[13:17:09] <kfoltman> CaptHindsight: yeah, I'd rather go to S Korea than US, but that's just me ;)
[13:17:23] <kfoltman> CaptHindsight: and definitely can get worse than that (Iraq anyone?)
[13:17:39] <IchGuckLive> last count at the election (town boss) gives 74 US personal as they can deside the person in town to be the mayor
[13:17:55] <IchGuckLive> 74 in town living and listed
[13:19:07] <CaptHindsight> it's sad watching the decline here, but most people don't notice, don't care or won't do anything about it
[13:19:25] <kfoltman> CaptHindsight: decline of what?
[13:19:34] <kfoltman> I would say "decline of entire civilization"
[13:19:42] <CaptHindsight> yeah
[13:19:50] <kfoltman> but I think US is declining faster than Europe
[13:20:18] <IchGuckLive> oh GE is trying to get ALSTROM a inner city railservice
[13:20:30] <IchGuckLive> so it wil lget better to the rich ;-)
[13:22:01] <IchGuckLive> ok im off party starts outside Soccer win 4:0 over the Top gamer Portugise
[13:22:18] <IchGuckLive> germany will be sinking in beer tonight
[13:22:23] <kfoltman> :D
[13:24:06] <CaptHindsight> there's beer in Germany?! :)
[13:24:27] <IchGuckLive> less then in hawai
[13:24:46] <IchGuckLive> more brewers there then in germany
[13:25:19] <IchGuckLive> ok BYE got to go party time
[13:25:36] <CaptHindsight> well when you include all the bad Hawaiian brewers
[13:26:01] <kfoltman> CaptHindsight: there's a quite sizable minibrewery scene in Ireland, too bad I hate beer :P
[13:27:17] <CaptHindsight> seems to be everywhere, lots of bad hops to get rid of, IPA's seem to be the "thing" now
[13:28:18] <CaptHindsight> I think it's like Starbucks, they figured out that most people don't know what good coffee is so they just burn it ...
[13:28:49] <CaptHindsight> so since they don't know what good beer is they just use lots of nasty hops and you have IPA
[13:30:09] <kfoltman> I don't think all of it is IPA
[13:30:29] <kfoltman> but then again, I hate beer
[14:22:21] <maZer`-> hi all :)
[15:04:12] <JT-Shop> hi
[15:05:56] <miss0r> I am having some serious difiulties suspending this brass plate properly for ingraving. What do you guys do?
[15:06:25] <LeelooMinai> Welding? :)
[15:06:49] <cradek> double stick tape
[15:07:05] <kfoltman> double stick pads
[15:07:12] <kfoltman> foam, like
[15:08:48] <miss0r> I am still a few 1/100mm off doing all that.
[15:09:10] <LeelooMinai> At least my suggestion would be rigid:p
[15:09:34] <miss0r> LeelooMinai: indeed, but the least accurate :)
[15:10:43] <LeelooMinai> Hmm, are those instructions valid:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?LinuxCNC_On_Ubuntu_Precise ?
[15:11:03] <LeelooMinai> I am at n. 8 and name -r returns generic
[15:11:26] <LeelooMinai> 3.11.0-23-generic
[15:11:35] <LeelooMinai> I think some steps are missing (?)
[15:12:47] <miss0r> I am no expert, but what do YOU think is missing?
[15:13:18] <LeelooMinai> My guess is that installing those rtai packages does not make the next boot to actually boot into new kernel
[15:13:57] <miss0r> LeelooMinai: it does
[15:14:21] <LeelooMinai> Well, I just followed those steps and it boots into generic one
[15:14:26] <miss0r> that is odd
[15:15:08] <miss0r> lilo or grub?
[15:15:13] <miss0r> (bootloader)
[15:15:44] <LeelooMinai> I did not even see bootloader asking for anything. I just installed normal 12.04 iso
[15:16:05] <LeelooMinai> Not sure what it installed there
[15:16:13] <miss0r> http://askubuntu.com/questions/100232/how-do-i-change-the-grub-boot-order
[15:16:24] <miss0r> try this
[15:19:50] <LeelooMinai> Right, somehow the rtai was not set as default:
http://i.imgur.com/F3HKRMp.png
[15:19:57] <LeelooMinai> I guess I need to move it to the top there
[15:21:09] <miss0r> Do what is needed. Might I reccomend that you add both your regular and the rtai to the list, so that if the rtai failes you can load the default again
[15:21:32] <LeelooMinai> Yes, ok, It booted fine though
[15:22:01] <miss0r> altighty then :)
[15:22:27] <LeelooMinai> Few hundred more steps
[15:23:16] <miss0r> waiting for cnc to complete brass design - watching horrible CNC fail videos online
[15:23:36] <LeelooMinai> I would not recommend them - you will have nightmares:)
[15:24:11] <miss0r> This one burned into my memory. you can actualy see the spindle being bend!
[15:24:21] <LeelooMinai> Some are both scary and funny - like finishing incricate and expensive looking milling and homing through the finished piece
[15:25:38] <LeelooMinai> http://i.imgur.com/rcqXX0Y.png <- and which one do I want?
[15:26:45] <miss0r> That is up to you - I only have general knowledge of linux, I installed linux cnc from the LiveCD easy peacy
[15:27:02] <miss0r> Might I ask why you are not doing that?
[15:27:32] <LeelooMinai> I did, but it's so ancient... I thought at least 12.04 is a bit newer
[15:27:50] <miss0r> why ?
[15:28:03] <LeelooMinai> Why what? :)
[15:28:13] <miss0r> do you feel like you need a newer version?
[15:28:50] <LeelooMinai> They have limited support - when support ends there are no updated packages.
[15:29:20] <miss0r> Yeah, so ? :)
[15:29:27] <miss0r> the one I was just crying about:
http://www.youtube.com/watch?v=DyNd_WeGJNI
[15:32:06] <miss0r> What do you need the updates for? My thinking: the cnc PC is for cnc only. You do not want to install all sorts of crazy on it. I wouldn't even reccoment it being online. So: When you have something that is working, why fix it?
[15:33:34] <miss0r> I am more than happy to help, I just don't understand your reasons to do it, is all. :)
[15:37:36] <fenugrec> huh... just installed from the 10.04 liveCD, now it's auto-offering me to update linuxcnc and a bunch of other packages
[15:37:38] <LeelooMinai> I just bought this PC - it's for CNC, but it's overpowered - I may want to use it for other things too
[15:39:47] <miss0r> LeelooMinai: alrighty. just let me know if I can be of service
[15:39:48] <mozmck> my router table is running 8.04
[15:40:06] <mozmck> no reason to upgrade since it still works fine.
[15:40:37] <fenugrec> I'm not sure I understand step 5 (
http://www.linuxcnc.org/index.php/download ) , "connect to net & get updates. [...] Do not update the ubuntu LTS version !", that means I shouldn't update the whole thing to 12.*, or I shouldn't update anything at all ? (isn't the liveCD based on an LTS version ?)
[15:41:43] <cradek> we need a picture of that screen. there are two update buttons, one that updates packages for this OS version, the other changes OS versions
[15:41:50] <mozmck> fenugrec: there are a number of LTS (Long Term Support) versions.
[15:41:56] <cradek> you want to push the first one, not the second one
[15:42:22] <cradek> if you have the screen in front of you, and you can supply better wording to make it clearer, I would appreciate it
[15:42:56] <fenugrec> cradek: right, I see what you mean - top button says "New release 12.04 is available - upgrade" (I won't), the other is "install updates" (under the list of packages I can check/uncheck)
[15:51:38] <zeeshan|2> anyone know where i can get a test bar
[15:51:40] <zeeshan|2> for a lathe cheap! :P
[15:52:03] <zeeshan|2> or a company who makes it
[15:56:39] <LeelooMinai> Hmm:
http://i.imgur.com/erdozVZ.png
[15:56:46] <LeelooMinai> Tried to run latency-test
[15:57:18] <LeelooMinai> I guess I need to set that locked memory limit higher, somewhere
[15:58:11] <LeelooMinai> Or maybe that module is not running at all?
[15:58:47] <LeelooMinai> Hmm
[16:06:15] <fenugrec> wtf !! I ran a latency test from the liveCD the whole day yesterday with all kinds of crap running, and now today (after installing to HDD), after 5 minutes messing with the system updates, a new latency test gives me like 3ms max jitter
[16:08:50] <fenugrec> (was 12us yesterday from the livecd)
[16:29:14] <Deejay> gn8
[16:33:24] <fenugrec> For the record : ubuntu 10.04 will NOT work on a PII 450MHz with 160MB RAM. Just not enough memory.
[16:33:57] <kengu> uhm. pretty low on memory
[16:35:33] <fenugrec> yeah, it would run a console-only OS fine, but ubuntu 10.04 as configured from the liveCD is just too heavy with all the fancy graphical stuff etc
[16:36:30] <fenugrec> I guess there's now truly, exactly nothing useful for that computer to do.
[16:37:24] <fenugrec> except play Doom and Descent on Win98 p-)
[17:10:55] <LeelooMinai> Anyone seen this?
http://i.imgur.com/EgIMf5c.png
[17:11:06] <LeelooMinai> I am following 12.04 + linuxcnc instructions
[17:11:35] <LeelooMinai> Cannot run latency-test
[17:28:51] <ssi> argh dammit
[17:29:04] <ssi> machine torch has a different thread for the consumables body than the hand torch does! D:
[17:29:09] <LeelooMinai> Ok, got it working after restart
[17:32:45] * JT-Shop wonders where to start cleaning off the desk
[17:33:19] <zeeshan|2> is 'x-files: i want to believe'
[17:33:22] <zeeshan|2> better than the first movie?
[17:36:59] * JT-Shop shutting down to dust keyboar
[17:37:35] <LeelooMinai> Any idea why I cannot enter 500 in that box (it reverts to 100). I also cannot enter 5050 in the fields above.
http://i.imgur.com/0svF3Yp.png
[17:39:46] <zeeshan|2> LeelooMinai: what stepper driver?
[17:40:11] <LeelooMinai> wantai dq542ma. I am trying to enter data from:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Stepper_Drive_Timing
[17:40:26] <LeelooMinai> The dialog does really want to let me enter those numbers...
[17:40:32] <LeelooMinai> doesn't
[17:40:57] <zeeshan|2> maybe restart stepconf?
[17:41:42] <LeelooMinai> Same thing
[17:41:54] <LeelooMinai> Damn... what kind of evil dialog is it:)
[17:41:59] <zeeshan|2> haha
[17:42:00] <zeeshan|2> so weird
[17:42:11] <zeeshan|2> maybe cliock
[17:42:14] <zeeshan|2> 'test base period jitter'
[17:42:18] <zeeshan|2> and then try? :p
[17:43:27] <LeelooMinai> Right, no...
[17:43:45] * LeelooMinai scratches the head
[17:45:05] <zeeshan|2> when you set other to
[17:45:13] <zeeshan|2> say..
[17:45:17] <zeeshan|2> gecko
[17:45:19] <zeeshan|2> what happens?
[17:45:30] <LeelooMinai> It grays all the timing inputs
[17:45:44] <zeeshan|2> you dont see any numbers?
[17:45:48] <zeeshan|2> when its greyed out
[17:46:05] <LeelooMinai> Seems like defaults are they, but freyed out and not selectable
[17:46:09] <LeelooMinai> are there*
[17:46:17] <zeeshan|2> yea
[17:46:24] <zeeshan|2> it seems like a bug in stepconf :P
[17:46:28] <PCW> try 5000,5000,5000,5000
[17:46:45] <PCW> 100 ns times are meaningless
[17:46:53] <LeelooMinai> Doesn't allow me to type the first 5000 - reverts to 100
[17:47:37] <PCW> maybe set the dir setup and hold first
[17:47:49] <PCW> (to 20000 or so)
[17:47:49] <LeelooMinai> Tried that too
[17:48:23] <JT-Shop> zeeshan|2, do you have something other then custom selected?
[17:48:31] <PCW> maybe start again with reasonable numbers
[17:49:23] <JT-Shop> opps you have to select "other" to be able to enter timing numbers
[17:49:37] <LeelooMinai> I can only type arbitrary Direction Setup number. The other 3 keep reverting to 100
[17:50:11] <LeelooMinai> Yes, I use "other"
[17:50:30] <JT-Shop> what number are you putting in dir setup?
[17:51:14] <JT-Shop> let me back up, what version are you using?
[17:51:18] <LeelooMinai> Tried 500, 20000, 5000 - same thing
[17:51:30] <ssi> rgh... had to turn around and buy a $300 consumables kit for this torch
[17:51:42] <ssi> I assumed when I bought it that it used the same consumables as the 45a torches, but it does not
[17:51:59] <JT-Shop> the max number is 500000 for any timing
[17:52:15] <JT-Shop> so back to "what version"?
[17:52:20] <LeelooMinai> I cannot type anything above 100...
[17:52:22] <ssi> that makes it an $800 machine torch... approaching the point where it would have been more cost effective to buy a whole plasma system
[17:52:37] <LeelooMinai> It's the latest 2.6 one
[17:52:41] <LeelooMinai> I just installed it
[17:52:42] <PCW> Yeah maybe version or something else global wrong
[17:52:53] <JT-Shop> yea 2.5 works
[17:52:58] <PCW> works for me (any number accepted)
[17:53:14] <LeelooMinai> Maybe I can edit the file this dialog creates.
[17:54:01] <JT-Shop> of course and that is expected that you will edit it after you get the initial configuration up and running
[17:55:57] <JT-Shop> LeelooMinai, you installed from buildbot or RIP?
[17:56:02] <PCW> 2.5.4 and 2.7-pre seem to work fine (any timing number > 50 and < 100000is OK)
[17:56:48] <LeelooMinai> I followed this:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?LinuxCNC_On_Ubuntu_Precise
[17:57:00] <LeelooMinai> Used 2.6-rt
[17:57:25] <JT-Shop> beyond me, I'm on 10.04
[17:57:47] <JT-Shop> please report your issue to the developer mailing list
[17:59:39] <LeelooMinai> any recommendation on pulse/rev setting for first config? My drivers have those switches:
http://i.imgur.com/FSgPfWj.png
[18:00:44] <LeelooMinai> Currently it's at 2500 - not sure if that is sane
[18:01:57] <JT-Shop> 400 = 1/2 micro stepping and I would start with 800 but don't go too high
[18:02:53] <JT-Shop> LeelooMinai, is there some feature you need in 2.6 or some reason to run 12.04?
[18:03:24] <LeelooMinai> Hmm, wait a minute. So that number that dialog is is not pulses per step?
[18:03:36] <LeelooMinai> that dialog wants*
[18:04:30] <LeelooMinai> "The amount of microstepping performed by the driver. Enter 2 for half-stepping"
[18:04:56] <LeelooMinai> O, wait
[18:04:59] <JT-Shop> which number in what dialog?
[18:05:18] <LeelooMinai> SO the dialog wants pulses per step and my driver lists pulses per revolution I think
[18:05:45] <LeelooMinai> So I need to divide that by 200
[18:06:10] <JT-Shop> different things, first you get to the "Basic machine information" page right?
[18:06:50] <JT-Shop> and you need to set the driver minimum step and direction timing
[18:07:29] <LeelooMinai> Hmm... what do you mean different things... I mean this info on my driver:
http://i.imgur.com/FSgPfWj.png
[18:08:09] <JT-Shop> that is how many steps per revolution not the step timing or how long a step must be
[18:08:09] <LeelooMinai> It's per revolution, while stepconf asks per step, so I need to divide what I have by 200 I think
[18:08:19] <JT-Shop> nope
[18:08:27] <LeelooMinai> Right, I am filling out Diver Microstepping field
[18:08:29] <JT-Shop> your confusing the two
[18:08:33] <LeelooMinai> Driver
[18:08:47] <JT-Shop> what page?
[18:08:56] <LeelooMinai> Axis X
[18:09:13] <LeelooMinai> I don't think I am confusing that
[18:09:18] <JT-Shop> ok on that page the key is Axis SCALE
[18:09:33] <JT-Shop> it must match the Pulse/rev on your sheet
[18:09:54] <JT-Shop> sorry no, times how many revs per user unit
[18:10:19] <LeelooMinai> I thought I will just give it microstepping and balscrew pitch and it will figure this out
[18:10:32] <JT-Shop> so if your pulse/rev is 400 and it take two revs to move 1 user unit then Axis Scale should be 800
[18:10:48] <JT-Shop> yes
[18:10:51] <LeelooMinai> For example, say I set the driver to 800 pulses per rev - that's 4 pulses per step, so I use that
[18:10:59] <JT-Shop> yep
[18:11:57] <JT-Shop> and your leadscrew pitch should get you the right scale
[18:12:12] <JT-Shop> you mm or inch?
[18:12:29] <JT-Shop> Machine Units?
[18:12:31] <LeelooMinai> I will use mm
[18:13:11] <JT-Shop> ok, I'm just following along with you, what is your leadscrew pitch?
[18:13:25] <LeelooMinai> Just looking that up
[18:13:29] <JT-Shop> mm/rev
[18:13:47] <LeelooMinai> Right, I need to find the purchase info
[18:13:53] <JT-Shop> ok
[18:14:18] <LeelooMinai> rm1605 lead 5
[18:14:22] <LeelooMinai> I guess that's 5mm
[18:15:04] <JT-Shop> that gives me 160 steps/mm
[18:15:36] <LeelooMinai> Yes, that's what I see too
[18:15:54] <JT-Shop> so 0.00625mm per step
[18:16:11] <LeelooMinai> Yes, I can adjust that later I guess.
[18:16:17] <JT-Shop> yep
[18:18:53] <JT-Shop> what stepper driver are you using?
[18:19:08] <LeelooMinai> wantai DQ542MA
[18:19:23] <LeelooMinai> cd
[18:19:24] <LeelooMinai> oops
[18:21:29] <JT-Shop> this one?
http://www.wantmotor.com/ProductsView.asp?id=257&pid=82
[18:22:16] <LeelooMinai> Yes
[18:23:05] <LeelooMinai> Hmm, ok saved and edited the file. Now I should test if the axis move I guess.
[18:23:28] <JT-Shop> yup
[18:26:32] <LeelooMinai> A, forgot to wire those enable signals
[18:48:08] <LeelooMinai> Hmm, the drivers put the red light on when enabled - that cannot be good
[18:49:26] <SpeedEvil> Unless it's flashing and accompanied by pounding bass.
[18:49:31] <LeelooMinai> They get 36V, so that's fine
[18:54:49] <LeelooMinai> I will double-check motor wiring
[18:59:34] <LeelooMinai> Motors are wired fine - weird
[20:50:58] <tjb1> Anyone know of a cheaper PLC off hand?
[20:51:25] <CaptHindsight> tjb1: cheaper than?
[20:51:35] <jdh> automation direct
[20:51:38] <tjb1> $100?
[20:51:45] <jdh> or linuxcnc + IO card
[20:52:39] <CaptHindsight> ebay used for that low
[21:02:17] <SpeedEvil> Or an arduino clone
[21:07:24] <Jymmm> BBB + lcnc ?
[21:07:46] <Jymmm> or that BBB+ardunio hybrid
[21:09:44] <SpeedEvil> BBB + LCNC - with PRU support would be awesome
[21:10:31] <Jymmm> pru?
[21:10:54] <SpeedEvil> The PRUs are two 200MHz 32 bit processors on-die.
[21:11:07] <SpeedEvil> They are designed for high-speed machine control and motor driving tasks.
[21:11:23] <SpeedEvil> Well under 1us jitter should be quite possible.
[21:11:39] <SpeedEvil> They are entirely decoupled from the main processor.
[21:12:19] <Jymmm> I have nfc you'ld have to shwo me
[21:13:02] <Jymmm> SpeedEvil: but dont go to any effort to do so
[21:13:25] <SpeedEvil> A BBB is quite slow. It would normally have performance similar to a slow PC under linuxcnc.
[21:13:39] <SpeedEvil> With the PRUs, it could be better than the fastest PCs.
[21:13:48] <Jymmm> links?
[21:14:03] <Jymmm> telling me "PRU" doesn't say anything to me.
[21:14:16] <Jymmm> I'd need to compare models
[21:14:22] <CaptHindsight> but the BBB has a weak GPU, no HD GUI for you!
[21:14:28] <SpeedEvil> http://processors.wiki.ti.com/index.php/PRU_Projects
[21:15:31] <Jymmm> SpeedEvil: So PRU isn't a chip things, it's a SW thing?
[21:16:33] <CaptHindsight> if they had only added a decent GPU to that SOC it would have been just about perfect, but then TI would probably charge $50 for it
[21:16:47] <Jymmm> SpeedEvil: which BBB has this PRU?
[21:17:00] <SpeedEvil> All of them
[21:17:09] <SpeedEvil> The BBB is only one processor
[21:17:23] <Jymmm> SpeedEvil: Then why did you say it like it was a special model of bbb?
[21:17:27] <SpeedEvil> The PRU are two processors on the same die as the main processor that runs linux.
[21:17:31] <SpeedEvil> I diddn't.
[21:17:46] <CaptHindsight> http://beagleboard.org/Products/BeagleBone+Black
[21:17:51] <SpeedEvil> Though I see it can be read like that
[21:17:53] <Jymmm> BBB + LCNC - with PRU support would be awesome
[21:18:04] <CaptHindsight> http://www.ti.com/product/am3358 the SOC
[21:18:09] <SpeedEvil> yes - in that you can install linuxcnc on the platform without supporting the PRUs
[21:18:12] <Jymmm> lcnc needs to have the PRU support you are saying?
[21:18:20] <CaptHindsight> Jymmm: that's what machinekit does
[21:18:32] <Jymmm> CaptHindsight: ?
[21:18:36] <CaptHindsight> but then you need a second PC as the HUI
[21:18:57] <Jymmm> CaptHindsight: machinekit? I've never touched bbb btw
[21:19:07] <CaptHindsight> http://blog.machinekit.io/p/machinekit_16.html
[21:19:32] <CaptHindsight> it's good for headless machines
[21:19:54] <CaptHindsight> machinekit also runs on x86
[21:20:07] <SpeedEvil> http://blog.machinekit.io/p/machinekit_16.html looks relevant
[21:20:10] <Jymmm> so you can just use a 2nd machine for the lcnc gui
[21:20:19] <SpeedEvil> I'm not sure what exactly it's doing with the PRUs
[21:20:19] <Jymmm> CaptHindsight: ^^^^^
[21:20:21] <CaptHindsight> http://www.youtube.com/watch?v=AK_OYoNOBDQ
[21:21:08] <CaptHindsight> but the other thing they tend to not mention is needing an expansion IO board called a cape/shield/sarape/cloak
[21:21:18] <CaptHindsight> so the final cost is high
[21:21:23] <Jymmm> CaptHindsight: Well, I used to do that with lcnc with the built in features
[21:21:42] <Jymmm> CaptHindsight: joystick on the "headless" box, and gui on a remote box
[21:22:57] <CaptHindsight> we are finishing up the cubie2 + hm2 FPGA so it will have lower total cost and support a HD gui
[21:23:33] <CaptHindsight> http://cubieboard.org/2013/06/19/cubieboard2-is-here/
[21:24:11] <CaptHindsight> should also work with
https://www.olimex.com/Products/OLinuXino/A20/ and similar
[21:24:44] <CaptHindsight> you get all the fun stuff of the BBB + cape/shield with a powerful GPU
[21:25:58] <CaptHindsight> http://www.bananapi.org/ could also work with this
[21:26:21] <Jymmm> CaptHindsight: When you say "HD GUI" what do you mean?
[21:26:35] <tjb1> Jymmm: What is BBB?
[21:27:03] <Jymmm> tjb1: you ask and leave, forget you! lol
[21:27:12] <tjb1> I was in wrong window when I did ctrl-w :P
[21:27:16] <CaptHindsight> high resolution high frame rate display for the user inteface like AXIS
[21:27:29] <Jymmm> CaptHindsight: via HDMI?
[21:27:36] <CaptHindsight> BBB =
http://beagleboard.org/Products/BeagleBone+Black
[21:27:49] <CaptHindsight> Jymmm: yes or VGA
[21:28:31] <Jymmm> CaptHindsight: Ppl are anal when it coems to HD is why I ask. They excpect movie/games at 40000000frame rate
[21:29:11] <Jymmm> CaptHindsight: I'm content with DVD quality
[21:29:37] <CaptHindsight> you can play HD games on the cubie2, Banana Pietc
[21:29:52] <Jymmm> I'm not a gamer
[21:30:19] <Jymmm> I need a framerate to define "HD"
[21:30:30] <Jymmm> or some other spec
[21:30:33] <CaptHindsight> the point is the BBB can't runa machine and display a decent GUI at the same time
[21:30:49] <Jymmm> can it play netflix?
[21:31:04] <Jymmm> streaming without jitter?
[21:31:07] <CaptHindsight> so you're limited to headless of low res and low frame rates
[21:31:14] <CaptHindsight> yes
[21:31:19] <Jymmm> ah
[21:31:37] <Jymmm> CaptHindsight: I'm not trying to be difficult, just "HD" alone is subjective =)
[21:32:04] <CaptHindsight> I'm used to having to explain things to children, no problem :)
[21:32:11] <Jymmm> so bascially bb is a unitasker
[21:32:16] <Jymmm> bbb
[21:32:32] <CaptHindsight> when it comes to graphics/video
[21:32:39] <Jymmm> good video or good motion, but not both =
[21:33:11] <Jymmm> does the video freeze up?
[21:33:27] <Jymmm> can you lower resolution to compenste?
[21:34:24] <CaptHindsight> 1-2 fps depending on res
[21:34:40] <Jymmm> 2fps on the highest or lowest res?
[21:34:50] <Jymmm> ...with motion
[21:34:54] <CaptHindsight> you'll have to try it and see
[21:35:11] <Jymmm> CaptHindsight: Oh, I thogught you were saying that is the result you got
[21:37:03] <CaptHindsight> no I really never got started on the BBB since the cubie2 and similar came out
[21:37:43] <Jymmm> CaptHindsight: I have enough on my plate as it is right now TYVM. Just had the rep bring me my replacement laser tube today... $1200 later.
[21:38:19] <CaptHindsight> just passing along the observations
[21:38:32] <Jymmm> CaptHindsight: no worries =)
[21:38:46] <CaptHindsight> you're probably better at finding deals on PC's
[21:39:13] <CaptHindsight> the BBB + shield is ~$150
[21:39:33] <CaptHindsight> the IO boards cost more than the BBB last i checked
[21:39:35] <XXCoder1> capt did you see latest design?
https://scontent-a-sjc.xx.fbcdn.net/hphotos-xpf1/t1.0-9/10427235_456337351177840_1505210135140562994_n.png
[21:39:43] <Jymmm> CaptHindsight: Heh, not so much anymore. I've been avoiding the IT World as much as possible =)
[21:39:50] <CaptHindsight> maybe someone in China has a $25 knockoff by now
[21:40:24] <CaptHindsight> $45 for BBB + $25 for a IO board would make more sense
[21:40:32] <Jymmm> CaptHindsight: There was a time when I would have a stack of 1U servers I got for like $4 for ALL of them =)
[21:41:29] <Jymmm> CaptHindsight: ...and NOT desktop mobo's either, full server mobo's with dual cpus, multi-core and obscene amounts of ram =)
[21:41:41] <Jymmm> remote mgnt built in, etc
[21:41:49] <Tom_itx> running what os?
[21:42:06] <Jymmm> Mostly CentOS
[21:42:16] <Tom_itx> doesn't do me alot of good
[21:42:17] <Jymmm> they came from the DC
[21:42:46] <Jymmm> Customer's wouldn't pay their bill, we got first dibbs on ethem =)
[21:43:11] <Jymmm> Cisco routers were expensive though, $10 =)
[21:45:24] <Jymmm> We had a nice lil network lab though =)
[21:47:17] <Jymmm> CaptHindsight: The most glorified thing I have now is a 24p gig switch and a ethernet/RS-232 over 3G adapter =)
[21:48:29] <Jymmm> the latter doubles as a serial over ethernet adapter too.
[21:51:50] <XXCoder1> lol
[21:54:02] <Jymmm> XXCoder1: wuuuuuuuuuut?
[21:54:19] <XXCoder1> wut on what?
[21:54:36] <Jymmm> XXCoder1: wut joos laffn bout willis?
[21:55:09] <XXCoder1> the difference of easy to access cheap stuff
[21:55:17] <XXCoder1> I can get pretty lot wood for free
[21:55:29] <XXCoder1> while you got nuts cheap prices on expensive stuff
[21:57:25] <Jymmm> XXCoder1: Eh, I guess it's subjective. =)
[21:57:34] <XXCoder1> indeed
[21:58:19] <XXCoder1> other guy said he gets free 8020 from friends
[21:58:22] <XXCoder1> I'd love that lol
[22:04:31] <fenugrec> arrrgh... running latencytest from the live CD was quite optimistic
[22:05:31] <fenugrec> now running the OS from the HDD, I'm getting ridiculous jitter
[22:08:40] <fenugrec> 3.8ms ? seriously ?
[22:10:29] <skunkworks_> fenugrec: did you install the closed source video drivers?
[22:11:37] <fenugrec> skunkworks_: no, I'll go check though. I assumed the linuxCNC live CD shipped with nouveau / vesa / other open drivers as default
[22:12:19] <fenugrec> skunkworks_: running from the liveCD worked great (12-13us jitter), either some configs changed or for some reason my HDD is screwing everything up
[22:13:06] <pcw_home> check the dmesg or SMART for HD errors
[22:13:34] <XXCoder1> I really need to test jitter on my pc
[22:14:35] <skunkworks_> afreed
[22:14:36] <skunkworks_> agreed
[22:15:29] <fenugrec> pcw_home: dmesg shows nothing HD-related, but whatdoyaknow : "RTAPI: ERROR: unexpected delay on task 1. [...] run latency test and resolve before continuing"
[22:15:51] <fenugrec> I didn't check if I had that error running from the liveCD
[22:18:50] <pcw_home> What MB? and do you have all the usual latency causes disabled (power management etc)
[22:20:13] <fenugrec> pcw_home: APM disabled, ACPI is enabled (not sure if needed; it worked as-is from the liveCD), no CPU scaling / throttling; there was a portaudio thread that was niced at -10 (other processes all at 0) so I re-niced to 0, mobo is Asus A8V-X with socket 939 Athlon64
[22:21:23] <fenugrec> one IDE HDD, USB Legacy is disabled; I have 1.5GB RAM and no swap so I know it's not paging out memory all the time.
[22:23:46] <fenugrec> I have the bad feeling it's very HDD-related
[22:25:28] <fenugrec> Any tips on analyzing HDD IO delays ? Can I / should I disable DMA altogether ?
[22:27:33] <fenugrec> (skunkworks_: hehe I forgot this has an ATI card; it's currently using "radeon" for a module. I think that's the open-source one, not the closed binary)
[22:28:59] <skunkworks_> look at the smart data...
[22:29:02] <pcw_home> PIO mode maybe worth a try but the only really bad HDD related latency I have seen is with a failing HDD
[22:31:01] <pcw_home> I may even have that MB (seems familiar)
[22:32:05] <fenugrec> skunkworks_: SMART quick info says "all good" but I'm running a surface test as we speak.
[22:46:53] <fenugrec> hmm there have been some "UDMA CRC errors"... I'll try swapping cables tomorrow. I'm off for now, later dudes
[22:49:48] <XXCoder1> heys
[22:50:08] <XXCoder1> wonder if theres any good article on how to make a good battery out of 2 bad lathium ion batteries?
[22:50:19] <XXCoder1> I know it tend to be one or two cells that go bad not all of em
[23:03:03] <CaptHindsight> XXCoder1: they usually tack weld the cylindrical cells to aluminum strips, there also a thermal sensor that opens the battery contacts if they get too hot
[23:04:16] <CaptHindsight> and laptop batteries have a serial smart switch so that they only charge and work when given the magic password
[23:04:51] <XXCoder1> not fixing laptop battery
[23:05:02] <XXCoder1> but jeez
[23:05:50] <XXCoder1> oh look
http://www.instructables.com/id/Cordless-drill---Improving-the-battery/ lol
[23:05:55] <XXCoder1> thanks though
[23:08:56] <XXCoder1> this is closer
http://www.astromart.com/articles/article.asp?article_id=587'
[23:09:07] <XXCoder1> *
http://www.astromart.com/articles/article.asp?article_id=587
[23:10:41] <Jymmm> XXCoder1: Hey, that battery is $34 from Sears+ tax
[23:11:01] <XXCoder1> yeah I have TWO bad batteries
[23:11:08] <XXCoder1> typicallyu its one or two cells that go bad
[23:11:13] <XXCoder1> so yah
[23:11:22] <Jymmm> XXCoder1: Yeah, both of mine are dieing
[23:11:51] <Jymmm> XXCoder1: IF I replace them, Ill toss in Ni-MH I think
[23:12:01] <XXCoder1> I dont know how to solder
[23:12:06] <XXCoder1> so probably out. dunno
[23:12:12] <Jymmm> if I can find low internal resistance ones tha tis
[23:12:20] <Jymmm> XXCoder1: really?
[23:12:32] <XXCoder1> yeah. well can sorta solder. not very good
[23:13:01] <Jymmm> XXCoder1: Just have a decent iron, and use liquid flux. A bottle will last firever
[23:13:18] <XXCoder1> flux is not familiar with me, whats it do
[23:13:25] <Jymmm> XXCoder1: People try to get away without the flux
[23:13:26] <XXCoder1> from what I gather it keeps metal pure
[23:13:37] <XXCoder1> and better contact?
[23:13:41] <Jymmm> When the heat hits it, it "cleans" the points of contact
[23:13:52] <Jymmm> be it the pcbor wire
[23:14:14] <Jymmm> it gets residue off the surface.
[23:14:41] <Jymmm> When you are all done soldering, you wash it off with alcohol and an acid brush or stiff toothbrush
[23:15:51] <XXCoder1> interestubg
[23:15:54] <Jymmm> If yu need to solder two fine wire together, dip them in flux, then tin them with solder individually. Then you can basically put the wire together, hit with soldering iron and they will be soldered.
[23:16:20] <XXCoder1> heh flux name do look funy to me :P but thanks
[23:16:28] <Jymmm> there is enough sodler resdue from tinning them to solder them together, and solder will always stick better to itself.
[23:16:54] <XXCoder1> yah tin I did before, makes it much easier even with no flux
[23:17:13] <Jymmm> Using flux makes the worse soldering job easier
[23:17:34] <Jymmm> NEVER acid flux though.
[23:17:46] <XXCoder1> nor any reflux lol
[23:18:03] <Jymmm> XXCoder1: This will last you forever
http://www.alliedelec.com/search/productdetail.aspx?SKU=70159768
[23:18:25] <XXCoder1> thanks
[23:18:25] <Jymmm> XXCoder1: you in the USA?
[23:18:28] <XXCoder1> yep
[23:18:34] <Jymmm> near a FRYS?
[23:18:56] <XXCoder1> not really, hour and half, be cheaper to order online
[23:19:27] <XXCoder1> my car blew top fasket or cracked head block so REALLY bad idea to drive there now.
[23:20:39] <Jymmm> XXCoder1: These go on sale periodically for $16
http://www.frys.com/product/4825190?site=sr:SEARCH:MAIN_RSLT_PG
[23:21:01] <XXCoder1> thanks
[23:21:21] <Jymmm> XXCoder1: cheap enough to buy a new one than to buy a repacement tip for $10-$15
[23:21:43] <XXCoder1> oh if solder dont heat up is it repairable?
[23:22:02] <Jymmm> all soldering iron have replaceable tips
[23:22:30] <XXCoder1> so if solder dont heat up its bad tip?
[23:22:45] <Jymmm> not necessarily
[23:23:00] <Jymmm> it's a $20 soldering iron, can't expect much =)
[23:23:06] <XXCoder1> lol ok
[23:23:23] <XXCoder1> well night
[23:23:27] <Jymmm> and these work MUCH better than a sponge
http://www.dollartree.com/household/cleaning/cleaning-tools/Scrub-Buddies-Stainless-Steel-Wire-Scourers-3-ct-Packs/500c501c508p336380/index.pro?method=search
[23:24:11] <Jymmm> you can buy the ones that say "solder tip cleaner" and pay $15, or three of those for $1
[23:25:04] <Jymmm> XXCoder1: ^^^^^^^^^
[23:30:59] <CaptHindsight> XXCoder1: how much compression were you running?