#linuxcnc | Logs for 2014-01-30

Back
[00:06:32] <PetefromTn> GN8
[02:20:19] <Deejay> moin
[06:10:37] <gonzo__> i thought DLP used a mono lcd matrix for the actual image, then spin a filter in fronr to make it frame sequential colour
[06:11:20] <gonzo__> oops, wron chan!
[06:13:25] <jthornton> lol
[06:18:36] <skunkworks> logger[mah],
[06:18:36] <logger[mah]> skunkworks: Log stored at http://linuxcnc.mah.priv.at/irc/%23linuxcnc/2014-01-30.html
[06:21:51] <skunkworks> dlp actually control little mirrors that reflects the light. color can be done a few ways - color wheel or multible light sources
[06:40:38] <gonzo__> baird would be proud of that!
[06:41:33] <gonzo__> Last projector I saw inside of, that was called DLP, was just a monochrome lcd and a colour wheel
[08:14:54] <CaptHindsight> http://marblar.com/how-it-works We have patents on solutions without problems. Please help us find problems to capitalize on.
[08:15:51] <CaptHindsight> oh and for submitting your ideas we'll give you virtual marbles
[08:18:45] <archivist> are they getting ideas too cheaply
[08:23:28] <PetefromTn> Morning folks was up late with Tom ITX as he was trying to help me get my Post processor sorted out. I THINK we have it but I was wondering if you guys would mind looking at it for me to see if you see any obvious problems for LinuxCNC?
[08:23:35] <PetefromTn> http://pastebin.com/kLFHBh9d
[08:28:40] <cradek> do you intend for everything to be in G91?
[08:28:45] <CaptHindsight> archivist: the patent holders still control the patent, now if they placed the patent into the hands of a neutral 3rd party that would be another story
[08:28:55] <cradek> it looks wrong to me
[08:29:28] <cradek> I would avoid that by using G0 G53 Z0 to lift up for the tool change, or better yet, use TOOL_CHANGE_QUILL_UP or TOOL_CHANGE_LOCATION so you don't have to program it every time
[08:29:41] <cradek> or TOOL_CHANGE_POSITION or however it's spelled
[08:30:29] <archivist> CaptHindsight, if my idea is patented that site seems to steal my marbles, it only pays 10%
[08:32:38] <PetefromTn> Isn't it the same thing I mean G28 takes it to home basically and calling out Z0 brings it to that point.
[08:33:09] <cradek> you have to switch to G91 which is crashy if you don't switch back
[08:33:30] <PetefromTn> Understand that my toolchanger is yet to be incorporated into the control so this is a temporary post setup so I can machine without having the tool get stuck in a position where i cannot change it out for the next MOP.
[08:34:10] <PetefromTn> aah I think you are right...
[08:34:18] <CaptHindsight> archivist: so 10% to the patent holder (problem solver), 10% to the idea creator (problem bringer) and 80% to the people behind the website?
[08:34:24] <cradek> using G53 avoids the mode switch
[08:34:42] <cradek> and using TOOL_CHANGE_QUILL_UP avoids all of this
[08:34:47] <PetefromTn> assuming I want to keep te G28 instead of the Go G53 whatever what would you recommend >
[08:35:05] <CaptHindsight> sounds like even steven split down the middle 10/90
[08:35:09] <PetefromTn> Chris can you post some code for your machine to compare it to?
[08:35:12] <cradek> well I've typed it twice...
[08:35:14] <FinboySlick> CaptHindsight: Still sounds better than the music industry though.
[08:35:32] <CaptHindsight> FinboySlick: that's what it reminds me of
[08:35:38] <cradek> bbl
[08:36:06] <PetefromTn> sorry man,
[08:36:13] <CaptHindsight> well 10/10/80 split, sounds fair :/
[08:36:29] <archivist> CaptHindsight, the commercial partner only gives back 10% as far as I can see so any person helping that site only gets a tiny marble
[08:37:09] <archivist> after the corners have been filed off
[08:41:58] <PetefromTn> rob_h: Hey man ya there?
[08:49:40] <PetefromTn> I was just rereading Chris' comments and I am wondering if I do remove the G28 Zo line and install the G0 G53 Z0 instead which would appear before each op does it revert back to G54 automaticallly when the toolchange and the machining opeeration start in linuxCNC?
[08:50:30] <PetefromTn> Or do I need to have it callout the G54 somehow?
[08:51:10] <PetefromTn> Already removed the G91 from that line so that is fixed.
[09:09:19] <cradek> yes G53 is not modal, so it applies only to that one line, which is what you want for a move like that
[09:45:24] <PetefromTn> okay thanks man. sorry I was out in the shop for a bit.
[09:57:35] <akex> hi all, there are a french user here ?
[10:19:13] <CaptHindsight> http://www.automationtechnologiesinc.com/products-page/ballscrews-nuts/1605-series-1280mm-flanged-nut-and-screw anyone have this?
[10:19:55] <CaptHindsight> they never seem to have the shorter ones in stock and he's selling the nuts separately
[10:20:45] <CaptHindsight> was thinking about getting the long ones to make 2-3 shorter ones
[10:21:10] <jdh> I have some that look just like that.
[10:21:14] <jdh> not from him though.
[10:21:33] <jdh> the screw is cheap enough to not bother getting a long one and cutting/machining
[10:22:54] <CaptHindsight> jdh: where do you get your screws? I have to drive right by A.T. today anyway
[10:23:59] <jdh> china
[10:24:29] <CaptHindsight> they are closed until Mid Feb, for cleaning and holidays
[10:24:50] <jdh> yeah, not a good solution if you want them reasonably soon.
[10:24:59] <jdh> but I am a cheap hobbyist
[10:25:10] <CaptHindsight> yeah, Saturday
[11:07:19] <FinboySlick> CaptHindsight: Turns out that what I have to glue is polypropylene.
[11:39:07] <Jymmm> FinboySlick: I'm coming in half way through the conversation, what about gluing PP ?
[11:43:41] <CaptHindsight> polypropylene? that's a tough one
[11:49:30] <CaptHindsight> FinboySlick: how does it need to be bonded? what type of joint?
[11:58:45] <IchGuckLive> hi all B)
[12:03:40] <PetefromTn> Hey Ich.
[12:05:27] <PetefromTn> Any of you guys use standalone CNC simulators to test code?
[12:09:51] <IchGuckLive> yes
[12:10:03] <IchGuckLive> just simulated
[12:10:12] <IchGuckLive> with standard linux
[12:10:29] <IchGuckLive> no RT
[12:14:00] <Jymmm> ping
[12:18:31] <CaptHindsight> http://www.adafruit.com/products/1179 8mm Diameter Linear Bearing, just FYI, these are worth every penny or you get what you pay for :)
[12:19:59] <IchGuckLive> Jymmm: return ping
[12:20:18] <IchGuckLive> PetefromTn: question is answerd
[12:20:31] <IchGuckLive> dnaleromj: Welcome to the CNC channel
[12:21:52] <R2E4> IchGuckLive: you the gatekeeper?
[12:22:10] <dnaleromj> now if I can keep my IRC channel open for more than a few minutes. :)
[12:22:44] <FinboySlick> CaptHindsight: broken corners of an automotive battery. Poor design. Let me dig you a picture.
[12:22:49] <IchGuckLive> R2E4: i dont se myself so
[12:23:24] <IchGuckLive> R2E4: vfigting with android pageview
[12:24:18] <FinboySlick> CaptHindsight: http://pbrd.co/1nqUNNk
[12:25:08] <FinboySlick> http://pasteboard.co/jstgNtR.jpg
[12:27:23] <CaptHindsight> FinboySlick: do you have the missing parts? Do any of them come in contact with the acid inside?
[12:28:00] <TekniQue> 16:50:47 < FinboySlick> CaptHindsight: Turns out that what I have to glue is polypropylene.
[12:28:03] <TekniQue> good luck
[12:28:09] <TekniQue> you can try welding it
[12:28:20] <FinboySlick> CaptHindsight: No leak, it's dry. I think the cells are underneath the foam you see where the surface was breached.
[12:28:26] <TekniQue> I'm not aware of any glue that will adhere to it
[12:28:56] <TekniQue> depending on how tough the joint has to be
[12:29:03] <FinboySlick> And yeah, I have the broken bits, two chunks, one for each break.
[12:29:11] <CaptHindsight> FinboySlick: is it under any tension?
[12:29:25] <CaptHindsight> or will it be :)
[12:30:06] <FinboySlick> Well, it's the foot of the battery and it'll go in a car. I assume it'll suffer some stress but probably not gigantic stress.
[12:30:10] <CaptHindsight> PP has very low surface energy but it's still a thermoplastic....
[12:30:22] <archivist> FinboySlick, I would put supporting material in any hidden void to make stronger
[12:31:13] <CaptHindsight> welding will be tough since you don't want to damage that foam
[12:32:29] <CaptHindsight> super glues are Cyanoacrylates, a good one can hold the old parts in place and then I'd cover the whole area with an epoxy
[12:32:32] <zeeshan|2> TekniQue:
[12:32:34] <zeeshan|2> youre in here
[12:32:34] <FinboySlick> CaptHindsight: As in solvent-welding or thermal welding?
[12:32:36] <zeeshan|2> i didn't even notice lol
[12:33:08] <CaptHindsight> thermal weld, PP is resistant to many solvents, that's why we use them to store and ship solvents
[12:34:02] <FinboySlick> CaptHindsight: Heh, it'd be an interesting case for an ultrasonic weld.
[12:34:13] <PetefromTn> Thanks Ich sorry I was out in the shop for awhile.
[12:34:31] <PetefromTn> Whaddya mean simulated with standard linux?
[12:34:34] <CaptHindsight> FinboySlick: if you could hold the broken parts
[12:34:35] <archivist> or sheet metal either side the break, to patch it
[12:34:58] <R2E4> zeeshan|2: you have any suppliers for linear square bearings?
[12:35:05] <R2E4> in T.O.?
[12:35:27] <zeeshan|2> not worth getting locally
[12:35:29] <zeeshan|2> they're too expensive
[12:35:42] <zeeshan|2> vxbbearings.com :P
[12:36:30] <R2E4> you mean vxb.com?
[12:36:33] <CaptHindsight> FinboySlick: is that an Optima battery?
[12:36:42] <FinboySlick> CaptHindsight: Moot, I wouldn't have access to anything like that anyway. Let me look up some examples of plastic welding that might be appropriate to this situation. And yeah, a yellowtop.
[12:37:18] <CaptHindsight> clean it up really well and use silicone caulk
[12:37:52] <FinboySlick> They shipped a replacement, it came in thrashed even worse. First one was in a cardboard box without cushioning at the bottom (the one you saw in the pictures). The replacement came wrapped in celophane with large 'Fragile' stickers on it... I wonder what they were thinking at the warehouse.
[12:38:20] <CaptHindsight> yikes, I just bought one from the auto parts store
[12:38:29] <IchGuckLive> someone of you guys is a Android app programmer
[12:39:02] <CaptHindsight> did you buy from Amamzon? I heard they ship light bulbs without any extra packing materials
[12:39:04] <IchGuckLive> Eclipse ?
[12:39:10] <FinboySlick> CaptHindsight: Only place I found that would send one to my neck of the woods is pretty far.
[12:39:30] <CaptHindsight> I just started not liking amazon
[12:39:33] <FinboySlick> CaptHindsight: And as I found out, it didn't work too well.
[12:39:40] <CaptHindsight> the shipping is getting pretty bad
[12:39:55] <jdh> I ordered some steel from amazon. No packing materials. The steel disappeared from the box. Both times.
[12:40:01] <FinboySlick> CaptHindsight: All they would have needet do to is strap it to a bit of plywood.
[12:41:02] <CaptHindsight> they even ship fluorescent tubes in the boxes made for display, all you get is a box of broken glass :)
[12:41:03] <FinboySlick> CaptHindsight: Anyway, they gave me my money back and didn't bother to request the battery back.
[12:41:15] <CaptHindsight> oh ok
[12:41:15] <archivist> poor packers are supposed to pack 60 parcels an hour
[12:41:19] <FinboySlick> So if I can save it, I'll have earned myself a free battery for the ordeal.
[12:41:26] <CaptHindsight> figures, slave labor
[12:41:38] <CaptHindsight> the cell inside is good
[12:41:56] <archivist> they had a tv program on amazon slavery in the uk
[12:41:58] <FinboySlick> Yeah. I just want to make sure it's sealed before I put it to use.
[12:42:07] <CaptHindsight> just coat it with silicone or epoxy
[12:42:10] <FinboySlick> And I like the challenge of doing a good job.
[12:42:56] <FinboySlick> Which of silicone or epoxy is most likely to stick to it?
[12:42:57] <CaptHindsight> I'm still waiting for a 2 day shipment from Monday
[12:43:29] <CaptHindsight> they sent the tracking number from UPS marked from yesterday but it hasn't even been picked up yet
[12:43:57] <CaptHindsight> so monday + 2 days = Friday or the following monday
[13:34:22] <IchGuckLive> im off BYE
[13:58:18] <Tom_itx> PetefromTn after looking at it, i meant to tell you about the G91
[14:00:53] <PetefromTn> Tom_itx: Yeah man I was discussing it with Chris this morning. No worries but I am gonna have to change it here and try again, working on some other stuff in the shop right now. Thanks so much for your help last evening.
[14:02:52] <FinboySlick> CaptHindsight: http://www.youtube.com/watch?v=fP3yW-hqFng Looks interesting. From further reading, I should be setting around 260-270 degrees for PP. It'll put a bit of silicone where the tip won't reach and I'll weld the outside joint I think.
[14:03:50] <Tom_itx> G53 says cutter comp needs to be off
[14:04:59] <Tom_itx> in my post i use G28 and don't use G91
[14:05:12] <Tom_itx> stays in G90 mode and works just fine
[14:05:22] <cradek> not if you are using it to move just Z up
[14:05:30] <Tom_itx> sure does
[14:05:41] <cradek> G28 is a weirdo code - it does two moves
[14:05:44] <Tom_itx> G28 Z0
[14:05:50] <cradek> that will sometimes move down first
[14:05:53] <Tom_itx> returns to the top
[14:06:06] <cradek> only if you're already at Z0 in your current system
[14:06:08] <Tom_itx> it shouldn't
[14:06:19] <cradek> yes it should
[14:06:33] <Tom_itx> if it's there why should it move at all?
[14:06:34] <cradek> that's why people use the otherwise-weird G91 Z0, to null out the first move
[14:06:47] <Tom_itx> i think originally i did too
[14:07:14] <cradek> have a look at http://www.linuxcnc.org/docs/html/gcode/gcode.html#sec:G28-G28_1
[14:07:14] <Tom_itx> it doesn't matter either way, my post will take care of it but apparently his won't
[14:07:23] <PetefromTn> I suppose I would want it to do whatever requires the least amount of code fiddling LOL>
[14:07:35] <cradek> G28 alone makes one move of all axes; G28 Z0 makes two moves of Z only
[14:07:50] <Tom_itx> G53 should work but cutter comp should be off according to the docs
[14:08:06] <cradek> well you don't want to change tools with cutter comp on anyway
[14:08:56] <Tom_itx> length or diameter? or either...
[14:09:04] <cradek> "cutter comp" means diameter
[14:09:08] <cradek> g41/g42
[14:09:33] <PetefromTn> Oh I thought it was use the TLO in the table..
[14:09:35] <cradek> you don't have to cancel tool length offset to change tools, but you should apply the new one pretty soon afterward
[14:09:56] <Tom_itx> apparently i don't use cutter comp anyway
[14:10:06] <Tom_itx> i don't see it in my code
[14:10:22] <Tom_itx> it still reads the tool table though
[14:10:42] <PetefromTn> http://pastebin.com/twfy5rci
[14:10:50] <Tom_itx> if i have a .250 EM and enter .255 it will cut differently
[14:10:59] <PetefromTn> This is the current code that I have not changed the PP yet to fix the G91
[14:11:23] <PetefromTn> Oops sorry that one does have the change
[14:11:33] <PetefromTn> How would you say it SHOULD look?
[14:11:43] <Tom_itx> what section did you end up putting the G28 in?
[14:11:54] <PetefromTn> Tool Change I think...
[14:11:58] <Tom_itx> look at my cube code
[14:12:00] <Tom_itx> it works fine
[14:12:28] <Tom_itx> i don't add G20 but you can
[14:12:53] <PetefromTn> I inserted the G43 H code there too and it also has the T() M6 in there.
[14:13:11] <Tom_itx> where does cambam store those?
[14:13:19] <Tom_itx> i may get a copy of yours to see
[14:13:58] <PetefromTn> Well I made those particular changes right from the software by going to the system tab and down to Post Processors then LinuxCNC and it opens underneath for you to make adjustment.
[14:14:19] <Tom_itx> i know but it writes to a file somewhere
[14:14:38] <PetefromTn> Yeah it is something like LinuxCNC.CBPP
[14:14:58] <PetefromTn> I modded that file and renamed it.
[14:15:53] <PetefromTn> BRB...
[14:19:23] <PetefromTn> Spraying some wood here with finish to complete a job for a customer. Sorry.
[14:21:28] <PetefromTn> I guess it does not matter what code you use G28 or G53 like he said but considering the other things I would need to setup for it to work I am leaning toward using the G0 G53 Z0 like Chris recommended. Not sure how that would affect the toolchange but it would always be input before the toolchange in the exact same place as the G28 Z 0 is in that code. Do I need to remove the G40 from the header there or is it okay the way
[14:21:28] <PetefromTn> it is?
[14:22:38] <PetefromTn> I think quite often on setup I will have the tool down at least near the work when I actually start the program so a move initially to toolchange height would be good as I intend to use a touch off tool for setup once I get the proper holders here.
[14:23:12] <PetefromTn> Then I can touch off and start the program the head will go up and ask me for the first tool and we are ready to machine no?
[14:23:46] <PetefromTn> I am sure I will have to make changes to this once the toolchanger is finished and ready to be used but for now that should work. What say ye?
[14:26:51] <Tom_itx> It is an error if:
[14:26:51] <Tom_itx> G53 is used without G0 or G1 being active,
[14:26:51] <Tom_itx> or G53 is used while cutter compensation is on.
[14:27:03] <Tom_itx> so use G40 with it
[14:27:31] <Tom_itx> bak in a few
[14:27:38] <PetefromTn> okay thanks.
[14:41:40] <PetefromTn> Gotta run an errand Tom and Chris be back later thanks again for all your help.
[16:33:43] <Deejay> gn8
[16:34:11] <JT-Shop> I'm getting an error with a 5i25 7i76 7i76 setup at the loadrt hm2_pci config="sserial_port_0=3000xxxx"
[16:34:13] <JT-Shop> http://pastebin.com/HDE10hih
[16:34:16] <JT-Shop> dmesg
[16:35:07] <PCW> hm2/hm2_5i25.0: Smart serial card 7i76.0.0 error = (30) Illegal Remote Mode
[16:37:04] <JT-Shop> what should sserial_port_0=3000xxxx be to set mode 3 on the 7i76 on p3?
[16:44:03] <PCW> the 7I76 only has mode 0,1,2 (why this is not the same as the 7I77 I do not know)
[16:46:06] <JT-Shop> ok
[16:46:15] <JT-Shop> I thought they were the same
[16:53:53] <PCW> they probably should be
[17:00:28] <PCW> I think linuxcnc master lists the modes in dmesg
[17:18:20] <Tom_itx> are there directions somewhere to apply patches?
[17:18:30] <Tom_itx> i'm not git monkey
[17:18:33] <Tom_itx> no*
[17:44:07] <JT-Shop> git am mypatch.patch IIRC
[17:45:16] <Tom_itx> then you need to rebuild it?
[17:45:23] <Tom_itx> make clean, make?
[17:46:39] <JT-Shop> sometimes make will do it other times make clean
[17:47:11] <Tom_itx> just wondering about that bug pete was experiencing
[17:49:45] <CaptHindsight> do pointless cows say "Moot"?
[18:00:07] <jdh> what do apathetic k0ws say?
[18:00:30] <cradek> meh.
[18:38:04] <JT-Shop> http://www.youtube.com/watch?v=0968f0VWvd8
[18:38:49] <Tom_itx> bridge done?
[18:41:51] <JT-Shop> no, but we have some of the LED's on now
[18:42:04] <JT-Shop> getting close, maybe next week
[18:43:18] <JT-Shop> http://imagebin.org/290016
[18:43:42] <JT-Shop> the glass panels in the copula have LED panels behind them
[18:43:57] <JT-Shop> there is a huge one under the copula
[18:45:05] <Tom_itx> new bridge? ... it looks new
[18:45:54] <CaptHindsight> wow, that vid linked to all the 80's hair bands
[18:46:08] <JT-Shop> I think they build it a couple of years ago, we are just lighting it up
[18:46:42] <JT-Shop> see the panels down the side?
[18:47:36] <Tom_itx> along the base?
[18:47:37] <JT-Shop> time to strap on the feed bag
[18:47:37] <Tom_itx> yeah
[18:47:41] <JT-Shop> yea
[18:47:51] <JT-Shop> it was a bitch to install
[18:48:01] <Tom_itx> i bet
[18:48:11] <JT-Shop> with the ladder in 1-4' of water
[18:48:19] <JT-Shop> and freezing temps
[18:48:47] <JT-Shop> same on both sides and one 2" run under the bridge to connect the two sides
[18:49:18] <JT-Shop> glad I was the bridge guy not the ladder guy
[18:49:23] <Tom_itx> heh
[18:49:50] <Tom_itx> i'm thinking i'm wasting my time sitting here reading the cambam docs
[18:51:35] <andypugh> I always prefer to dive in and look at the docs when stuck :-)
[18:51:45] <Tom_itx> do you use it?
[18:51:59] <andypugh> I can't remember
[18:52:12] <Tom_itx> i don't need it, just more curious than anything
[18:52:26] <Tom_itx> the curiosity is getting satisfied rather quick
[18:52:55] <andypugh> I think I have only used Pycam and Meshcam, but I might have tried Cambam. Typically I use them all once before the demo runs out
[18:53:10] <Tom_itx> never tried meshcam
[18:53:15] <andypugh> I have HSMworks for Inventor, but not the right Inventor version :-)
[18:53:46] <Tom_itx> i have old solidworks acad and smartcam but use smartcam the most
[18:54:47] <andypugh> I just wish PyCAM could produce a toolpath faster than overnight.
[18:55:16] <Tom_itx> yeah, i'm finding cambam to run rather slow on my pc
[18:55:16] <andypugh> Apart from the fact it is useless I get on well with it.
[18:55:21] <Tom_itx> but my hardware is pretty dated too
[18:55:29] <Tom_itx> my cad cam runs fine on it
[18:55:32] <andypugh> Meshcam is pretty quick.
[18:56:11] <Tom_itx> i had fun moving that iges you sent around in the mill package then converting it to lathe
[18:56:25] <zeeshan|2> any of you guys ever use mach3? :P
[18:56:35] <Tom_itx> nope
[18:56:41] <zeeshan|2> anti-mach3?
[18:56:41] <zeeshan|2> :]
[18:56:42] <JT-Shop> tried once and gave up
[18:56:56] <Tom_itx> i used flashcut cnc with my sherline before i loaded lcnc
[18:57:05] <JT-Shop> got dizzy looking at the GUI
[18:57:33] <Tom_itx> some guys here use it for comparison i think
[18:57:33] * JT-Shop wonders about questions like that
[18:58:06] <Tom_itx> before that i used okuma
[19:02:10] <andypugh> Seems that Cambam is a .co.uk (like sheetcam)
[19:02:34] <Tom_itx> yeah
[19:03:05] <Tom_itx> i grabbed it yesterday to try and help pete with is post
[19:03:26] <Tom_itx> his*
[19:06:23] <andypugh> Watching the CamBam video I used it for the thing I most recently machined, actually.
[19:06:45] <andypugh> Not quite as slick as MeshCAM, but cheaper.
[19:08:44] <Tom_itx> i wish mine was a litte more current but it still does everything i need
[19:09:49] <PCW> andypugh: how would you feel about 3 count pieces for absolute encoders?
[19:09:51] <andypugh> If I was actually going to spend money it would probably be the £93 for Cambam rather than the $250 for Meshacam.
[19:10:24] <andypugh> PCW: I understand the words, but not in that order :-)
[19:11:00] <PCW> well currently there are fields for high and low parts of the count
[19:11:57] <andypugh> Ah, I see. Have you found one?
[19:12:02] <PCW> turns out the Fanuc aA1000 encoder has full position in three pieces
[19:12:14] <PCW> Asa loaned one to me
[19:13:47] <PCW> its identical to the aA64 except is has an additional lower order bit field (6 bits which only 4 are useful)
[19:13:49] <PCW> but the new field is not contiguous with the higher order part
[19:14:30] <PCW> (which seems to be the Fanuc way)
[19:16:08] <andypugh> It's probably possible to hand-assemble the extra data into the position?
[19:16:23] <PCW> maybe
[19:16:27] <andypugh> Does just adding it on work?
[19:16:55] <PCW> with the right scale on the upper part, yes
[19:17:52] <PCW> the total number of its is > 32 but you could truncate the turns count for most applications
[19:18:58] <andypugh> counts, yes. Position can wrap though. Internally the encoders are promoted to 64 bits of count.
[19:19:24] <PCW> I guess for non absolute use, you could just merge the 2 counts/turn fields, and ignore the turns counter
[19:19:25] <andypugh> Anyway, time to sleep. I will think about how to handle it.
[19:19:39] <PCW> 'nite
[19:53:58] <tjb1> So anyone know if I can cut a thermocouple down in length without ruining it
[19:54:24] <eric_unterhausen> as long as you don't mess up the junction
[19:54:43] <PCW> should be able to its all the same stuff
[19:55:31] <tjb1> Anything I read just talks about changing resistance
[19:56:29] <eric_unterhausen> as long as you don't mess up the junction, you will not significantly change the thermocouple's properties
[19:56:41] <eric_unterhausen> you can always check with ice water/boiling water trick
[19:57:28] <tjb1> Alright, thanks
[20:00:37] <zeeshan|2> guys i need some help
[20:00:41] <zeeshan|2> http://www.automationtechnologiesinc.com/wp-content/uploads/downloads/2012/08/KL-8070D.pdf
[20:00:44] <zeeshan|2> thats my stepper driver..
[20:00:49] <eric_unterhausen> too bad
[20:00:57] <eric_unterhausen> j/k
[20:00:59] <zeeshan|2> =D
[20:01:10] <zeeshan|2> in section 4 where it talks about "control signal connector (p1) interface"
[20:01:28] <zeeshan|2> its showing me that i can run the connections "to open-collector signal"
[20:01:34] <zeeshan|2> or common-cathode
[20:02:52] <zeeshan|2> im confused =/
[20:03:14] <eric_unterhausen> you need to be able to light that led in the drive
[20:03:25] <eric_unterhausen> sourcing or sinking will do that
[20:03:37] <eric_unterhausen> sinking is usually more reliable
[20:03:53] <zeeshan|2> okay i can set it up as sinking
[20:04:19] <zeeshan|2> so right now in the software im changing the direction of pin 2. i can see it go from 3.3v to 0v when i change direction
[20:04:33] <zeeshan|2> (at the input side of the bob)
[20:04:43] <zeeshan|2> however on the output side of the bob, if i measure between pin 2 and ground, i see nothing.
[20:04:53] <zeeshan|2> its like stuck at .5v.
[20:04:57] <eric_unterhausen> are you pulling that pin high?
[20:05:04] <eric_unterhausen> what bob?
[20:05:10] <zeeshan|2> a cheap one
[20:05:12] <zeeshan|2> probotix rb-f
[20:05:24] <eric_unterhausen> link?
[20:05:25] <zeeshan|2> http://probotix.com/manuals/PBX-RF_manual.pdf
[20:05:32] <eric_unterhausen> wow that was fast
[20:05:42] <zeeshan|2> :)
[20:05:53] <eric_unterhausen> do you have the pullup resistor enabled on that line?
[20:06:10] <Tom_itx> open collector generally need pullups
[20:06:20] <eric_unterhausen> thus my question
[20:06:33] <Valen> why would you use RF for isolation?
[20:06:33] <zeeshan|2> my electronics expertise is pretty bad.
[20:06:41] <zeeshan|2> Valen: cause it's what was given to me
[20:06:41] <Valen> just seems harder than it needs to be?
[20:06:58] <zeeshan|2> i just wanna spin my steppers okay!!
[20:07:02] <eric_unterhausen> it took me 15 seconds to see that there are jumper enabled pullups
[20:07:04] <Valen> i was talking about the IC itself
[20:07:38] <eric_unterhausen> let me ask my question again, but more slowly
[20:07:45] <eric_unterhausen> what output are you using?
[20:08:02] <zeeshan|2> output to what
[20:08:14] <eric_unterhausen> the output you said stayed at .5v
[20:08:27] <zeeshan|2> i've got pin 2 as "direction"
[20:08:47] <zeeshan|2> just so i can see it go high or low as i change directions of the motor in the software
[20:09:03] <zeeshan|2> if i measure pin 2 on the parallel port cable, i can see it go from 3.3v to 0
[20:09:59] <eric_unterhausen> reading blurry schematic
[20:12:58] <zeeshan|2> eric.
[20:13:04] <zeeshan|2> lol i just redid my measurements
[20:13:08] <zeeshan|2> i think my multimeter was tripping out.
[20:13:14] <eric_unterhausen> I'm tripping out
[20:13:23] <zeeshan|2> measuring it after isolation now it's doing what its suposed to
[20:13:27] <eric_unterhausen> dot's good
[20:13:38] <zeeshan|2> if i measure between pin 2 and ground
[20:13:47] <zeeshan|2> its going 5v and 0 depending on motor direction !! :D
[20:14:17] <zeeshan|2> so that means that its currently set up as "Connections to open-collector signal (common-anode)"
[20:14:18] <zeeshan|2> right?
[20:15:14] <zeeshan|2> actually, no i think its setup like figure 3..
[20:32:47] <zeeshan|2> what exactly does the input pullup resistor do?
[20:33:22] <zeeshan|2> it makes ie the pin for step output +5v through it?
[20:33:24] <eric_unterhausen> a lot of parallel ports are open collector, and some need external pullup resistors to actually achieve a logic high
[20:33:42] <eric_unterhausen> wait, that isn't right
[20:33:59] <zeeshan|2> i unfortunately don't have an oscilliscope
[20:34:08] <zeeshan|2> so i can't see what kind of pulse train i'm getting on my step signal
[20:34:10] <eric_unterhausen> it's so whatever is driving the input can just be a sink
[20:34:38] <zeeshan|2> eric_unterhausen: see that doesnt make sense to me
[20:34:51] <zeeshan|2> currently when i measure between dir and ground,
[20:34:56] <eric_unterhausen> if you have a switch, it can't source current
[20:34:56] <zeeshan|2> it goes from 5v to 0v depending on direction
[20:35:14] <eric_unterhausen> it's the inputs from the machine, not the inputs from the parport
[20:35:43] <zeeshan|2> okay lets make it really simple
[20:35:58] <zeeshan|2> i have a pin that is set to have "input pull up resistor enabled" on it. it goes through a led
[20:36:15] <zeeshan|2> if i connect a led between that pin and ground
[20:36:29] <zeeshan|2> it'll light up when i energize that pin through my computer
[20:36:36] <eric_unterhausen> the input pullups are for limit switches and the like
[20:39:59] <zeeshan|2> man i just need to know this
[20:40:09] <zeeshan|2> in pin #2 giving out 5v!
[20:40:19] <zeeshan|2> or is it a sink!
[20:40:30] <zeeshan|2> so i can wire it accordingly to my stepper driver
[20:40:53] <eric_unterhausen> if you have an led hooked up to a pullup resistor, it will be on unless it is pulled down
[20:41:43] <eric_unterhausen> it's hard to make simple statements on IRC because there are 4 options
[20:42:27] <zeeshan|2> how do i determine if pin #2 is a "sink"
[20:42:58] <eric_unterhausen> I thought you said you had it going from zero to 5?
[20:43:19] <eric_unterhausen> if so, it's a source
[20:43:29] <eric_unterhausen> or a sink, your choice :)
[20:43:40] <zeeshan|2> it cant be both!
[20:44:01] <eric_unterhausen> sure it can
[20:44:09] <zeeshan|2> how!
[20:46:27] <eric_unterhausen> what pin are you using on bob?
[20:47:03] <PCW> poor bob
[20:47:33] <eric_unterhausen> us it as sink, figure 2 in drive manual
[20:47:39] <Tom_itx> bob's gettin the shaft not the pin
[20:47:51] <zeeshan|2> eric_unterhausen: im using pin #2
[20:47:53] <eric_unterhausen> hook 5 v to pul + dir + and ena +
[20:48:35] <eric_unterhausen> then hook pin 2 to pul - and pin x to dir - and pin y to ena -
[20:49:24] <eric_unterhausen> pin y being 14 and pin x being pin 3
[20:49:37] <zeeshan|2> do i need to disable the pull up resistor
[20:49:52] <eric_unterhausen> then hook pin 2 to pul - and pin 3 to dir - and pin 14 to ena -
[20:49:57] <eric_unterhausen> pullup is only for inputs
[20:50:04] <eric_unterhausen> so it doesn't matter
[20:50:41] <zeeshan|2> ok ill wire it just like you're saying
[20:50:44] <zeeshan|2> which is pretty much figure 2
[20:50:48] <zeeshan|2> of that stepper driver manual
[20:50:57] <eric_unterhausen> that's because I said to wire it like figure 2
[20:51:02] <zeeshan|2> http://probotix.com/manuals/PBX-RF_manual.pdf
[20:51:06] <zeeshan|2> what is jumper 1 for
[20:51:14] <zeeshan|2> it says "x-axis power"
[20:52:04] <eric_unterhausen> in bob?
[20:52:07] <zeeshan|2> yes
[20:52:21] <zeeshan|2> this is what's been driving me insane
[20:52:32] <zeeshan|2> this bob has its own things called "PBX" headers
[20:52:40] <zeeshan|2> in the pbx header, there is a +5V pin
[20:52:43] <eric_unterhausen> they are in parallel to each other
[20:52:59] <zeeshan|2> none of the screw terminals have +5v on the driver side of the bob
[20:53:24] <zeeshan|2> the screw terminals have pins 1-17
[20:53:29] <zeeshan|2> and a bunch of ground screw terminals.
[20:53:42] <zeeshan|2> there is no +5v except in the pbx header
[20:53:52] <Tom_itx> i think someone else just went thru this and found you need to get 5v from somewhere besides the screw terminals
[20:53:54] <zeeshan|2> let me take a nice clean pic of it cause that pdf doesnt show the screw terminals properly
[20:54:04] <zeeshan|2> Tom_itx: what kind of bs is that!
[20:54:04] <zeeshan|2> lol
[20:54:11] <Tom_itx> read the logs
[20:54:13] <Tom_itx> it's true
[20:54:18] <zeeshan|2> no i mean i believe you
[20:54:22] <zeeshan|2> but who does that on a bob
[20:54:26] <zeeshan|2> not give +5v ?
[20:54:34] <zeeshan|2> how are they expecting me to wire this to my stepper?
[20:54:35] <Tom_itx> apparently _they_ do
[20:54:38] <zeeshan|2> *stepper driver
[20:54:53] <Tom_itx> solder a wire to the board
[20:54:54] <eric_unterhausen> they expect you to use the headers
[20:54:57] <Tom_itx> 2
[20:55:00] <Tom_itx> 5 and gnd
[20:55:18] <zeeshan|2> eric_unterhausen: i guess they leave the screw terminals for inputs
[20:55:36] <eric_unterhausen> the screw terminals arent particularly obvious on the schematics
[20:55:37] <zeeshan|2> im not going to solder a wire
[20:55:43] <zeeshan|2> im just going to pick it off the pbx header
[20:55:48] <eric_unterhausen> get a terminal block
[20:57:58] <zeeshan|2> remind me never to go with a bob that someone just hands to you again.
[20:58:02] <zeeshan|2> i shoulda bought the cnc4pc bob
[20:58:25] <Tom_itx> store bought?
[20:58:40] <zeeshan|2> no
[20:58:46] <zeeshan|2> guy gave it to me at school
[20:59:00] <Tom_itx> well i wouldn't complain about that
[20:59:01] <eric_unterhausen> I would take it
[20:59:13] <zeeshan|2> :)
[20:59:17] <eric_unterhausen> I'm sure there are drives that take that header output
[20:59:19] <Tom_itx> you're welcome to give it forward :D
[20:59:22] <zeeshan|2> for a guy whos never cnc'ed before
[20:59:25] <zeeshan|2> its a headache
[20:59:35] <zeeshan|2> im a mechanical engineer not an electrical
[20:59:35] <zeeshan|2> :)
[20:59:36] <zeeshan|2> http://i130.photobucket.com/albums/p252/turbozee84/53e63724-339d-4645-9522-173afcef7376_zps97fa0db3.jpg
[20:59:55] <eric_unterhausen> do not disrespect mechanical engineers :<
[21:00:04] <zeeshan|2> im not disrespecting!
[21:00:20] <zeeshan|2> that pic shows you the pinouts for the screw terminals
[21:00:23] <eric_unterhausen> ::
[21:00:36] <zeeshan|2> so the only place for me to pick up 5v is really at the "x-axis power jumper"
[21:00:45] <zeeshan|2> or i keep the jumper where it is, and pick it up from the pbx header
[21:01:23] <eric_unterhausen> I forgot they have an on-board regulator
[21:01:51] <zeeshan|2> i can remove the jumper and actually plug a typical computer connector there
[21:01:52] <zeeshan|2> to steal power
[21:01:53] <zeeshan|2> :D
[21:03:30] <eric_unterhausen> looks liek there is a screw terminal w/5v on it from looking at the schematic
[21:03:50] <eric_unterhausen> it's right next to the "usb" block, but I can't read it
[21:08:02] <zeeshan|2> STOLEN
[21:08:10] <zeeshan|2> that is a 5v
[21:08:13] <zeeshan|2> but its on the pc side..
[21:08:33] <zeeshan|2> you either provide 5v on the pc side with a usb connector or through a walwart through that pin that you see
[21:08:44] <zeeshan|2> i chose the usb connector method ;p
[21:09:51] <Tom_itx> you only get 100ma legally
[21:10:10] <Tom_itx> usb is so abused
[21:11:04] <Tom_itx> how'd it go PetefromTn
[21:11:44] <PetefromTn> How'd what go LOL...
[21:11:54] <PetefromTn> Actually I just went over to a customers house.
[21:11:56] <Tom_itx> did you get the part cut?
[21:12:06] <PetefromTn> Been there since I left you this afternoon.
[21:12:29] <PetefromTn> Finally finished up that custom cabinet I was building and got the pocket doors installed and touched everything up.
[21:12:35] <PetefromTn> GOT PAID!!
[21:12:48] <PetefromTn> In fact the customer gave me a big fat tip too hehe
[21:12:56] <PetefromTn> So yeah I am feeling pretty good.
[21:13:13] <PetefromTn> Might be able to order some new toolholders now for the machine that I could not before.
[21:13:42] <PetefromTn> I have not tried to cut the part because we were still working on the post processor setup.
[21:16:34] <Tom_itx> can you post your post so i can look it over?
[21:16:38] <Tom_itx> pastebin
[21:16:55] <PetefromTn> sure gimme a second I am trying to eat my Chinese food LOL
[21:22:18] <PetefromTn> tryin to find it LOL
[21:22:32] <Tom_L> in program files.....
[21:23:29] <Tom_L> err no...
[21:24:47] <PetefromTn> it is saying pastebin is under heavy load or something.
[21:24:52] <Tom_L> documents and setings....
[21:26:08] <PetefromTn> http://pastebin.com/BrzbcLup
[21:28:47] <PetefromTn> ya know honestly I am not sure that is the post being used anymore. I changed the name from LinuxCNC.cpbb to Pete.cpbb so I could go back to stock if necessary but I have been making all the changes in the software in the system tab.
[21:29:27] <PetefromTn> The changes I make under the system tab seem to hold. For instance that post still has the G91 and I removed it in the software and the resultant code does not include it anymore.
[21:30:23] <Tom_L> check the date stapm
[21:30:25] <Tom_L> stamp
[21:31:01] <PetefromTn> how do you show the hidden files in file explorer in windows 8?
[21:31:10] <Tom_L> no clue
[21:33:12] <PetefromTn> I have not yet changed the G0 G53 Z0 like we were discussing before. Do I need to add anything else?
[21:35:29] <Tom_L> http://tom-itx.dyndns.org:81/~webpage/cnc/pete/
[21:35:34] <Tom_L> i changed it
[21:35:43] <PetefromTn> Watching one of my all time favorite movies "The hunt for Red October" never gets old..
[21:36:02] <Tom_L> i liked 'RED'
[21:36:11] <Tom_L> red october is good too
[21:36:32] <Tom_L> you removed some stuff from the post
[21:37:28] <PetefromTn> yeah I did remove stuff like "Made in CAMBAM and that annoying move to clearance plane at each tool callout before you change the tool LOL
[21:37:41] <zeeshan|2> sucess.
[21:37:43] <Tom_L> you removed cutter comp
[21:37:45] <zeeshan|2> stepper spins
[21:37:51] <zeeshan|2> problem is its only spinning in one direction
[21:37:51] <PetefromTn> Is Tom L the same guy as Tom ITX?
[21:38:11] <Tom_L> yeah
[21:38:27] <PetefromTn> oh okay...
[21:39:10] <PetefromTn> honestly right now I am thinking I should just mod the post via the software because I am pretty close to what I need right now.
[21:39:18] <PetefromTn> What exactly did you change?
[21:39:25] <Tom_L> line 20
[21:40:06] <PetefromTn> Oh okay so the G0 G53 Z0 is what we should go with you think then...
[21:40:22] <Tom_L> that's what cradek suggested
[21:40:30] <Tom_L> i use G28
[21:40:33] <Tom_L> but it's up to you
[21:40:35] <PetefromTn> I will change the post via the software to reflect that and post the beginning of the code again standby.
[21:40:46] <Tom_L> load that one and see if it's right
[21:41:03] <PetefromTn> yeah I don't think it matters but I guess the G53 is more foolproof.
[21:41:16] <PetefromTn> I can use some foolproof over here hehe
[21:41:19] <PetefromTn> Standby.
[21:41:41] <Tom_L> it's like using pncconfig or editing your own ini hal
[21:42:23] <Tom_L> hell they have it in the default linuxcnc post
[21:42:38] <Tom_L> <EndCut>G91 G28 Z0</EndCut>
[21:43:32] <PetefromTn> http://pastebin.com/SmyY3JdV
[21:44:39] <PetefromTn> well it is there now G0 G53 Z0 and it has cutter compensation in the machining ops while maintaining the G40 at the header.
[21:44:59] <Tom_L> if you don't trust it, change it to G1 with a slow feedrate the first time
[21:45:40] <PetefromTn> I usually back my feedrate overrides down to almost nothing whenever I am unsure of a new code.
[21:45:52] <PetefromTn> Keep my hand on that big red button lOL
[21:46:03] <Tom_L> does that affect rapids too?
[21:46:07] <PetefromTn> Do you see any reason why I should not trust it?
[21:46:15] <PetefromTn> I think it does yeah.
[21:46:39] <Tom_L> i'd get rid of some of the extra comments
[21:46:44] <PetefromTn> at least it seems to as I was playing with the new code there yesterday.
[21:46:55] <PetefromTn> like which ones..
[21:47:21] <PetefromTn> I honestly like the tool callouts at the header so If I have not run the code for awhile I can quickly see what tools are used.
[21:47:23] <Tom_L> the full tool list at the top
[21:47:27] <Tom_L> unless you like it
[21:47:53] <PetefromTn> Its okay...
[21:48:02] <Tom_L> that's line 19
[21:48:05] <PetefromTn> I am much more concerned if there are errors there.
[21:48:50] <Tom_L> i consider the post errors until it does what I want
[21:49:10] <Tom_L> but i don't see anything that stands out
[21:49:21] <PetefromTn> I honestly do not know linuxCNC that well and what it likes and does not like which is why I came here for help with the post.
[21:49:32] <PetefromTn> I agree nothing works until it works.
[21:49:42] <Tom_L> the only thing i don't like is the G43 Hx doesn't include a linear move
[21:50:07] <PetefromTn> like what do you mean? How should it look?
[21:50:12] <Tom_L> my post puts it with the move to 'clear' point
[21:50:18] <Tom_L> just a sec
[21:51:30] <Tom_L> N10 G43 Z-0.8 H05
[21:51:43] <Tom_L> that's a rapid move
[21:51:50] <Tom_L> the line above it sets G0
[21:52:01] <Tom_L> N8 T5 M06 ( 1/8" END MILL )
[21:52:01] <Tom_L> N9 G17 G00 G90 X-0.5 Y-0.5 S3000 M03
[21:52:02] <Tom_L> N10 G43 Z-0.8 H05
[21:52:37] <PetefromTn> whats the X and Y moves for?
[21:52:38] <Tom_L> that's all part of my tool change post
[21:52:46] <Tom_L> moves to the start of the first cut
[21:53:16] <PetefromTn> does the G43 callout line have to have an axis move?
[21:53:35] <Tom_L> it doesn't take effect until it sees a linear move
[21:54:22] <Tom_L> http://www.linuxcnc.org/docs/html/gcode/gcode.html#sec:G43
[21:54:50] <PetefromTn> I kinda like that the spindle and coolant turn on before the machine moves to the clearance plane giving it time to spool up and coolant to start flowing.
[21:55:21] <PetefromTn> Do you think the move to clearance plane after all that will engage the comp?
[21:55:53] <Tom_L> it should but not with the first tool because it's all drill cycles
[21:56:14] <PetefromTn> well yeah you are right.
[21:57:02] <Tom_L> G43 does not cause any motion. The next time a compensated axis is moved, that axis’s endpoint is the compensated location.
[21:57:46] <Tom_L> i dunno, you'd have to ask the developers if a drill cycle qualified for that
[21:57:52] <Tom_L> it might
[21:58:04] <PetefromTn> N20 G0 G53 Z0
[21:58:04] <PetefromTn> N30 T2 M6
[21:58:04] <PetefromTn> N40 G43 H2
[21:58:04] <PetefromTn> ( Drill1 )
[21:58:04] <PetefromTn> N50 G17
[21:58:05] <PetefromTn> N60 M8
[21:58:06] <PetefromTn> N70 M3 S4500
[21:58:08] <PetefromTn> N80 G0 Z0.25
[21:58:25] <PetefromTn> this is the meat of it.
[21:59:17] <PetefromTn> toolchange complete, cutter comp on, XY plane, coolant on, spindle on, move to clearance plane. will that happen correctly>
[21:59:26] <Tom_L> line 80 would be where my post puts it
[22:00:53] <Tom_L> if G98 is modal, it doesn't need repeating
[22:01:11] <PetefromTn> That move to clearance is in the footer of the post processor. I am unsure if I move the G43 there if it will post it correctly.
[22:01:54] <PetefromTn> Where is it repeated?
[22:02:08] <PetefromTn> You mean the peck drill cycle?
[22:02:10] <Tom_L> 110 120 130...
[22:02:11] <Tom_L> yes
[22:02:42] <PetefromTn> yeah I know that is funky but I was unable to figure out how to make the post only use it once..
[22:02:58] <Tom_L> N398 T1 M06 ( #1 CENTER DRILL )
[22:02:59] <Tom_L> N399 G17 G00 G90 X-1.02 Y-0.6165 S2500 M03
[22:02:59] <Tom_L> N400 G43 Z-0.9 H01
[22:02:59] <Tom_L> N401 G99 G81 Z-1.035 R-0.9 F4.0
[22:02:59] <Tom_L> N402 Y-2.3485
[22:02:59] <Tom_L> N403 X-2.52 Y-1.4825
[22:02:59] <Tom_L> N404 X-2.883 Y-2.6075
[22:03:00] <Tom_L> N405 X-3.633
[22:03:11] <Tom_L> that's what mine puts out for a typical drill cycle
[22:03:28] <Tom_L> the cycles are modal too
[22:03:39] <PetefromTn> yeah that is not a peck but I see what you mean that is what I am used to seeing also.
[22:03:51] <Tom_L> you got some work to do :D
[22:04:04] <Tom_L> keep tweaking it until you know it by heart
[22:04:28] <PetefromTn> not sure how I would change that because the post is setup to list the code for each hole.
[22:04:43] <Tom_L> i don't know what they do to eliminate the command if it's repeated
[22:05:10] <Tom_L> mine does too but i just tell it the coordinates
[22:05:39] <PetefromTn> I dunno.
[22:05:49] <Tom_L> <#ABSI>< #RTNLVL>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH R#ZCHK>< F#FEED>
[22:05:58] <Tom_L> the <> make it not repeat
[22:06:12] <Tom_L> i can remove them if i want it to repeat every time
[22:06:18] <PetefromTn> honestly it is not an issue it works the way it is.
[22:06:30] <Tom_L> looks prettier :)
[22:06:37] <PetefromTn> let me see if I can find something like that in my code..
[22:06:50] <Tom_L> i haven't read enough to know yet
[22:07:02] <Tom_L> there should be a way to not repeat a command if it's been issued
[22:07:30] <PetefromTn> <Drill>{$g81} {$_x} {$_y} {$_z} {$r} {$_f}</Drill>
[22:07:31] <PetefromTn> <DrillDwell>{$g82} {$_x} {$_y} {$_z} {$p} {$r} {$_f}</DrillDwell>
[22:07:31] <PetefromTn> <DrillPeck>{$g83} {$_x} {$_y} {$_z} {$q} {$r} {$_f}</DrillPeck>
[22:07:42] <Tom_L> right
[22:07:45] <PetefromTn> That is the area where i see the G83 etc..
[22:07:56] <Tom_L> now figure out how to display only the changed data
[22:08:09] <PetefromTn> NO CLUE man..
[22:08:22] <PetefromTn> I do not understand all this programming stuff at all LOL
[22:08:34] <Tom_L> you're getting a lesson
[22:08:48] <PetefromTn> Do you think I should put the >< after the G83 code>
[22:09:03] <Tom_L> ?
[22:09:08] <PetefromTn> <>
[22:09:10] <PetefromTn> ?
[22:09:17] <Tom_L> no that's for my cad cam, not yours
[22:09:30] <PetefromTn> oh I thought it was similar.
[22:09:30] <Tom_L> his may not be able to
[22:09:50] <Tom_L> i'm showing you my smartcam post
[22:09:57] <PetefromTn> yeah I know.
[22:10:09] <PetefromTn> pretty smart hehe
[22:10:24] <Tom_L> it should be...
[22:10:34] <PetefromTn> yeah for what It costs right.
[22:11:18] <PetefromTn> Been playing with that CNCsimulator pro software.
[22:11:34] <PetefromTn> It is pretty cool to watch the whole machine being simulated not just the part.
[22:14:28] <Tom_itx> ok i found it
[22:14:37] <PetefromTn> found what?
[22:14:41] <Tom_itx> read P79 Note at the bottom
[22:14:49] <Tom_itx> _ sets them to modal
[22:15:17] <PetefromTn> okay where do I put that?
[22:15:22] <Tom_L> i'll fix it
[22:15:38] <PetefromTn> actually remember I need to insert it into the software.
[22:15:45] * Tom_L closes about 40 windows to find his editor
[22:15:53] <PetefromTn> hehehe
[22:15:54] <zeeshan|2> it works it works!
[22:15:55] <Tom_L> no just load the file
[22:16:24] <zeeshan|2> http://www.youtube.com/watch?v=zeHCgZ4NZ0A
[22:16:37] <zeeshan|2> sorry for the shakiness
[22:17:09] <Tom_L> http://tom-itx.dyndns.org:81/~webpage/cnc/pete/LinuxCNC_Pete.cbpp
[22:17:16] <Tom_L> see what that does
[22:17:28] <zeeshan|2> CamBAM!
[22:17:32] <PetefromTn> congrats man I know that feeling LOL
[22:17:48] <zeeshan|2> seriously im confident mechanically
[22:18:02] <zeeshan|2> and with modular electric stuff like vfds plcs etc
[22:18:02] <PetefromTn> Okay lemme try it.
[22:18:09] <Tom_L> does the Q and R need to be output each time?
[22:18:09] <zeeshan|2> but when it comes to micro im a NOOB
[22:18:23] <PetefromTn> dunno man.
[22:18:31] <Tom_L> try it with and without the _ once
[22:18:33] <PetefromTn> standby lemme try to fix the post.
[22:18:36] <Tom_L> you can see what i did
[22:18:52] <Tom_L> just add an _ by each drill cycle
[22:19:13] <Tom_L> line 30 31 & 32
[22:20:22] <PetefromTn> ( Drill1 )
[22:20:22] <PetefromTn> N50 G17
[22:20:22] <PetefromTn> N60 M8
[22:20:22] <PetefromTn> N70 M3 S4500
[22:20:22] <PetefromTn> N80 G0 Z0.25
[22:20:23] <PetefromTn> N90 G0 X-0.71398 Y-0.232
[22:20:26] <PetefromTn> N100 G98
[22:20:28] <PetefromTn> N110 G83 X-0.71398 Y-0.232 Z-0.625 Q0.1 R0.25 F10.0
[22:20:30] <PetefromTn> N120 X0.00002 Y-0.75073 Z-0.625 Q0.1 R0.25
[22:20:32] <PetefromTn> N130 X0.71399 Y-0.23197 Z-0.625 Q0.1 R0.25
[22:20:34] <PetefromTn> N140 X0.44126 Y0.60736 Z-0.625 Q0.1 R0.25
[22:20:35] <Tom_L> yay !
[22:20:36] <Tom_L> it worked
[22:20:37] <PetefromTn> N150 X-0.44128 Y0.60735 Z-0.625 Q0.1 R0.25
[22:20:39] <PetefromTn> N160 G80
[22:20:41] <PetefromTn> N170 M9
[22:20:45] <PetefromTn> seems like it worked... you da man!
[22:20:59] <Tom_L> now figure out if it can be added to the Q and R parameters too
[22:21:05] <PetefromTn> I noticed the feedrate has the sub line on it but not the Q and R.
[22:21:12] <zeeshan|2> are you writing g code by hand sir
[22:21:16] <PetefromTn> it can but should I?
[22:21:19] <Tom_L> no we're fixing a post
[22:21:23] <zeeshan|2> ah
[22:21:35] <Tom_L> if it only needs to see it once only tell it once
[22:21:48] <Tom_L> i hate for ppl to tell me the same thing multiple times :)
[22:21:52] <PetefromTn> okay if you are sure..standby
[22:21:56] <Tom_L> test it
[22:22:08] <Tom_L> you can always change it back
[22:22:12] <Tom_L> make a dry run
[22:22:20] <Tom_L> measure the return levels
[22:23:30] <Tom_L> do the same thing with G1 G2 & G3
[22:23:35] <Tom_L> and G0
[22:23:45] <Tom_L> they are modal as well
[22:23:45] <PetefromTn> Okay the G81 only has the R, The G82 has a P and an R, the G83 has a Q and R... is that correct?
[22:24:11] <Tom_L> i'm just saying test the underscore addition on each one to make sure it still functions the same
[22:24:23] <Tom_L> if it doesn't, remove it for that variable
[22:24:43] <PetefromTn> the underscore addition works fine just trying to make sure I do not underscore something that should not be.
[22:24:56] <Tom_L> that's why i said test it
[22:24:58] <Tom_L> dry run
[22:25:08] <PetefromTn> standby.
[22:26:52] <PetefromTn> http://pastebin.com/dvZsbThZ
[22:27:43] <Tom_L> looks cleaner
[22:27:47] <Tom_L> see how it runs
[22:27:57] <PetefromTn> it does look cleaner.
[22:28:03] <Tom_L> test each drill cycle before you commit to it
[22:28:08] <Tom_L> run it with no tools
[22:28:17] <PetefromTn> I will run it in air
[22:28:30] <PetefromTn> it looks go tho no?
[22:28:32] <Tom_L> the Z return could go too
[22:28:40] <Tom_L> i'd run it
[22:28:47] <PetefromTn> whaddya mean Z return?
[22:29:03] <Tom_L> the z-.0625 on the end of each one
[22:29:26] <PetefromTn> That's the move to clearance plane. before moving to toolchange height no?
[22:29:39] <Tom_L> ok, it must need to be there i guess
[22:29:41] <PetefromTn> oh not nevermind '
[22:29:57] <Tom_L> the Z has the _ already
[22:30:04] <Tom_L> it must come from somewhere else
[22:30:16] <PetefromTn> actually that is the drill hole depth for each hole.
[22:30:25] <Tom_L> ok
[22:30:41] <Tom_L> well it looks better anyway
[22:30:55] <PetefromTn> The only thing that stands out for me that might be an issue is that there is no M5 anywhere.
[22:31:09] <Tom_L> my Z only shows up once if all the holes are the same depth
[22:31:48] <PetefromTn> Running the code the other day the spindle turned on and shut off automatically after the drill cycle and when I inserted the second tool.
[22:32:07] <PetefromTn> Thats not a big deal really is it?
[22:32:27] <Tom_L> huh?
[22:32:38] <PetefromTn> I'm excited that we are getting somewhere with this post finally.
[22:32:59] <Tom_L> test what you've done and we'll fix more
[22:33:26] <PetefromTn> I mean the lack of an M5 after the drill cycle did not keep it from stopping the spindle after it was done and ready for the next tool.
[22:33:31] <Tom_L> the M5 should appear at the end move
[22:34:11] <PetefromTn> yeah i know but it is not there after the drill cycle and it still stopped the spindle.
[22:34:19] <Tom_L> my end template has an M5 in it
[22:34:33] <PetefromTn> I was thinking of adding one too.
[22:34:33] <Tom_L> @END
[22:34:34] <Tom_L> #IF(#U9=1)<***END***>
[22:34:34] <Tom_L> G00< #FXD> Z#ZPOS // M09
[22:34:34] <Tom_L> M05
[22:34:34] <Tom_L> G28 Z0
[22:34:34] <Tom_L> G28 Y0
[22:34:34] <Tom_L> M30
[22:34:35] <Tom_L> #OFFBLK%<RETURN>
[22:34:58] <Tom_L> and coolant
[22:35:01] <PetefromTn> hmm.
[22:35:04] <Tom_L> i don't have coolant
[22:35:26] <PetefromTn> you got the M9 in there tho.
[22:36:19] <Tom_L> yeah i stole this from something and modded it
[22:36:28] <Tom_L> probably fadal or something
[22:36:44] <PetefromTn> oh okay.
[22:37:07] <Tom_L> the M9 is commented out
[22:37:12] <PetefromTn> I suppose I could add the M5 before the M9 on each MOP.
[22:37:38] <PetefromTn> Can't really hurt anything no?
[22:37:55] <Tom_L> there should be a macro for it like: {$coolant.off}
[22:37:56] <Tom_L> or such
[22:38:10] <Tom_L> or {$spindle.off}
[22:38:21] <PetefromTn> LOL there actually is not one in cambam for coolant.
[22:38:22] <Tom_L> {$spindle(off)}
[22:38:35] <Tom_L> from the post
[22:38:49] <PetefromTn> You input a code snipped of M9 into the MOP setup and it adds it to every MOP.
[22:38:54] <Tom_L> it's there but not being output
[22:39:27] <Tom_L> i'm not using the GUI
[22:39:27] <zeeshan|2> eric_unterhausen: thanks for your help earlier
[22:39:28] <zeeshan|2> you too tom
[22:39:29] <zeeshan|2> ;D
[22:39:37] <Tom_L> i watched alot
[22:40:43] <PetefromTn> it is in the footer {$spindle(off)}
[22:41:36] <Tom_L> it's not being output is it?
[22:41:48] <PetefromTn> Oh wait I just looked at that last posted code and there is an M5 at the bottom
[22:42:01] <PetefromTn> Curiously there is not an M5 after the drill cycle.
[22:42:13] <Tom_L> maybe it doesn't need one there
[22:42:27] <PetefromTn> Does G80 take care of that somehow?
[22:42:47] <Tom_L> i don't know
[22:42:47] <PetefromTn> or perhaps the M6?
[22:42:55] <Tom_L> M6 might
[22:43:05] <PetefromTn> I suppose it should.
[22:43:06] <Tom_L> probably would
[22:43:42] <PetefromTn> Like I said when I ran the code before all these changes everything worked but it did not raise the head out of the work to be able to change tools.
[22:43:53] <Tom_L> yup
[22:43:57] <PetefromTn> Spindle stopped fine and asked me to change tools I just could not LOL
[22:44:06] <Tom_L> well test this and see how it goes
[22:44:11] <Tom_L> i'm callin it..
[22:44:22] <PetefromTn> I think we got it pretty good.
[22:44:32] <PetefromTn> Thanks man sure appreciate all your assistance.
[22:44:33] <Tom_L> it can be better
[22:44:48] <PetefromTn> Always room for improvement ;)
[22:45:34] <PetefromTn> Well I think I am gonna call it a night too. I am tired. I will test this in the morning on the machine.
[22:45:46] <PetefromTn> Night man..
[22:45:49] <Tom_L> look at their main footer on P.77
[22:46:06] <PetefromTn> okay did you find something>
[22:46:08] <Tom_L> they even have the G28 in there
[22:46:50] <Tom_L> if M5 isn't output with that spindle command to your liking, add the literal M5 there instead
[22:47:05] <Tom_L> like they did the M9
[22:47:16] <PetefromTn> I am thinking it may be simpler to get the toolchanger working with the G0 G53 Z0 and I can change the Z factor.
[22:47:28] <Tom_L> they use both there
[22:47:34] <Tom_L> G28 and G53
[22:49:20] <PetefromTn> Do you think we should change it>
[22:49:43] <PetefromTn> Of course that is for CamBam not necessarily LinuxCNC..
[22:49:44] <Tom_L> i'd keep at it until it's what i wanted for output
[22:50:04] <PetefromTn> Agreed. Gotta test what we have here tho first.
[22:50:07] <Tom_L> it's not that hard
[22:50:17] <PetefromTn> No actually it is quite easy.
[22:50:27] <Tom_L> i downloaded it yesterday
[22:50:32] <PetefromTn> I like your idea of naming things funky stuff.
[22:50:39] <Tom_L> it helps find sections
[22:50:46] <PetefromTn> yeah good tip.
[22:51:18] <Tom_itx> ok that's about it for me
[22:51:19] <PetefromTn> I am so stoked I got this job finished and got a big tip, I may be able to order a buncha toolholders now.
[22:51:29] <PetefromTn> thanks man so much.
[22:51:43] <PetefromTn> Have a good night.
[22:51:54] <toastyde1th> i'm sad the open source efforts at APT never took off