#linuxcnc | Logs for 2012-11-07

[02:06:23] <DJ9DJ> moin
[03:44:10] <DJ9DJ> re
[06:30:42] <IchGuckLive> alotof people requested a Foam post processor on Heekscnc i will now make a quick tutorial how to get a new mashine and its postprocessor to Heekscad
[06:51:56] <r00t4rd3d> wow, recreational use of marijuana got approved in Washington state.
[06:52:25] <IchGuckLive> yea hippies are back
[06:52:28] <r00t4rd3d> and Colorado :D
[06:52:44] <IchGuckLive> http://www.foxnews.com/politics/elections/2012-election-results
[06:53:20] <IchGuckLive> colorado 51/47
[06:53:53] <IchGuckLive> witch county are you in
[06:53:55] <r00t4rd3d> "Colorado Gov. John Hickenlooper, a Democrat who opposed legalization, was less enthused. "Federal law still says marijuana is an illegal drug, so don't break out the Cheetos or gold fish too quickly," he said.
[06:53:55] <r00t4rd3d> Read more: http://www.nydailynews.com/news/national/recreational-pot-ballot-3-states-article-1.1197725#ixzz2BXYETYpe
[06:53:55] <r00t4rd3d> "
[06:54:23] <r00t4rd3d> now that type of shit pisses me off. The people vote in something then the feds say its still illegal.
[06:54:35] <r00t4rd3d> thats not a democracy at all.
[06:54:43] <IchGuckLive> r00t4rd3d: are thee no greens in the US or are there color orance
[06:54:58] <r00t4rd3d> rainbow
[06:55:28] <IchGuckLive> http://www.foxnews.com/politics/elections/2012-colorado-state-race
[06:55:33] <IchGuckLive> looks very red
[06:56:09] <IchGuckLive> the depth country is red and the cities are blue
[06:56:22] <IchGuckLive> so the forainer race has disidet this time
[06:56:47] <IchGuckLive> shoot at all that does not look like Rep O.O B)
[06:57:01] <IchGuckLive> this wars not a good campain motto
[07:35:24] <IchGuckLive> tutorial is up http://www.youtube.com/watch?v=wQRa9h17LEU
[07:35:37] <IchGuckLive> Heekscnc HOWTO Your own mashine and postprocessor XY Foam
[07:36:21] <IchGuckLive> by till 19:00 MEZ
[08:00:33] <r00t4rd3d> i wanna move to a green state.
[08:59:10] <MattyMatt> florida's so green you can't see the alligators
[09:16:46] <theos> color them blue?
[10:18:00] <Gabriel___> Hi all. I would like to know how can I temporally interrupt the generation of step/dir pulses. I need it in order to assure that the servomotors run tightly in sync while the machine is profiling. Thanks.
[10:19:46] <pcw_home> stepgen.enable?
[10:21:19] <Gabriel___> Will this pause the program flowing on LinuxCNC too?
[10:21:29] <pcw_home> no
[10:23:26] <pcw_home> what are you trying to do? would a G code pause do what yo want?
[10:24:16] <Gabriel___> Each servo motor on the machine is driven by a servo drive, fed by step/dir signals, which have an digital output pin labeled "in-position".
[10:24:32] <Gabriel___> This output is set true if the difference between the actual and desired rotor position is smaller the a pre-programmed limit, and false otherwise.
[10:25:30] <Gabriel___> I would like to keep all servo motors working within this limit, so the are in sync...
[10:25:36] <mrsun> hmm, how to make an easy tramming contraption for a mill without a tilting/jawing head :/
[10:25:40] <mrsun> just got the column
[10:25:44] <mrsun> mounted at the botom
[10:25:46] <pcw_home> Yuck
[10:25:55] <Gabriel___> I mean, that an axis doesn't lag behing another too much
[10:26:27] <pcw_home> Thats a tuning issue
[10:26:53] <pcw_home> if its ever out of position thats a fault
[10:32:21] <Gabriel___> I understand... I wil try to figure out what is happening. Maybe I will have to run the machine at much lower speeds while machining critical profiles.
[10:33:42] <pcw_home> you really dont want one error (that may be overshoot or undershoot) to pause the other axis,
[10:33:44] <pcw_home> its liable to go bad/unstable quickly
[10:34:15] <pcw_home> can you get encoder feedback to LinuxCNC to tune the drives?
[10:36:54] <pcw_home> or at least get an idea of whats going on
[10:40:20] <Gabriel___> No, because the motor encoders have too high resolutions to be read directly (AB signals), but the servodriver does a good job with the autotuning. The problem may happen, for example, if an axis experiences a much higher cutting force than the other. The more loaded motor just delays somewhat more to reach the set-point, deforming the profile.
[10:40:43] <skunkworks> yeck
[10:40:56] * skunkworks hugs his analog servo drives...
[10:42:49] <pcw_home> Should not be an issue if the drives are tuned properly
[10:42:51] <pcw_home> what size error are you seeing?
[10:46:14] <Gabriel___> Mostly errors smaller than 0,1 mm, but I have such specifications on certain profiles. The machine axis are also fit with linear encoders that fed back to the servodriver, and I can see the phase difference of the "in-position" signals from the servodrivers, just did'n realize how adapt the controller properly to work with them
[10:47:03] <pcw_home> Without encodes back to LinuxCNC its pretty tough (working blind)
[10:48:00] <Gabriel___> Yes... these "on-position" signals are the only realible feedback I have
[10:48:29] <pcw_home> still sounds like poor tuning (4 mills is pretty bad if this is a heavy mill or lathe)
[10:51:31] <Gabriel___> I will try to tune them again. You may be correct, as at least on one axis, the allowable workpiece weight if four times the weight of the bad itself. Tuning for such axis is somewhat tricky
[10:53:48] <r00t4rd3d> have you seen todays satellite images? http://i.imgur.com/LBAPr.jpg
[10:54:49] <pcw_home> Yeah If the drives have a tuning program that allows moves similar to your machining profiles in accel and velocity
[10:54:51] <pcw_home> I would exercise and plot the error and figure our just where its going wrong
[11:00:05] <Gabriel___> Yes, I will tune them again, and maybe it will solve the problem in a simpler manner. Thanks.
[11:00:07] <cradek> r00t4rd3d: funny, but would have been funnier if they'd looked at a map first to see where CO is
[11:00:57] <r00t4rd3d> Umm
[11:01:02] <r00t4rd3d> looks right to me?
[11:01:27] <r00t4rd3d> smoke drifts some :)
[11:01:48] <r00t4rd3d> I just had to look at a map and see exactly where CO was
[11:06:38] <JT-Shop> maybe an orange will inspire me...
[11:09:38] <r00t4rd3d> I just registered a new nick for #Android, hemroid :)
[11:11:13] <r00t4rd3d> now i can be a pain in everyones ass.
[11:11:26] <jdh> will there be a difference?
[11:12:36] <r00t4rd3d> a slight throbbing but over all, no.
[11:17:40] <spiderdijon> hi everyone, I've just put togethere a new chinese 6040Z cnc machine and set it up in linuxcnc, everything appears to work correctly although sometimes the steppers will need to be jogged slightly in order to stop them making squeeling noises. I'm assuming this is due to microstepping, is there any way to avoid the noise?
[11:17:58] <cradek> r00t4rd3d: it'd be funnier if you knew how to spell it
[11:18:04] <mrsun> higher switching frequency
[11:20:14] <spiderdijon> mrsun: I'll give that a try, would that be a lower min base period?
[11:20:27] <mrsun> spiderdijon, nah its a driver issue
[11:20:37] <mrsun> if you have sound from the motors its the driver that isnt switching fast enough =)
[11:20:40] <mrsun> cheap drivers
[11:21:08] <mrsun> not something you can do much about i guess without buying better drivers :P
[11:21:27] <mrsun> i can hear a slight sound from mine but not much but i payed for them .. alot :/
[11:21:30] <mrsun> alot more then i needed :P
[11:21:31] <pcw_home> Yeah LinuxCNC is not doing anything when stopped. The chopper drive is squeeling
[11:21:54] <spiderdijon> right that makes sense thanks
[11:22:10] <spiderdijon> It's not particularily loud so I'll live with it
[11:22:20] <mrsun> yeah just turn on the spindle :P
[11:22:25] <spiderdijon> :D
[11:22:28] <pcw_home> what type of drive?
[11:22:39] <mrsun> http://www.ebay.com/itm/220V-CNC-6040Z-S65J-upgrade-from-6040Z-S-Engraver-with-800W-24000RPM-spindle-/321018114185?pt=UK_VG_Replacement_Parts_Tools&hash=item4abe2bb089 i guess its that machine then ? :)
[11:23:44] <spiderdijon> exact machine was http://www.ebay.com/itm/New-800W-CNC-6040Z-S65J-Upgrade-From-6040-Engraving-Machine-Carving-Machine-/181016087577?
[11:24:06] <spiderdijon> not sure what the stepper drivers actually are I'll have to research
[11:24:10] <pcw_home> I wonder if that uses those Toshiba chips
[11:24:23] <mrsun> that price is kinda sick
[11:24:33] <mrsun> ahh its bid
[11:24:33] <mrsun> :P
[11:24:53] <spiderdijon> I got it for 1068 GBP inc shipping
[11:26:31] <mrsun> a router in about that size would fit my needs kinda good atm =)
[11:26:38] <spiderdijon> ~1700 USD it seems
[11:26:53] <mrsun> tho i do not have for the buy it now 12000SEK to just throw out
[11:27:14] <spiderdijon> im getting 4000mm/min out of it on each axis which is kind of blowing my mind since my last one could only do 250mm/min :P
[11:27:42] <mrsun> bits its just 0.15Nm steppers on it? :P
[11:28:03] <mrsun> i would buy a driver/motor kit with the same nema frame motors and up the powah =)
[11:28:14] <spiderdijon> no load of course, not had the time to mill anything yet :P
[11:28:18] <mrsun> or wait
[11:28:20] <mrsun> is that 1.5Nm
[11:28:24] <mrsun> 150N.cm
[11:28:30] <mrsun> yeah .. that would be 1.5Nm :P
[11:28:43] <spiderdijon> yeah they look pretty beefy
[11:28:59] <mrsun> 3Nm steppers on that =)
[11:29:06] <mrsun> 1.5 should be plenty strong tho :P
[11:29:39] <mrsun> i have 1.85 on my milling machine and i cant by my own force stop the table and thats using trapez screws
[11:31:22] <JT-Shop> http://imagebin.org/235014
[11:31:51] <jdh> looks like winter :(
[11:31:59] <mrsun> that tree looks scary
[11:32:06] <mrsun> looks like its skulls in the top of it
[11:32:12] <Aero-Tec> I need some help with lathe and tool table
[11:32:40] <Aero-Tec> what is the minimum info needed for the tool table in lathe?
[11:32:50] <JT-Shop> I need some help designing a 10lb machine to fit into a 7.5lb hole
[11:32:55] <Aero-Tec> x and z offset for sure
[11:33:11] <JT-Shop> dia and orientation
[11:34:00] <Aero-Tec> how does the orientation get used by EMC?
[11:34:29] <Aero-Tec> does it effect the offsets??
[11:35:13] <JT-Shop> it is used by cutter comp iirc
[11:35:19] <Aero-Tec> or is it more for crash detection and accurate profile?
[11:35:48] <Aero-Tec> so if one does not do cutter comp would it be used?
[11:36:39] <Aero-Tec> also what do I need to setup in Gcode for running a lathe in EMC?
[11:37:25] <Aero-Tec> I am just unsure about running lathe EMC
[11:37:42] <Aero-Tec> I have to convert my Gcode from Mach
[11:38:35] <cradek> http://timeguy.com/cradek-files/emc/lathe_concavecorners.png
[11:38:44] <Aero-Tec> so would like to know what would be the minimum configeration for getting EMC to work?
[11:39:15] <cradek> this shows an intricate lathe path and also the path cutter comp changes it into
[11:39:51] <cradek> orientation is what says where the tool origin is (cross) compared to the tip radius (white thing)
[11:42:41] <Aero-Tec> so if I do not want any tool comp and no fancy things what so ever
[11:42:56] <Aero-Tec> just the basic setup
[11:43:15] <Aero-Tec> what so I use for Gcode?
[11:43:25] <Aero-Tec> as in a INI of Gcode
[11:43:47] <JT-Shop> Aero-Tec: do you have a working mack xml file?
[11:44:01] <Aero-Tec> yes and know
[11:44:05] <Aero-Tec> it used to work
[11:44:15] <JT-Shop> but?
[11:44:17] <Aero-Tec> but for some reason it got toasted some
[11:44:29] <JT-Shop> steppers?
[11:44:37] <Aero-Tec> I can get it to work but it keeps getting toasted
[11:44:41] <Aero-Tec> servos
[11:45:13] <Aero-Tec> the Pport address keeps getting messed up for some reason
[11:45:27] <JT-Shop> ouch
[11:45:29] <Aero-Tec> not sure what other things are getting messed up as well
[11:45:42] <Aero-Tec> I set it and save it
[11:45:59] <Aero-Tec> the next time I start mach it is back to being messed up
[11:46:12] <Aero-Tec> so I got mad and am moving over to EMC
[11:46:25] <JT-Shop> are you controlling your servos with step and direction signals?
[11:46:28] <Aero-Tec> I got my mill running emc
[11:46:34] <Aero-Tec> yes
[11:46:41] <Aero-Tec> gecko drives
[11:47:24] <JT-Shop> I can convert your mack xml file to a stepconf wizard file if you like and at least you will have the pin outs and stuff
[11:47:43] <Aero-Tec> I got all that
[11:47:57] <JT-Shop> use the stepconf wizard then
[11:47:58] <Aero-Tec> it is fully functional right now
[11:48:19] <Aero-Tec> all calibrated and ready to go
[11:48:53] <Aero-Tec> I just need to get the Gcode converted and make sure any tool compensation is off
[11:49:03] <Aero-Tec> and set up the tool table
[11:49:33] <JT-Shop> ah, iirc mack started as a port from EMC so the G code should be the same no?
[11:49:41] <Aero-Tec> I have a printout of the old mach tool table so I just have to load in the info to EMC tool table
[11:50:04] <Aero-Tec> I wish
[11:50:09] <Aero-Tec> not even close
[11:50:17] <JT-Shop> what is different?
[11:50:49] <Aero-Tec> subs have to be first with EMC for one
[11:51:03] <JT-Shop> ah ok
[11:51:08] <Aero-Tec> the way it work and things it does with Gcode
[11:51:32] <Aero-Tec> the syntax is different
[11:52:01] <Aero-Tec> EMC is way less forgiving of code syntax
[11:52:30] <JT-Shop> syntax should be exact and not up to a guess
[11:52:41] <Aero-Tec> there are a ton of differences
[11:53:41] <Aero-Tec> mach is way more forgiving of how the code is written
[11:54:35] <cradek> more forgiving about how the parts turn out too, I hear
[11:54:47] <Aero-Tec> LOL
[11:54:49] <Aero-Tec> your right
[11:54:57] <Aero-Tec> there threading sucks
[11:55:16] <Aero-Tec> and a whack of other things suck as well
[11:55:47] <Aero-Tec> the mill would take off at full speed right through anything in it way
[11:56:39] <Aero-Tec> I disabled the Z on the mill as it would want to mill or drill right through the bed
[11:57:57] <Aero-Tec> I stopped it in time so bed was not hurt, but I did not have the stop button stop mach, just the motors so I could watch mach continuing to go through the bed
[11:58:50] <Aero-Tec> so I know it would have toasted the bed
[11:58:59] <Aero-Tec> and tooling
[11:59:24] <Aero-Tec> I have had lots of parts toasted by mach
[11:59:58] <Aero-Tec> with the mill I did every z move manually and yes it was a pain in the butt
[12:00:32] <Aero-Tec> but even with that it would still do moves at full speed through my parts
[12:01:07] <Aero-Tec> in mid production run in mid part it would go nuts
[12:01:58] <Aero-Tec> I had run the code X number of time with no problems and then all of a sudden it would take off at full speed right through the part
[12:02:25] <Aero-Tec> anyway
[12:02:44] <Aero-Tec> I have a very upset customer and need to get making chips
[12:02:53] <jthornton> http://comments.gmane.org/gmane.linux.distributions.emc.user/13523
[12:03:11] <Aero-Tec> I had planned on using mach to do the run but it is acting up and I do not trust mach at all now days
[12:03:35] <Aero-Tec> so I am now 100% EMC
[12:03:41] <jthornton> how complicated is the G code?
[12:03:49] <Aero-Tec> if I can get it all running
[12:04:30] <jthornton> I thought you said it was running and all you needed to do was load some tools in the tool table?
[12:08:01] <Aero-Tec> all that is left is Gcode and tool table
[12:08:28] <Aero-Tec> that is part of the all, one can not run a CNC with out it
[12:08:50] <IchGuckLive> hi all B)
[12:08:55] <Aero-Tec> I have the Gcode from mach and the tool table from mach
[12:09:31] <IchGuckLive> from or for mach
[12:09:43] <Aero-Tec> mach pretend to have tool orientation but does not
[12:10:02] <Aero-Tec> it was used by mach
[12:10:15] <IchGuckLive> G42 41 in side
[12:11:08] <Aero-Tec> emc is way more technical, does lots that mach can not do
[12:11:32] <IchGuckLive> thats why we are using it
[12:11:43] <jthornton> do you have a g code file handy that you can pastebin?
[12:11:56] <Aero-Tec> but I need it as basic as possible so I can make chips and learn the finer details latter
[12:12:19] <IchGuckLive> then go dxf to gcode and chip
[12:12:20] <Loetmichel> re @ home
[12:12:38] <IchGuckLive> Aero-Tec: or do you got only the g-code
[12:12:46] <jthornton> hmmm
[12:13:00] <IchGuckLive> alot of aero people here
[12:13:05] <Aero-Tec> just gcode
[12:13:13] <IchGuckLive> ok
[12:13:25] <IchGuckLive> then you need aliel python to transform
[12:13:29] <Aero-Tec> and a 3D modle that I hand coded the gcode from
[12:13:48] <IchGuckLive> oh you mast not do that
[12:13:56] <jthornton> Aero-Tec, I'm confused what your question is???
[12:13:57] <IchGuckLive> lots od free cams can do this
[12:14:22] <Aero-Tec> quicker to hand code at times
[12:14:40] <IchGuckLive> jthornton: mach gcode somtimes has no dots
[12:15:02] <IchGuckLive> as on mach you can work with fixes 000000
[12:15:19] <Aero-Tec> I need to turn off all tool compensation and any fancy stuff, just run a basic lathe
[12:15:32] <Aero-Tec> with a basic tool table
[12:15:34] <IchGuckLive> so 9.00 can be 009000 or 000900
[12:15:43] <Aero-Tec> I will learn the other stuff later
[12:16:11] <IchGuckLive> tool compensation CRC is the basic and it woudt be goot to start off
[12:16:23] <IchGuckLive> aero G-code ß
[12:16:25] <IchGuckLive> ?
[12:16:40] <IchGuckLive> so we can detect your need
[12:16:54] <Aero-Tec> will post if
[12:17:06] <Aero-Tec> it
[12:20:26] <jthornton> no wonder mack is confused the xml file has 150,307 lines
[12:20:53] <IchGuckLive> it is only the brain of one person
[12:21:03] <IchGuckLive> no communiti like us
[12:22:16] <IchGuckLive> likewise ->http://www.youtube.com/watch?v=wQRa9h17LEU HOWTO Your own mashine and postprocessor XY Foam No Zmoves into linuxcnc
[12:22:41] <IchGuckLive> This is what linuxcnc is all about the cummunity brain
[12:24:15] <IchGuckLive> about 10 people have asked for this and so it is to be done if it coudt be done
[12:32:40] <Aero-Tec> http://pastebin.com/RicuxFTP
[12:32:50] <Aero-Tec> not sure if I did it right
[12:32:54] <Aero-Tec> but it should work
[12:33:44] <Aero-Tec> I did not trust caned ops so wrote my own subs instead
[12:34:12] <Aero-Tec> so not all subs are used as I would port over block of subs as needed
[12:35:03] <Aero-Tec> at least I do not think they are all used, been awhile since I wrote the code
[12:35:46] <jthornton> you have more than 100 tools loaded in the tool table?
[12:36:19] <Aero-Tec> not all are used
[12:36:20] <jthornton> T0101 ;LOAD CUTTER
[12:36:34] <Aero-Tec> and mach can only do 99
[12:36:46] <L84Supper> AMD just laid off more Linux kernel devs. Maybe ARM will be the only choice for open hardware with LinuxCNC. Or we'll have to rely on the Google devs for coreboot support on Intel x86 but without the docs.
[12:37:16] <Aero-Tec> that is tool one
[12:37:38] <Aero-Tec> tool 01 using tool offset 01
[12:37:49] <jthornton> yea so you will have some converting to do
[12:37:59] <Aero-Tec> you can choose any tool and use a different tools offset
[12:38:04] <IchGuckLive> jthornton: T0101 ;LOAD CUTTER THIs loeads T1 with D1
[12:39:39] <Aero-Tec> that is why only 99 tools places
[12:40:05] <Aero-Tec> T9999 would be tool 99 with offset 99
[12:40:47] <IchGuckLive> so you wout like to run this on a standard mashine
[12:40:48] <Aero-Tec> offset 99 is the offset for tool 99 in the tool table
[12:41:01] <Aero-Tec> EMC
[12:41:21] <Aero-Tec> I want to convert all my code to EMC
[12:41:41] <Aero-Tec> and use only EMC as I am so feed up with mach
[12:42:07] <jthornton> might want to make a python script to do the obvious things first like tool prepare and load
[12:42:16] <IchGuckLive> then you only need to fit the tools into the table change T0101 to T1 G43H1 for the drillings
[12:42:24] <Aero-Tec> great for a guy that wants to play, but not for a working mans machine
[12:42:36] <IchGuckLive> no python
[12:42:40] <Aero-Tec> learned that one the hard way
[12:42:42] <IchGuckLive> it is trivial
[12:43:03] <Aero-Tec> what do you mean no python?
[12:43:16] <Aero-Tec> I know it is a scripting language
[12:43:34] <IchGuckLive> to change this
[12:43:47] <jthornton> Aero-Tec, do you manually change the tools?
[12:43:57] <Aero-Tec> I did the live CD so if the live CD loads python I have python running on it
[12:44:01] <Aero-Tec> yes
[12:44:03] <IchGuckLive> line.split(';') for instance
[12:44:05] <Aero-Tec> right now I do
[12:44:51] <Aero-Tec> ; is rem
[12:44:54] <IchGuckLive> this is a lathe !
[12:44:58] <Aero-Tec> so it is skipped
[12:45:04] <Aero-Tec> yes
[12:45:59] <jthornton> if you have the manual tool change then a T1M6 will stop the program and wait for you to change the tool
[12:46:29] <Aero-Tec> cool
[12:46:31] <Aero-Tec> thanks
[12:47:01] <Aero-Tec> what INI Gcode line should I use to turn off cutter comp?
[12:47:10] <jthornton> in the MDI window type in T1 M6 and see if you get the insert tool prompt
[12:47:16] <IchGuckLive> G40
[12:47:19] <Aero-Tec> and set the lathe so it is ready to run
[12:47:21] <jthornton> cutter comp is G code
[12:47:22] <IchGuckLive> G49
[12:47:29] <IchGuckLive> to get all of
[12:47:57] <Aero-Tec> so G49 turns off all cutter comp?
[12:48:07] <IchGuckLive> line 144 does it for you
[12:48:34] <jthornton> http://linuxcnc.org/docs/html/gcode/gcode.html#_g40_compensation_off_a_id_sec_g40_a
[12:48:37] <IchGuckLive> 152 waits for your start command
[12:48:44] <jthornton> http://linuxcnc.org/docs/html/gcode/gcode.html#_g49_cancel_tool_length_compensation_a_id_sec_g49_tool_a
[12:49:06] <jthornton> G49 - cancels tool length compensation
[12:49:19] <jthornton> G40 - turn cutter compensation off
[12:49:27] <Aero-Tec> and G40 the other comp?
[12:49:31] <Aero-Tec> ok
[12:49:33] <Aero-Tec> cool
[12:49:44] <Aero-Tec> was not sure if EMC was the same
[12:49:56] <IchGuckLive> G40 is left right off G49 is Z off
[12:50:09] <IchGuckLive> Linuxcnc is Fanuc 11
[12:50:18] <IchGuckLive> Standard iso G-code
[12:50:42] <IchGuckLive> there are alot of G91 moves
[12:50:43] <Aero-Tec> yes line 146 is my Gcode INI line
[12:51:08] <IchGuckLive> G20 is inch
[12:53:27] <IchGuckLive> G4 P500
[12:53:34] <IchGuckLive> G5 P0.5
[12:53:47] <IchGuckLive> G4 P0.5 Sorery
[12:54:17] <IchGuckLive> 500seconds is way to long
[12:54:19] <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
[12:54:48] <Aero-Tec> mach can be set to seconds or micro sec
[12:55:00] <IchGuckLive> you can call the subs no problem the F and the s is in the wrong place
[12:55:05] <Aero-Tec> that is 500 micro seconds
[12:55:56] <IchGuckLive> it seams that this is a Oki NC
[12:56:15] <IchGuckLive> emc will read this as 500 seconds
[12:56:47] <Aero-Tec> so could one do .005 seconds in EMC?
[12:57:14] <jthornton> Aero-Tec, you will have to go through and find each error and correct them to learn the differences
[12:57:21] <Aero-Tec> I know it would not be equal to .5 sec or 500 micro sec
[12:57:45] <jthornton> http://linuxcnc.org/docs/html/gcode/gcode.html#_g4_dwell_a_id_sec_g4_dwell_a
[12:58:11] <jthornton> you should reference the G codes in the manual as you convert the files
[12:58:43] <Aero-Tec> yes
[12:58:50] <Aero-Tec> I have been for the mill
[12:58:55] <IchGuckLive> you need to fo it by step
[12:59:07] <Aero-Tec> just need to learn the lathe
[12:59:09] <IchGuckLive> it is not so many work as you think
[13:00:57] <IchGuckLive> in your case i woudt go for Txx M6 next line G43 Hxx
[13:01:40] <jthornton> I fixed on subroutine and a couple more errors so you have some ideas http://pastebin.com/A9J7k06X
[13:02:51] <IchGuckLive> change P to P.
[13:03:39] <Aero-Tec> I have a quick change tool post
[13:03:44] <Aero-Tec> 90 deg
[13:03:54] <Aero-Tec> no fancy angles
[13:04:06] <Aero-Tec> 2 position
[13:04:38] <Aero-Tec> looks like I would use tool pos 2 for each
[13:04:41] <Aero-Tec> right?
[13:05:16] <Aero-Tec> or do I use 7?
[13:05:54] <jthornton> if your not using cutter diameter compensation it won't matter but 2 for turning and facing tools
[13:06:09] <Aero-Tec> it is pointing to the left for facing but the point is at the 2 position
[13:06:19] <Aero-Tec> ok
[13:06:52] <Aero-Tec> lots to learn, thanks for the help
[13:06:57] <jthornton> if your looking at the diagram the center of the X is the controlled point
[13:07:20] <jthornton> did you see the changes I made to the g code?
[13:07:57] <Aero-Tec> looking at it now
[13:08:40] <jthornton> I just opened the file in LinuxCNC and fixed each error then hit the reload button and go to the next
[13:20:09] <IchGuckLive> its erunning here
[13:20:16] <IchGuckLive> Aero-Tec: success
[13:21:47] <Aero-Tec> cool
[13:21:49] <IchGuckLive> http://pastebin.com/KqSXNgE3
[13:21:58] <IchGuckLive> works with lathe sim
[13:22:21] <IchGuckLive> i added only the subs that are forced in
[13:22:33] <IchGuckLive> tool change T3 T4
[13:22:47] <IchGuckLive> as you said you only use T1
[13:22:49] <Aero-Tec> why all the extra . ?
[13:23:10] <Aero-Tec> did you use a script to do the conversion?
[13:23:13] <IchGuckLive> witch line P. ?
[13:23:26] <IchGuckLive> no
[13:23:35] <Aero-Tec> the rems have extra .
[13:23:35] <IchGuckLive> as i said it is trivial
[13:24:01] <IchGuckLive> P wars chaged to P.
[13:24:17] <IchGuckLive> so sorry
[13:24:29] <Aero-Tec> lol
[13:24:35] <IchGuckLive> change P. back to P
[13:24:37] <Aero-Tec> I just got it myself
[13:24:48] <IchGuckLive> and search for G4
[13:24:56] <IchGuckLive> change there the numbers
[13:25:04] <IchGuckLive> O.O
[13:25:17] <IchGuckLive> sorry for that
[13:25:22] <Aero-Tec> NP
[13:25:54] <jthornton> you should be making chips in a few minutes now
[13:26:04] * jthornton wanders off to take a nap
[13:26:09] <IchGuckLive> By
[13:26:17] <IchGuckLive> im also off in 5min
[13:26:53] <Aero-Tec> I am great full for the help
[13:27:22] <IchGuckLive> Aero-Tec: do you now overcome this Please unhide 23
[13:27:49] <Aero-Tec> ?
[13:27:59] <Aero-Tec> unhide 23
[13:28:05] <IchGuckLive> there is more to do if you want full access to this
[13:28:19] <Aero-Tec> not following
[13:28:24] <IchGuckLive> o11 is called in line 23
[13:28:39] <IchGuckLive> it is ; commendet out
[13:29:11] <IchGuckLive> so you need to put the hole block infront of o10
[13:29:49] <IchGuckLive> P11 goes to 011 call
[13:29:49] <Aero-Tec> it is a pipe I start with so hole is there
[13:29:55] <Aero-Tec> no drilling needed
[13:30:05] <IchGuckLive> ok
[13:30:21] <IchGuckLive> then By till tomorrow
[13:30:22] <Aero-Tec> 3 in by .25 wall
[13:30:38] <Aero-Tec> bye
[13:30:47] <Aero-Tec> thanks again
[13:33:48] <jthornton> Aero-Tec, are these subroutines used in other files?
[13:34:52] <jthornton> http://linuxcnc.org/docs/html/gcode/o-code.html#_calling_files
[13:36:05] <Aero-Tec> yes they are, I use then in most of my Gcode
[13:36:33] <Aero-Tec> thanks for pointing me to that option
[13:36:49] <Aero-Tec> should work well and make thing easy
[13:37:29] <Aero-Tec> will have to standardize things more for it to work
[13:38:03] <Aero-Tec> I do do some tweaking some times for a quick fix or work around
[13:57:15] <spiderdijon> has anyone tried x forwarding linux cnc to a windows machine?
[13:57:47] <spiderdijon> vnc is not good enough
[14:03:54] <spiderdijon> well actually I just tried it and it works! thought it would be more difficult
[14:07:29] <jdh> using axis?
[14:07:45] <jdh> what x server are you using on win*?
[14:11:18] <spiderdijon> xming and putty, yeah axis is fully controlable and responsive
[14:11:28] <spiderdijon> win7 btw
[14:13:35] <jdh> mine was sluggish last time I tried.
[14:14:08] <spiderdijon> speed seems like native to me
[15:02:32] <JT-Shop> Aero-Tec: you still around?
[15:20:43] <Aero-Tec> yes
[15:20:47] <Aero-Tec> I am now
[15:21:55] <Aero-Tec> JT-Shop: I am here now
[15:25:10] <Aero-Tec> I found out my tool table is mach got messed up some
[15:25:26] <Aero-Tec> so I have to redo a whack of it
[15:25:43] <Aero-Tec> and double check all of it
[15:25:56] <JT-Shop> Aero-Tec: numbered variables 0-30 are local to the subroutine
[15:26:14] <JT-Shop> http://linuxcnc.org/docs/html/gcode/overview.html#_parameters_variables_a_id_sec_parameters_a
[15:26:35] <Aero-Tec> ok, thanks for the heads up on that one
[15:26:52] <JT-Shop> also all my lathe subroutines are here http://gnipsel.com/shop/hardinge/hardinge.xhtml
[15:27:04] <Aero-Tec> I am really going to be glad to get rid of mach
[15:27:13] <JT-Shop> I use them with ngcgui but the subroutine part is the same without
[15:27:48] <Aero-Tec> I was looking into installing ngngui
[15:27:48] <JT-Shop> if you save subs as files you can name them so they make more sense
[15:27:58] <Aero-Tec> at least I think that was it
[15:28:18] <Aero-Tec> that make tons of sense
[15:28:25] <JT-Shop> I make my subroutine work first standalone then add it to my ngcgui
[15:29:07] <JT-Shop> like o<turnod> call [1.0000][-2.125]
[15:30:30] <JT-Shop> the numbers in [] are passed to the subroutine parameters
[15:31:30] <Aero-Tec> looks like you did something like what I was doing
[15:31:41] <Aero-Tec> but yours is way better
[15:31:41] <JT-Shop> what's that?
[15:32:10] <Aero-Tec> using your own subs to do most of the work
[15:32:45] <syyl_> JT-Shop
[15:32:52] <syyl_> yeah i made that setup block
[15:32:57] <syyl_> from a chunk of CI
[15:33:05] <Aero-Tec> I was doing something close to it with mach
[15:33:19] <syyl_> sawed/shaped to size, handscraped, final machining, drilling etc done on the cnc mill
[15:33:52] <Aero-Tec> JT-Shop: is ngngui something that is well worth doing or setting up?
[15:34:55] <JT-Shop> I do 95% of my ops on the lathe with ngcgui
[15:35:04] <JT-Shop> syyl_: nice work for sure
[15:35:26] <syyl_> thank you :)
[15:35:40] <JT-Shop> well I gotta run for now the other childeren want me to come out and play
[15:36:58] <Aero-Tec> bye for now
[15:49:37] <andypugh> I just bought 3 blocks of cast iron and three 4V transformers from Ikea
[15:49:46] <andypugh> I am not sure what to do with them.
[15:51:04] <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.
[15:51:35] <andypugh> No doubt I will find some use for the cast-iron discs.
[15:51:55] <cradek> I want one of those. why the hell won't they ship it?
[15:51:59] <cradek> they're so weird about that.
[15:52:13] <andypugh> http://www.ikea.com/gb/en/catalog/products/00169659/ ?
[15:52:34] <cradek> yeah, aka http://www.ikea.com/us/en/catalog/products/20169658/
[15:52:39] <andypugh> Runs on 4V.
[15:52:52] <cradek> Sorry, this product is not for sale on our website, check if it is available in your local store.
[15:52:55] <andypugh> I wish I could pay your price.
[15:53:06] <cradek> yeah $10 is a lot cheaper
[15:53:23] <cradek> add the 1kmi round trip drive to pick it up and it's not so cheap though
[15:54:00] <andypugh> Do you know anyone nearer to an Ikea. (they could save postage by ditching the heavy base)
[15:54:15] <andypugh> I wonder if they work OK on 5V?
[15:54:22] <cradek> yeah but I wouldn't want to ask someone to go in that forsaken place
[15:54:59] <cradek> $17.25 shipped from amazom
[15:55:04] <cradek> problem solved
[15:55:24] <andypugh> That's UK price. So not horrible.
[15:56:13] <cradek> looks like a nice reading light
[15:57:21] <cradek> from amazon reviews, sounds like the power switches are lousy
[15:58:01] <andypugh> The internet reckons they run on 5V.
[15:58:18] <andypugh> I wasn't plannning on keeping the power switch.
[15:58:31] <andypugh> It will connect to machine 5V if I can find it.
[16:00:58] <andypugh> For extra cool, I could switch it through the 7i64 :-)
[16:03:59] <cradek> the light on my mill has a toggle on the side of the control head - low tech but simple and reliable
[16:05:05] <andypugh> A quick experiment shows exactly the same current consumption anywhere from 3.5V to 6V. It is lower above or below that range.
[16:05:22] <cradek> interesting
[16:05:52] <cradek> it must use a buck/constant current regulator
[16:06:39] <andypugh> That's fairly normal for an LED controller I guess.
[16:07:34] <tjb1> I connected to a weird server :/
[16:08:21] <andypugh> Talking of servers: Does www.speedtest.net not work in Linux?
[16:08:33] <cradek> has always worked for me
[16:08:51] <cradek> might be flash...?
[16:09:07] <andypugh> None of my 3 Live-CD installed machines get past the "selecting best server with ping"
[16:09:14] <tjb1> I would name the server but it may not be appropiate
[16:10:58] <cradek> andypugh: currently working fine for me
[16:11:33] <andypugh> How odd
[16:18:50] <alex_joni> took longer than usual to load the interface here
[16:22:29] <alex_joni> Download Speed: 126324 kbps (15790.5 KB/sec transfer rate)
[16:22:44] <alex_joni> seems to be working ok-ish ;)
[16:39:04] <L84Supper> http://www.automationtechnologiesinc.com/products-page/kl-stepper-drivers anyone used these yet? previously http://www.kelinginc.net/StepperMotorDriver.html
[16:42:53] <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.
[16:43:42] <L84Supper> yes, they are all made by the same co in China
[16:44:03] <cpresser> i have seen similar ones. with different labels
[16:44:13] <cpresser> but the insides are all the same
[16:44:48] <L84Supper> yes, I'm trying to find the source in China, if they are worth finding :)
[16:45:33] <L84Supper> yes, Keling, Fastech, ... now Zapp with a PMxxx label
[16:45:46] <andypugh> http://www.leadshine.com
[16:45:49] <L84Supper> has anyone used them?
[16:46:17] <L84Supper> and another!!
[16:46:37] <andypugh> I think Leadshine (who are in China) are the manufacturer
[16:47:10] <L84Supper> near Shenzhen
[16:47:28] <L84Supper> they seem to have the widest range of models
[16:47:31] <andypugh> Guandong
[16:47:34] <L84Supper> so maybe they are the source
[17:00:55] <L84Supper> anyone in the US know who stocks any 3/8" -10, 12 or 16 acme leadscrews?
[17:01:16] <L84Supper> everything so far has a 1-2 week lead time
[17:04:18] <L84Supper> nevermind http://www.mcmaster.com/#acme-precision-lead-screws/=k2cybd
[17:08:46] <tjb1> Good ole mcmaster
[17:09:18] <L84Supper> they stock ball screws as well but you really pay for them
[17:11:17] <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
[17:12:24] <andypugh> It is rather a nice light, I suppose. (And mine has another elbow)
[19:05:25] <spiderdijon> does any one know what the options are for controlling a huanyang vfd within axis?
[19:10:13] <andypugh> spiderdijon: I suspect the same as controlling one in any other GUI
[19:10:43] <andypugh> I guess you don't have motion.spindle-speed-out netted to anything, so Axis is hiding the spindle control buttons?
[19:14:21] <andypugh> spiderdijon: Are you there?
[20:19:31] <r00t4rd3d> http://i.imgur.com/d6AJx.jpg
[20:19:38] <r00t4rd3d> cradek, ^^