#linuxcnc | Logs for 2013-03-28

[00:24:03] <tjtr33> ah, scite has a vhdl mode, needs to be enabled in /usr/share/scite/SciTEGlobal.properties,
[00:24:04] <tjtr33> then you can fold the vhdl and see the code structure
[00:24:17] <tjtr33> (had to do similar for .asm files )
[00:28:40] <tjtr33> goodnite
[03:03:19] <DJ9DJ> moin
[03:39:39] <r00t4rd3d> 4am nice
[03:39:49] <r00t4rd3d> going to bed at 10pm wasnt a good idea
[03:40:07] <archivist> 8:26 am and cold, not so nice
[03:40:35] <DJ9DJ> 9:26 am here
[03:41:11] <DJ9DJ> archivist seems to have utc time
[03:41:18] <DJ9DJ> england?
[03:41:27] <archivist> yes england
[03:41:30] <DJ9DJ> :)
[03:55:00] <r00t4rd3d> oh shit, B-2's headed to south korea
[06:10:12] <L84Supper> r00t4rd3d: http://en.wikipedia.org/wiki/B2_%28New_York_City_bus%29#B2 kind of out of the way for a bus line
[06:14:53] <L84Supper> http://www.youtube.com/watch?v=GtR0e4E5QR8&feature=player_embedded POSTPROCESSOR BUILDING - "Get the code you want by customizing your posts with Post Builder"
[06:14:54] <Tecan> (GtR0e4E5QR8) "POSTPROCESSOR BUILDING - "Get the code you want by customizing your posts with Post Builder"" by "SiemensPLM" is "Tech" - Length: 0:23:44
[06:15:31] <L84Supper> I just need to make sure we have the g-code for LInuxCNC in the NX library
[06:52:41] <ProxDem> heya guys hate to ask again...what's JT-Shop-3s webpage URL again?
[06:53:06] <ProxDem> nvm found it
[06:53:13] <DJ9DJ> lol
[07:06:44] <jthornton> wow, someone actually looks at my web site :)
[07:10:17] <cncinator> hi
[07:14:36] <cncinator> anyone here using a Komet W30 tip?
[07:24:46] <Tom_itx> jthornton, i just realized the tiny10's can only be programmed in asm using that version of winavr however the new Studio 6 does support them with c. It's a rather large package to install
[07:25:16] <jthornton> ok, easy is best for me
[07:25:32] <Tom_itx> i wrote a sample for you last night
[07:25:51] <jthornton> I have to run and go to the Dr, I'll be back in a couple of hrs
[07:26:01] <jthornton> thanks for the help
[07:26:09] <Tom_itx> i'll post a link to the file.. i'll be leaving shortly
[07:26:26] <jthornton> ok, I'll get it when I get back
[07:26:59] <Tom_itx> it uses the INT0 pin with input capture interrupt
[07:28:56] <Tom_itx> i just copied the whole studio6 project over
[07:29:07] <Tom_itx> the int0.c is the file
[07:30:15] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/cnc/JT-SHOP/INT0/
[07:31:11] <Tom_itx> later..
[07:31:44] <Tom_itx> btw, that can be ported to just about any avr8
[07:36:03] <roh> avr8?
[07:37:32] <cncinator> i orderered a arduino uno as i heared im able to program attiny85 with it :>
[07:45:15] <Tom_itx> probably so
[07:45:29] <Tom_itx> a bit of a hassle i think though
[07:46:21] <Tom_itx> my programmer will program all the 8bit avrs
[07:46:40] <Tom_itx> gtg..
[07:48:33] <cncinator> i bet u have professionell equipment, but im a bloody uc beginner :)
[07:51:34] <ProxDem> jthornton: yes I love the info there
[07:51:54] <ProxDem> almost tempted to make a hard copy of it on my server =P (but I won't don't worry)
[07:56:47] <L84Supper> PCW: http://www.wandboard.org/index.php/buy finally in stock most places
[08:00:23] <R2E4_awy> What does a wandboard do?
[08:01:32] <R2E4_awy> nevermind. Thats pretty cool
[10:46:43] <tjb1> Emailed Les about a post…forgot to attach the files showing what the post should do :(
[10:50:09] <jdh> gmail often warns you if you forget to attach a document
[10:50:13] <jdh> kind of creepy
[10:51:23] <tjb1> I forgot to attach files in 2 emails!
[10:51:31] <tjb1> mac mail and live.com don't
[11:45:54] <Jymmm> jdh: Usually, you'll have "I've attached..." in the body of the message, TB does that.
[11:46:34] <Jymmm> jdh: no comment on the creep factor =)
[11:47:22] <Jymmm> jdh: There are other "creep factors" that google does as well
[11:47:42] <DJ9DJ> re
[11:47:47] <DJ9DJ> greetings Jymmm :)
[11:48:04] <Jymmm> hi DJ9DJ
[12:19:14] <gene77> g2-3 troubles again. I have vars that mark the corners of a piece and the exact centers via probing with the cutting tool. I want to cut a 180 degree convex face on both x ends but I'm getting either zero arc, or huge errors
[12:21:03] <gene77> So what sort of syntax would I use when its sitting at the + corner of both travels to arrive at the x corner of x and the inverse of the currant y position? Reading the docs, I seems like it should be pretty simple.
[12:21:36] <gene77> So what sort of syntax would I use when its sitting at the + corner of both travels to arrive at the +x corner of x and the inverse of the currant y position? Reading the docs, I seems like it should be pretty simple.
[12:23:47] <jdh> http://www.linuxcnc.org/docs/2.4/html/g2-3.png
[12:23:49] <jdh> like that?
[12:26:56] <gene77> Yes, I have it printed wihin the last 4 months
[12:27:27] <gene77> except this is 2.6.0-pre uptodate
[12:28:32] <jdh> g1 to whatever position, g[2|3] destination position, i/j at the arc center?
[12:31:02] <gene77> Thats what I need to do, but obviously I'm screwing up the arc center calcs
[12:32:58] <gene77> Arc center j s/b #<_x_r> where its sitting right now, right?
[12:35:49] <gene77> another thing I see, the dro says x is at 0.2747, but the start var in the error msg says -0.2980???
[12:36:08] <gene77> another thing I see, the dro says x is at 0.2747, but the x start var in the error msg says -0.2980???
[12:36:42] <gene77> where the heck did the - sign come from
[12:37:42] <jdh> your keyboard.
[12:38:14] <gene77> funny
[12:43:49] <gene77> seems like I should be able to say g2 y#front j=current x pos
[12:44:46] <archivist> you know you can print your values to debug your code
[12:45:03] <gene77> and it would go to y_front, pivoting on the current x position if it assume i=0 when not given
[12:45:20] <gene77> yup
[12:50:27] <gene77> something else isn't working : (print, "text="#<_var>) isn't working when I run the code.
[12:57:27] <gene77> ahh, I see, prints goto stderr, use debug, that works where I can see it.
[13:05:56] <gene77> Is this one of those cases where I have to do a 180 arc 90 degress at a time?
[13:08:08] <cradek> you never have to do that in linuxcnc, only some very old controls
[13:12:53] <IchGuckLive> hi all B)
[13:13:28] <L84Supper> yikes! $22K for Mastercam's multiaxis mill package
[13:14:02] <IchGuckLive> go for the University aplication 2Years for 200USD
[13:14:20] <IchGuckLive> or try with Deskproto
[13:15:05] <L84Supper> has to be 5-axis min.
[13:15:13] <IchGuckLive> NP
[13:15:29] <IchGuckLive> look in the demo tutorials
[13:15:46] <L84Supper> can you customize the postprocessor?
[13:16:11] <IchGuckLive> yes it is in functions like sheetmetall
[13:16:21] <IchGuckLive> sheetcam Sorry B)
[13:17:23] <L84Supper> NX lets you write your own TCL for their postprocesor but then you're back up to >$10K
[13:18:50] <IchGuckLive> i know as i am in education JOB on this tuff i got every 2 years all mayture CADCAM stuff for info and tryouts to get 2000 licence etch
[13:19:33] <L84Supper> I need to fund PyCAM to support 5-axis
[13:20:12] <IchGuckLive> Catia,ProE,Solidworks-edge, i got 8000students every year so they try hard on me to change the system
[13:20:44] <L84Supper> you're a marketing channel for them :)
[13:20:45] <IchGuckLive> as they think if studens go in factories they may use the system as they are traind on
[13:21:11] <IchGuckLive> Therfor i go Heekscad !! O.O in 2 lessons
[13:21:33] <IchGuckLive> sheetcam for plasma and laser
[13:21:43] <archivist> not sure if pycam can ever get there, better stating with something faster
[13:21:44] <L84Supper> do they just ask you nicely or do they fly you out to Las Vegas for *meetings*?
[13:21:48] <IchGuckLive> librecad as CAD
[13:22:38] <IchGuckLive> L84Supper: its the UNIversity chief that flys not the teatchers as it is everywhere in the world
[13:22:56] <L84Supper> this is for additive manufacturing, so there aren't cutting tools, there are only adding tools, but the principals are similar
[13:23:00] <IchGuckLive> not the workers take the X-mas benefit its always the chief
[13:23:19] <L84Supper> heh, it's good to be the king
[13:23:35] <IchGuckLive> es yu speak
[13:23:59] <IchGuckLive> i need to fight for a new keyboard
[13:32:16] <gene77> humm, even more weird. The trace as I load the code shows the circle on the right end of the backtrace, but when I run it, the trace is then drawn on nthe left end like I tried to write the code
[13:32:31] <gene77> WTF?
[13:32:50] <gene77> restart lcnc time I believe
[13:45:13] <gene77> Didn't help! the white backplot when I load the code is x mirrored when I run the code. I have an excedrin headache
[13:45:56] <gene77> and an empty coffee cup, which is a major disaster BRB
[13:49:25] <gene77> In the meantime does anyone have a clue? I'm fresh out.
[13:51:43] <gene77> This reversal of check trace and actual motion for x is true regardless of backplot orientation, so its not there
[13:53:06] <gene77> Have I actually found a buglet?
[13:56:07] <gene77> Is there a difference in how it treats an x#<_x_var>, and an x-#<_x_var> (note minus sign) between load checking tracing and actual execution?
[13:56:33] <gene77> There are several instances of the form of sign changing in my code
[14:06:31] <archivist> gene77, until you pastebin something (a reproducable test case) no one can guess
[15:30:30] <gene77> I have the code working now, so I'll paste a screen shot but without disabling some of the code, the backlot reversal won't show. So let me do that and take a screenshot I can pit on imagebin
[15:30:44] <gene77> I have the code working now, so I'll paste a screen shot but without disabling some of the code, the backlot reversal won't show. So let me do that and take a screenshot I can put on imagebin
[15:30:59] <gene77> pit/put above
[15:38:43] <gene77> damn snapshots own window covered whats important, I'll do another
[15:41:37] <gene77> see http://imagebin.org/251995
[15:42:19] <gene77> I need to go to the house for 10 minutes
[15:46:09] <Jymmm> gene77: 9m 45s...
[15:46:19] <Jymmm> gene77: 9m 29s...
[15:53:34] <gene77> smart a..
[15:54:11] <gene77> :)
[15:54:33] <gene77> can you all see what I mean?
[15:55:23] <archivist> can anyone without the matching gcode
[15:57:06] <gene77> Hang on
[15:59:29] <gene77> http://pastebin.ca/2344331
[16:01:34] <gene77> Also, is there a way to turn off the probe stops once the probing has been done, I just broke a $12 bit because I forgot to hook it back up.
[16:06:59] <Jymmm> gene77: I'd rather be a smartass than a dumbass =)
[16:07:37] <gene77> chuckle, so would I
[16:10:18] <gene77> Usually its me that gives lessons on being a smartass...
[16:11:02] <Jymmm> Lessons?
[16:12:03] <gene77> I took the m2 stopper out and it looks like its working about right, cutting air of course. Yeah, IF I can think fast enough. At my age that seems to be slowing down, darnit.
[16:25:12] <gene77> I /think/ I have a way figured out to make the probe stops go away.
[16:26:09] <gene77> I usually do the probing with the cutting bit, running in reverse at 300 or so revs so it can touch without doing much damage.
[16:27:26] <gene77> IF I feed the probe from the spindle reversing signal, that would go away when I run the spindle fwd. Problem solved?
[17:09:15] <Aero-Tec> hello
[17:09:29] <tjb1> heya
[17:09:34] <Aero-Tec> have a problem
[17:10:12] <Aero-Tec> is the lower variable numbers reserved?
[17:10:24] <Aero-Tec> sat 1 to 20 or so
[17:10:29] <Aero-Tec> say
[17:10:58] <Aero-Tec> like are they not used for subs or something
[17:11:15] <Aero-Tec> so you can use them if you do not do subs
[17:11:41] <Aero-Tec> its foggy but I think I remember something about that
[17:12:34] <Aero-Tec> 1 to 30 or so used to pass variable info to and from subs
[17:16:08] <tjb1> Sorry Aero-Tec, I don't know
[17:16:32] <andypugh> There is something about global / non-global.
[17:18:03] <andypugh> http://linuxcnc.org/docs/html/gcode/overview.html#sec:parameters
[17:18:12] <andypugh> parameters > 31 are global.
[17:19:48] <Aero-Tec> yes
[17:20:18] <Aero-Tec> and no return value
[17:20:46] <Aero-Tec> easy fix
[17:20:48] <Aero-Tec> thanks
[17:38:24] <andypugh> I wish I had realised that there were two types of inductive prox switches (shielded and unshielded). I now have quite a lot of unshielded ones and then a bunch of unshielded ones that will actually do what I wanted on the way.
[17:49:23] <DJ9DJ> gn8
[18:23:53] <r00t4rd3d> http://i.imgur.com/uk2AAHa.jpg
[18:42:59] * JT-Shop knows he should be doing something besides reading forums...
[18:45:51] <r00t4rd3d> beat the wife and feed the dog
[18:46:24] <r00t4rd3d> or vise versa
[18:46:44] <JT-Shop> wife is at work and the dog is napping
[18:46:59] <r00t4rd3d> borrow your neighbors
[18:47:09] <JT-Shop> wife or dog
[18:47:17] <r00t4rd3d> fuck it, both
[18:50:02] <JT-Shop> now I know for sure you have not seen my neighbors...
[18:52:20] <andypugh> I want this, and I don't know why. http://www.ebay.co.uk/itm/BALTEC-Orbital-riveter-RN-081-/261191286254?pt=LH_DefaultDomain_3&hash=item3cd036bdee
[18:53:35] <JT-Shop> because it will look cool in your shop
[18:53:47] <tjb1> Hey fellas
[18:54:10] <JT-Shop> hi
[18:56:25] <Tom_itx> JT-Shop did you see that file i posted?
[18:56:43] <Tom_itx> should be pretty close to what you want
[18:58:37] <Tom_itx> except i didn't know how you wanted the output to toggle
[18:58:48] <JT-Shop> yes, but I'm a bit lost at the moment it kept asking for locations
[18:59:02] <Tom_itx> locations for what?
[18:59:15] <Tom_itx> that probably won't compile under studio 4
[18:59:37] <Tom_itx> they just added support for the tiny10 in studio 6
[18:59:49] <JT-Shop> ok, that is what I tried to open it with
[19:00:09] <Tom_itx> prior to that, it was asm only for the attiny10
[19:00:11] <JT-Shop> it can be a bigger on like a 16
[19:00:34] <r00t4rd3d> tjb1, http://i.imgur.com/eGAnc8M.jpg
[19:00:39] <Tom_itx> i started an asm version that would compile under studio 4 but i'm not done with it
[19:01:13] <tjb1> It might be lasered on mirrored acrylic
[19:01:18] <tjb1> Haven't heard back yet
[19:02:23] <r00t4rd3d> print me parts for a delta
[19:02:38] <tjb1> I don't have any filament right now
[19:02:47] <r00t4rd3d> stick a roll from school in your backpack
[19:02:51] <JT-Shop> I need to find a getting started tutorial for studo 4
[19:07:38] <Tom_itx> i can get you started
[19:07:54] <Tom_itx> i would just use a text editor personally
[19:08:19] <JT-Shop> ok, I like notepad++
[19:08:29] <Tom_itx> or the one that comes with winavr
[19:08:35] <Tom_itx> programmers notepad
[19:09:00] <JT-Shop> I'll have to look for that one
[19:09:04] <Tom_itx> and i can give you a fairly universal make file
[19:09:25] <Tom_itx> i like it because you can compile from within the editor
[19:09:52] <JT-Shop> downloading winavr now
[19:10:04] <Tom_itx> it's in the \winavr\pn directory
[19:10:30] <Tom_itx> it's got menu items for 'make clean' 'make all'
[19:10:36] <Tom_itx> which call your makefile
[19:11:03] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/avr/
[19:11:13] <Tom_itx> probably any of the makefiles you find in there will work
[19:11:23] <Tom_itx> just edit the target
[19:12:47] <Tom_itx> have you found another attiny you would rather use?
[19:13:57] <JT-Shop> I don't know one from the other
[19:14:10] <Tom_itx> for this it probably doesn't matter much
[19:15:10] <tjb1> Anyone know how to tell if a meter socket supports a certain form size meter?
[19:15:42] <JT-Shop> Tom_itx: I gotta run
[19:16:59] <Tom_itx> np
[19:17:28] <Tom_itx> attiny13 may do ok
[19:17:35] <Tom_itx> looking..
[19:18:23] <Tom_itx> dip 8
[19:18:38] <Tom_itx> int0
[19:18:41] <Tom_itx> will work fine
[19:21:15] <JT-Shop> cool
[19:21:35] <Tom_itx> i'll make a studio 4 project for it
[19:21:41] <Tom_itx> and post it in that same directory later
[19:22:03] <Tom_itx> won't take long..
[19:22:15] <JT-Shop> Ok, thanks
[19:22:24] <JT-Shop> I have to go start cooking now
[19:22:31] <Tom_itx> i'll put it under tiny13 directory so you know
[19:22:52] <JT-Shop> ok thanks
[19:24:06] <JT-Shop> attint This product has been retired from our catalog and is no longer for sale.
[19:24:16] <Tom_itx> should only take 10-15 min...
[19:24:18] <JT-Shop> attiny13 seems to be retired
[19:24:25] <Tom_itx> look for attiny13a
[19:24:28] <Tom_itx> pico power
[19:24:36] <Tom_itx> i bet mouser has em
[19:25:16] <Tom_itx> you want it to trigger on the rising edge right?
[19:25:22] <JT-Shop> yes
[19:25:42] <Tom_itx> figure on an external pulldown on that pin to be safe
[19:25:45] <Tom_itx> 10k or so
[19:25:48] <Tom_itx> 100k
[19:25:50] <Tom_itx> whatever
[19:25:52] <JT-Shop> yea $0.95 each on digi key
[19:26:13] <JT-Shop> http://www.digikey.com/product-detail/en/ATTINY13A-PU/ATTINY13A-PU-ND/1914671
[19:26:19] <Tom_itx> k, i'll use the 13a as the target
[19:26:32] <JT-Shop> ok thanks
[19:26:44] <JT-Shop> I'll check back in a bit
[19:39:20] <Tom_itx> ok that will work in studio 4 or the programmers notepad
[19:39:25] <Tom_itx> i compiled it with both
[19:40:01] <Tom_itx> had to rename a couple registers but it's basically the same file as the tiny10
[19:44:54] <Tom_itx> factory default clock rate is 9.6Mhz internal osc on that part
[19:47:26] <Tom_itx> that would be #define M_CPU 9600000 right?
[19:47:40] <Tom_itx> err F_CPU
[19:49:19] <PCW> andypugh: what do you think of a gantry homing comp to avoid the gantrykins nastyness
[19:50:10] <andypugh> It's probably doable. I guess it would store an offset between the two sides.
[19:51:13] <PCW> Yes home to and of sw1 and sw2
[19:51:15] <PCW> save offsets when backing off switches
[19:51:17] <andypugh> Though the gantrykins nastiness probably ought to be fixed by fixing the non-trivkins nastiness in general, which may have been done in ja3
[19:51:38] <micges> it is
[19:51:53] <micges> it is fixed in ja3
[19:52:40] <PCW> a simple gantry config should not expose the 'gantrynessl to the user at all
[19:52:42] <andypugh> So, an auto-world after home is probably all that is needed to make Gantrykins as nice as pie.
[19:54:21] <micges> note that after any errors motion goes back into joint mode
[19:54:36] <micges> so mode must be checked not only after homing
[19:55:07] <PCW> Thats still fairly ugly for a simple gantry machine
[19:55:40] <PCW> where all thats really needed is de-racking when homing
[19:55:55] <micges> in ja3 there is gentrivkins that will hide gantryness
[19:56:30] <micges> it is trivkins with ability to map axes to joints
[19:56:59] <micges> with it it will never be in joint mode (no ability to move joint from gui)
[19:57:45] <PCW> how does that help gantry homing?
[19:57:53] <andypugh> But homing is a joint-thing not an axis thing?
[19:58:17] <PCW> Oh I see joints for homing only
[19:58:43] <micges> yes
[19:58:54] <micges> just home all button
[19:59:08] <PCW> does that work now?
[19:59:37] <micges> it was 1.5 year ago iirc
[20:00:55] <PCW> Theres a hack the software stepgen that people are using for gantry homing by gating the step output with the limit switches
[20:01:18] <PCW> which of course does not work with hardware stepgens
[20:01:42] <PCW> is there some reason JA3 is not merged?
[20:02:11] <PCW> seems like the cats meow
[20:02:13] <andypugh> I think because it breaks many configs.
[20:02:22] <micges> all configs
[20:02:30] <PCW> yow
[20:02:38] <andypugh> Easy fix?
[20:03:01] <andypugh> As in, the same mod to all configs, that could potentially be scripted?
[20:03:24] <micges> most configs need addition of few section of ini file and hal names changes also
[20:04:43] <andypugh> So, in theory the INI could grow a [VERSION] entry, and if out-of-date a script could add/alter as required?
[20:04:46] <micges> new [KINS] and [AXIS_X] [AXIS_Y] and [AXIS_0] and so on changes to [JOINT_0]
[20:05:03] <micges> yep
[20:05:32] <andypugh> How busy are you :-)
[20:05:43] <micges> but in hal axis.0... needs to be changed to joint.0..
[20:06:01] <micges> ha!
[20:07:23] <micges> good thing is that ja3 is working, got many machines on it
[20:07:43] <PCW> is it up-to date
[20:07:46] <PCW> ?
[20:07:55] <micges> noo
[20:08:19] <andypugh> It gets merged occasionally, doesn't it?
[20:08:37] <micges> yes
[20:08:43] <micges> last time 11 months ago:)
[20:09:58] <andypugh> PCW: Have you any idea how troublesome it is that your Keyup for key 0 is identical to AllUp?
[20:15:25] <micges> PCW: I can merge it, seems to be quite easy
[20:15:48] <micges> (master in ja3, if that's helps)
[20:16:50] <Tom_itx> ok JT-Shop i think that should do. i don't have a target to test it on but it looks ok and compiles
[20:17:38] <andypugh> micges: Is there any reason not to?
[20:18:14] <Tom_itx> JT-Shop, i don't recall you saying how many times you dump the bucket before it triggers...
[20:19:39] <micges> hmm, not really
[20:31:49] <PCW> Keyup should have the change bit set (MSB)
[20:32:55] <PCW> But probably need to upgrade to V12 firmware for 2 key rollover anyway
[20:46:19] <andypugh> I think that the component ought to handle the old ones too, though.
[20:48:14] <skunkworks> http://www.machsupport.com/forum/index.php/topic,24126.0.html
[20:49:38] <andypugh> No spindle-at-speed input?
[20:50:24] <skunkworks> nope
[20:50:40] * skunkworks gives linuxcnc a big smooch
[21:14:34] <andypugh> This is quite cute, and fairly cheap.
[21:14:36] <andypugh> http://www.ebay.co.uk/itm/cnc-lathe-mini-lathe-mach-3-milling-emco-ballscrew-/300881477627
[21:42:04] <r00t4rd3d> that is cool
[21:42:09] <r00t4rd3d> top bad uk
[21:42:11] <r00t4rd3d> too
[21:59:32] <ReadError> dang r00t4rd3d
[21:59:35] <ReadError> wheres aspire 4
[22:09:40] <tjb1> r00t
[22:28:21] <r00t4rd3d> dont know
[22:30:27] <tjb1> r00t4rd3d:
[22:35:35] <r00t4rd3d> ?
[22:37:15] <r00t4rd3d> tjb1: