#linuxcnc | Logs for 2013-11-27

Back
[01:22:48] <Loetmichel> mornin'
[02:08:46] <_DJ_> moin
[02:18:14] <kengu> morning
[05:27:55] <jthornton> http://intuwiz.com/
[05:29:02] <archivist> wot no gear routine
[05:29:48] <jthornton> dang your fast
[05:29:52] <jthornton> I'll ask them
[05:30:56] <archivist> I saw no mention of rotary
[05:31:26] <archivist> and usually people do gear the wrong way..see cambam
[05:32:29] <kengu> what about cambam
[05:33:25] <archivist> look how it creates a gear
[05:36:22] <archivist> usually cam has no clue about form tools and rotaries
[05:50:23] <jthornton> anyone on a Ubuntu computer try and generate some code for facing and see if it works
[05:50:35] <jthornton> it works on my windoze box but not here
[05:53:06] <jthornton> there it goes working
[06:09:48] <archivist> who are they/ what are they selling :)
[06:10:47] <jthornton> doesn't seem to be selling anything
[06:11:11] <jthornton> the guy emailed me to ask if he could be a user on the forum???
[06:12:12] <archivist> a google tells me there are some russian versions
[06:26:24] <skunkworks> http://www.cnczone.com/forums/vertical_mill_lathe_project_log/200960-hardinge_chnc_ii_sp_conversion_mach_3_a-4.html#post1387856
[06:27:07] <skunkworks> my final reply
[06:27:08] <skunkworks> http://www.cnczone.com/forums/vertical_mill_lathe_project_log/200960-hardinge_chnc_ii_sp_conversion_mach_3_a-5.html#post1388062
[06:33:32] <archivist> looking at one of his lines, re support after sale, we do have one or few that can do that for him
[06:34:52] <jthornton> but he can't even find the manual!
[06:35:25] <archivist> and I dremel a groove into a bearing then use a chisel to snap it, no damage to original assembly
[06:36:21] <archivist> but someone pointed him at the manuals !... some would be dangerous with a brain
[06:48:06] <kengu> http://www.ebay.co.uk/itm/IR-808-980nm-1064nm-YAG-diode-fiber-laser-safety-goggles-protection-glasses-CE-/221268986020 any good?
[07:57:57] <MacGalempsy> hello:-)
[07:58:40] <archivist> what have you made so far on the mill
[07:58:51] * archivist ducks
[08:00:21] <skunkworks> ozone?
[08:00:49] <skunkworks> heat?
[08:07:15] <gonzo__> swarf
[08:45:04] <MacGalempsy> been on vacation this week
[08:46:08] <MacGalempsy> but before leaving everything was wired and ready to continue programming
[08:46:53] <MacGalempsy> so far the mill has made me smile!
[08:52:55] <MacGalempsy> still having issues getting pid tuning, but maybe a fresh take on things may help
[10:37:07] <CHNCguy> Hello Hello! ;)
[10:37:55] <CHNCguy> Hello, I am retrofitting 2 CHNC lathes, I would like to try out linuxcnc for the operating system.
[10:37:55] <CHNCguy> I am throwing out a request for someone to help me set up the machine, I will pay them for their expertise.
[10:37:55] <CHNCguy> I am familiar with mach 3, but not with linux cnc. I am sure I can figure out how to run programs and use the interface.
[10:37:55] <CHNCguy> What I need help is the tool changer, setting up the spindle, choosing the right motion controller cards, and interfacing all the inputs and outputs.
[10:37:55] <CHNCguy> I would prefer someone that is an expert at linuxCNC.
[10:37:55] <CHNCguy> Thanks!
[10:37:56] <CHNCguy> Mike
[10:40:34] <Jymmm> As in fly them out to your location on your private jet?
[10:40:53] <CHNCguy> LOL no...
[10:41:22] <Jymmm> you want them to take the bus?
[10:41:38] <CHNCguy> Help online ;)
[10:41:49] <CHNCguy> e-mails and such ;-)
[10:42:03] <skunkworks> CHNCguy, are you this guy? http://www.cnczone.com/forums/vertical_mill_lathe_project_log/200960-hardinge_chnc_ii_sp_conversion_mach_3_a-5.html#post1388062
[10:43:03] <Jymmm> ONE BILLION DOLLARS <pinky to corner or mouth>
[10:43:05] <archivist> welcome to the bright side :)
[10:45:05] <CHNCguy> yes
[10:45:15] <skunkworks> (I am samco...)
[10:45:17] <CHNCguy> yes skunk thats me ;)
[10:45:22] <CHNCguy> wazup samco!
[10:45:27] <CHNCguy> i just emailed ya LOL
[10:45:56] <Connor> FYI. I find LinuxCNC to have BETTER support than Mach3. You just have to know where to look. :) *hint* You found it.
[10:46:17] <CHNCguy> Haha ya I figured an IRC channel would be loads better than a forum
[10:47:00] <CHNCguy> So first off, what motioncontroller should I be looking at? I have a lot of I/O's inputs just for the tool changers
[10:47:10] <Connor> CHNCguy: Depends. Really good for asking very specific questions and getting a response. Bad for getting a large pool of opinions or overly broad questions.. IMHO anyways..
[10:47:25] <CHNCguy> True
[10:47:27] <Connor> What sort of Computer you using ?
[10:47:40] <CHNCguy> Linux LOL
[10:47:43] <Connor> MESA would be the way to go.. lots of I/O for everything
[10:47:50] <skunkworks> CHNCguy, first - linuxcnc doesn't really use 'motion controllers' because linuxcnc is the motion controller... but mesa interface cards
[10:48:01] <CHNCguy> ok, interface cards
[10:48:03] <skunkworks> *I use
[10:48:23] <CHNCguy> I will be using a normal pc, got any recommendations? Hardware wise?
[10:48:30] <Connor> Asking about the CPU.. as in the power of it.. Atom based board, DELL, etc etc..
[10:48:38] <CHNCguy> probably DELL
[10:49:03] <Jymmm> latency test
[10:49:22] <CHNCguy> I heard of this within linuxcnc
[10:49:23] <Connor> Allot of people like using the cheap Atom based boards + MESA cards.. but, Atom's are getting hard to find and are getting more expensive.
[10:49:45] <CHNCguy> Never heard of atom based boards...im not so much a linux user
[10:50:01] <Connor> Yes. LinuxCNC uses a Real Time Kernel. Latency tests that and sees how good it is etc..
[10:50:08] <Jymmm> Intel Atom CPU based motherboards.
[10:50:09] <Connor> Atom.. Intel's Atom CPU.
[10:50:30] <Connor> Not linux specific. Just a cheap chip & motherboard combo.
[10:50:49] <Connor> Very popular with the Netbooks.
[10:50:52] <CHNCguy> Yup i just need something reliable, these will be put back into production
[10:51:50] <Connor> So, you don't have a computer for this project yet then?
[10:53:19] <Jymmm> http://www.newegg.com/Product/Product.aspx?Item=N82E16813121442
[10:53:23] <CHNCguy> I do, have many...
[10:53:33] <CHNCguy> but they were all geared for mach 3 not linuxcnc
[10:53:47] <Connor> Jymmm: Can't get that one anymore.. :(
[10:53:55] <Connor> I wish I could.. would like 1 or 2 more.
[10:54:07] <CHNCguy> :( not in stock....anything close?
[10:54:41] <CHNCguy> what about this? http://www.newegg.com/Product/Product.aspx?Item=N82E16813157228
[10:55:09] <Connor> Not sure how AMD's do.. never tried one..
[10:56:17] <pcw_home> The e350s are decent
[10:56:18] <skunkworks> what do you mean - geared towards mach?
[10:56:47] <skunkworks> throw the linuxcnc livecd in and see how it perfroms latency wise
[10:56:53] <CHNCguy> got a link pcw_home?
[10:56:56] <Connor> Anyone know how this board does ? http://www.newegg.com/Product/Product.aspx?Item=N82E16813135339
[10:58:23] <pcw_home> This should be nice when it become available
[10:58:32] <CHNCguy> Heres this one? http://www.newegg.com/Product/Product.aspx?Item=N82E16813135334
[10:58:36] <pcw_home> http://ee.gigabyte.com/products/page/mb/ga-c1037un-eurev_10/
[10:58:36] <Connor> Looks like the D2500 Chip is tad faster than the D525 and tad lower power.. and doesn't do hyper threading which is a BONUS for linuxcnc
[10:59:21] <Connor> http://www.cpu-world.com/Compare/734/Intel_Atom_D2500_vs_Intel_Atom_D525.html
[11:00:04] <pcw_home> the Baytrail Atoms should be good as well but just getting released
[11:00:06] <pcw_home> (say 2x 525/2500 speed and Intel graphics)
[11:00:30] <CHNCguy> Yet for a cnc lathe, what would work great?
[11:01:06] <Connor> I'm liking the 2500.. No HDMI interface.. more closely resembles the 525
[11:01:19] <pcw_home> Many motherboards should work fine (even the ones you already have )
[11:01:37] <pcw_home> download the live CD and run the latency test
[11:01:40] <Connor> That too.
[11:02:33] <Jymmm> CHNCguy: Touch Screen???
[11:02:47] <CHNCguy> YES touchscreen
[11:02:58] <CHNCguy> What latency is good?
[11:03:06] <pcw_home> If you are not using software step generation (you have some added hardware) latencies in the 50 to even 100 usec region should be OK
[11:03:07] <Jymmm> None =)
[11:03:57] <CHNCguy> Ok no latency, ill see how it is. What about using touchscreen?
[11:04:09] <skunkworks> And to throw pcw_home under the bus - he is the mesa dude.. (his support is awesome)
[11:04:26] <Jymmm> CHNCguy: No latency is like unicorn... doesn't exist =)
[11:05:31] <CHNCguy> LOL ;)
[11:05:53] <skunkworks> where did my coffee cup go?
[11:05:54] <Jymmm> CHNCguy: lower is better, 50-100 ok, <20 AWESOME, But run the latency test for a FULL 24 hours to be sure
[11:06:55] <CHNCguy> Ok, so if I wanted to run a touchscreen, would the atom work?
[11:07:09] <Connor> Yes
[11:08:56] <CHNCguy> Anyone know the name of those small pcs, that were like a small box with PSU and eveything together?
[11:09:42] <Connor> Just build your own.. those won't work unless they have a PCI slot.
[11:09:47] <Jymmm> Mini-ITX ?
[11:14:03] <archivist> CaptHindsight, you like ink jets fleabay 231103735629
[11:14:31] <CHNCguy> So the mesa cards work with the PCI slots?
[11:14:57] <skunkworks> or pcie
[11:15:09] <Connor> PCI, PICE, or a parallel port
[11:15:15] <CHNCguy> Also, is linux cnc realtime if lets say, I use a hybrid stepper with encoder feedback?
[11:15:20] <Jymmm> archivist: But does it do Letter/A4 size?
[11:16:07] <Jymmm> archivist: And it looks like it runs windows =)
[11:16:49] <Connor> Depends on the setup. Allot of the hybrid's simply use the controller to handle the closed loop.. and the computer simply sends step/dir. which CNC will support.
[11:17:00] <archivist> CHNCguy, I would be using servos on a machine like that
[11:17:06] <Connor> Ive seen some advanced configurations, were linuxCNC handles the encoder feed back too..
[11:17:16] <Connor> but, servo would be better in that case.
[11:17:17] <skunkworks> CHNCguy, doesn't the chnc have servos?
[11:17:41] <CHNCguy> It had servos, not anymore, they were gone.
[11:17:47] <CHNCguy> And they were bad too
[11:17:55] <CHNCguy> This is was I got http://www.cnc4pc.com/Store/osc/product_info.php?products_id=514
[11:18:11] <CHNCguy> but their leadshine not keling
[11:18:52] <Connor> okay. So do they just use step/dir input ?
[11:18:56] <CHNCguy> Yes
[11:19:00] <Connor> then your good to go.
[11:19:05] <Connor> I assume they have a fault output?
[11:19:16] <CHNCguy> Yes and they auto correct so no missed steps
[11:19:33] <CHNCguy> No overshoot, settling time, or tuning needed with these
[11:20:32] <Connor> should work. have mesa generate step/dir. Wire the fault I/O into mesa so linuxcnc will know if something goes wrong.. and you have closed loop to your controller, but not to linux.
[11:20:51] <pcw_home> but not fully closed loop either (so you dont know how good their tuning is)
[11:21:18] <Connor> Yea. Closed loop to the motor controller. :) Not the Machine Controller.
[11:21:28] <Connor> big difference.
[11:21:37] <CHNCguy> That is true, I am rebuilding these machines to hold 0.0001" so accuracy and repetability is a must
[11:22:13] <pcw_home> original drives and motors gone?
[11:22:14] <Connor> I kinda like the idea of dual closed loop. Encoder on the servos for PID, and glass scales on the Axis..
[11:23:00] <CHNCguy> Yes they are gone
[11:23:11] <skunkworks> where they gone? ;)
[11:23:18] <CHNCguy> sold LOL :)
[11:23:35] <CHNCguy> Im on mesas site, which cards would I need?
[11:23:53] <Connor> depends. first.. PCI or PCIE ?
[11:24:08] <Connor> Then, Servo's or Steppers
[11:24:24] <CHNCguy> PCI
[11:24:32] <Connor> Okay.. so 5I25
[11:24:36] <CHNCguy> Steppers (technically, but they are closed loop)
[11:25:24] <CHNCguy> cant find the 5i25 got a link?
[11:25:26] <Connor> 7I76 Step/OI with additional I/O including Spindle analog -10/+10
[11:26:16] <CHNCguy> would the 7I76e work?
[11:26:23] <Connor> http://store.mesanet.com/index.php?route=product/product&path=83_84&product_id=215
[11:28:08] <Connor> not sure how the Ethernet support is.. the combo a linked to is one of the most widely used combos
[11:28:13] <Connor> and well known and supported.
[11:28:52] <skunkworks> that gives you 48 i/0 5 axis step/dir 1 analog output and 1 endoer input. (and it is expandable....)
[11:29:12] <skunkworks> ethernet is in the works - but a ways out
[11:29:33] <Connor> buy another daughter cards and you can double that.
[11:29:49] <CHNCguy> That should work then, do I have to buy 2 sets then?
[11:29:57] <Connor> 1 for each machine. yes.
[11:30:00] <skunkworks> right
[11:30:21] <CHNCguy> Well I meant I will most likely need about 35 inputs alone
[11:30:34] <Connor> Why so many?
[11:31:09] <CHNCguy> I wanted to pushbuttons, but i was thinking for mach 3, but if I get touchscreen and linuxcnc, then only need a few
[11:31:25] <skunkworks> that board has 32 in - 16 out
[11:31:51] <CHNCguy> Ill get the sets
[11:31:56] <Connor> okay.. for that... then... you want this too..
[11:32:05] <Connor> looking for the MPG card.. one second.
[11:32:12] <CHNCguy> k
[11:32:21] <skunkworks> you do though have 2 ports on the 5i25 - only taking up one with the 7i76
[11:32:40] <CHNCguy> I see now in the pics the second port
[11:32:45] <Connor> 7I73
[11:33:12] <Connor> http://store.mesanet.com/index.php?route=product/product&filter_name=7I73&product_id=116
[11:33:26] <Connor> add that to have a MPG and use for multiple buttons etc etc.
[11:34:04] <Connor> frankly.. I would do 5i25 + 7i76 + 7i73 combo..
[11:34:11] <CHNCguy> Ok, ill grab those
[11:34:18] <skunkworks> CHNCguy, this was all done with mesa and linuxcnc http://www.youtube.com/watch?v=39q6kvrSBSk
[11:35:13] <CHNCguy> I saw that great video, pretty cool ;)
[11:36:29] <Connor> The 7I73 is a remote real time pendant or control panel interface.  The 7I73 uses a high speed real time RS-422 link for host communications and can support update rates up to 10K updates per second so there is no detectable delay or roughness in the control panel or pendant interface.  The 7I73 supports up to four 50KHz encoder inputs for MPGs, 8 digital inputs and 6 digital outputs and up to a 64 Key keypad.  If a smaller keypad is used, more digital in
[11:37:06] <CHNCguy> Wow, should work fine then.
[11:37:31] <CHNCguy> Im settling on this, gonna work? http://www.newegg.com/Product/Product.aspx?Item=N82E16813135334
[11:37:51] <CaptHindsight> archivist: if the printheads are still ok that model has at least 6 that are ~$2kea new
[11:38:16] <skunkworks> CHNCguy, we don't know until someone actually runs a latency test on it... You may be the first...
[11:38:25] <Connor> I would do the other one I pointed out.. no HDMI, includes a parallel port for EXTRA I/O and n hyper theading which you don't want.
[11:38:27] <archivist> CaptHindsight, worth it for spares, was even thinking servos etc
[11:38:43] <CHNCguy> which one connor?
[11:39:04] <Connor> http://www.newegg.com/Product/Product.aspx?Item=N82E16813135339
[11:39:13] <Connor> looks very similar to the original 525 boards.
[11:39:36] <Connor> standard vga, 4 USB and sound.. not that you need sound..
[11:40:12] <CHNCguy> ok, ill switch to that one ;)
[11:40:18] <Connor> You might grab 1 each and run latency tests and see which one works better.. :)
[11:40:42] <CHNCguy> lol ok they are pretty closely matched in price
[11:40:48] <Connor> Both use DDR3 1066 memory.. so,
[11:41:24] <CaptHindsight> archivist: they sound really tired of it and don't expect much
[11:41:46] <CHNCguy> Connor: You got a link to a decent PSU
[11:41:52] <Connor> one sec..
[11:42:44] <Connor> http://www.newegg.com/Product/Product.aspx?Item=N82E16811154091
[11:42:47] <archivist> CaptHindsight, about 30 miles from me, dunno what they would think if someone turned up with spanners :)
[11:42:52] <Connor> case + PSU
[11:43:13] <CaptHindsight> archivist: it's a hybrid flatbed so you could add a z-axis and make a really big 3d polymer-jet printer
[11:43:33] <CHNCguy> nice, will the PCI mesa card fit in there?
[11:44:10] <Connor> should yes.. I think you can even get that with low profile.
[11:44:12] <archivist> CaptHindsight, shame I dont have anywhere to put it, or the cash to carry it somewhere
[11:44:27] <CaptHindsight> archivist: heh, take out the parts you want and have a scrap yard take the rest
[11:44:34] <Connor> Are you going to build a enclosure for the drivers etc ?
[11:44:49] <Connor> some people mount the mobo in that..
[11:44:52] <Connor> I did with my mill..
[11:44:56] <Connor> let me find a picture.. brb
[11:46:15] <CHNCguy> Ya I will build one ;)
[11:48:06] <Connor> http://www.cnczone.com/forums/attachments/benchtop_machines/158332d1335297187-connors_g0704-enclosure_small.jpg
[11:48:46] <Connor> Large rack mount case.. holds my mini-itx, stepper drivers. stepper PSU, motor controller.. everything in fact..
[11:49:01] <Connor> Not using MESA.. just pport and break out board..
[11:49:03] <CaptHindsight> archivist: http://www.ebay.com/itm/like/151172158359?lpid=82 new printheads
[11:49:42] <archivist> erm....ouch
[11:49:50] <archivist> profit :)
[11:50:35] <CHNCguy> nice pic Connor, Im planning on mounting everything on the back of the Lathe, in a box that I will make.
[11:50:36] <Connor> but.. that PSU in that case I linked too is SMALL.. and the case + psu is equal to most costs of larger PSU's.. so.. even if you do mount it in a larger enclosure.. the PSU could still be used.
[11:51:25] <Connor> so. You might grab it anyway.. and use it with the mobo while putting everythign together.. and then move it into enclosure afterwards.
[11:52:06] <Connor> http://www.ivdc.com/cnc/cnc5.jpg
[11:52:37] <Connor> you can see mine inside the enclosure on my router..
[11:53:51] <CHNCguy> I like it ;)
[11:54:51] <Connor> I ended up putting draw rails in.. and it pulls in and out.. with a folding arm on the back to hold the cables.. made from paint sticks and hinges :)
[11:55:19] <Connor> I don't think I have a picture of it extended out.. should take one..
[11:55:33] <CHNCguy> Nice ;) Mcguyver ;D
[11:55:38] <CHNCguy> http://www.newegg.com/Product/Product.aspx?Item=N82E16817153165 would this work ok?
[11:56:23] <Connor> should yea.
[11:56:45] <Connor> Bit overkill.
[11:57:02] <CHNCguy> only 40 bucks ;)
[12:00:46] <CHNCguy> Ill be buying everything now ;)
[12:01:28] <CHNCguy> I need a HD right? Didnt see any built in HD for the boards
[12:02:10] <CHNCguy> what does linux like to have, stock hd? 5400rpm?
[12:02:26] <CHNCguy> (I have no linux experience) I appreciate the help :D
[12:03:25] <CHNCguy> Anyone got a good suggestion on a touchscreen?
[12:05:00] <Connor> I would go for a 60GB Solid State Drive..
[12:06:56] <IchGuckLive> Hi all
[12:07:02] <CHNCguy> sup ;)
[12:07:33] <IchGuckLive> oh a new cnc men hi CHNCguy
[12:07:49] <CHNCguy> HI HI :)
[12:07:55] <IchGuckLive> im in germany
[12:08:24] <skunkworks> CHNCguy, where are you located?
[12:12:12] <IchGuckLive> oh yeh retrofit of a Lathe using linuxcnc is fun and staying on leadshine and 5i25 7i76 is quite good to go
[12:12:54] <CHNCguy> Im in florida USA :)
[12:13:24] <IchGuckLive> i always use fujitsu siemens 5915 or 5925 for the cnc
[12:13:41] <IchGuckLive> my 100+ education mashines are on IBM A50p
[12:13:55] <IchGuckLive> all stuff pc is below 60Euros
[12:14:23] <IchGuckLive> CHNCguy: i use leadshine in all real mashines 2
[12:14:45] <CHNCguy> Cool, how are you liking them?
[12:15:05] <IchGuckLive> they are cheep and doing all you need for a long time
[12:15:11] <IchGuckLive> M880a
[12:15:28] <IchGuckLive> this is twise as fast as the M542
[12:15:53] <IchGuckLive> try to get 75V on the system
[12:16:05] <CHNCguy> I have 76volts PSU
[12:16:07] <mozmck> CHNCguy: any harddrive will work.
[12:16:25] <mozmck> That the MB supports anyhow.
[12:16:40] <CHNCguy> good point
[12:16:53] <CHNCguy> I like the smoothness of the leadshines, with feedback
[12:17:00] <CHNCguy> any accuracy issues GUCK?
[12:17:06] <IchGuckLive> CHNCguy: did you loook on the hardware side in the wiki#
[12:17:33] <CHNCguy> For somereason, when I read through the linux wiki it confuses me lol
[12:18:28] <IchGuckLive> CHNCguy: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Latency-Test
[12:19:03] <IchGuckLive> CHNCguy: no problem with accuracy at mesastuff on 7,5m/min at 0,01mm
[12:19:11] <CHNCguy> nice
[12:19:18] <IchGuckLive> i use 3Nm steppers
[12:19:58] <CHNCguy> mine are 8nm ;)
[12:20:25] <IchGuckLive> will work in direct drive
[12:20:32] <CHNCguy> I needed large ones because at 3krpm they will be 1.2nm which are the stock strength of the servos that were on it
[12:20:48] <CHNCguy> Mine are reduced I think 4 to 1
[12:21:24] <CHNCguy> do you use ssd or hdd?
[12:21:30] <IchGuckLive> hdd
[12:21:41] <IchGuckLive> 40Mb
[12:21:52] <Connor> sorry.. had to reboot.. I use SSD in my machines..
[12:22:00] <IchGuckLive> its a lathe not a Video cutter
[12:22:08] <CHNCguy> LOL no worries ;)
[12:22:25] <Connor> vibration doesn't affect them..
[12:22:43] <IchGuckLive> the pc is not in the mill or lathe
[12:22:44] <Connor> runs cooler.. no moving parts..
[12:22:45] <CHNCguy> reliability wise, ive had issues with SSD, not in cnc machines though
[12:23:35] <CHNCguy> so u guys running a touchscreen?
[12:24:02] <IchGuckLive> no i use a panel as the 7i76 got all the stuff to put there
[12:24:17] <IchGuckLive> plenty of inputs
[12:24:33] <IchGuckLive> and you might consiter a gamepad for free moving
[12:25:01] <IchGuckLive> this ads 12 more buttons
[12:25:41] <IchGuckLive> normal lathe only got a 2 axis jog joystick
[12:25:42] <CHNCguy> ill most likly use a MPG, but keep a touch screen, with doing all the tool offsets and tool changes onscreen, its more streamline
[12:26:10] <IchGuckLive> you are coming from mach i guess on your answers
[12:26:48] <CHNCguy> yup
[12:26:49] <CHNCguy> LOL
[12:27:24] <CHNCguy> I never used linuxcnc as of yet. I like the interface and setup though, and it looks and feels more industrial (pro) then mach 3.
[12:28:09] <IchGuckLive> you can use whatever touchscreen linux Ubuntu runs on and connect it to linuxcnc via a python script
[12:28:19] <Tom_itx> plus you get to hang out with us
[12:28:50] <CHNCguy> True tom ;)
[12:29:05] <IchGuckLive> CHNCguy: halui is your best fiend on this
[12:29:32] <CHNCguy> ill order up the hardware today, except for the touch screen, and get that last ;)\
[12:29:35] <IchGuckLive> see integreaded manual page 156...
[12:29:45] <CHNCguy> got alink guck?
[12:30:05] <IchGuckLive> what system are you on
[12:30:24] <CHNCguy> for os?
[12:30:48] <IchGuckLive> i thought ypouve been already connecting to us via the linuxcnc 10.04
[12:31:28] <CHNCguy> ummmm no....
[12:31:34] <IchGuckLive> restart your PC with the linuxcnc livecd and connect to us again
[12:31:44] <IchGuckLive> then you got all the fine stuff inside
[12:31:49] <CHNCguy> I like windows for everyday use, and will use linux for cnc ;)
[12:32:26] <IchGuckLive> i thown out all windof PC in 2008
[12:33:26] <IchGuckLive> ok wait i get you a link
[12:33:33] <CHNCguy> k
[12:34:15] <CHNCguy> for instlalling the linux on a ssd, do you just install like a regular OS, install cd and run it?
[12:35:50] <IchGuckLive> http://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&ved=0CEkQFjAD&url=http%3A%2F%2Fwww.linuxcnc.org%2Fdocs%2F2.4%2FEMC2_Integrator_Manual.pdf&ei=VDeWUuj6FKeEyQOB-oA4&usg=AFQjCNFuOSf5gl3vbW0ZRH5kTnfuyUtlNQ
[12:36:15] <IchGuckLive> http://www.linuxcnc.org/docs/2.4/EMC2_Integrator_Manual.pdf
[12:36:23] <Connor> CHNCguy: yes. no diff.
[12:36:34] <Connor> I use a USB CDROM to do the install.
[12:38:14] <Tom_itx> i asked earlier but half of you were still asleep. where in hal configuration can i find the velocity output that is displayed in axis? i can't seem to find it
[12:39:04] <IchGuckLive> Tom_itx: the max level from the BAR
[12:39:17] <IchGuckLive> that is in the ini
[12:39:28] <Tom_itx> it's displayed up by the axis data
[12:39:30] <Tom_itx> vel:
[12:39:33] <CHNCguy> thnx tom
[12:39:55] <IchGuckLive> Tom_itx: this is calculated by the interpreter
[12:40:00] <Tom_itx> IchGuckLive, it's the programmed feedrate
[12:40:16] <IchGuckLive> its the real feedrate
[12:40:28] <Tom_itx> if axis can display it, i should be able to find a variable i can use
[12:41:13] <Tom_itx> if i use feedrate override, the value increases in the screen so it's not just the programmed feedrate from the gcode
[12:42:25] <CHNCguy> Thanks everyone for the help, once the hardware gets here ill be asking more questions! THANKS A TON! Here is my build thread ;) http://www.cnczone.com/forums/vertical_mill_lathe_project_log/200960-hardinge_chnc_ii_sp_conversion_mach_3_a-4.html
[12:48:50] <IchGuckLive> tom i got it
[12:49:20] <IchGuckLive> spd = self.to_internal_linear_unit(s.current_vel)
[12:50:03] <IchGuckLive> line 1334 in gllcannon
[12:50:30] <IchGuckLive> lib/python /rs274
[12:51:07] <IchGuckLive> but motion holds also this velue
[12:51:39] <Tom_itx> can i use that to display in pyvcp?
[12:51:48] <IchGuckLive> let me see
[12:52:17] <Tom_itx> i don't wanna use something that won't be supported in later vers
[12:52:48] <mozmck> hey CHNCguy, samco on that thread is known as skunkworks here.
[12:54:17] <skunkworks> Tom_itx, you can do a ddt of the axis's velocity.. I think
[12:54:46] <Tom_itx> better yet, where can i find the code for axis?
[12:54:56] <Tom_itx> that would tell me what they used
[12:55:24] <Tom_itx> i just wanna display it a bit bigger
[12:55:49] <CHNCguy> thanks mozmck ;)
[12:56:09] <skunkworks> Tom_itx, what about motion.current-vel
[12:56:56] <skunkworks> Current cartesian velocity
[12:57:45] <Tom_itx> i'll look again. i swear i didn't see that last night
[12:58:15] <skunkworks> heh
[12:58:20] <skunkworks> it is in 2.5
[12:59:48] <Tom_itx> that's what i'm running
[13:00:22] <IchGuckLive> tom Works Fine in pyvcp
[13:00:42] <IchGuckLive> net XYZvel pyvcp.vel-number
[13:01:05] <Tom_itx> i'll work on it later. seems i have an errand to run now
[13:01:52] <IchGuckLive> <hbox>
[13:01:54] <IchGuckLive> <number>
[13:01:56] <IchGuckLive> <halpin>"vel-number"</halpin>
[13:01:58] <IchGuckLive> <font>("Helvetica",24)</font>
[13:02:00] <IchGuckLive> <format>"+4.4f"</format>
[13:02:02] <IchGuckLive> </number>
[13:02:04] <IchGuckLive> </hbox>
[13:02:11] <IchGuckLive> tom in inch
[13:02:15] <Tom_itx> thanks
[13:02:28] <IchGuckLive> NP
[13:03:55] <Tom_itx> skunkworks, i wasn't looking under pins...
[13:03:59] <Tom_itx> i found that
[13:04:24] <skunkworks> will that work?
[13:04:44] <Tom_itx> i'll try it afterwhile
[13:04:49] <Tom_itx> both methods
[13:04:55] <Tom_itx> and see which works best
[13:05:04] <skunkworks> cool. I got up to try it on my linux box - but it is in the car at the moment...
[13:06:05] <Tom_itx> i display the current too, distance to go and tool offset but i thought it would be nice to show the velocity just below the tool
[13:06:15] <Tom_itx> s/too/tool
[13:06:33] <skunkworks> looks like motion also has requested velocity...
[13:06:53] <CHNCguy> hey guys will this work for linux???? http://www.newegg.com/Product/Product.aspx?Item=N82E16820171667
[13:08:59] <Tom_itx> those stupid connectors on the gecko drives were dealing me fits last night
[13:09:07] <Tom_itx> i think i may have that fixed
[13:10:20] <mozmck> CHNCguy: I don't know, it says it's NOT a HDD replacement - it just is a place to cache frequently used data.
[13:11:11] <CHNCguy> mmm
[13:11:37] <CHNCguy> ya i see that now. thnx ;)
[13:11:55] <mozmck> Which probably means it needs some software to do that. I don't know if there is something built in to win7 and 8 or if the software that comes with it is only for those systems.
[13:12:19] <CHNCguy> this then? http://www.newegg.com/Product/Product.aspx?Item=9SIA2W014K5302
[13:12:32] <Jymmm> mozmck: good catch!
[13:12:45] <CHNCguy> I know right Jymmm!
[13:13:05] <mozmck> I got a 60gig ssd for about $54 and have been using it for a couple of years now.
[13:13:23] <mozmck> It did give me a SMART error the other day so it might be getting flaky.
[13:14:17] <Jymmm> CHNCguy: You NEED this one =) http://www.newegg.com/Product/Product.aspx?Item=9SIA3KX17B0699
[13:14:20] <mozmck> I think pretty much any standard SSD or HDD will work.
[13:14:41] <CHNCguy> true
[13:14:45] <mozmck> I usually look for reviews to try and find the most reliable.
[13:15:44] <CHNCguy> Same for me ;)
[13:16:14] <mozmck> That seems to change every few days, so I don't know on the SSDs right now :)
[13:17:17] <CHNCguy> well looking at it from a cnc production machine, a SSD has advantages, no moving parts ;)...
[13:17:31] <CHNCguy> But long hours of constant repeatative use....not sure...
[13:17:59] <mozmck> yes, I think some have used a standard SD card in an adapter for several years successfully.
[13:18:27] <CHNCguy> linux on an sd card?
[13:18:34] <CHNCguy> Never heard of it....
[13:18:35] <mozmck> I believe there does not have to be a lot of disk activity, but I'm not sure of the details.
[13:19:08] <mozmck> Yep. Don't remember who - maybe on the mailing list. I think he had a sata adapter for it.
[13:19:27] <mozmck> Also makes for a cheap replacement if it does go bad.
[13:19:54] <Connor> CHNCguy: Let me lookup my SSD brb
[13:19:59] <mozmck> You can save the image somewhere, copy to a new SD card, and be running again shortly.
[13:20:45] <CHNCguy> Sweet, im liking linux more and more lol
[13:20:46] <Connor> http://www.newegg.com/Product/Product.aspx?Item=N82E16820233267
[13:20:57] <Connor> was the one I used.. looks like it went up a bit..
[13:21:15] <Connor> I paid $89.99 for it.
[13:21:37] <mozmck> linux runs on SD cards all over the place! It's easy to make a Live USB stick that you can plug in and boot from, and save data and things you can't do with a Live CD.
[13:21:44] <Connor> http://www.newegg.com/Product/Product.aspx?Item=N82E16820139220 the memory I used.. but you might need different..
[13:22:50] <CHNCguy> these done need memore cards right? http://www.newegg.com/Product/Product.aspx?Item=N82E16813135339
[13:23:10] <Connor> yes, you need memory.
[13:23:15] <Connor> let me find correct foryou
[13:23:26] <CHNCguy> Ohh,, I thought it was onboard
[13:23:35] <Connor> thankfully no.
[13:25:19] <CHNCguy> I know this is prebuilt, but would linux work on this? http://www.ebay.com/itm/FAST-DELL-OPTIPLEX-DUAL-CORE-3-0-GHZ-TOWER-COMPUTER-PC-2GB-RAM-80GB-WIN-XP-/271308618890?pt=Desktop_PCs&hash=item3f2b40fc8a
[13:27:04] <Connor> dang. memory for that board is expensive..
[13:27:42] <Connor> comment on that board BTW
[13:27:43] <Connor> Bruce L:I purchased one of these to run LinuxCNC, which is installed along with Ubuntu LTS. burned the ISO image onto a flash drive to make it bootable, plugged it into a USB port, booted it up and installed it with no trouble. It runs nonstop and has been no trouble. I've tested and use video, ethernet, USB, parallel port, and have a Logitech K400 wireless keyboard with touch pad and a 64 GB SATA solid state flash hard drive. I love the fact that it uses li
[13:30:35] <CHNCguy> cool
[13:30:47] <CHNCguy> So would this work Connor? http://www.ebay.com/itm/FAST-DELL-OPTIPLEX-DUAL-CORE-3-0-GHZ-TOWER-COMPUTER-PC-2GB-RAM-80GB-WIN-XP-/271308618890?pt=Desktop_PCs&hash=item3f2b40fc8a
[13:31:26] <Connor> Probably.. but, not sure.. it's a Pentium D.. Not sure how fast that is..
[13:31:42] <Connor> not sure about Latency tests or anything
[13:33:01] <CHNCguy> Its a complete unit. I might be able to squeeze the mesa boards in their too, not sure about the drives though. Worth a shot ;)
[13:35:05] <CHNCguy> For a touch screen, does it need HDMI or vga?
[13:35:25] <Connor> Doesn't mater. Touch screen usually handled via USB or Serial.
[13:35:57] <Connor> The one I have is VGA+USB 19" industrial grade.
[13:36:02] <Connor> Not installed it yet though.
[13:36:08] <CHNCguy> Would this work? http://www.ebay.com/itm/Kiosk-Touchscreen-ELO-17-ET1739L-8CWA-3-G-Open-Frame-USB-Serial-1739L-POS-/151176168716?pt=Computer_Monitors&hash=item2332cd450c
[13:37:26] <skunkworks> CHNCguy, if people remember - they post their latency tests here..
[13:37:27] <Connor> yea. ELO is a good brand.. Mine was a OEM that used ELO panel + Viewsonic monitor.
[13:37:28] <skunkworks> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Latency-Test
[13:37:54] <CHNCguy> Ill be posting mine too there ;)
[13:38:00] <Connor> Sometimes you have to reverse flip the up/down.
[13:38:16] <Connor> touch screen can be a bit tricky in Linux
[13:38:21] <CHNCguy> Im kinda thinking 17" is too small
[13:38:24] <CHNCguy> How so?
[13:38:48] <Connor> Not exactly plug and play and run a install program to calibrate..
[13:38:55] <Connor> it's a bit of tinkering..
[13:39:10] <CHNCguy> Im fine with tinkering, as long as she works ;)
[13:39:11] <Connor> which is documented.. but.. for a linux novice, might take a bit more time.
[13:39:42] <Connor> 19" is pretty large..
[13:39:50] <CHNCguy> Anyone here know how to set one up?
[13:40:00] <Connor> I've done it ONCE.
[13:40:29] <CHNCguy> Did you like it?
[13:41:09] <Connor> Not in production.. just tested it on my CNC Router when I first got it in. I did like it.. they're a few alternative GUI's for LinuxCNC..
[13:41:46] <Connor> to be honest though, with a keyboard and mouse/trackpad the default GUI is still rather usable under touchscreen
[13:41:53] <skunkworks> touchy, mocca and gscreen?
[13:42:11] <Connor> Umm.. I used something else.. custom one someone had on the forum..
[13:42:22] <CHNCguy> Funny that you mention that, I will also have to make a custom or add too a GUI, adding a tool changer section to select 1-8 tools
[13:42:23] <Connor> tried to make it more industrial
[13:42:47] <CHNCguy> I want touch screen for speed, and keyboard with trakball for programming and editing stuff
[13:43:23] <Connor> You doing this as Hobby or Production, or to sell them ?
[13:43:37] <CHNCguy> I usually sell them at the end of the day, so production
[13:44:29] <Connor> skunkworks: May have been GScreen.
[13:44:33] <CHNCguy> With pushbuttons on front panel for simple things like collet open/close, x/z touch off, job, and cycle start/pause/start.
[13:44:41] <CHNCguy> jog*
[13:44:55] <IchGuckLive> im off BYE
[13:47:12] <Connor> Honestly, if you doing touchscreen, and make / modify your own gui.. no need to push buttons.. those can be added to the gui
[13:47:29] <Connor> MPG yes.. push buttons no.
[13:47:36] <Connor> E-Stop YES YES YES
[13:49:51] <CHNCguy> And yes an Estop ;)
[13:50:57] <CHNCguy> So if i make my own GUI, I will just need MPG and Estop on front panel. Maybe a selector switch from x to z and select job incremetns
[13:51:32] <Connor> maybe on the x to z and increments.. but that too can be handled via touch.
[13:51:57] <Connor> http://www.linuxcnc.org/hardy/emc2/index.php/russian/forum/41-guis/26174-screen-shots-of-gui-designs
[13:52:01] <CHNCguy> True. Without crazy buttons on the panel it will look and feel more streamlines
[13:52:02] <Connor> thats' the one I was playing with
[13:52:37] <Connor> now. with that Pendant card.. you can make yourself a TRUE pendant..
[13:52:49] <Connor> with buttons.. so you could be right at the lathe.. and stuff.
[13:53:01] <Connor> and you could have a 2nd MPG on the console...
[13:53:40] <Connor> They're are 2 MPG inputs on the mesa daughter card outside of the pendant card if I remember correctly.
[13:54:29] <CHNCguy> That would be great
[13:54:41] <Connor> let me confirm.
[13:54:41] <Connor> brb
[13:55:02] <CHNCguy> k
[13:55:34] <Connor> and  two MPG encoder inputs are provided as an option on four  field inputs
[13:56:57] <Connor> So, If your not going to go button crazy, and don't want a pendant, just a console based MPG, you don't need the 7i73
[14:00:43] <CHNCguy> ill be getting a pendant, too hard to accurately touchoff a workpiece without it. But I will try first without it, and see how it works out. This machine is designed for repeat work where you touch off tools and then run 10,000 parts... not really 1 off parts that need a lot of different configurations, Although you can with the swappable tool turret.
[14:01:10] <Connor> Lathe or Mill? I think I missed that ..
[14:01:41] <skunkworks> althe
[14:01:43] <skunkworks> chnc :)
[14:01:47] <CHNCguy> CHNC LATHE :)
[14:02:23] <CHNCguy> Complete rebuild restore.
[14:02:49] <Connor> what was the link to your CNC zone thread ?
[14:03:07] <CHNCguy> http://www.cnczone.com/forums/vertical_mill_lathe_project_log/200960-hardinge_chnc_ii_sp_conversion_mach_3_a-4.html
[14:04:06] <Connor> Damn, that's big. :)
[14:04:20] <CHNCguy> Haha, YUP.........
[14:05:19] <CHNCguy> But I stripped the entire machine....It will be put on a base similar to a Haas TL-2 like this
[14:05:20] <CHNCguy> http://news.thomasnet.com/fullstory/Toolroom-Lathe-offers-max-cut-diameter-of-16-in-29839
[14:05:40] <Connor> not enclosed ?
[14:06:40] <CHNCguy> I willhave a sliding cover similar to the pic, this machine runs heavy thick cutting oil, so not much splash going on. If it were water based coolant then hell ya....
[14:07:21] <Connor> I'm currently building.. rather.. finishing a chip/pan enclosure for my G0704 mill.
[14:07:44] <CHNCguy> Sounds cool, with a milling machine, I would build an encloser...
[14:07:46] <Connor> just need to finish putting silicone on the panels and doors.
[14:08:44] <Connor> Depending on how I'm feeling.. I may try to do that this extended weekend..
[14:09:09] <Connor> need to get my tiny shop cleaned up.. and need to get the mill back on the stand.
[14:09:21] <Jymmm> on the doors?
[14:09:30] <Connor> panels on the dorrs.
[14:09:42] <Jymmm> ah
[14:10:14] <Connor> made out of Mitsumi 15mm extrusion.. with PVC and polycarb for the panels.
[14:10:23] <Jymmm> Hey kids... How many frickin temp sensors does one car need?????
[14:10:33] <Connor> allot
[14:10:48] <Jymmm> heh, no shit, eeeesh
[14:10:58] <CHNCguy> So far this is what I have ordered: 2 sets Mesa 7I76 plug in play with 5I25, and 7I73. 2 ELO 17" panel mount touchscreen monitors. Stock Dell tower that will be redone to linux. Ill get back with you all next week to try to program these up! :D Thanks a ton guys Be back later
[14:10:59] <Connor> has double bifold doors.. open to the inside to keep from making a mess.
[14:11:53] <Jymmm> Shit, while he was at it, he could have got us all a few SSD drives.... each!
[14:12:58] <Connor> at some point.. I need to put ball screws in my G0704..
[14:13:06] <Connor> just not felt like tackling that..
[14:13:50] <Connor> and probably upgrade to MESA
[14:14:08] <Connor> and finish installing the limits/homes.
[14:14:23] <Connor> ugg.. it's like when I got it moving and usable.. I stopped. :(
[14:16:19] <rob_h> Nice to see another CHNC getting the retro fit treatment :)
[14:18:27] <PetefromTn> Afternoon folks..
[14:48:42] <NickParker> Is it normal for my pc to stop driving the display while installing ubuntu?
[14:49:36] <NickParker> I got through all the "what's your name" stuff and let it start setting up ubuntu, and it stopped driving the display after about 33% on the first progress bar to pop up
[14:50:02] <NickParker> I'm reinstalling with andypugh's updates to hostmot2, and don't remember this happening last time..
[15:10:34] <tjtr33> NickParker, hard to say whats normal w linuxcnc on your hardware ( dont know it ). but , try again with 'safe' setting , should be a choice in the boot menu
[15:11:10] <tjtr33> it may just be a chipset lcnc doesnt know very well, or a resolution thats 'odd' to its view
[15:11:38] <NickParker> kk i'll look for that next attempt. for now i'm popping the graphics card out and letting it use integrated while it installs.
[15:12:27] <tjtr33> was bios told to use internal or to use pci? check that before letting the boot roll
[15:13:31] <tjtr33> bbl, bestoluck
[15:29:39] <CHNCguy> Hey Hey ;)
[15:30:35] <CHNCguy> So I Downloaded the iso from linuxcnc. Dont have my mesa hardware yet but are you able to access the same programs that are already installed on my windows machine? I assume no, but never ran linux b4
[15:31:22] <Jymmm> Files yes, but you can't run windows programs under linux directly. Though there are "ways" to.
[15:32:02] <Jymmm> If you get the LiveCD ISO, you just boot from the cd directly, not install.
[15:32:50] <Jymmm> world record burnout https://www.youtube.com/watch?v=38hlxUuzx2o
[15:34:54] <CHNCguy> nice burnout, I tried burning the image, nogo, gonna try something else
[15:35:13] <Jymmm> to a CD-R ?
[15:35:17] <CHNCguy> yes
[15:35:34] <Jymmm> butn at the LOWEST speed (4x if possible)
[15:35:37] <Jymmm> burn*
[15:35:44] <Jymmm> also, MD% the ISO file
[15:35:47] <Jymmm> MD5
[15:36:28] <CHNCguy> I read about md5ing it but I dled the file but it wont run (the md5 app)
[15:37:01] <CHNCguy> brb
[15:44:44] <Elimist> Got a question here. I'm new to LinuxCNC. Is it possible to build and use just the HAL with the selected components I need? I don't want a full blown interface, I just need some of the components to ease the creation of a C++ program to operate and industrial sorting machine
[15:45:10] <Elimist> So everything I do will be in the program, no direct user interface.
[15:45:33] <Elimist> I'm looking particularly at the Opto22 PCI driver and HAL
[15:47:20] <Elimist> Anyone?
[15:48:22] <CHNCguy> back ;)
[15:49:07] <CHNCguy> ok, so its not burning to a disk, keeps giving me burn error, tried poweriso and active isoburner, tried 4x also
[15:50:19] <NickParker> andypugh: Are you there?
[15:50:39] <andypugh> Aye
[15:51:03] <NickParker> I may have misunderstood what you meant by "I just pushed the new stepgen stuff to Master"
[15:51:03] <andypugh> Elimist: Yes, you can do that
[15:51:31] <andypugh> NickParker: If you get Master from the Buildbot, you should get the new stepgen.
[15:51:32] <NickParker> I just downloaded the iso off the main linuxcnc download page and reinstalled, but don't see anything in man hostmot2 about table mode.
[15:51:43] <NickParker> I take it the main page isn't the same as buildbot?
[15:51:47] <andypugh> No
[15:52:00] <andypugh> Have a look at buildbot.linuxcnc.org
[15:52:32] <Elimist> andypugh: querry?
[15:52:57] <andypugh> I run configs with just HAL components very regularly.
[15:53:45] <Jymmm> andypugh: bash script?
[15:54:08] <andypugh> Mainly at the command line.
[15:56:11] <NickParker> andypugh: I'm sure this is a silly question, but any way to download from buildbot on a windows pc so I can install from a flash drive? getting internet to my linuxcnc box would be very tricky.
[15:59:46] <CHNCguy> Has anyone had issues burning linuxcnc to a disk?
[16:00:01] <Connor> No.
[16:00:07] <Connor> Which Image you using?
[16:00:26] <CHNCguy> Hey Connor, im using the image from the linuxcnc site
[16:00:32] <andypugh> NickParker: The debs exist somewhere.
[16:01:34] <andypugh> Find the deb that suits your requirments: http://buildbot.linuxcnc.org/dists/
[16:01:36] <CHNCguy> nvm i think its working now...weird...
[16:01:46] <Connor> http://www.linuxcnc.org/iso/ubuntu-10.04-linuxcnc3-i386.iso
[16:02:03] <Connor> sometimes crappy CDR's will cause issue.. burn at slower rate..
[16:02:29] <Connor> Not sure what version that ISO has on it..
[16:02:33] <CHNCguy> Connor: yes thats the one. What can I start working on while my hardware is shipping, the machine is not together yet but shifting gears from scrubbing for a week straight LOL
[16:03:21] <Connor> okay. that a 2.5 build.. good.
[16:03:46] <andypugh> You can run stepconf and also play around with the sample (sim) configs.
[16:03:56] <Connor> yup.
[16:04:48] <CHNCguy> so the stepconf is the initial setup correct?
[16:05:05] <Connor> stepconf is for parport + stepper.
[16:05:26] <Connor> you need the other conf program for MESA.. don't remember the name of it.
[16:05:34] <CHNCguy> is it on their site?
[16:05:41] <Connor> andypugh: He's using MESA, so, no need tor stepconf.
[16:06:07] <Connor> it's included.. i just don't remember the name. :) something like pnpconf or something.
[16:06:43] <CHNCguy> included with the pci card?
[16:06:51] <Connor> no. with linuxcnc
[16:06:55] <CHNCguy> Ohh ok
[16:07:03] <NickParker> CHNCguy: pncconf is the name
[16:07:17] <NickParker> right next to stepconf in the menus for me
[16:07:33] <Connor> you might need a config file from the forum for the 5I25 card.
[16:07:50] <CHNCguy> where could I find that at?
[16:08:17] <NickParker> andypugh: Sorry for basically asking to be babied, but uh, how do I figure out which deb I want? I'm in http://buildbot.linuxcnc.org/dists/lucid/master-rt/binary-i386/ and obviously I want something that was last modified yesterday, but that's about the extent of my knowledge.
[16:09:06] <Connor> on the linuxcnc forums.. check with pcw / pcw_home and see if he has the link.. it might even been included now too.. I dunno.
[16:09:17] <Connor> was over 6 months ago when I was playing with MESA stuff
[16:09:33] <andypugh> NickParker: I think it must be the biggest, latest one.
[16:10:11] <andypugh> If you look, they are in pairs, a "changes" one and one that is 5MB, which is the one you want.
[16:11:04] <andypugh> Then take it to the LinuxCNC machine and install with sudo dpkg -i <name of the file>
[16:11:11] <NickParker> K, I'll try linuxcnc_2.6.0~pre0.4910.gac5345e_i386.deb and report back
[16:15:05] <NickParker> alright ran dpkg -i'd it, it said dependency problems prevented configuration of linuxcnc because libboost python1.40 and libmodbus5 are not installed.
[16:15:14] <NickParker> guess i should track those down and install them?
[16:17:07] <CHNCguy> Gonna play with linuxcnc be back shortly, thanks connor
[16:22:41] <atom1> skunkworks, motion.current-vel shows .5 while Vel: in axis shows 30
[16:23:11] <NickParker> alright it seems libmodbus doesn't have a package for lucid. can I use a package meant for a newer or older version?
[16:23:26] <atom1> 1.2 and 72
[16:24:00] <skunkworks> atom1: it is probably in units per second...
[16:24:10] <atom1> can i do math in the hal file?
[16:24:11] <skunkworks> you probably have to scale it
[16:24:17] <atom1> mul by 60 and it's right
[16:24:24] <skunkworks> right
[16:24:30] <atom1> how would i scale that?
[16:24:38] <_DJ_> gn8
[16:24:45] <atom1> i've not tried doing math in a hal file
[16:25:16] <atom1> i had that line in my postgui btw, just commented out :)
[16:25:33] <skunkworks> http://linuxcnc.org/docs/2.5/html/man/man9/scale.9.html
[16:25:33] <atom1> apparently i'd started working on it and got distracted
[16:25:49] <atom1> ok
[16:26:06] <skunkworks> heh
[16:26:27] <atom1> would i add that in the postgui hal?
[16:26:53] <andypugh> NickParker: I am not too sure how to do that. I know how to compile without needing libmodbus, but not how to actually install it.
[16:27:02] <atom1> lemme see if i have a scale component loaded already...
[16:27:28] <NickParker> hmmm.. well i found a .deb for libboost at least.
[16:27:43] <NickParker> in general, can old .debs work on newer ubuntu versions?
[16:27:56] <atom1> yep, i'll just add another instance
[16:30:59] <NickParker> well, i'm going to try installing modbus5 meant for 12.04, as it's the oldest i can find
[16:31:06] <skunkworks> you only need things in the postgui file that can only be hooked up after the gui becomes active
[16:34:44] <atom1> ahh that works now
[16:34:46] <atom1> thanks
[16:35:02] <atom1> skunkworks, right
[16:36:19] <NickParker> ok modbus5 appears to be installed happily.
[16:36:26] <NickParker> reinstalling the linuxcnc package now
[16:38:31] <NickParker> and man hostmot2 talks about table mode. huzzah!
[16:43:18] <andypugh> Cool!
[16:43:37] <andypugh> You will need a different firmware on the 6i25
[16:46:40] <NickParker> Yeah did you ever send me the one you were working with?
[16:53:03] <andypugh> NickParker: Yes, i think I sent it
[16:53:25] <NickParker> Would it be 7i72x2st.bit?
[16:53:31] <andypugh> That's the one.
[16:53:55] <NickParker> k back in a bit, setting up mesaflash
[16:56:44] <NickParker> alright so I just want to navigate to the directory containing the mesaflash executable and run this correct? mesaflash --device 6I25 --write FPGAFILE.BIT
[16:56:59] <NickParker> obviously with the name of the .bit file fixed
[16:59:44] <andypugh> You will need a sudo
[17:01:14] <NickParker> I get command not found. Do I need to install mesaflash somehow, not just run that command from a directory containing the executable?
[17:03:13] <andypugh> You probably need a ./, so sudo ./mesaflash....
[17:04:39] <NickParker> alright fixed that. now it's saying selected board not found.
[17:05:16] <CHNCguy> Connor: i ran linuxcnc, loved the interface...but I noticed the gcode was very different then stock fanuc...can linuxcnc run fanuc gcode?
[17:06:16] <cradek> there is a common subset that both controls could run, but in general no - you will certainly have to adjust your existing programs.
[17:07:20] <CHNCguy> :(
[17:07:24] <tjtr33> can fanuc machines run linuxcnc code ? :) (pick your centric)
[17:07:38] <cradek> in general, no control can run the programs of any other control
[17:07:51] <cradek> that's the beauty of standards - there are so many to choose from
[17:08:10] <NickParker> http://xkcd.com/927/
[17:08:21] <CHNCguy> Well what works better for a production machine mach 3 or linuxcnc (i realize this is a linuxcnc forum ;)
[17:08:25] <CHNCguy> ?
[17:08:25] <Tom_itx> tjtr33 the basics would probably work however some G & M codes may or may not be defined from one control to the next
[17:08:55] <Tom_itx> linuxcnc of course
[17:09:08] <tjtr33> was a joke ya know
[17:09:13] <CHNCguy> LOL
[17:09:37] <CHNCguy> is there any really good guides out their explaining everything in detail?
[17:09:43] <cradek> CHNCguy: you may be in the realm of opinion when you ask that. maybe ask something more specific that is a matter of fact?
[17:10:35] <Tom_itx> which has a better lookahead?
[17:10:43] <cradek> we have lots of documentation - "explaining everything" is a very high bar
[17:10:58] <tjtr33> life , the univers, everything
[17:11:27] <CHNCguy> ;)
[17:11:56] <tjtr33> hey back to the modbus, i was trying to follow that effort
[17:15:37] <NickParker> tjtr33: modbus meant for 12.04 installed fine on linuxcnc for me
[17:15:41] <CHNCguy> I'll give it time, and learn it ;)
[17:16:38] <tjtr33> NickParker, i have a festo linear actuator with modbus, was wondering how well your stuff worked
[17:17:09] <NickParker> i have no clue what modbus even is. it's just a dependencies for the linuxcnc update .deb i was using.
[17:18:01] <andypugh> NickParker: Sorry, I am coming and going
[17:18:13] <NickParker> no prob.
[17:18:27] <andypugh> There is a command for mesaflash that lists the boards.
[17:18:37] <andypugh> I suspect you just need a capital I though.
[17:19:34] <NickParker> Nah, it's case insensitive.
[17:19:52] <NickParker> any guesses on that list command? i don't see it in 6i25man.pdf
[17:20:56] <NickParker> nvm, running mesaflash with no params gave me a list of commands
[17:21:44] <NickParker> oh duh, my 6i25 is in stealth 5i25 mode right now
[17:22:24] <NickParker> alright so i need to change the W7 jumper from down to up
[17:25:14] <CHNCguy> Question for ya guys, can I install linux and keep my windows 7? Dual boot?
[17:27:17] <CHNCguy> total linux noob ;)
[17:27:20] <NickParker> ok jumpers changed nothing
[17:27:50] <andypugh> NickParker: No jumper changes required.
[17:27:52] <NickParker> CHNCguy: yeah there's an option to do that while installing
[17:28:04] <NickParker> andypugh: how do i make mesaflash recognize as a 6i25 then?
[17:28:08] <CHNCguy> Thanks Nick
[17:28:16] <andypugh> Just call it 5I25 :-)
[17:28:17] <NickParker> do I, or do I just change the --device param to 5i25 and not worry?
[17:28:18] <NickParker> ok
[17:28:37] <andypugh> And I do think it is case sensitive.
[17:28:41] <NickParker> now to figure out which way is up and down on these jumpers to get them back to normal
[17:28:55] <NickParker> andypugh: it's not, when it said "device 6I25 not recognized" it capitalized it for me
[17:29:08] <NickParker> i.e. that error message didn't change if i did or didn't capitalize my input
[17:29:10] <andypugh> How interesting
[17:30:46] <andypugh> You need to completely power off the PC after flashing the firmware.
[17:31:03] <andypugh> (I think PCI cards see standby power)
[17:32:48] <NickParker> ok. just flashed firmware, shutting down now
[17:34:32] <NickParker> ok restarted. Now what, I set up using pncconf then dig through the files to set up table mode?
[17:39:50] <NickParker|2> sorry internet crashed
[17:39:52] <NickParker|2> back now
[17:40:12] <NickParker|2> andypugh: Did you say anything since I said I restarted?
[17:41:51] <CHNCguy> hey nick, he didnt respond yet
[17:42:12] <tjtr33> last you said was "ok restarted. Now what, I set up using pncconf then dig through the files to set up table mode?" nada from andy since
[17:42:27] <NickParker> k cool didn't miss anything.
[17:51:07] <andypugh> Sorry, was elsewhere.
[17:51:27] <andypugh> Have you worked out the required table layout?
[17:51:28] <NickParker> no prob.
[17:51:52] <andypugh> First thing to do, I reckon, is to open a terminal window and type
[17:51:54] <andypugh> halrun
[17:51:59] <andypugh> loadrt hostmot2
[17:52:03] <andypugh> loadrt hm2_pci
[17:52:05] <andypugh> exit
[17:52:06] <andypugh> dmesg
[17:52:07] <NickParker> I know what pattern to make, dunno how to load it in.
[17:52:36] <andypugh> That should give you a list od which physical pins the stepgens are on.
[17:52:37] <NickParker> 1000 1100 0100 0110 0010 0011 0001 1001
[17:52:39] <NickParker> i'll go do that.
[17:54:40] <NickParker> ok i've got 4 pins per stepgen it looks: step, dir, table2pin, table3pin
[17:54:42] <NickParker> per stepgen
[17:57:05] <andypugh> table-data-0 = 0x6040c08 table-data-1 = 0x9010308 step_type = 8
[17:57:52] <NickParker> just type that after another halrun, or into a config file somewhere?
[17:57:52] <andypugh> (insert setp hm2_5i25.0.stepgen.00.table-data-0 0x6040c08 and so on in your HAL file.
[17:58:00] <NickParker> ah ok
[17:59:57] <andypugh> If you want to, you could make it an INI file entry, possibly add a new section [STEP_DATA] and DATA0 = 0x9010302 and put "setp hm2_5i25.0.stepgen.00.table_data [STEP_DATA]DATA0" if you want to have one "edit point" for every stepgen
[18:04:11] <NickParker> what's the best way to make a "starting configuration" i.e. one without a big pile of ports defined? or do i have one already?
[18:05:30] <andypugh> I don't know what you already have, but as far as HAL is concerned everything will look _exactly_ the same apart from setting up the tables.
[18:05:52] <andypugh> All the new stuff is in the FPGA and into the wires.
[18:06:22] <NickParker> alright so I can set up a normal 5i25 config with pncconf and then just add the table stuff. now to remember how to set up a 5i25 config..
[18:07:09] <andypugh> You are on your own there, I do it all by hand :-)
[18:07:16] <andypugh> But Pncconf might help.
[18:07:25] <NickParker> it's fine i found the thread i used last time
[18:07:32] <andypugh> OK, time to dismantle an iPhone, then sleep.
[18:07:48] <andypugh> I might check back in in an hour or so.
[18:10:19] <tjtr33> andypugh, thx for all the info on your orbiter mechanism, but i cant have it rotate, went back to JMK's sin/cos siggen->stepgen idea. thx
[18:11:48] <tjtr33> ya know you can get a lot of work done if you wear wireless headphones & listen to german techo radio all day ( its speedy!)
[18:12:41] <RyanS> What about German death metal
[18:15:36] <RyanS> Might make you too aggressive for any productive work
[18:15:42] <RyanS> I prefer silence
[18:16:34] * Loetmichel is used to hear local radio @ the company
[18:16:54] <Loetmichel> if its completely silent there is something missin
[18:16:55] <Loetmichel> g
[18:21:41] <RyanS> I could never study (efficiently) or do reading with any background noise..
[18:22:08] <tjtr33> turn off drop in :) http://ubuntu.hbr1.com:19800/tronic.ogg
[18:22:30] <RyanS> but actually doing repetitive stuff like 3-D graphics or CAD, music is good
[18:22:38] <tjtr33> mindless thumpy drones for mindless tasks
[18:25:36] <RyanS> I wonder if those drill Dr things are any good. They seem like an 'as seen on TV' product... The easy way out If you can't be bothered learning to sharpen (granted, it's probably hard to do accurately)
[18:27:59] <tjtr33> the small drills are tougher as you get older, holding your hand over the top to see the outline of the profile's shadow just dont work :(
[18:29:05] <tjtr33> get your cnc running then build a Quorn tool grinder :)
[18:30:14] <tjtr33> http://www.thebloughs.net/hobbies/metalworking/quorn/
[18:30:26] <tjtr33> open source hdwr yay!
[18:31:13] <RyanS> nice.. I think it would take years to build
[18:31:42] <RyanS> It is true. People spend more time modifying tools than building things
[18:32:31] <andypugh> You make it sound like you think that is a problem,
[18:35:24] <RyanS> It is interesting to do. I guess. I suppose you get the same amount of satisfaction in doing that
[18:37:35] <RyanS> ouch $410 for tool grinder castings. I guess you could machine them out of the solid stock?
[18:38:18] <tjtr33> or just a jig... http://homews.co.uk/page356.html
[18:39:11] <tjtr33> only needed for the small drills anyways, 3/8 & up, learn how to freehand 'em ( 65yr old blind guy talking here )
[18:42:27] <tjtr33> dang ubuntu's built in pdf view screws up fonts all the time, have to use adobe ( re: the dwgs for the above drill sharpener )
[18:42:49] <RyanS> hmm I was reading 135° split point tends to 'bite' as you break through
[18:46:57] <tjtr33> make that firefox's built in js(?) pdf viewer
[18:47:08] <tjtr33> excuse me ubuntu
[19:05:00] <andypugh> OK, so 50 minutes to disassamble an iPhone, put in a new ear speaker, and rebuild. Who sais there were "No User Servicable Parts" inside.
[19:08:33] <Tom_itx> andypugh what sserial cards do you have?
[19:10:47] <andypugh> I have several 8i20s, a 7i73, 7i69 and 7i71
[19:11:01] <andypugh> I only actually use the 8i20s
[19:11:10] <Tom_itx> if i use separate power for VIN i can set field power to 5v right?
[19:11:11] <andypugh> The others were for dev work.
[19:11:26] <Tom_itx> VIN just powerers the onboard smps right?
[19:11:36] <andypugh> I don't know. I suspect not, I think it needs to be at least 7V. Check the manual.
[19:11:42] <Tom_itx> 8v
[19:11:47] <Tom_itx> but that's for the smps
[19:11:52] <Tom_itx> 8 to 32
[19:11:56] <andypugh> You woul dneed to ask PCW>
[19:12:00] <Tom_itx> ok
[19:12:16] <andypugh> It is to do with the voltage theshold to be sensed as "true"
[19:12:27] <Tom_itx> field power is
[19:13:00] <Tom_itx> W1 connects field power to VFIELDB or EXTERNAL
[19:13:37] <Tom_itx> if W1 is external i think i can use VFIELDB at 5v
[19:18:59] <andypugh> Thinking about it, I think I _have_ used 5V VField.
[19:19:42] <Tom_itx> i think you can, you just have to power the smps externally with 8-32v for the onboard logic
[19:24:36] <PCW> You can use 5V VField but Vin needs 8 or more
[19:24:46] <PCW> (with newish firmware)
[19:26:38] <andypugh> Right, that's enough for tonight.
[19:28:46] <NickParker> what was andypugh doing a bit up to make the DATA0 and DATA1 values for me? I need to store 1000 1100 0100 0110 0010 0011 0001 1001 as DATA[0-7]
[19:29:18] <NickParker> and he first said to make table-data-0 0x6040c08 but then later said to make DATA0 which I suspect is the same 0x9010302
[19:36:33] <Tom_itx> PCW how do i check the firmware ver? where do i find the utilities to query it?
[19:37:09] <NickParker> if you're looking for mesa utils, support software on their anything IO page
[19:37:48] <NickParker> http://www.mesanet.com/software/parallel/5i25.zip <---- Download like with mesaflash and stuff
[19:37:51] <Tom_itx> i wasn't sure if it was bundled in the zip files
[19:38:10] <Tom_itx> for linux or windows?
[19:39:01] <Tom_itx> i'll figure it out... not quite that far along yet
[19:39:10] <NickParker> both
[19:40:04] <Tom_itx> i'm not using a 5i25 though
[19:40:45] <NickParker> http://www.mesanet.com/fpgacardinfo.html
[19:40:52] <NickParker> support software under the card you are using?
[19:41:01] <NickParker> but I mean mesaflash is the same for all of them.
[19:41:07] <NickParker> brb, let me see if mesaflash can read firmware.
[19:42:52] <NickParker> mmmm, i don't see anything.
[19:43:03] <NickParker> i dunno, wait for PCW to return
[19:43:17] <Tom_itx> when i get closer to that i will
[19:43:40] <Tom_itx> i made a custom bit file for the 7i43 7i47 combo to support sserial
[19:43:54] <Tom_itx> so i dunno if those utilities will work on those cards
[19:54:25] <Jymmm> The glider rockers have a LOT of specialized custom automation machines. I kinda like the foam shrinker myself... https://www.youtube.com/watch?v=cRcY9H2pXp8
[20:01:04] <micges> Tom_itx: http://mesanet.com/software/parallel/sserial.zip
[20:01:19] <micges> try programs in /utils/windows
[20:02:46] <Tom_L> you use the utilities connected to the cards so i'll try to use them in linux since they're all wired it
[20:02:48] <Tom_L> in*
[20:03:15] <Tom_L> thanks for the link
[20:05:47] <Tom_L> i need lcnc 2.6.0 to use the linuxcnc utilities?
[20:07:02] <micges> yes
[20:07:21] <Tom_L> are there standalone ones that will do the same job?
[20:07:48] <micges> hold on
[20:08:22] <micges> link I give is with windows utilties for sserial diagnose and flash update
[20:08:27] <Tom_L> i don't especially wanna build 2.6.0 from scratch
[20:08:45] <Tom_L> micges, yes... i was reading a readme inside the file
[20:08:51] <micges> lcnc 2.6.0 can only flash sserial remoted
[20:09:10] <micges> ok
[20:09:16] <Tom_L> how do you wire the card to a winbox?
[20:09:39] <Tom_L> hopefully i won't need to flash it
[20:09:50] <micges> same as always
[20:10:02] <Tom_L> first time
[20:10:08] <Tom_L> there isn't an 'always' yet
[20:10:17] <micges> ok
[20:11:00] <micges> new mesaflash will soon be available, it's 'all in one' diagnose/flashing tool for mesa boards
[20:11:29] <micges> then all diagnose will be much simpler
[20:11:32] <Tom_L> i'm in no big rush
[20:11:58] <Tom_L> for windows and linux i presume
[20:12:18] <micges> on windows pc you plug 5i25 and 7i77+sserial
[20:12:28] <Tom_L> is there a page explaining how to wire the board to a windows box?
[20:12:35] <micges> and all windows tools will have access to sserial board
[20:12:38] <Tom_L> see that's just it... i'm not using a 5i25
[20:12:54] <Tom_L> i made a bit file for a 7i47
[20:13:07] <micges> ok, got any mesa fpga board?
[20:13:07] <Tom_L> 7i43 mb
[20:13:14] <Tom_L> wired and working
[20:13:36] <micges> that should work too
[20:13:41] <Tom_L> it would be easy with the 5i25
[20:13:59] <Tom_L> wired to a parallel port on the win box?
[20:14:19] <micges> 7i43 on epp with sserial connected
[20:14:35] <Tom_L> it will be wired to the 7i47
[20:14:40] <Tom_L> RS422
[20:14:46] <micges> yes but you must locate under linux what epp port is working
[20:14:51] <micges> first
[20:15:11] <Tom_L> so do all the updating on a linux box
[20:15:37] <micges> epp is on motherboard?
[20:15:44] <Tom_L> yes
[20:15:48] <Tom_L> it's an atom board
[20:15:52] <micges> ok so ignore above
[20:15:59] <micges> 0x378
[20:16:02] <Tom_L> yeah
[20:16:22] <Tom_L> i can't follow along yet though, it's not connected
[20:16:36] <Tom_L> i'm just rounding up the tools right now
[20:17:01] <micges> I dont have working epp under windows to try any tool
[20:17:29] <Tom_L> it may be easier done on linux anyway
[20:17:42] <Tom_L> this is an old pc so chances of it working are good
[20:18:44] <micges> next mesaflash will not have ability to flash sserial, but it will give you all needed information
[20:19:44] <micges> maybe instead of this you can check of 8v VIN and 5v FIELD is working?
[20:19:48] <micges> easier test
[20:20:18] <Tom_L> i need to chop up a cat5 cable first
[20:20:38] <Tom_L> fixing some gecko connectors atm
[20:20:42] <Tom_L> dealing me fits
[20:22:45] <Tom_L> looking at the windows utilities there's a serial.bat i'm looking at... do or can i wire the sserial directly to a serial port for these utilities?
[20:26:05] <micges> yes you must set setup mode on sserial board with jumper, but it will still be 422, you need converter 232 <-> 422
[20:27:03] <micges> I'm sure you will connect to board, but I'm not sure what tools will work in setup mode
[20:27:09] <Tom_L> if i go through the 7i43 -> 7i47 -> sserial i won't need to do that?
[20:27:13] <micges> you must and ask PCW
[20:27:18] <Tom_L> i plan to
[20:27:30] <Tom_L> just getting a heads up on it right now
[20:28:09] <Tom_L> working with an untested bit file too :)
[20:28:22] <Tom_L> it _should_ work
[20:29:04] <micges> ok then use 7i43 -> 7i47 -> sserial
[20:29:27] <Tom_L> probably the better choice right now
[20:29:50] <Tom_L> http://codinghorror.typepad.com/.a/6a0120a85dcdae970b0128776ff992970c-pi
[20:29:52] <Tom_L> (tm)
[20:34:43] <Tom_L> micges is it an update from 2.5.3 to 2.6.0 or a rebuild?
[20:35:07] <micges> rebuild
[20:35:26] <micges> make clean && make
[20:39:55] <Tom_L> where do you get 2.6?
[20:40:50] <micges> http://buildbot.linuxcnc.org/
[20:41:19] <Tom_L> i was just looking there
[20:41:51] <Tom_L> is it the 'master' branch?
[20:42:11] <micges> yes
[20:42:40] <Tom_L> stable for running a machine?
[20:42:57] <Tom_L> a bit hesitant here
[20:43:14] <micges> nope
[20:43:59] <micges> why do you want 2.6.0? you said you have 2.5.3 now
[20:44:16] <Tom_L> the readme indicated i needed it for the sserial update stuff
[20:45:49] <micges> yes but even if you will need to update you do this once and get back to 2.5.3 on machine
[20:46:15] <Tom_L> can i load both versions on a pc?
[20:46:37] <Tom_L> only have one linux box here
[20:46:42] <micges> yes
[20:47:06] <Tom_L> i wasn't sure but what some of the files would clobber each other
[20:47:48] <micges> you got 2.5.3 from package?
[20:47:55] <Tom_L> cd
[20:48:29] <Tom_L> with package updates
[20:49:18] <Tom_L> i've got a spare drive i can toss in
[20:49:25] <Tom_L> to be safe
[20:49:57] <micges> first wait for info if you NEED do that
[20:50:05] <Tom_L> i plan to
[20:50:16] <Tom_L> just gathering info right now
[20:50:58] * Tom_L smells pumpkin pie baking
[21:10:28] <NickParker> Think I figured out what andypugh was up to with table mode. testing now to see if i'm right
[21:26:33] <NickParker> When I try to use loadrt hm2_pci I get error inserting hm2_pci.ko: -1 unknown symbol in module
[21:26:57] <micges> you must loadrt hostmot2 first
[21:27:51] <NickParker> ah thanks
[21:27:53] <Tom_L> micges do you have a link describing the mesa utilities?
[21:29:46] <micges> what utilities?
[21:29:59] <Tom_L> the link you gave me
[21:30:08] <Tom_L> for the sserial stuff
[21:30:21] <micges> nope
[21:30:26] <Tom_L> ok
[21:30:56] <micges> iirc only readme and usage from programs
[21:31:44] <Tom_L> maybe it was here i saw some discussion about it
[21:31:54] <Tom_L> i'd swear i saw something on it recently...
[21:41:32] <NickParker> how do i address pins on the 6i25's parallel port in HAL?
[21:41:56] <NickParker> I've got hm2_5i25.0.stepgen.dir pins and stuff that i want to connect to parallel port pins
[21:50:35] <micges> what stuff?
[21:53:32] <NickParker> hm2.5i25_0.00.stepgen.dir, hm2_5i25.0.stepgen.00.step and .table-pin0 and .table-pin1 which andypugh added
[21:53:38] <NickParker> outputs of a hm2 stepgen
[21:58:45] <micges> you should have pinout on dmesg after lcnc start
[21:59:54] <micges> you want to connect directly to 6i25?
[22:00:14] <NickParker> Yeah, to the parallel port on the card itself
[22:00:26] <NickParker> the one that sticks out the back, not the 26 pin header inside the pc
[22:00:34] <micges> ok
[22:00:39] <NickParker> dmesg says the pins i want are on IO pins 000 through 004
[22:01:31] <micges> are there phisical pin number?
[22:02:01] <micges> numbers
[22:03:58] <NickParker> after the 00X number it says in parens something like (P3-14)
[22:04:24] <micges> yep that's it
[22:04:28] <NickParker> all 4 that i want are (P3-xx)
[22:04:29] <micges> port 3 pin 14
[22:05:00] <Tom_L> micges you need field power to test the sserial right?
[22:05:03] <Tom_L> or vin
[22:05:12] <micges> vin
[22:06:18] <PCW> you will get a fault if field power is out of range
[22:06:44] <PCW> (like less than 4V or >35V)
[22:06:47] <Tom_L> PCW, do i need to be concerned about paint on these chips?
[22:06:56] <Tom_L> the 71 board
[22:07:13] <PCW> Dont think so
[22:07:41] <Tom_L> k, wasn't sure but what one bank may be faulty
[22:07:45] <Tom_L> that row was marked
[22:08:27] <PCW> I managed to update the firmware on both before sending so they should be OK (normally they wont start if theres an I/O fault)
[22:08:42] <Tom_L> appreciate that
[22:08:52] <Tom_L> will save me figuring that out for the moment
[22:09:12] <PCW> ( NCV7608s usually show as faulted if fried)
[22:10:37] <PCW> I think the 7I71 has output LEDs so you should be able to test easily
[22:11:14] <Tom_L> i may start with that one
[22:12:08] <PCW> in any case if working the pins should just show up in HAL (and the green led should blink)
[22:12:32] <Tom_L> i need to figure out how to address them again
[22:12:53] <PCW> hal show pins...
[22:13:13] <Tom_L> ok
[22:13:16] <PCW> or is it "pin" I always forget
[22:13:23] <Tom_L> i may not get it wired in tonight...
[22:13:35] <Tom_L> oh from the terminal?
[22:13:44] <PCW> its a bit awkward with a 7I47
[22:13:54] <Tom_L> yep, i figured on that
[22:14:03] <Tom_L> stuff was made for 5i25 and the like
[22:14:32] <Tom_L> will the 7i43 need updated to support it?
[22:15:00] <PCW> Yes from a terminal and a
[22:15:01] <PCW> 7I44 or 7I52S or something would be a lot easier
[22:15:40] <PCW> no, sserial is FPGA card agnostic
[22:16:25] <PCW> The sserial ROM code is developed on a 7I43
[22:16:43] <PCW> V44 now
[22:17:40] <Tom_L> where do i find show pin?
[22:17:48] <PCW> (43 is the latest released version)
[22:17:56] <PCW> halcmd show pin
[22:18:40] <PCW> I think your cards may have bogus serial numbers
[22:18:50] <PCW> bbl
[22:19:21] <atom1> how do i redirect the output to a file?
[22:19:23] <NickParker> ok so i've definitely found the outputs of my stepgen
[22:19:45] <NickParker> now to figure out how tablemode works and get them to actually do things
[22:22:33] <micges> atom1: cmd > file
[22:22:48] <Tom_L> yeah i figured it out... thanks
[22:23:12] <Tom_L> hopefully it'll be a bigger file once the sserial is wired up
[22:24:36] <NickParker> can i just run a .hal file somehow?
[22:24:55] <NickParker> like open halrun in terminal then just say 'execute each line of this .hal file"
[22:26:03] <micges> halcmd -f filename.hal
[22:26:11] <NickParker> cool ty
[22:27:06] <micges> use also -k so halcmd won't exit relatime after end of file
[22:28:19] <NickParker> ok
[22:35:33] <NickParker> I don't need to do the whole setting up base thread and servo thread and adding functions thing to test my hostmot2 right? all I want to do is set it to go 2 counts per second in velocity control mode
[22:36:11] <micges> you must
[22:36:30] <NickParker> oh ok
[22:36:35] <micges> this will work:
[22:36:55] <micges> loadrt threads name1-servo-thread period1=1000000
[22:37:14] <micges> *name1=
[22:37:51] <micges> this will create servo-thread function and you need to connect read, write and pet_watchdog functions from hostmot2
[22:41:56] <NickParker> I don't think I have a watchdog though, because my stepgen output pins on the parallel port are staying at 0V, not turning into inputs like they would if the watchdog bit
[22:42:53] <micges> ok
[22:43:22] <NickParker> here let me copy what I have over to a pastebin, I'm sure i'm missing something important.
[22:50:10] <NickParker> http://pastebin.com/Pt8MMncC
[22:52:06] <micges> http://pastebin.com/SapufSxY
[22:53:13] <tjtr33> addf's and start
[22:54:12] <micges> yep forgot about start at end
[22:54:50] <NickParker> start?
[22:54:58] <tjtr33> its a cmd
[22:54:59] <NickParker> just the word start on a line of it's own or?
[22:55:10] <tjtr33> yep at end
[22:55:38] <NickParker> ok halcmd -f -k that gets a seg fault
[22:55:57] <NickParker> could not open shared memory
[22:56:00] <NickParker> errno=2
[22:56:47] <pcw_home> if linuxcnc is not running you need halrun
[23:00:09] <NickParker> halrun at the start of the file, or halrun in cmd line then halcmd -f -k etc
[23:02:20] <micges> the second
[23:02:59] <tjtr33> i run hal scripts from cmd line, but in a rip, so i set the env, then enter the dir of the rip , then scripts/halrun -I -f /path/to/my/hal/myhal.hal
[23:03:25] <tjtr33> becus halrun is 'just' a script that runs halcmd
[23:04:06] <tjtr33> sorry no experience running it for an installed version, tho there are man pages
[23:08:48] <NickParker> ok halrun -I -f filename.hal seems to have at least executed
[23:09:07] <NickParker> it worked enough to complain that addf needs 2 args (i had forgotten to specify servo-thread)
[23:10:10] <NickParker> however now all my inputs are high, so either the watchdog bit (but I don't think I have a watchdog) or something else is going on
[23:10:21] <NickParker> oh wait no, watchdog got added when i did read/write huh.
[23:10:34] <NickParker> brb adding the pet thing
[23:12:46] <NickParker> It works!
[23:13:00] <NickParker> I've got the right pattern cycling on my 4 stepgen outputs.
[23:15:44] <Tom_L> sserial firmware ver 41 on the 7I43
[23:16:04] <Tom_L> i wonder if that needs updated