#linuxcnc | Logs for 2012-11-07

Back
[18:29:03] -!- logger[psha] [logger[psha][email protected]] has joined #linuxcnc
[18:29:19] <Aero-Tec> I want to convert all my code to EMC
[18:29:39] <Aero-Tec> and use only EMC as I am so feed up with mach
[18:30:04] <jthornton> might want to make a python script to do the obvious things first like tool prepare and load
[18:30:14] <IchGuckLive> then you only need to fit the tools into the table change T0101 to T1 G43H1 for the drillings
[18:30:22] <Aero-Tec> great for a guy that wants to play, but not for a working mans machine
[18:30:34] <IchGuckLive> no python
[18:30:38] <Aero-Tec> learned that one the hard way
[18:30:40] <IchGuckLive> it is trivial
[18:31:01] <Aero-Tec> what do you mean no python?
[18:31:13] <Aero-Tec> I know it is a scripting language
[18:31:32] <IchGuckLive> to change this
[18:31:45] <jthornton> Aero-Tec, do you manually change the tools?
[18:31:54] <Aero-Tec> I did the live CD so if the live CD loads python I have python running on it
[18:31:59] <Aero-Tec> yes
[18:32:00] <IchGuckLive> line.split(';') for instance
[18:32:03] <Aero-Tec> right now I do
[18:32:48] <Aero-Tec> ; is rem
[18:32:52] <IchGuckLive> this is a lathe !
[18:32:55] <Aero-Tec> so it is skipped
[18:33:01] <Aero-Tec> yes
[18:33:57] <jthornton> if you have the manual tool change then a T1M6 will stop the program and wait for you to change the tool
[18:34:25] -!- johngag has quit [Quit: Page closed]
[18:34:27] <Aero-Tec> cool
[18:34:29] <Aero-Tec> thanks
[18:34:58] <Aero-Tec> what INI Gcode line should I use to turn off cutter comp?
[18:35:07] <jthornton> in the MDI window type in T1 M6 and see if you get the insert tool prompt
[18:35:14] <IchGuckLive> G40
[18:35:16] <Aero-Tec> and set the lathe so it is ready to run
[18:35:19] <jthornton> cutter comp is G code
[18:35:20] <IchGuckLive> G49
[18:35:26] <IchGuckLive> to get all of
[18:35:55] <Aero-Tec> so G49 turns off all cutter comp?
[18:36:04] <IchGuckLive> line 144 does it for you
[18:36:31] <jthornton> http://linuxcnc.org/docs/html/gcode/gcode.html#_g40_compensation_off_a_id_sec_g40_a
[18:36:35] <IchGuckLive> 152 waits for your start command
[18:36:42] <jthornton> http://linuxcnc.org/docs/html/gcode/gcode.html#_g49_cancel_tool_length_compensation_a_id_sec_g49_tool_a
[18:37:03] <jthornton> G49 - cancels tool length compensation
[18:37:16] <jthornton> G40 - turn cutter compensation off
[18:37:25] <Aero-Tec> and G40 the other comp?
[18:37:28] <Aero-Tec> ok
[18:37:31] <Aero-Tec> cool
[18:37:41] <Aero-Tec> was not sure if EMC was the same
[18:37:53] <IchGuckLive> G40 is left right off G49 is Z off
[18:38:07] <IchGuckLive> Linuxcnc is Fanuc 11
[18:38:15] <IchGuckLive> Standard iso G-code
[18:38:40] <IchGuckLive> there are alot of G91 moves
[18:38:41] <Aero-Tec> yes line 146 is my Gcode INI line
[18:39:05] <IchGuckLive> G20 is inch
[18:41:25] <IchGuckLive> G4 P500
[18:41:32] <IchGuckLive> G5 P0.5
[18:41:45] <IchGuckLive> G4 P0.5 Sorery
[18:42:15] <IchGuckLive> 500seconds is way to long
[18:42:17] <Aero-Tec> the code is somewhat of a mess, the first part is setup of variables, then the code starting at 146, and then the subs
[18:42:46] <Aero-Tec> mach can be set to seconds or micro sec
[18:42:57] <IchGuckLive> you can call the subs no problem the F and the s is in the wrong place
[18:43:02] <Aero-Tec> that is 500 micro seconds
[18:43:53] <IchGuckLive> it seams that this is a Oki NC
[18:44:13] <IchGuckLive> emc will read this as 500 seconds
[18:44:44] <Aero-Tec> so could one do .005 seconds in EMC?
[18:45:12] <jthornton> Aero-Tec, you will have to go through and find each error and correct them to learn the differences
[18:45:19] <Aero-Tec> I know it would not be equal to .5 sec or 500 micro sec
[18:45:43] <jthornton> http://linuxcnc.org/docs/html/gcode/gcode.html#_g4_dwell_a_id_sec_g4_dwell_a
[18:46:08] <jthornton> you should reference the G codes in the manual as you convert the files
[18:46:40] <Aero-Tec> yes
[18:46:48] <Aero-Tec> I have been for the mill
[18:46:52] <IchGuckLive> you need to fo it by step
[18:47:05] <Aero-Tec> just need to learn the lathe
[18:47:07] <IchGuckLive> it is not so many work as you think
[18:47:51] -!- sumpfralle [[email protected]] has joined #linuxcnc
[18:48:55] <IchGuckLive> in your case i woudt go for Txx M6 next line G43 Hxx
[18:49:37] <jthornton> I fixed on subroutine and a couple more errors so you have some ideas http://pastebin.com/A9J7k06X
[18:50:49] <IchGuckLive> change P to P.
[18:51:37] <Aero-Tec> I have a quick change tool post
[18:51:42] <Aero-Tec> 90 deg
[18:51:52] <Aero-Tec> no fancy angles
[18:52:03] <Aero-Tec> 2 position
[18:52:35] <Aero-Tec> looks like I would use tool pos 2 for each
[18:52:39] <Aero-Tec> right?
[18:53:14] <Aero-Tec> or do I use 7?
[18:53:52] <jthornton> if your not using cutter diameter compensation it won't matter but 2 for turning and facing tools
[18:54:07] <Aero-Tec> it is pointing to the left for facing but the point is at the 2 position
[18:54:16] <Aero-Tec> ok
[18:54:50] <Aero-Tec> lots to learn, thanks for the help
[18:54:55] <jthornton> if your looking at the diagram the center of the X is the controlled point
[18:55:18] <jthornton> did you see the changes I made to the g code?
[18:55:55] <Aero-Tec> looking at it now
[18:56:38] <jthornton> I just opened the file in LinuxCNC and fixed each error then hit the reload button and go to the next
[18:57:03] -!- motioncontrol [motioncontrol!~io@host57-94-dynamic.3-87-r.retail.telecomitalia.it] has joined #linuxcnc
[18:57:57] -!- ktchk [[email protected]] has joined #linuxcnc
[19:02:00] -!- ktchk [[email protected]] has parted #linuxcnc
[19:05:14] -!- aircraft [[email protected]] has parted #linuxcnc
[19:08:06] <IchGuckLive> its erunning here
[19:08:14] <IchGuckLive> Aero-Tec: success
[19:09:45] <Aero-Tec> cool
[19:09:46] <IchGuckLive> http://pastebin.com/KqSXNgE3
[19:09:55] <IchGuckLive> works with lathe sim
[19:10:18] <IchGuckLive> i added only the subs that are forced in
[19:10:30] <IchGuckLive> tool change T3 T4
[19:10:45] <IchGuckLive> as you said you only use T1
[19:10:46] <Aero-Tec> why all the extra . ?
[19:11:08] <Aero-Tec> did you use a script to do the conversion?
[19:11:11] <IchGuckLive> witch line P. ?
[19:11:23] <IchGuckLive> no
[19:11:32] <Aero-Tec> the rems have extra .
[19:11:32] <IchGuckLive> as i said it is trivial
[19:11:59] <IchGuckLive> P wars chaged to P.
[19:12:15] <IchGuckLive> so sorry
[19:12:25] <Aero-Tec> (ROTORY TABLE STEP.P.ER MOUNT P.ROFILE.NC)
[19:12:26] <Aero-Tec> lol
[19:12:33] <IchGuckLive> change P. back to P
[19:12:34] <Aero-Tec> I just got it myself
[19:12:46] <IchGuckLive> and search for G4
[19:12:54] <IchGuckLive> change there the numbers
[19:13:01] <IchGuckLive> O.O
[19:13:14] <IchGuckLive> sorry for that
[19:13:19] <Aero-Tec> NP
[19:13:52] <jthornton> you should be making chips in a few minutes now
[19:14:02] * jthornton wanders off to take a nap
[19:14:06] <IchGuckLive> By
[19:14:14] <IchGuckLive> im also off in 5min
[19:14:51] <Aero-Tec> I am great full for the help
[19:15:19] <IchGuckLive> Aero-Tec: do you now overcome this Please unhide 23
[19:15:47] <Aero-Tec> ?
[19:15:57] <Aero-Tec> unhide 23
[19:16:03] <IchGuckLive> there is more to do if you want full access to this
[19:16:16] <Aero-Tec> not following
[19:16:22] <IchGuckLive> o11 is called in line 23
[19:16:37] <IchGuckLive> it is ; commendet out
[19:17:08] <IchGuckLive> so you need to put the hole block infront of o10
[19:17:46] <IchGuckLive> P11 goes to 011 call
[19:17:47] <Aero-Tec> it is a pipe I start with so hole is there
[19:17:52] <Aero-Tec> no drilling needed
[19:18:03] <IchGuckLive> ok
[19:18:18] <IchGuckLive> then By till tomorrow
[19:18:20] <Aero-Tec> 3 in by .25 wall
[19:18:36] <Aero-Tec> bye
[19:18:42] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 16.0.2/20121025205401]]
[19:18:45] <Aero-Tec> thanks again
[19:21:45] <jthornton> Aero-Tec, are these subroutines used in other files?
[19:22:50] <jthornton> http://linuxcnc.org/docs/html/gcode/o-code.html#_calling_files
[19:24:03] <Aero-Tec> yes they are, I use then in most of my Gcode
[19:24:30] <Aero-Tec> thanks for pointing me to that option
[19:24:46] <Aero-Tec> should work well and make thing easy
[19:25:27] <Aero-Tec> will have to standardize things more for it to work
[19:25:55] -!- wboykinm has quit [Remote host closed the connection]
[19:26:00] <Aero-Tec> I do do some tweaking some times for a quick fix or work around
[19:27:15] -!- Mjolinor [Mjolinor!~Mjolinor@cpc1-burn3-0-0-cust572.10-1.cable.virginmedia.com] has joined #linuxcnc
[19:27:24] -!- Mjolinor has quit [Quit: Leaving]
[19:27:54] -!- paideia [[email protected]] has joined #linuxcnc
[19:27:57] -!- Mjolinor [Mjolinor!~Mjolinor@cpc1-burn3-0-0-cust572.10-1.cable.virginmedia.com] has joined #linuxcnc
[19:32:16] -!- ve7it has quit [Remote host closed the connection]
[19:45:13] <spiderdijon> has anyone tried x forwarding linux cnc to a windows machine?
[19:45:44] <spiderdijon> vnc is not good enough
[19:49:44] -!- Mjolinor has quit [Quit: Leaving]
[19:51:09] -!- tjb1 [[email protected]] has joined #linuxcnc
[19:51:52] <spiderdijon> well actually I just tried it and it works! thought it would be more difficult
[19:55:26] <jdh> using axis?
[19:55:42] <jdh> what x server are you using on win*?
[19:59:15] <spiderdijon> xming and putty, yeah axis is fully controlable and responsive
[19:59:25] <spiderdijon> win7 btw
[20:01:33] <jdh> mine was sluggish last time I tried.
[20:02:06] <spiderdijon> speed seems like native to me
[20:02:38] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust639.basl.cable.virginmedia.com] has joined #linuxcnc
[20:04:09] -!- psha has quit [Quit: Lost terminal]
[20:08:35] -!- motioncontrol has quit [Quit: Sto andando via]
[20:17:31] -!- c60 has quit [Ping timeout: 252 seconds]
[20:19:15] -!- hdokes|werkin has quit [Read error: Connection reset by peer]
[20:19:16] -!- hdokes_ [hdokes_!~IceChat77@173-165-40-177-Illinois.hfc.comcastbusiness.net] has joined #linuxcnc
[20:22:43] -!- andypugh has quit [Ping timeout: 252 seconds]
[20:23:46] -!- zzolo has quit [Read error: Connection reset by peer]
[20:27:02] -!- Nick001-Shop [[email protected]] has joined #linuxcnc
[20:28:28] toudi_ is now known as micges
[20:50:29] <JT-Shop> Aero-Tec: you still around?
[20:54:16] -!- tjb1 has quit [Quit: tjb1]
[20:56:59] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust639.basl.cable.virginmedia.com] has joined #linuxcnc
[21:00:24] -!- mhaberler has quit [Quit: mhaberler]
[21:08:40] <Aero-Tec> yes
[21:08:45] <Aero-Tec> I am now
[21:09:52] <Aero-Tec> JT-Shop: I am here now
[21:13:08] <Aero-Tec> I found out my tool table is mach got messed up some
[21:13:23] <Aero-Tec> so I have to redo a whack of it
[21:13:40] <Aero-Tec> and double check all of it
[21:13:53] <JT-Shop> Aero-Tec: numbered variables 0-30 are local to the subroutine
[21:14:12] <JT-Shop> http://linuxcnc.org/docs/html/gcode/overview.html#_parameters_variables_a_id_sec_parameters_a
[21:14:32] <Aero-Tec> ok, thanks for the heads up on that one
[21:14:50] <JT-Shop> also all my lathe subroutines are here http://gnipsel.com/shop/hardinge/hardinge.xhtml
[21:15:01] <Aero-Tec> I am really going to be glad to get rid of mach
[21:15:11] <JT-Shop> I use them with ngcgui but the subroutine part is the same without
[21:15:45] <Aero-Tec> I was looking into installing ngngui
[21:15:45] <JT-Shop> if you save subs as files you can name them so they make more sense
[21:15:55] <Aero-Tec> at least I think that was it
[21:16:15] <Aero-Tec> that make tons of sense
[21:16:23] <JT-Shop> I make my subroutine work first standalone then add it to my ngcgui
[21:17:05] <JT-Shop> like o<turnod> call [1.0000][-2.125]
[21:18:27] <JT-Shop> the numbers in [] are passed to the subroutine parameters
[21:19:27] <Aero-Tec> looks like you did something like what I was doing
[21:19:38] <Aero-Tec> but yours is way better
[21:19:39] <JT-Shop> what's that?
[21:20:07] <Aero-Tec> using your own subs to do most of the work
[21:20:43] <syyl_> JT-Shop
[21:20:49] <syyl_> yeah i made that setup block
[21:20:54] <syyl_> from a chunk of CI
[21:21:03] <Aero-Tec> I was doing something close to it with mach
[21:21:17] <syyl_> sawed/shaped to size, handscraped, final machining, drilling etc done on the cnc mill
[21:21:43] -!- PCW_ [[email protected]] has joined #linuxcnc
[21:21:50] <Aero-Tec> JT-Shop: is ngngui something that is well worth doing or setting up?
[21:22:20] -!- vladimirek has quit [Remote host closed the connection]
[21:22:34] -!- PCW has quit [Ping timeout: 240 seconds]
[21:22:38] PCW_ is now known as PCW
[21:22:53] <JT-Shop> I do 95% of my ops on the lathe with ngcgui
[21:23:01] <JT-Shop> syyl_: nice work for sure
[21:23:24] <syyl_> thank you :)
[21:23:38] <JT-Shop> well I gotta run for now the other childeren want me to come out and play
[21:24:56] <Aero-Tec> bye for now
[21:30:25] -!- captain_furious has quit [Quit: Leaving.]
[21:37:35] <andypugh> I just bought 3 blocks of cast iron and three 4V transformers from Ikea
[21:37:43] <andypugh> I am not sure what to do with them.
[21:39:02] <andypugh> These are the base and the transformer for the Jansjö light which I am hoping to use as a work light on my machines.
[21:39:32] <andypugh> No doubt I will find some use for the cast-iron discs.
[21:39:53] <cradek> I want one of those. why the hell won't they ship it?
[21:39:56] <cradek> they're so weird about that.
[21:40:10] <andypugh> http://www.ikea.com/gb/en/catalog/products/00169659/ ?
[21:40:31] <cradek> yeah, aka http://www.ikea.com/us/en/catalog/products/20169658/
[21:40:36] <andypugh> Runs on 4V.
[21:40:36] -!- chillly has quit [Ping timeout: 248 seconds]
[21:40:49] <cradek> Sorry, this product is not for sale on our website, check if it is available in your local store.
[21:40:53] <andypugh> I wish I could pay your price.
[21:41:04] <cradek> yeah $10 is a lot cheaper
[21:41:21] <cradek> add the 1kmi round trip drive to pick it up and it's not so cheap though
[21:41:57] <andypugh> Do you know anyone nearer to an Ikea. (they could save postage by ditching the heavy base)
[21:42:13] <andypugh> I wonder if they work OK on 5V?
[21:42:19] -!- bedah [[email protected]] has joined #linuxcnc
[21:42:20] <cradek> yeah but I wouldn't want to ask someone to go in that forsaken place
[21:42:56] <cradek> $17.25 shipped from amazom
[21:43:01] <cradek> problem solved
[21:43:22] <andypugh> That's UK price. So not horrible.
[21:44:11] <cradek> looks like a nice reading light
[21:45:18] <cradek> from amazon reviews, sounds like the power switches are lousy
[21:45:42] -!- mhaberler [[email protected]] has joined #linuxcnc
[21:45:59] <andypugh> The internet reckons they run on 5V.
[21:46:15] <andypugh> I wasn't plannning on keeping the power switch.
[21:46:29] <andypugh> It will connect to machine 5V if I can find it.
[21:48:55] <andypugh> For extra cool, I could switch it through the 7i64 :-)
[21:51:56] <cradek> the light on my mill has a toggle on the side of the control head - low tech but simple and reliable
[21:53:03] <andypugh> A quick experiment shows exactly the same current consumption anywhere from 3.5V to 6V. It is lower above or below that range.
[21:53:20] <cradek> interesting
[21:53:50] <cradek> it must use a buck/constant current regulator
[21:54:09] -!- ve7it [[email protected]] has joined #linuxcnc
[21:54:37] <andypugh> That's fairly normal for an LED controller I guess.
[21:55:24] -!- tjb1 [[email protected]] has joined #linuxcnc
[21:55:31] <tjb1> I connected to a weird server :/
[21:56:19] <andypugh> Talking of servers: Does www.speedtest.net not work in Linux?
[21:56:31] <cradek> has always worked for me
[21:56:49] <cradek> might be flash...?
[21:56:57] -!- micges [[email protected]] has joined #linuxcnc
[21:57:05] <andypugh> None of my 3 Live-CD installed machines get past the "selecting best server with ping"
[21:57:11] <tjb1> I would name the server but it may not be appropiate
[21:58:56] <cradek> andypugh: currently working fine for me
[21:58:56] -!- Keknom [[email protected]] has joined #linuxcnc
[21:59:31] <andypugh> How odd
[22:02:15] -!- oyildirim_ [[email protected]] has joined #linuxcnc
[22:06:40] -!- alpha112_ [[email protected]] has joined #linuxcnc
[22:06:47] <alex_joni> took longer than usual to load the interface here
[22:07:07] -!- syyl_ has quit [Quit: Leaving]
[22:08:11] -!- FinboySlick has quit [Remote host closed the connection]
[22:08:12] -!- alpha1125 has quit [Ping timeout: 264 seconds]
[22:08:12] -!- DJ9DJ has quit [Ping timeout: 264 seconds]
[22:10:27] <alex_joni> Download Speed: 126324 kbps (15790.5 KB/sec transfer rate)
[22:10:41] <alex_joni> seems to be working ok-ish ;)
[22:13:56] -!- sumpfralle has quit [Read error: Operation timed out]
[22:16:44] -!- Yarl has quit [Ping timeout: 252 seconds]
[22:19:24] -!- Valen [[email protected]] has joined #linuxcnc
[22:27:01] <L84Supper> http://www.automationtechnologiesinc.com/products-page/kl-stepper-drivers anyone used these yet? previously http://www.kelinginc.net/StepperMotorDriver.html
[22:30:51] <andypugh> They look a lot like: http://www.zappautomation.co.uk/2m880n-microstepping-driver-p-20.html?cPath=9_3_132 (I haven't tried those, either, but these: http://www.zappautomation.co.uk/pm542-microstepping-driver-p-5.html?cPath=9_3_4 Have been fine for the last few years.
[22:31:40] <L84Supper> yes, they are all made by the same co in China
[22:32:01] <cpresser> i have seen similar ones. with different labels
[22:32:10] <cpresser> but the insides are all the same
[22:32:45] <L84Supper> yes, I'm trying to find the source in China, if they are worth finding :)
[22:33:31] <L84Supper> yes, Keling, Fastech, ... now Zapp with a PMxxx label
[22:33:44] <andypugh> http://www.leadshine.com
[22:33:47] <L84Supper> has anyone used them?
[22:34:15] <L84Supper> and another!!
[22:34:34] <andypugh> I think Leadshine (who are in China) are the manufacturer
[22:34:42] -!- skunkworks has quit [Read error: Connection reset by peer]
[22:35:07] <L84Supper> near Shenzhen
[22:35:26] <L84Supper> they seem to have the widest range of models
[22:35:28] <andypugh> Guandong
[22:35:32] <L84Supper> so maybe they are the source
[22:38:20] -!- ve7it has quit [Remote host closed the connection]
[22:43:06] -!- kb8wmc [[email protected]] has joined #linuxcnc
[22:44:56] -!- bedah has quit [Quit: Ex-Chat]
[22:45:58] -!- [_bwg_] has quit [Read error: Connection reset by peer]
[22:48:04] -!- sumpfralle [[email protected]] has joined #linuxcnc
[22:48:52] <L84Supper> anyone in the US know who stocks any 3/8" -10, 12 or 16 acme leadscrews?
[22:49:13] <L84Supper> everything so far has a 1-2 week lead time
[22:49:27] -!- kanzure has quit [Ping timeout: 260 seconds]
[22:52:15] <L84Supper> nevermind http://www.mcmaster.com/#acme-precision-lead-screws/=k2cybd
[22:56:44] <tjb1> Good ole mcmaster
[22:57:15] <L84Supper> they stock ball screws as well but you really pay for them
[22:57:37] tetbert is now known as tetsu
[22:59:15] <andypugh> I was wondering what to do with the existing low-voltage light on my milling machine. I think perhaps I know now… http://www.ebay.co.uk/itm/VINTAGE-INDUSTRIAL-MACHINISTS-LAMP-LO-VO-LITE-WALL-OR-DESK-MOUNT-50s-60s-RETRO-/190744662901?pt=UK_Antiques_AntiqueFurniture_SM&hash=item2c69449375&nma=true&si=PQpYFLIAvsBr4Fk6DPdQbZ4pUy4%3D&orig_cvip=true&rt=nc&_trksid=p2047675.l2557
[23:00:22] <andypugh> It is rather a nice light, I suppose. (And mine has another elbow)
[23:05:36] tetsu is now known as tetbert
[23:07:34] -!- tjb1 has quit [Quit: tjb1]
[23:09:50] -!- zzolo_ has quit [Quit: zzolo_]
[23:13:14] -!- FinboySlick [[email protected]] has joined #linuxcnc
[23:17:05] -!- the_wench has quit [Ping timeout: 246 seconds]
[23:18:24] -!- alpha112_ has quit [Quit: Computer has gone to sleep.]
[23:18:42] -!- archivist has quit [Ping timeout: 264 seconds]
[23:26:13] -!- maximilian_h [[email protected]] has joined #linuxcnc
[23:28:05] -!- Valen has quit [Quit: Leaving.]
[23:31:16] -!- mhaberler has quit [Quit: mhaberler]
[23:31:27] -!- asdfasd has quit [Ping timeout: 260 seconds]
[23:36:05] -!- archivist [[email protected]] has joined #linuxcnc
[23:52:41] -!- kmiyashiro has quit [Quit: kmiyashiro]
[23:54:43] -!- oyildirim_ has quit []