#emc | Logs for 2008-12-06

Back
[00:00:33] <cradek> I have always been curious to mess with http://www.linuxcnc.org/docs/devel/html/man/man9/encoder_ratio.9.html
[00:01:44] <anonimasn> sweet
[00:01:52] <archivist> hmm that looks interesting
[00:02:27] <archivist> * archivist does not like to mention differential gearing like the Mikron has here
[00:03:08] <anonimasn> what does that mean?
[00:03:33] <archivist> its the added offset to get a helical on a hobbing machine
[00:03:54] <archivist> evil maffs
[00:03:57] <anonimasn> hehe
[00:04:11] <anonimasn> yeah slave one axis like /
[00:04:40] <archivist> on this is rotates the rotating axis a bit more
[00:05:02] <archivist> and you tilt the head a bit extra
[00:05:41] <archivist> hob helix +- the helical angle
[00:07:03] <archivist> with 5 axis I can do it by axis tilt and maffs
[00:07:28] <archivist> but the gearing is yet to come to brain
[00:19:10] <archivist> hmm could that encoder.ratio be set from gcode
[00:22:24] <archivist> perhaps it needs a mod to drive secondary from master then it could drive steppers as well
[00:23:51] <dmess> would an index pulse not only leave you with the error in the rotary
[00:25:20] <dmess> only
[00:26:40] <archivist> needs to be far better for hobbing
[00:27:58] <archivist> I have a text book with teeth errors due to gear train errors in the chain
[00:29:59] <anonimasn> archivist: are you purchasing that micron ?
[00:30:40] <archivist> purchase! /me expects a better price :)
[00:31:55] <archivist> setting up is a pain, cnc would be nice
[00:46:12] <dmess> sorry we're hobbing... EVERYTHING counts
[03:25:19] <skunkworks> http://imagebin.ca/img/msQFdpr.png
[03:25:50] <skunkworks> I still like eagle.
[03:34:56] <eric_u> I like eagle
[03:35:12] <eric_u> I tried to use Cadence, but I'm not even smart enough to design a new library part
[03:35:12] <SWPadnos> eagles are cool
[03:35:18] <eric_u> and the library is pathetic
[03:35:54] <skunkworks> oh - don't get me wrong.. It took me a bit to get used to it... It has it oddness.
[03:36:02] <SWPadnos> don't they all
[03:36:08] <skunkworks> :)
[03:36:30] <eric_u> all the cadence tutorials I could find were how to design chips, not circuit boards
[03:36:44] <eric_u> did find one, but their method didn't work
[03:37:43] <eric_u> skunkworks, htfu and put another half bridge on there for me
[03:38:06] <skunkworks> htfu?
[03:38:42] <eric_u> nobody knows what the h stands for
[03:39:00] <skunkworks> that is as big as you can do with eagle. that is right to the edge.
[03:39:14] <eric_u> even the pro version?
[03:40:29] <skunkworks> no - I don't know the limit to the pro version.. plus you can do more than 2 layers ;)
[03:40:46] <eric_u> I thought that was 2 layers
[03:40:54] <eric_u> more than 2 layers
[03:41:26] <eric_u> so this is the pay version, but not pro?
[03:41:38] <skunkworks> no - free
[03:41:43] <skunkworks> *free
[03:42:05] <eric_u> I thought the free version board was smaller than that
[03:42:37] <skunkworks> heh I found out that traces and polygons can go outside the actuall board limits.
[03:43:05] <eric_u> looks like you got the board outline to be bigger too?
[03:44:13] <eric_u> the stupidest thing about the free version is not being able to move things around. I have some long parts, and it's a pain to rotate them
[03:44:42] <SWPadnos> I kind of like Altium Designer: http://www.cncgear.com/images/ADScrnshot.png
[03:44:44] <SWPadnos> :)
[03:46:17] <skunkworks> that board is 4.4X3.675
[03:46:52] <skunkworks> but you are a pro :)
[03:47:08] <SWPadnos> heh
[03:47:14] <SWPadnos> at least I bought a pro tool anyway ;)
[03:47:22] <eric_u> that's why I wanted to get cadence to work, but I'm too dense for that
[03:48:01] <eric_u> what chip is U3? "which one?"
[03:48:08] <SWPadnos> cadence is basically OrCad, right?
[03:48:25] <eric_u> it's in there, legacy
[03:48:33] <SWPadnos> I hate OrCad
[03:48:34] <eric_u> I need to move back to orcad
[03:48:43] <SWPadnos> at least I didn't like SDT III all those years ago
[03:50:14] <eric_u> too bad you can't import libraries from eagle into cadence, I'd be very happy
[03:50:59] <SWPadnos> yeah. there's a script to do some transfer between Altium and Eagle, but I understand it's not very good
[04:37:04] <skunkworks> I had played with orcad back in the 386 days.'
[04:37:59] <eric_u> yeah, actually I think orcad is ok, but I wanted to do my current design in cadence because the orcad stuff is now legacy, and will be dropped soon
[04:38:38] <eric_u> "not recommended for new designs"
[16:17:26] <Guest945> Guest945 is now known as skunkworks
[17:48:21] <skunkworks> http://imagebin.ca/img/20UTh-I.png
[17:50:01] <cradek> are you going to make one?
[17:50:21] <cradek> haha, maxnc.ulp
[17:50:39] <cradek> you must have optimized it - barely any rapids visible
[17:50:52] <skunkworks> Yes - really - it is only the 3rd try :)
[17:51:07] <skunkworks> yes - the optimiser works very good
[17:51:11] <cradek> 3 is not too many to get it right. it looks complex.
[17:51:29] <skunkworks> and the first one was a success - just no current limit :)
[17:51:56] <eric_u> do you have a router that will make that?
[17:51:59] <skunkworks> yes
[17:52:07] <eric_u> links online?
[17:53:11] <skunkworks> http://electronicsam.com/images/KandT/servostart/amp.JPG
[17:53:35] <skunkworks> oh - the machine? it is way to big for making cirucit boards - but whatever
[17:53:51] <skunkworks> oh - the machine? it is way to big for making cirucit boards - but whatever
[17:54:02] <skunkworks> I mean ^ that was version 2
[17:55:20] <skunkworks> this is the gantry I use to make boards http://electronicsam.com/images/KandT/DSCgantry.JPG
[17:55:23] <eric_u> what did you use, the K&T?
[17:55:27] <skunkworks> I would love a small machine
[17:56:08] <eric_u> that is a little large
[17:56:13] <skunkworks> no - the boards I am making are for the K&T - I hope
[17:56:24] <skunkworks> and the puma robot
[17:56:29] <eric_u> I take it you have some sort of high speed spindle?
[17:56:33] <skunkworks> (although oversized)
[17:56:50] <skunkworks> rotozip clone
[17:56:57] <eric_u> I gave up and took my robot apart
[17:56:58] <skunkworks> I have been happy with the results
[17:57:30] <eric_u> that looks good
[17:57:49] <eric_u> is it a rotozip clone from harbor freight?
[17:58:10] <skunkworks> I don't remember - local- IIRC sears
[17:58:33] <eric_u> I have a beautiful spindle for making circuit boards, but it uses a 4 phase brushless motor
[17:58:40] <eric_u> and I have no driver
[17:59:39] <eric_u> although I almost understand how to make a driver now, got my 3 phase brushless drive running again
[18:00:12] <skunkworks> http://imagebin.ca/img/KMCOvg.png
[18:00:16] <skunkworks> ^bottom
[18:00:51] <eric_u> too bad I don't know anyone with a milling machine
[18:01:02] <skunkworks> make one :)
[18:01:09] <eric_u> it's a joke
[18:01:12] <skunkworks> oh
[18:01:15] <skunkworks> ;)
[18:01:22] <fenn> too bad you dont know anyone with a working CNC milling machine, you mean
[18:01:28] <eric_u> more like it
[18:01:37] <fenn> how's that finger?
[18:01:48] <eric_u> it's recovered
[18:02:10] <eric_u> itches every once and a while to remind me to keep my fingers out of places they don't belong
[18:04:03] <eric_u> I'm reading a court filing justifying why a high school student shouldn't be prosecuted for using the F word
[18:04:09] <eric_u> I should go work on my mill
[18:09:57] <skunkworks> besides - if I cannot figure drive out... If one where to show up on jmkasunich doorstep... I am sure he wouldn't turn down the challenge. ;) With an appropriate amount of goodies.
[18:10:32] <eric_u> what are you going to drive it with?
[18:10:35] <eric_u> mesa?
[18:11:37] <skunkworks> testing with pluto and running with mesa
[18:11:52] <eric_u> that's the part I find scary
[18:12:18] <eric_u> although keeping the high side supply up to voltage is a little bit of hope and magic
[18:12:49] <eric_u> and I guess there could be problems with back emf in rapid motion
[18:13:23] <skunkworks> they do it every day ;)
[18:15:22] <skunkworks> but with the last board I made I dropped the ball as far as ground runs and such. top side back to the bottom - back the top... and so on. yeck
[18:15:23] <skunkworks> bbl
[18:58:27] <JymmmEMC> eric_u: url?
[18:58:42] <eric_u> fer what?
[18:58:50] <JymmmEMC> eric_u: court ruling
[18:59:13] <eric_u> filing, not ruling: http://scofacts.org/The-F-Motion.pdf
[18:59:22] <eric_u> i believe he did win the case
[18:59:33] <eric_u> it is pretty amusing
[19:51:51] <JymmmEMC> "Interference with Staff, Faculty or Students of Educational Institutions" - a class three misdemeanor!
[19:53:06] <skunkworks> little did you know!
[19:54:03] <JymmmEMC> Never did find the court's ruling, but that motions was even quoted in the USPTO
[20:08:55] <eric_u> people probably go out of their way to quote it
[20:09:19] <dmess> F@#$k 'em
[20:09:47] <dmess> its SOP in our office
[20:10:02] <eric_u> we only curse in Hindi
[20:10:14] <eric_u> bit of a learning curve there for me
[20:11:07] <skunkworks> jmkasunich: I think I need to put this http://willepadnos.net/jmkasunich/heron-takeoff-2622.jpg
[20:11:21] <skunkworks> as my desktop picture on ubuntu hardy :)
[20:11:31] <skunkworks> very nice
[20:11:46] <dmess> nice bird.. i seen 1 this week
[20:11:56] <dmess> on the way home
[20:17:01] <skunkworks> The space station has been very bright going over here the last few days. Very cool
[20:17:20] <skunkworks> mag -2 yesterday I think
[20:18:02] <Vortex2> hello and good evening from Finland
[20:18:18] <skunkworks> Hello!
[20:18:47] <jmkasunich> skunkworks: glad you like the pic
[20:19:10] <Vortex2> I having a sort of proplem whit comp tool
[20:19:22] <skunkworks> jmkasunich: was that one shot - or where you able to take a bunch and pick the best?
[20:19:33] <Vortex2> trying make new hal component
[20:19:52] <Vortex2> and its giving me ValueError
[20:19:56] <jmkasunich> I took several, but several seconds apart, that one is the only one that was remotely good
[20:20:19] <jmkasunich> Vortex2: you'll probably need to post your code and the error message - try pastebin.ca
[20:20:52] <Vortex2> I have tried to compile exsamples
[20:21:06] <Vortex2> and even they dont work
[20:21:38] <jmkasunich> you need to spell out EXACTLY what you did, what you expected, and what actually happened
[20:21:49] <Vortex2> ok
[20:21:59] <jmkasunich> the best way to do that is to paste the information directly into a website like http://pastebin.ca, and then put a link to it here
[20:22:08] <Vortex2> ok
[20:24:34] <Vortex2> http://pastebin.ca/1278227
[20:25:19] <Vortex2> here some pictures of my projects
[20:25:21] <Vortex2> http://picasaweb.google.com/jsskangas
[20:25:55] <Vortex2> go get some hennesy will be right back --->
[20:26:45] <Vortex2> ok
[20:29:29] <anonimasn> Vortex2: nice!
[20:29:59] <Vortex2> jees but Im still a newbie what comes to EMC
[20:30:36] <skunkworks> Looks like the machine started out as something else.
[20:30:41] <anonimasn> btw, your tkemc looks really nice did you do anything special to it?
[20:30:51] <anonimasn> (ie touchscreen friendly
[20:30:51] <anonimasn> )
[20:30:56] <skunkworks> Are those the original drives? Are you planning on using them?
[20:31:05] <skunkworks> what are they?
[20:31:30] <Vortex2> In what of these machine are we talking aboit
[20:31:55] <skunkworks> http://picasaweb.google.com/JSSKangas/Porttaalikone#5272305463941293090
[20:31:56] <Vortex2> this cnc category is 5 axis mill to be
[20:32:08] <skunkworks> http://picasaweb.google.com/JSSKangas/Porttaalikone#5272305752442197346
[20:32:25] <skunkworks> Vortex2: from scratch?
[20:32:39] <JymmmEMC> Vortex2: You are ONE SICK PUPPY! That shop is WAY TOO CLEAN!!!!
[20:32:40] <SWPadnos> Vortex2, your .comp compiles fine here (on a run-in-place sim, 8.04), except that I had to add a license statement (this is TRUNK)
[20:32:41] <Vortex2> ok it has omron drives 750W 2 in X.-axis and 1 in Y ja 200W in Z axis
[20:32:54] <Vortex2> Way too Clean
[20:32:57] <Vortex2> hehehhehehheh
[20:33:10] <JymmmEMC> Vortex2: Love the Akita =)
[20:33:13] <Vortex2> You should see it now
[20:33:35] <Vortex2> JymmmEMC: Ooo you noticed
[20:33:49] <JymmmEMC> Vortex2: Always wanted one =(
[20:33:52] <Vortex2> its sleeping beside me right now
[20:35:13] <dmess> where was there an akita??
[20:35:20] <Vortex2> We had other akita puppy but this older one dit not accept it
[20:35:34] <JymmmEMC> http://picasaweb.google.com/JSSKangas/CNC#5161396888032078002
[20:35:55] <Vortex2> http://picasaweb.google.com/JSSKangas/Koiruus#
[20:36:03] <dmess> we had a breeding female always had pups around as a kid
[20:36:09] <Vortex2> couple more pictures
[20:36:10] <SWPadnos> Vortex2, it also works for me on the same system using 2.2 HEAD
[20:36:42] <dmess> nice pup... what 90-100 lbs??
[20:36:43] <SWPadnos> with or without the license statement
[20:37:26] <anonimasn> Vortex2: so, what about the tkemc?
[20:37:36] <Vortex2> Jami weihgts about 50kg
[20:37:53] <Vortex2> Its orginal
[20:37:56] <Vortex2> no mods
[20:38:02] <anonimasn> cool :)
[20:38:30] <dmess> well tempered??
[20:38:34] <Vortex2> im using newest 8.04 ubuntu
[20:39:23] <Vortex2> dmess no it like no akita i'v ever seen its not even angry to other male dogs
[20:39:34] <Vortex2> but its only 2,5 years old
[20:39:51] <SWPadnos> I can't load the comp (it never becomes ready), but I sure can comp --installl it :)
[20:39:55] <SWPadnos> -l
[20:41:18] <dmess> those are the scary ones to be honest as our breeding mom was... but 1 nite she SNAPPED and put my unckle on his back and would have killed him had i not git her
[20:41:34] <Vortex2> OK, file that im copiling is in desktop is tht ok
[20:42:29] <dmess> she was about 7or 8 by then and her patience wore thin i guess
[20:42:42] <Vortex2> dmess: Jami has piten me couple of times, but not badly
[20:43:19] <Vortex2> Last time we were fighting about peace of bone
[20:43:34] <dmess> play bites are a given with any large breed dog... its agresive bites you watch for
[20:43:51] <dmess> your own fault
[20:43:57] <Vortex2> jes
[20:44:02] <Vortex2> my fault
[20:44:20] <Vortex2> but that had to be done
[20:44:28] <dmess> ounce you give it to him its his.... DONT try to take it back ever
[20:44:34] <Vortex2> dog dont onw those bones I do
[20:44:47] <Vortex2> HEH
[20:44:48] <dmess> ow he took it
[20:45:49] <Vortex2> I was training, to get everything out of dogs
[20:45:56] <Vortex2> ähhh typos
[20:46:17] <dmess> then make hom drop it first and usher him off... i have delt with 3 akitas and 5 alaskan malmute muts in 1 cage... and you NEVER let your guard down.. or turn a back on any of them
[20:46:38] <dmess> HIM
[20:47:44] <Vortex2> f**k
[20:48:31] <Vortex2> My enghlish is not so good and Icant find word to descripe what im trying to say
[20:48:33] <SWPadnos> Vortex2, ok, it does load now. make sure that the component name (in the comp file) is the same as the file name , and it's case sensitive
[20:48:43] <Vortex2> ok
[20:48:47] <Vortex2> ill try
[20:49:04] <SWPadnos> so that file would need to be named "ServoSyncChecker.comp" to work, or change the component name :)
[20:49:13] <dmess> you the man Swap... again
[20:49:38] <SWPadnos> I don't know where that error comes from, it may be a python thing rather than a comp thing. what version of python do you have?
[20:50:08] <Vortex2> thats a good question
[20:50:15] <Vortex2> i dont know
[20:50:27] <SWPadnos> python --version
[20:51:06] <anonimasn> dmess: yeah true about the aggressive bites
[20:51:32] <Vortex2> I dont know enything abaut linux even though im coding C for linux
[20:51:41] <Vortex2> In my work place
[20:52:14] <jmkasunich> I don't know what the error message means, but it is definitely coming from python, as comp.py tries to convert your .comp file into a .c file
[20:53:45] <dmess> I love the breed ... and will own another.. but they need their space... our girl DESTROYED a kenel we built in the basement for her... heavy chain link fence and she chewed thru it like plastic... was sitting outside the thing when we found her... 1000 dollar kennel pouched
[20:53:54] <Vortex2> OK renaming file did not work
[20:55:50] <SWPadnos> that's only necessary once you get it to compile/install, if you actually want to load it :)
[20:55:50] <dmess> i currently have a Burnese mountain Dog i would hand to ANY 5 yr old on a piece of dental floss as a lead... and SHE would make sure that child came back home
[20:56:22] <Vortex2> We left Jami to guard our yard and went to shop, He had harness and was connected to 5mm steel cable. And when we came back he has biten him self free
[20:57:04] <dmess> AKA used to eat 8mm steel link chains..
[20:57:25] <dmess> regularily
[20:57:29] <jmkasunich> Vortex2: you said it also failed on sample .comp files?
[20:57:40] <dmess> wouldnt run... just to be free
[20:57:46] <jmkasunich> did you get the exact same message in that case?
[20:57:48] <Vortex2> Jami bulled so hard that long steel cable snapt
[20:59:32] <dmess> we showed her in the early days... and she did well but once she started chewing fences and chains she broke alot of teeth and her show scores showed it so she became a good mommy wit a bit of a petigree
[21:00:44] <Vortex2> jmkasunich: no this file was copien and altered
[21:01:02] <Vortex2> but where i can find these sample files
[21:01:04] <Vortex2> ?
[21:02:00] <jmkasunich> <Vortex2> I have tried to compile exsamples
[21:02:00] <jmkasunich> <Vortex2> and even they dont work
[21:02:08] <jmkasunich> you wrote that
[21:02:25] <jmkasunich> if examples don't work, then the problem is probaly NOT your code
[21:02:32] <jmkasunich> SWP tested your code, and it works for hime
[21:02:38] <jmkasunich> so the problem is NOT your code
[21:02:47] <jmkasunich> the problem is something about the way you are compiling it
[21:03:06] <jmkasunich> you said something about your file being on the desktop
[21:03:07] <Vortex2> Yes I copied code from EMC integrator manual and tried that dut that did not work
[21:03:09] <jmkasunich> that seems bad
[21:03:19] <dmess> or his box's dependancies
[21:03:41] <jmkasunich> Vortex2: can you compile EMC2?
[21:03:56] <Vortex2> no iv never even tried
[21:04:08] <jmkasunich> then you can't make new components
[21:04:13] <Vortex2> ok
[21:04:20] <SWPadnos> you don't need to be able to compile emc2 to be able to use comp
[21:04:28] <jmkasunich> when you write a .comp file, it gets converted into C, and then that C gets compiled
[21:04:42] <jmkasunich> so you DO need to be able to compile "things"
[21:04:44] <jmkasunich> maybe not all of EMC
[21:04:58] <jmkasunich> but you need EMC's dependencies, various HAL related include files, etc
[21:06:00] <jmkasunich> SWPadnos: that is news to me - please 'splain
[21:06:36] <Vortex2> OK what i need to make component for HAL? Do i have compile hole EMC to get new component in HAL
[21:06:39] <Vortex2> ?
[21:07:12] <jmkasunich> I don't know what the "minimim requirements" are to make a new component
[21:07:29] <jmkasunich> I have the EMC source code in a directory tree, I can compile it, and I can make new components in that tree
[21:07:41] <SWPadnos> I think you only need emc2-dev to use comp, you don't need everything in the build-deps for emc2
[21:08:05] <jmkasunich> SWPadnos: "I think" ;-)
[21:08:10] <SWPadnos> :)
[21:08:16] <Vortex2> I have emc2 dev
[21:08:42] <Vortex2> what else
[21:08:55] <jmkasunich> I have never tried to do what you are doing, so I can't help you
[21:09:06] <SWPadnos> run `python --version` to see what version of python you have
[21:09:43] <SWPadnos> if that's the same as minw (2.5.2), then I'm out of ideas :)
[21:09:43] <Vortex2> ok¨'
[21:09:48] <SWPadnos> mine
[21:10:14] <Vortex2> it was 2.52
[21:11:33] <SWPadnos> you didn't happen to create that file on a Windows machine, did you?
[21:11:47] <Vortex2> YES
[21:11:54] <SWPadnos> bonehead
[21:11:55] <Vortex2> wait a second
[21:12:03] <Vortex2> yes i am
[21:12:04] <SWPadnos> you probably have some ^M characters in there
[21:12:39] <SWPadnos> go to the pastebin on the Linux machine, copy the text on the "update" edit box, paste it into a new file and go from there
[21:12:55] <jmkasunich> and never, never, ever, use Windows
[21:13:06] <jmkasunich> it makes your hair fall out and your dog growl at you
[21:14:29] <dmess> hmm he has a big dawg... Wait for it... " i hear choppers"
[21:15:22] <SWPadnos> sudo apt-get install tofrodos
[21:15:25] <dmess> JMK if this works... you got my OFF M/S
[21:15:27] <Vortex2> YES
[21:15:33] <Vortex2> that worked
[21:15:33] <SWPadnos> that packagte provides "dos2unx", which is your friend
[21:15:36] <SWPadnos> yay
[21:15:42] <Vortex2> DAmn windos
[21:15:42] <dmess> you gootttaa be kidding
[21:15:43] <SWPadnos> err, dos2unix
[21:16:08] <alex_joni> dos2<tab> :)
[21:16:13] <anonimasn> Vortex2: that's the way to go!, more anger please!
[21:16:19] <Vortex2> Newer have came acroos this proplen in work
[21:16:28] <alex_joni> you use windows around work?
[21:16:38] <anonimasn> now repeat after me "I will not use windows.."
[21:16:55] <dmess> what a cluster f@#$k Microcrap has cuased.... again... SOMEBODY pls put this in the WIKI
[21:16:57] <anonimasn> any decent code editor dosent to ^M
[21:16:59] <alex_joni> anonimasn: spelling check on break today?
[21:17:08] <Vortex2> yes I code C to embebbed linux harware
[21:17:20] <anonimasn> alex_joni: oh, anonimasu's the irssi client at work
[21:17:22] <dmess> i will not use windows..... other than for catia
[21:17:27] <jmkasunich> dmess: put what in the wiki? "don't use windows to edit files that will be used on a linux system"
[21:17:38] <anonimasn> alex_joni: it's a pun on imasen..
[21:18:01] <dmess> is it there already??
[21:19:18] <Vortex2> OK next step
[21:19:19] <Vortex2> and it can be compiled and installed very easily: by simply placing ddt.comp in src/hal/components
[21:19:19] <Vortex2> and running ’make’, or by placing it anywhere on the system and running comp --install ddt.comp
[21:19:42] <Vortex2> adding component to hal
[21:20:16] <Vortex2> Is it this easy or do I have to compile whole EMC after this
[21:20:44] <SWPadnos> comp --install from anywhere will put it where it needs to be
[21:20:55] <Vortex2> page 162 in V2.3 Integrators Manual
[21:21:06] <Vortex2> ok
[21:21:47] <Vortex2> now I have to go to outside whit dog
[21:21:51] <Vortex2> will be back
[21:22:22] <SWPadnos> also comp --installl-doc will actually make a manpage for your component
[21:22:28] <SWPadnos> install-doc, that is
[21:23:59] <SWPadnos> bbl
[21:27:20] <dmess> i didnt realize a straight up dos text would put ant m/s crap in a file...
[21:27:28] <dmess> any
[21:42:39] <Vortex2> All ways sould take rifle among when walkin in forrest
[21:43:17] <Vortex2> 5 dears was nearby field an i did not take rifle whit me
[21:43:24] <Vortex2> danm
[21:44:15] <Vortex2> Im making component for cheking is to servos sycnronised
[21:45:58] <Vortex2> in encoder counts mismatch too much emcy stop will be activated
[21:46:48] <anonimasn> Vortex2: shouldnt that always happen anyway?
[21:46:58] <anonimasn> shouldnt..
[21:47:20] <anonimasn> +/- the amount of flex in your pid loop anyway..
[21:47:57] <Vortex2> yues but it dont work wait a birt
[21:48:00] <Vortex2> bit
[21:48:09] <anonimasn> any ferror in any acis will estop the machine
[21:48:12] <anonimasn> axis..
[21:49:07] <Vortex2> yes
[21:49:19] <Vortex2> but it dont work in this case
[21:50:25] <Vortex2> http://pastebin.ca/1278290
[21:50:39] <Vortex2> here is part of hal file
[21:51:18] <Vortex2> it tel how two servos are commaded in one axis
[21:51:47] <Vortex2> there is no feedback to joint 3 net Rpos-fb pid.3.feedback
[21:52:09] <Vortex2> net Xpos-cmd pid.3.command
[21:52:39] <Vortex2> X pos is commanding two different pid loops
[21:53:37] <Vortex2> Ihad to get feedback out of joit 3 because it allways cave me following error
[21:54:09] <Vortex2> I dont know eny other way to do this
[21:54:19] <anonimasn> set your ferror for the 3rd joint higher maybe?
[21:54:31] <Vortex2> jep
[21:54:40] <anonimasn> what's wrong with that?
[21:55:01] <anonimasn> (I might have missed other stuff you wrote), but im curious :)
[21:55:11] <Vortex2> ok
[21:56:30] <Vortex2> I dont know how to explain this
[21:57:17] <Vortex2> but joint 3 in not commandet enywhere and motor is mowing
[21:58:02] <anonimasn> that sounds like a bad offset adjustment on a amp
[21:58:11] <Vortex2> no
[21:58:34] <Vortex2> just gime time to explain
[21:58:47] <anonimasn> sure
[21:58:55] <Vortex2> this is hard for me to think right words
[21:59:11] <Vortex2> so you would understand what i mena
[21:59:16] <Vortex2> mean
[22:00:22] <Vortex2> ok how would you connec two servos in same X axis
[22:00:24] <Vortex2> ?
[22:01:35] <anonimasn> I didnt try it, but I'd hook them up to two pid loops and feed them the command signal
[22:01:55] <Vortex2> ok tthis is good i did same
[22:02:17] <Vortex2> here:
[22:02:20] <Vortex2> net Xpos-cmd axis.0.motor-pos-cmd pid.0.command
[22:02:28] <Vortex2> net Xpos-cmd pid.3.command
[22:02:56] <Vortex2> this is how i did it
[22:03:12] <Vortex2> two different PID
[22:03:18] <Vortex2> gets same commad
[22:03:25] <anonimasn> dosent the pid have a output for estop when the ferror grows large enough?
[22:03:44] <Vortex2> I dont know
[22:03:53] <Vortex2> its not in PId
[22:04:03] <Vortex2> Its some where else
[22:04:21] <anonimasn> or does pid have a output for the error?
[22:04:28] <Vortex2> here is that connection
[22:04:33] <Vortex2> #
[22:04:33] <Vortex2> net Xpos-fb axis.0.motor-pos-fb => pid.0.feedback
[22:04:33] <Vortex2> #
[22:04:33] <Vortex2> net Ypos-fb axis.1.motor-pos-fb => pid.1.feedback
[22:04:33] <Vortex2> #
[22:04:34] <Vortex2> net Zpos-fb axis.2.motor-pos-fb => pid.2.feedback
[22:04:36] <Vortex2> #
[22:04:38] <Vortex2> net Rpos-fb pid.3.feedback
[22:04:53] <Vortex2> and this is the proplen
[22:05:18] <Vortex2> net Rpos-fb pid.3.feedback feed bac is disconnected as you see
[22:05:33] <Vortex2> and now ferror dont grow
[22:05:57] <anonimasn> ah, so you need a splitter that feeds the X axis the biggest ferror?
[22:06:12] <Vortex2> taht not possiböe
[22:06:19] <Vortex2> because
[22:07:34] <Vortex2> ferror is supraction between commanted and real position
[22:07:44] <anonimasn> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Combining_Two_Feedback_Devices_On_One_Axis
[22:07:52] <anonimasn> did you read that?
[22:08:04] <Vortex2> and i dont know how to konnec X commat to join 0 and joit 3
[22:08:27] <Vortex2> thanks a will
[22:08:32] <Vortex2> wait a sec
[22:09:22] <Vortex2> no this is two encoders for one servo
[22:10:21] <anonimasn> are you trying to work with a linear scale and a servo with a encoder or something?
[22:10:49] <jmkasunich> maybe a two-motor gantry?
[22:11:02] <Vortex2> two servos and two ballscrew on one axis
[22:11:07] <Vortex2> yes
[22:11:49] <skunkworks> wasn't gantrykins created for this?
[22:12:22] <Vortex2> gantrykins?
[22:14:04] <Vortex2> Only thing I want to bo is command two servos to same place
[22:14:28] <Vortex2> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Combining_Two_Feedback_Devices_On_One_Axis
[22:14:44] <skunkworks> http://cvs.linuxcnc.org/cvs/emc2/src/emc/kinematics/gantrykins.c?rev=1.3;content-type=text%2Fplain
[22:14:52] <Vortex2> end of this i can not undestand
[22:16:01] <Vortex2> 1. connect both PID output signals to sum2.4 inputs
[22:16:01] <Vortex2> 2. sum the outputs of pid.0 and pid.4
[22:16:01] <Vortex2> 3. pid.0 is using motor encoder feedback
[22:16:01] <Vortex2> 4. pid.4 is using linear scale feedback
[22:16:01] <Vortex2> 1. net Xoutput-motor pid.0.output sum2.4.in0
[22:16:02] <Vortex2> 2. net Xoutput-linear pid.4.output sum2.4.in1
[22:16:04] <Vortex2> 1. the summed PID output is connnected to the DAC input signal
[22:16:06] <Vortex2> 1. net Xoutput sum2.4.out 'DAC input'
[22:17:16] <Vortex2> I have to try
[22:17:23] <skunkworks> http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/configs/stepper-gantry/
[22:21:47] <Vortex2> The proplem is that one axis can only have one position feedback
[22:22:13] <Vortex2> and because im not mommandin join3 enywhre
[22:22:31] <Vortex2> net Xpos-cmd axis.0.motor-pos-cmd pid.0.command pid.4.command
[22:22:47] <Vortex2> only axis 0 has two motor
[22:23:50] <Vortex2> fuck those typos
[22:24:14] <Vortex2> i mean and because im not commanding join3 enywhere
[22:24:57] <Vortex2> feedback goes to it and ferror rises
[22:25:05] <Vortex2> too high
[22:25:28] <murdoc> hello. such a question: there's a parameter in steppermm default_acceleration. does it mean acceleration only, or the velocity of how fast the mottor slows down?
[22:25:56] <murdoc> too
[22:30:33] <murdoc> i.e. deacceleration
[22:32:04] <Vortex2> skunkworks: Proplem is how to duplikate X command to two joints
[22:33:56] <Vortex2> skunkworks: my current setup works fine only thing is that i need component to chk is two servos sycronised.
[22:34:57] <anonimasn> murdoc: acceleration is bidirectional
[22:35:16] <anonimasn> murdoc: ie.. it means the acceleration and deceleration of the motor
[22:35:31] <anonimasn> velocity is simply the top speed of the motor
[22:35:42] <anonimasn> and acceleration is how long it takes to reach it/slow down
[22:35:52] <Vortex2> skunkworks: because thy have two different pid loops and same command. ferror can only be caculated to only other one of these
[22:40:44] <skunkworks> I 'think' you are going about it the wrong way. There is already people running slave gartrys. They use Kins to make it work (2 joint making up the axis) this make homing work correctly. (I am no expert)
[22:41:16] <fenn> actually, you need to be homed to use kins
[22:41:33] <fenn> don't remember how homing is supposed to work with dual gantry
[22:41:55] <skunkworks> right - but you are in joint space to home.
[22:42:23] <Vortex2> Other servo is all ready working correctly
[22:43:37] <Vortex2> I only need component to calc encoder count and if differense between two servos grow too high estop is actvated
[22:43:50] <dmess> vortex2... keep contact pls.
[22:44:00] <Vortex2> I wii
[22:44:03] <Vortex2> wait
[22:44:26] <Vortex2> ok
[22:44:43] <Vortex2> no other servo is slave
[22:45:06] <Vortex2> it gets same commanted plase as primary servo
[22:45:28] <Vortex2> no spesial homings needet
[22:46:25] <Vortex2> I assume that when machine is started boon is in rest state no external stesis is includet
[22:46:41] <Vortex2> This will be zero point
[22:46:49] <Vortex2> between two servos
[22:47:17] <Vortex2> ant this is state between two servos that we want to maintain
[22:48:31] <Vortex2> now if boon is pushed harber on othes side lets say that slave side is bushed otherway than primary side
[22:49:45] <Vortex2> intepentend pid loops correct servo pisplacements
[22:51:08] <dmess> 3
[22:59:04] <murdoc> anonimasn: thank you
[23:01:38] <murdoc> i meant acceleration is the velocity of the rising of the velocity )
[23:03:49] <JymmmEMC> SWPadnos: ping?
[23:10:37] <Vortex2> good night had to go to get some sleep
[23:59:23] <JymmmEMC> SWPadnos: http://mvixcommunity.com/wiki/MX-780HD_Main_Page Now, if it only could do NetFlix