#linuxcnc | Logs for 2012-09-12

Back
[00:04:28] <JessicaRN> Hola folks. has anyone connected EMC to an industrial servodriver from yaskawa? I have a set of Yaskawa SGDB drivers connected to working motors and I'd love to use these with something other than the propritary controler that came with them.
[02:12:56] <DJ9DJ> moin
[03:02:15] <amaldo> b
[03:21:58] <theos> c
[03:24:52] <archivist> cn
[03:30:01] <theos> cny
[03:34:23] <archivist> phail, I was staying on topic
[03:41:36] <v0idexp> finally managed to find a minute and create a bug report on that regression of PNCconf in last (2.6.0~pre) LinuxCNC
[03:41:37] <v0idexp> https://sourceforge.net/tracker/?func=detail&aid=3566952&group_id=6744&atid=106744
[09:38:11] <IchGuckLive> Hi All B)
[09:42:32] <pcw_home> IchGuckLive if you look at the IRC logs I listed the 7I76 spindle/VFD connections -- no extra hardware needed
[09:42:56] <IchGuckLive> ok
[09:43:32] <pcw_home> you just need to reprogram the VFD for DIR/ENA mode
[09:43:50] <IchGuckLive> i will read
[09:50:41] <IchGuckLive> pcw_home: thats great
[09:52:58] <IchGuckLive> thanks by i try it in the net 30min
[11:18:39] <mrsun> http://youtu.be/uYHjINyn4eg?t=2m30s is there a reason for that jumping around? ... thinking heat buildup or something
[11:18:46] <mrsun> or is the toolpaths just very unoptimized? :P
[11:21:54] <tjb1> I would say unoptimized
[11:22:17] <tjb1> It doesnt even do the holes in a certain order
[11:24:01] <Connor> Okay, I need to drill 4 holes in the end of a cylinder. (only 3" tall). They equally spaced and should be on a 3.5" diameter. I'm thinking of clamping the cylinder to the table directly with a clamp through the middle. whats the best way to indicate the very center of it ?
[11:24:15] <tjb1> Using a caliper to mark bluing…moron
[11:24:51] <tjb1> Are you putting the cylinder on its side?
[11:24:57] <Connor> No.
[11:25:08] <Connor> not cross drilling.
[11:25:17] <Connor> drilling the END of it.
[11:25:35] <Connor> I'll have to use a edge finder..
[11:26:02] <Connor> tjb1: And for the record, I don't appreciate being called a moron. That's not very nice.
[11:26:48] <Connor> I'm not a machinist by trade.. so, this is a learning process.. and I can't really afford to mess up on this part.
[11:27:34] <tjb1> So you are KEF791
[11:27:56] <mrsun> who is kef791? :)
[11:28:04] <tjb1> Apparently Connor
[11:28:16] <mrsun> how do you figure? :)
[11:28:35] <tjb1> I was referring to the guy in the video using his caliper to mark the plates and Connor got upset about it referring that I was talking about him
[11:29:15] <Connor> tjb1: Were you not talking to me ?
[11:29:30] * mrsun got the vfd up and running again today atleast, this time built into a box =)
[11:29:32] <tjb1> No Connor, unless you are KEF791 on youtube
[11:29:32] <Connor> If not. I apologize.
[11:29:42] <mrsun> im sure ive done everything wrong with the grounding etc but hey .. it works :P
[11:30:39] <mrsun> now i just need to solder some cabled to my vfd controller board and the mill is up and operational again ... hopefully :P
[11:30:46] <mrsun> atleast until rev B of the controller card is made
[11:31:10] <tjb1> I just need time
[11:31:11] <tjb1> haha
[11:31:37] <mrsun> huh ? :)
[11:31:53] <tjb1> I need to get home from school
[11:41:29] <archivist> Connor, if you can clamp leaving the inner clear then see http://www.linuxcnc.org/index.php/english/component/kunena/?func=view&catid=40&id=18775
[11:43:04] <Connor> archivist That's nice, requires a probe. :)
[11:43:42] <archivist> Connor, also you can mount a dial indicator in the spindle and indicate the hole and find centre that way see http://www.youtube.com/watch?v=mU1ewk36zAw
[11:44:46] <archivist> I use the indicator method
[11:45:05] <mrsun> hmm, been watching a movie on youtube over and over, quite amazing cnc mill .. ,homemade every time he does a center finding the numbers match up exactly each time ... talk about repeatability
[11:51:57] <Connor> I wonder if a touch plate style probe would work. It is alum so, it is conductive..
[12:07:30] <jdh> if you know the diameter of your probe.
[12:07:39] <jdh> why are you drilling a cylinder?
[12:10:19] <IchGuckLive> Hi all
[12:13:38] <DJ9DJ> hi
[12:13:47] <IchGuckLive> B9)
[12:15:59] <hardik> anyone here make their own spindle with a RC brushless motor?
[12:16:49] <IchGuckLive> hardik: then you can use a PROXXON as well
[12:17:02] <hardik> whats a PROXXON?
[12:17:14] <IchGuckLive> at the spindel prices from Huanyung its not worth to do it yourself
[12:17:48] <IchGuckLive> what cutter are you expecting to drive
[12:17:55] <hardik> how much do spindles from huanyung cost?
[12:18:05] <hardik> i'm just cutting sheets of fiberglass
[12:18:16] <hardik> using endmills no bigger than 1/8"
[12:18:32] <hardik> most of my cutting would be with 1/16 or smaller
[12:18:35] <IchGuckLive> then the Proxxon is best for you
[12:18:42] <archivist> hardik, I have seen a couple of homebrew spindles done like that
[12:18:55] <IchGuckLive> hardik: http://www.proxxon.com/eng/html/28481.php
[12:18:56] <hardik> proxxon looks like a dremel
[12:19:06] * hardik isnt a fan of dremels on cnc machines
[12:19:13] <IchGuckLive> this is a industriell product no sdremel
[12:19:14] <archivist> proxxon is yet another dremmel you may want better
[12:19:42] <archivist> http://www.dieselrc.com/projects/cncspindle/
[12:20:01] <IchGuckLive> in our factory every Toolmaker has one in its case
[12:20:49] <archivist> another example http://www.raynerd.co.uk/?p=1562
[12:21:29] <hardik> archivist, i'm making basically the same thing as raynerd
[12:21:57] <archivist> he has been in here, not seen him for a while though
[12:22:12] <hardik> if you see him again, let me know
[12:22:18] <hardik> i wanted to ask him a few questions
[12:22:23] <IchGuckLive> hardik: for pcb only its good enoph to have a proxxon on it
[12:22:54] <hardik> IchGuckLive: i'm not doing PCB's
[12:22:54] <hardik> i'm actually cutting through sheets of fiberglass
[12:23:03] <hardik> and maybe some carbon fiber
[12:24:18] <IchGuckLive> ok
[12:24:49] <archivist> hardik, ask the question anyway someone may know
[12:24:50] <IchGuckLive> the outrunner motors are not for permanent use as they need lots of cooling
[12:25:25] <hardik> i wanted to know what bearings and motor hes using
[12:25:34] <hardik> more importantly the motor
[12:25:53] <hardik> i've found one that looks very similar to what he used but not sure if its the same thing
[12:26:16] <IchGuckLive> http://www.ebay.de/sch/sis.html?_nkw=C5055%20KV700%20brushless%20motor%20Sky%20wing%20100A%20ESC%20BEC%202012%20&_itemId=170834566263
[12:26:24] <hardik> http://www.headsuprc.com/servlet/the-2348/Firepower-46-Sport-%285045-dsh-07%29/Detail
[12:26:34] <IchGuckLive> hardik: this are the bundels of motor and driver
[12:27:15] <hardik> IchGuckLive: the difficult part is finding a motor with an 8mm shaft
[12:27:28] <hardik> the ER11 collet i have has a 8mm straight shank
[12:27:41] <IchGuckLive> C4240-kv1020
[12:27:53] <hardik> the one in the link i posted has an 8mm shaft
[12:31:28] <hardik> the KV is also important
[12:31:48] <hardik> too low and it will be hard to find a powersupply with enough current and voltage to run the motor
[12:31:58] <hardik> too high and it wont have enough torque
[12:32:55] <IchGuckLive> http://www.flying-hobby.com/shop/scorpion-brushless-motor-hk5035500kv-8mm-shaft-p-8033.html
[12:33:34] <IchGuckLive> hardik: if you look at rays youtube channel he hot the hunayang running and replaced his Brushless
[12:33:54] <hardik> scorpion motors are good but very pricey
[12:34:39] <IchGuckLive> as isaid befor the real milling spindel is less
[12:35:02] <IchGuckLive> hardik: witch country are ypou in
[12:35:45] <hardik> IchGuckLive: US
[12:36:09] <hardik> IchGuckLive: how much do the hunayang spindles cost?
[12:36:36] <ktchk> hardik: Hi look at http://www.ray68.com/ water cooled spindle from china 0.8 kw with vfd is us250
[12:36:39] <IchGuckLive> let me find a USA seller
[12:37:15] <IchGuckLive> Zhen is always the best
[12:37:51] <hardik> i'm building a very small machine
[12:38:02] <hardik> 12x12x2" cutting area
[12:38:15] <IchGuckLive> http://www.ebay.com/sch/i.html?_sacat=0&_nkw=water+cool+spindle&_nkwusc=water+cool+pindle&_rdc=1
[12:38:31] <IchGuckLive> 257USD for a 2.2KW
[12:38:52] <IchGuckLive> and its all Linuxcnc compatible as PCW interfaced
[12:39:37] <hardik> hmm
[12:39:52] <hardik> might upgrade to that if this doesnt work out
[12:40:03] <hardik> the total cost on this is less than $80SUD
[12:40:15] <IchGuckLive> its the berst and esyest way to do it
[12:40:32] <IchGuckLive> on brushless
[12:40:42] <hardik> ER11 was $30, motor is $40, speedo control i already have from an airplane
[12:40:56] <IchGuckLive> go fo it
[12:41:06] <IchGuckLive> dont forget the cooling
[12:41:11] <hardik> yeah
[12:41:20] <IchGuckLive> watercool PC cooler is best
[12:41:35] <archivist> if it gets too hot add cooling :)
[12:42:12] <ktchk> what about the power supply?
[12:42:15] <IchGuckLive> the motors are not lasting a long time at force they might work less then 200h
[12:42:50] <hardik> 200h right now is more than enough
[12:43:05] <IchGuckLive> go for it
[12:43:09] <hardik> i just need it to work long enough to cut a few pieces of fiberglass
[12:49:02] <Connor> jdh: Sorry. It's for the Treadmill motor mount
[12:49:44] <Connor> Need to be very accurate. Very little room for mistake.. #8 screws in .220" wall.
[12:50:05] <Connor> In fact. I have a small scrape I might test on...
[13:12:57] <IchGuckLive> im off BYe
[13:19:02] <c60> Hello, How does one link axis if using 2 steppers for the Y-axis with linuxcnc?
[13:23:02] <archivist> see http://linuxcnc.org/docs/html/man/man9/gantrykins.9.html for a solution/method
[13:27:52] <c60> Perhaps I should say I'm new to this linuxcnc thing.
[13:29:17] <archivist> I cannot remember if there is a standard setup in stepconf for a gantry type, have a look
[13:30:40] <c60> yeah I saw one, but it didn't seem to work, I've got it working now just by setting the second Y to receive the same step/dir pulses in the setup, but the joint thing seems like the better way to do it.
[13:31:27] <c60> Thanks, I'll check into this after I get me some lunch, But at least I got the motors turning and I'm now free of the proprietary world of controller software's :)
[13:31:38] <skunkworks> heh
[13:31:56] <skunkworks> I think there is some info on the wiki on how someone did it without gantry kins
[13:32:02] <skunkworks> let me look
[13:33:07] <skunkworks> c60, more info.. http://wiki.linuxcnc.org/cgi-bin/wiki.pl?GantryPlasmaMachine
[13:34:32] <skunkworks> probably as clear as mud
[13:56:51] <ktchk> bye
[14:32:06] <skunkworks> KimK, How is it going?
[14:58:54] <Loetmichel> re @ home
[14:59:45] <skunkworks> linuxcnc down?
[15:01:32] <archivist> hmm loading......does not look healthy at the moment here
[15:02:09] <skunkworks> so it isn't just me ;)
[15:03:28] <micges> dead here too
[15:03:47] <skunkworks> I was just on it earlier.
[15:08:49] <PCW> its been flaky for the last several days
[16:07:19] <r00t4rd3d> i think we should pulverize libya.
[16:07:23] <DJ9DJ> gn8
[16:45:25] <JT-Shop> hmm power cube showed up
[17:15:40] <r00t4rd3d> is that a video game console?
[19:10:47] <JT-Shop-2> I have a slight overshoot at the start of the move and an undershoot at the end of the move. What should I adjust?
[19:11:00] <JT-Shop-2> BP velocity drive for the axis
[19:12:32] <Tom_itx> umm what about your backlash comp?
[19:13:29] <jp_> Is that measured from a encoder on the motor or scale on the table
[19:13:43] <Tom_itx> the table has the final say
[19:13:46] <JT-Shop-2> encoders on the motor
[19:13:55] <Tom_itx> measure the encoders against the table movement
[19:15:05] <JT-Shop-2> I must be missing some of the conversation here
[19:15:08] <jp_> how much overshoot/undershoot?
[19:15:19] <jp_> no tom has
[19:15:30] <Tom_itx> i did?
[19:15:40] <jp_> i think you confused JT
[19:15:59] <JT-Shop> the following error is +0.001" on the start and -0.001" at the end of the move
[19:16:00] <Tom_itx> well backlash comp could cause that
[19:16:05] <jp_> i just wanted to know wher the feedback was connected to
[19:16:44] <Tom_itx> JT-Shop are you dialing in the PID?
[19:16:49] <JT-Shop> yes
[19:16:51] <Tom_itx> add a tiny bit of I
[19:17:03] <JT-Shop> been doing that
[19:17:18] <Tom_itx> actually, is P overshooting?
[19:17:30] <Tom_itx> if P overshoots, I won't help you
[19:17:42] <Tom_itx> back P off and increase I if it is
[19:18:14] <JT-Shop> I adjused P till stiff, then FF1 to null out the cruse following error now I'm working on I
[19:18:59] <JT-Shop> actually P till it oscillated then backed it off till the oscillation quite
[19:19:03] <JT-Shop> quit
[19:19:06] <Tom_itx> yup
[19:19:24] <JT-Shop> then FF1 for cruse
[19:20:26] <JT-Shop> with I=0 the overshoot/undershoot is the same
[19:24:06] <jp_> whats it at 1 or 2
[19:25:40] <jp_> my mill is around 400 2 10 just for reference they wont be the same
[19:26:05] <jp_> but should be fairly relative
[19:26:56] <jp_> What axis is this on?
[19:27:40] <JT-Shop> I started with the x axis
[19:28:12] <JT-Shop> P=550 FF1=1.8
[19:28:31] <JT-Shop> <jp_> whats it at 1 or 2??
[19:28:54] <jp_> sorry in P I D order
[19:29:08] <JT-Shop> I and D are 0 atm
[19:29:08] <jp_> did not use FF
[19:29:27] <JT-Shop> FF1 centers the cruse phase
[19:29:43] <JT-Shop> I managed to gleen that much from PCW
[19:29:49] <jp_> we may be using different modes as well im in torque mode
[19:30:08] <JT-Shop> yea I'm in velocity mode so not the same
[19:30:26] <jp_> sorry forgot to pick up on that at first
[19:31:57] <JT-Shop> we have a servo tuning section on the forum but no one uses it :( they scatter all over the place
[19:32:58] <jp_> need an auto-tune button!!! but thats just me being lazy
[19:35:06] <JT-Shop> I wonder if any of the FF's are acceleration feed forward gain???
[19:38:13] <jp_> i thought there was a wiki page that explained it well?
[19:39:00] <JT-Shop> nope it quits when it gets to tuning :(
[19:39:13] <JT-Shop> teeny tiny bit of FF2 seems to take it out
[19:39:46] <JT-Shop> that page does a good job of getting your encoder hooked up
[19:40:52] <JT-Shop> down to 0.0003" following error at cutting speeds
[19:41:30] <JT-Shop> same at 180IPM :)
[19:41:30] <jp_> try a cut in one axis
[19:42:54] <JT-Shop> not ready to cut yet, have to get the switch box with start, stop, estop, axis, jog increment put on
[19:43:02] <jp_> ARGH gtk is pissing me off!!!!
[19:44:50] <jp_> how would i update a Lib glibmm to a newer version?
[19:45:48] <r00t4rd3d> find a repo with the latest version or git it
[19:46:30] <jp_> it's in the standard linux repo
[19:50:51] <JT-Shop> jp_: your using C++ with gtk?
[19:51:01] <JT-Shop> or is that the C one?
[19:51:30] <jp_> C++ need it for another program
[19:52:16] <JT-Shop> I think you can tell the synaptic package manager to use the latest one but I've never done it
[19:52:30] <JT-Shop> Y done Z to go
[19:52:55] <jp_> dam build from source wish i learned unix and linux in school!!!
[19:53:39] <jp_> hoping the update manager will take care of it
[19:54:26] <jp_> JT-Shop work on anymore glade stuff?
[19:56:12] <JT-Shop> not in the last week or so
[19:58:31] <jp_> me too but plan to get back at it
[20:37:40] <Tom_itx> how do you get a program to run continuous?
[20:37:49] <Tom_itx> ie pushing resume to start again
[20:38:06] <Tom_itx> i've got M30 at the end
[20:38:48] <Tom_itx> maybe M2?
[20:43:15] <Tom_itx> maybe pause/resume is different from cycle start. i should add that button to the pendant i guess
[20:50:35] <Tom_itx> what signal is the '>' arrow (program start) in axis tied to?
[20:53:42] <jdh> I thought it was cycle-start
[20:54:48] <Tom_itx> i'm watching halui.program.run and i'm not seeing any change
[20:55:02] <Tom_itx> do you know where i'd find the pin to execute it?
[20:55:17] <jdh> halui.program.is-running should be the current state of runningness
[20:56:16] <jdh> net cycle-start <= hm2_7i43.0.gpio.024.in
[20:56:53] <Tom_itx> then where does cycle-start map to?
[20:56:59] <Tom_itx> is it in halui?
[20:57:10] <Tom_itx> halui.cycle-start?
[20:57:16] <Tom_itx> cause i don't see it
[20:57:44] <jdh> that's all I have in my HAL for it. I'm not by the machine though.
[20:57:52] <Tom_itx> i thought it might be halui.program.run
[20:58:10] <jdh> that should work in halui, afaik.
[20:58:32] <Tom_itx> is cycle-start a layer deeper than halui?
[20:59:51] <jdh> got me.
[21:00:05] <Tom_itx> i'll figure it out another day
[21:00:23] <jdh> you probably have to be in auto mode before using halui.program.run though
[21:00:32] <Tom_itx> it was a button i wanted to add to the pendant but haven't gotten to it yet
[21:03:04] <tjb1> Anyone here experience with java that can help me out
[21:05:51] <jdh> linuxcnc java? yuck.
[21:06:00] <tjb1> No…java
[21:09:26] <jp_> i have a bit of java but not much
[21:09:38] <Tom_itx> jdh, i think i found it
[21:09:58] <Tom_itx> you need to read the auto signal before you can set the run
[21:10:11] <Tom_itx> net program-start-btn halui.mode.auto and2.0.in0 <= <your input pin>
[21:10:11] <Tom_itx> net program-run-ok and2.0.in1 <= halui.mode.is-auto
[21:10:12] <Tom_itx> net remote-program-run halui.program.run <= and2.0.out
[21:10:52] <tjb1> Is there a way I can do a decimalformat on a printf line?
[21:11:08] <tjb1> I couldnt get it to work so I did a printf with what I needed then just did a print of what I couldnt format
[21:12:14] <jp_> use a round function?
[21:12:26] <tjb1> round?
[21:12:36] <tjb1> Im formatting with commas and currency sign
[21:13:05] <jp_> im guessing round to XX decimal places
[21:13:39] <tjb1> DecimalFormat currency = new DecimalFormat("$###,###,###.00");
[21:13:42] <jp_> i might be thinking py or SQL
[21:13:54] <jp_> to many langs to keep up with
[21:14:21] <jdh> s1[i]=String.format("%3.2f", p1[i]);
[21:14:58] <jdh> I've done java once (phone app), that is what I used.
[21:18:11] <jdh> first time I've looked at it in months... not very pretty.
[21:19:55] <tjb1> I hate java already
[21:19:57] <tjb1> and I barely know it
[21:20:22] <tjb1> Here is what I got - http://pastebin.com/raw.php?i=edwVrG3a
[21:20:25] <jdh> my son was taking 'AP Computer Programming' in java, it was awful
[21:20:51] <jdh> but, I did help with a few programs. I just wrote most of it in c and it was fine.
[21:22:47] <tjb1> The wrost part is the the teacher just pulls these commands out of his ass
[21:23:02] <tjb1> Like converting a string to an integer is like parseString or something
[21:23:09] <jdh> that's because there are 16.3 billion crappy ass java classes to do any weird thing you want
[21:23:24] <jdh> there are lots of ways to do atio()
[21:23:42] <tjb1> Doesnt show us how to find it or anything, just takes us to the Java API page where you first have to pick the class and then surf through 500 methods or whatever that have names that dont pertain to what they do
[21:24:09] <jdh> heh, we did 'learning java via google'
[21:24:12] <tjb1> Id be find if I could find a page that described the java classes and methods in words I can understand
[21:24:33] <jdh> and awt and swing and other things that don't quite mix and match
[21:24:38] <jdh> panels and jpanels
[21:24:42] <jdh> frames and jframes
[21:24:47] <jdh> crap and jcrap
[21:25:35] <tjb1> The console is like jibberish too :P
[21:26:44] <tjb1> like how in the hell am I supposed to know that JOptionPane is a GUI?
[21:27:08] <jdh> google.
[21:27:30] <jdh> find something similar towhat you want, steal the code.
[21:27:35] <jdh> s/steal/borrow/
[21:28:32] <tjb1> Well first I would have to stumble through enough to find out that joptionpane is a GUI code
[21:28:32] <tjb1> Then stumble through the api to figure out what to put in it lol