Back
[00:07:06] <MarkusBec_away> MarkusBec_away is now known as MarkusBec
[00:09:03] <andy_in_the_gara> do you have to addf a constant?
[00:33:47] <andy_in_the_gara> OK it finall all seems to work
[00:36:53] <MarkusBec> MarkusBec is now known as MarkusBec_away
[00:37:04] <andypugh> Thanks for the help chaps
[01:07:10] <mozmck> do I need to change anything with my emc if I enable parport_pc (using the latest master)
[01:07:20] <mozmck> emc config that is...
[01:08:49] <mozmck> have to reboot, brb
[01:28:18] <dgarr> mozmck: i don't think you need change anything (i didn't)
[01:35:39] <mozmck> dgarr: thanks! looks like it works
[01:43:40] <tomp> tomp is now known as tom3p
[09:16:00] <Valen1> Valen1 is now known as Valen
[12:00:08] <oPless> * oPless wonders what spec of stepper motors people use on their cncs
[12:01:05] <archivist> depends. the right sise for the job plus a bit
[12:01:28] <archivist> you dont want steppers to lose step
[12:02:36] <archivist> and too beefy, their acceleration is too slow
[12:09:15] <oPless> that's exactly what I'm trying to determine :)
[12:10:00] <oPless> I saw a very nice cnc mill being sold on farnell for £200ish
[12:10:39] <oPless> but I think it's a little small for the size of things I want to do
[12:12:13] <archivist> what do you want to make
[12:13:34] <oPless> well the volume is roughly 42x42x25 of the largest piece I've prototyped
[12:14:28] <jthornton> there is a spreadsheet on the wiki about picking steppers
[12:14:36] <jthornton> morning archivist
[12:14:38] <archivist> travels being too small is my bugbear
[12:15:01] <archivist> afternoon jt
[12:17:18] <archivist> door bell
[12:17:22] <oPless> archivist, pm
[12:17:38] <oPless> jthornton, remember the name of the page off the top of your head?
[12:18:39] <jthornton> no, but I can find it
[12:19:10] <jthornton> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Mechanical_Spreadsheet
[12:19:25] <jthornton> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Stepper_Formulas
[12:19:27] <oPless> a simple search for 'stepper' doesn't reveal anything other than volt... ooh *clicks*
[12:19:32] <jthornton> enjoy
[12:20:21] <oPless> hmph open office?
[12:20:29] <jthornton> oPless: there is quite a bit of reading material on the wiki
[12:20:31] <jthornton> yes
[12:20:44] <jthornton> you on a windows machine?
[12:20:49] <oPless> mac
[12:21:06] <jthornton> they have open office for mac
[12:21:36] <oPless> I'll see if google docs has Oo import :)
[12:23:07] <oPless> ahh it does, lovely :)
[12:23:59] <oPless> IPM = inch per minute?
[12:24:11] <jthornton> yes
[12:24:32] <oPless> * oPless curses the lack of SI units :)
[12:25:35] <oPless> * oPless assumes TPI is also threads per inch too
[12:26:55] <jthornton> yep
[12:32:29] <oPless> this is awesome, thanks jthornton
[12:33:47] <jthornton> np
[12:54:14] <MarkusBec_away> MarkusBec_away is now known as MarkusBec
[13:19:51] <Valen1> Valen1 is now known as Valen
[13:51:06] <oPless> hmm, so ... I guess the next question I have is ... how do you typically set the XY axis to 0,0 and the z-axis to the top of the material (and I guess you manually enter the depth of the material)
[13:53:15] <archivist> bring the machine to x and touch off etc
[13:56:04] <BJT_Shop> I set X0 as the left side of the material and Y0 as the back usually
[13:56:19] <BJT_Shop> and Z0 as the top of the material
[13:56:35] <BJT_Shop> the depth doesn't matter
[13:57:31] <BJT_Shop> * BJT_Shop goes back to cleaning up the shop
[13:59:49] <oPless> so you typically manually home the devices. right
[14:01:30] <archivist> homing is a different activity to touch off
[14:02:01] <archivist> homing established the machine limits of movement
[14:03:10] <oPless> ok, perhaps there's a terminology issue in my head that needs some attention :)
[14:03:22] <oPless> archivist, did you get my pm ?
[14:03:40] <archivist> yes
[14:03:57] <oPless> did it make sense? :)
[14:06:55] <archivist> you may want 5 axis or you need to hand polish
[14:07:44] <oPless> yes, 5 axis worries me a little on how to implement
[14:08:54] <archivist> my mill is 5
[14:08:57] <oPless> there's umpteen gantry designs I can use but many of the 5 axis ones (on youtube) seem to be industrial :)
[14:09:40] <oPless> oh really? is it self built?
[14:09:44] <archivist> mine is built from scrap and cheap ish rotary tables
[14:10:34] <oPless> cool, have you any pics or a website about it?
[14:11:54] <archivist> http://www.collection.archivist.info/archive/djcpd/PD/2009/2009_08_15/102CANON/IMG_0246.JPG
[14:13:39] <oPless> crikey, that's a monster :)
[14:13:58] <archivist> some is scrap industrial
[14:14:08] <archivist> its not that big at all
[14:15:00] <oPless> not in terms of scale :)
[14:15:21] <oPless> Very impressive in a frankenstein sense :)
[14:17:37] <archivist> column is an old lathe bed
[14:18:18] <archivist> xy is a tool setting jig
[14:19:02] <archivist> rotaries are Vertex and Soba
[14:19:05] <oPless> the milling motor ... does that have to be anything special? I'm guessing the larger (fsvo large) the motor is contributes some significance to how the mill operates?
[14:20:13] <archivist> mine is a standard 3 phase with a variable frequency drive to it
[14:21:32] <oPless> I'm considering some kind of dremel, or AC drill
[14:21:59] <oPless> well, maybe a DC drill, thinking about it
[14:23:12] <oPless> the amount of information to absorb is giving me one hell of a headache ... haven't felt like this since going to uni :)
[14:24:49] <archivist> its a good learning tool, you also get a bonus of a machine to keep and use
[14:28:44] <oPless> well yes.
[14:31:33] <archivist> retrofitting an old Denford mill or Boxford is another way
[14:33:23] <oPless> yes, I was looking at a "PROXXON - MF 70" on farnell since it was reasonably cheap
[14:34:01] <oPless> but it's not really suitable for the volume I want
[14:34:40] <oPless> someone suggested building a 5/6 DOF robot arm, with a turntable
[14:35:27] <oPless> which is a possibility I guess, but then the servos will probably have to be beefier
[15:00:04] <cradek> archivist: that sure looks like a nice setup for gear cutting
[15:01:03] <archivist> except for visibility to the work :((
[15:02:15] <archivist> it does a magic helical knurl
[15:03:08] <archivist> cradek, I tuned the steppers on the lathe a lot better today just trying the screw cutting again
[15:03:43] <cradek> cool
[15:34:01] <archivist> cradek, bug/feature in the toolchange/offsets area
[15:36:20] <archivist> offset during M6 ie before you change the tool depends if incoming is longer or shorter
[15:37:38] <archivist> example screw.ngc did not retract enough to allow me to put the next tool on
[15:39:01] <archivist> I mean g76.ngc
[15:44:43] <archivist> docs use g43 h- and code in example has no h-
[15:56:58] <tomp> tomp is now known as tom3p
[16:02:54] <cradek> archivist: set a tool change location at the top of travel
[16:03:09] <cradek> no h means current tool
[16:09:11] <archivist> no h need adding to docs
[16:09:56] <jthornton> what h?
[16:10:12] <archivist> g43 h
[16:11:03] <jthornton> g43 h is in the user manual
[16:12:24] <archivist> g43 without is not
[16:14:39] <jthornton> how does g43 differ from g43 h?
[16:15:55] <archivist> uses the tool you just selected with T=
[16:17:47] <archivist> jthornton, you can see the g76.ngc for an example without, I read that in conjunction with the docs and noticed
[16:18:50] <jthornton> ok I'll look at it to see
[16:21:11] <jthornton> got it thanks archivist
[16:22:31] <archivist> I got a much nicer thread today
[16:23:47] <jthornton> cool
[17:20:57] <cradek> to be more specific it uses the tool that is LOADED which is possibly different from the prepped one (the one selected with Tn)
[17:24:30] <jthornton> you mean with the M6?
[17:24:36] <cradek> yeah
[17:24:40] <jthornton> ok
[17:25:06] <cradek> I was only saying that archivist's summary (the tool you just selected with T) is not precise enough and is not strictly right
[17:25:18] <cradek> I didn't read your doc fix :-)
[17:25:29] <jthornton> this is how I get my commit count up :)
[17:25:43] <cradek> pretty sure "the loaded tool" is the right set of words to use
[17:26:07] <cradek> "selected/prepped tool" is wrong words
[17:26:26] <jthornton> LOL I used "loaded tool"
[17:26:32] <cradek> perfect :-)
[17:27:17] <cradek> I habitually write "Tn M6 G43" all on one line
[17:27:39] <cradek> the difference between prepped and loaded is small or none for that usage
[17:28:42] <jthornton> I almost bought a cnc lathe last week but the price went too high :(
[17:28:48] <cradek> darn
[17:28:57] <jthornton> I passed on the other one we talked about
[17:29:03] <cradek> that 16c hardinge?
[17:29:06] <cradek> ah
[17:29:09] <jthornton> yea
[17:29:47] <jthornton> I'll keep looking
[17:30:15] <cradek> you'll find one soon
[17:31:19] <jthornton> now that the conduit is in the ground I'll have 200 amp service to my shop instead of a 8-4 extension cord on the ground
[17:31:31] <cradek> nice
[17:31:55] <jthornton> going to add on the north end another 25 feet or so soon and move the metal working equipment in there
[17:32:33] <jthornton> nap time here :)
[17:33:04] <cradek> enjoy
[17:41:11] <cradek> if I were to buy a 20mm end mill holder would I probably find that the hole in it is in the range 20.02 - 20.10?
[17:41:39] <cradek> the kind with one setscrew on the side
[17:50:10] <robh_> cradek, they tend to be made to H6 tollerence as that is what cutter should be thats put in there also what you looking for?
[17:51:11] <cradek> what is H6?
[17:51:30] <cradek> I know the hole is bigger than the cutter, but I don't know if 20mm end mill is <20 or the holder is >20
[17:51:41] <cradek> here is what I want to make:
http://www.renishaw.com/media/pdf/en/bece1e25657c4ba99dd4d8b03c9fb6ab.pdf
[17:51:53] <cradek> just looking for shortcuts
[17:53:06] <cradek> starting with the center hole nicely centered and the right size would be nice
[17:54:10] <robh_> i have one of them for my probe :) so if u need any unknowns just showt
[17:54:26] <jthornton> http://www.wisetool.com/fit.htm
[17:54:43] <cradek> robh_: I have a CAT40 but need BT40
[17:54:52] <cradek> renishaw has them for the low low price of $400
[17:54:56] <robh_> im not sure id bet cutters are made down on nominal, while holders aimed to be up, so hydrolic holders shrinkfit would work but with out checking it up in cutter and holder catalogues
[17:55:43] <robh_> mines BT40 Cat40 not all too diff but means dont fit in pockets with out change
[17:55:56] <cradek> yep
[17:56:04] <cradek> it works but can't go through the tool changer
[17:56:19] <robh_> u can buy BT40 blanks
[17:56:53] <cradek> yeah - I've started with a cheap shell mill holder before too
[17:57:50] <cradek> all sorts of ways easier than starting from scratch
[17:59:03] <robh_> have u looked on nikken site, they may tell u holder info
[18:00:20] <robh_> well i could measure one for ya lo
[18:01:23] <robh_> bbl
[18:01:40] <cradek> yeah I did not find real specs on their site
[18:06:14] <Dave911> 3 phase power......
[18:06:16] <Dave911> Do many of you guys have 3 phase power available in your home shops? If so what additional charges do you pay per month. I'd have to have another service run to the shop but I am seriously thinking about investigating that as I have a pole 50 feet from the shop already and 3 phase in front of my property. I thinking of bringing my bringing my big lathe "home" soon and it has a 30 KW...
[18:06:18] <Dave911> ...spindle motor, 4 kw servos and a 5 hp hydraulic pump. So I think I will need more juice. ;-)
[18:08:10] <cradek> Dave911: we're residential/rural here and were quoted $20/month added fee for 3 phase. installation cost was $75,000.
[18:08:39] <eric_unterhausen> what's the justification for the extra monthly fee?
[18:09:03] <cradek> atypical = fee?
[18:09:17] <eric_unterhausen> that's what you called it
[18:09:38] <cradek> who knows what it would be for anyone else - just an interesting data point
[18:10:04] <cradek> I would happily pay the $20 but not the $75,000
[18:10:04] <eric_unterhausen> well, the $75k killed the deal I suppose
[18:10:08] <cradek> right
[18:10:30] <eric_unterhausen> I just don't see any justification for it
[18:10:30] <Dave911> $20 I can live with..... the $75K would be an issue... I'm hoping my install would be cheap since they would only have to hang 3 xfrmers and run about 200 feet of wire. The poles are already there.
[18:10:57] <cradek> couldn't hurt to call and ask
[18:11:45] <Dave911> That is what I am thinking. Did the 75K include running 3 phase on poles for a mile to get to your place or ??
[18:12:03] <cradek> yeah it wasn't available close
[18:12:50] <cradek> bbl
[18:13:18] <Dave911> I bet I could buy all of the materials, wire and transformers to get the power to my shop for $1000, perhaps less. But they seem to have a problem with guys tapping into the 5 KV lines on their own.. ;-)
[18:15:48] <Dave911> I don't have any problems with 460/500 volts but that 5KV and up stuff can reach out and get you.. :-( Actually I think they have 13.8 KV out there now as they upgraded the service in the street last year. The overhead wires were raised and the cables must be 5/8" in diameter or so now. So there is plenty of power at the street. I just need a little more of it..
[18:22:31] <alex_joni> this is cool
http://www.linuxfordevices.com/c/a/News/NorhTec-Gecko-Info-Pad/
[18:22:54] <ROBH__> cradek at work at mo, states H5 for endmill holder so -0 +9 microns
[18:35:48] <alex_joni> evening ;)
[18:37:37] <micges> hi
[18:51:30] <andypugh> Hi there flks
[18:51:49] <andypugh> Has anyone used G76 for coarse threads?
[18:52:43] <andypugh> I am wondering if there is some PID tuning needed or something, the carriage velocity is varying rather wildly, and thus not cutting a good thread.
[19:03:02] <andypugh> http://www.youtube.com/watch?v=NDA48nLdbiI
[19:23:06] <cradek> andypugh: thanks, so it would be much less than 20.02
[19:24:07] <cradek> andypugh: what emc version?
[19:24:44] <cradek> also what is your spindle speed, encoder resolution, and servo cycle period?
[19:27:47] <andypugh> Sorry, I was searching the wiki
[19:30:14] <andypugh> Spindle speed is 200 rpm, encoder resolution is 20ppr and servo thread is running 500,000nS and base thread 25,000nS
[19:32:46] <andypugh> (Hmm) I am running encoder.update-counters in the base thread to debounce it, but encoder.capture-position is in the servo thread.
[19:32:59] <cradek> that is correct
[19:33:09] <cradek> what emc version?
[19:33:15] <andypugh> 2.3
[19:34:05] <cradek> ok we had exactly this discussion recently - wonder if we can find it in the archives
[19:34:14] <cradek> the problem is your encoder feedback is way too coarse
[19:34:45] <cradek> you're getting 66 pulses/second and your servo cycle is 2000 times/second
[19:34:49] <andypugh> I did that on purpose to suit the p-port...
[19:35:08] <cradek> so for 30 servo cycles it thinks the spindle has not moved. then for one cycle it thinks it did move a lot
[19:35:20] <cradek> that is hard to track obviously
[19:35:42] <cradek> the solution for someone else was to use the interpolated output of the encoder component
[19:35:51] <andypugh> However, it seems to "pulse" once per rev, not 20 times per rev
[19:36:07] <cradek> what?
[19:36:09] <andypugh> (or about once per rev)
[19:36:11] <cradek> what seems to?
[19:36:19] <andypugh> The carriage velocity
[19:37:05] <cradek> that period is because it's obeying the acceleration constraint you've configured
[19:37:34] <andypugh> I thought it looked like a controller tuning sort of problem
[19:37:52] <cradek> do you know that your spindle feedback is correct? does motion.spindle-revs increase by 1.0 for each turn of the spindle?
[19:38:11] <andypugh> Yes, that part is right
[19:39:13] <andypugh> Though I have not checked that it doesn't jump from (say) 0.9 to 1 instantly or something smilar
[19:39:20] <cradek> hm, I don't see the log
[19:39:35] <cradek> well you know you will only be able to get steps of 0.05 because of your 20 ppr
[19:39:47] <cradek> that's why you want to use the interpolated output, which is smooth
[19:39:57] <cradek> so try that
[19:41:31] <andypugh> ie wire motion.spindle-revs to encoder.0.position-interpolated?
[19:41:52] <cradek> yes
[19:42:26] <andypugh> I think I tried that, but I can't be absolutely sure I saved, reloaded etc.
[19:43:07] <andypugh> Is it possible to reload the hal config files without quitting EMC?
[19:43:33] <cradek> yes and no. you should quit and restart emc.
[19:43:58] <andypugh> And re-home, and re-load the G-code. Ah well
[19:44:13] <andypugh> Let me give it a go
[20:00:40] <alex_joni> andypugh: in this case you could stop the program, unhook the signal, and connect the new one to position-interpolated
[20:00:50] <alex_joni> but that easy to screw up, and it won't get saved
[20:01:01] <alex_joni> so a restart is 'recommended' ;)
[20:02:43] <andypugh> Well, I tried it and it made no difference. motion.spindle-revs is perfectly smooth in halscope with either encoder output wired into it
[20:03:20] <cradek> that's not possible since there are only 20 ppr at 200 rpm. you are not looking at the right zoom level, maybe
[20:03:26] <andypugh> There is certainly no sign of any steps in the position input corresponding to the carriage speed variations.
[20:06:09] <andypugh> Is there a way to log to file? Both outputs have umpteen decimal places in hal-meter, but it is hard to tell if the non-interpoated ones are quantised.
[20:06:34] <andypugh> However, I thought that threading was possible with 1ppr in the newer versions?
[20:06:48] <cradek> yes using inteprolated position
[20:07:46] <andypugh> So is the answer to disconnect my 20ppr input?
[20:07:52] <cradek> no
[20:08:25] <andypugh> Yeah, it seemed counter-intuitive
[20:09:38] <alex_joni> andypugh: use halscope
[20:10:05] <alex_joni> grab a trace of both the output from encoder-interpolated and the axis.2.motor-pos-cmd
[20:10:19] <alex_joni> then we'll see further
[20:10:57] <andypugh> would motion.spindle-revs be better than encoder-interpolated?
[20:11:14] <andypugh> Give me 5 mins.
[20:12:02] <ZeroFlex> 1
[20:13:00] <alex_joni> andypugh: yup
[20:13:08] <ZeroFlex> 2
[20:13:21] <ZeroFlex> :)
[20:25:18] <andypugh> OK, back
[20:25:34] <andypugh> Now to put the screengrab somewhere useful
[20:28:20] <andypugh> http://www.atp.pwp.blueyonder.co.uk/G76.png
[20:29:25] <andypugh> cradek: YOu were right about the encoder output being quantised, and -interpolated is much smoother. However they are both very smooth compared to the commanded position
[20:32:16] <alex_joni> hmm.. something is fishy there
[20:32:46] <andypugh> Sorry, my browser crashed.
[20:33:06] <andypugh> I didn't see anything that happened after I posted that url
[20:34:31] <alex_joni> 23:31 < alex_joni> hmm.. something is fishy there
[20:34:44] <alex_joni> can you pastebin your hal file?
[20:35:15] <alex_joni> err.. better the output from 'halcmd show thread'
[20:35:33] <alex_joni> I suspect the problem is the encoder function beeing run after the motion controller has run
[20:36:12] <alex_joni> e.g.: "addf encoder.capture-position servo-thread" instead of
[20:36:24] <alex_joni> "addf encoder.capture-position servo-thread -1"
[20:36:46] <andypugh> http://www.pastebin.ca/1580708
[20:36:49] <andypugh> is close.
[20:37:12] <andypugh> Though a few things have changed since then
[20:37:45] <alex_joni> hmm.. that looks correct
[20:38:16] <alex_joni> but make sure that encoder.capture-position is before motion-controller
[20:38:25] <alex_joni> not that you changed it in the mean time
[20:39:01] <andypugh> In the HAL file?
[20:39:58] <alex_joni> no, in the thread execution order
[20:40:15] <alex_joni> the order of the addf's in the HAL file doesn't matter
[20:40:23] <alex_joni> only the params to the addf
[20:40:35] <andypugh> So how do you change the execution order?
[20:40:38] <alex_joni> you can add a function at the beginning or end of a thread
[20:41:11] <alex_joni> best is to 'halcmd show thread' and look
[20:41:40] <alex_joni> line 478 in your pastebin
[20:41:47] <andypugh> OK, bear with me. The lathe is in a sperate building, but has a horrid keyboard.
[20:42:27] <alex_joni> sure thing..
[20:42:31] <alex_joni> take your time
[20:44:02] <pjm> evening all, has anyone here ever used / interfaced a sony mangescale DRO type linear scale
[20:50:15] <andypugh> OK, the actual current hal show is in pastebin
[20:51:19] <alex_joni> what kind of pastebin? .ca .com .org?
[20:53:58] <alex_joni> what kind of pastebin? .ca .com .org?
[20:54:17] <andypugh> Sorry, got in a bit of a mess opening pastebin in the same window, rather than a new one.
[20:54:19] <andypugh> http://www.pastebin.ca/1581821
[20:54:29] <alex_joni> yeah, got it
[20:55:42] <alex_joni> the only thing I see is that debounce should probably run before encoder.update-counters
[20:56:16] <andypugh> Considering that the index pulse is a step-input to axis velocity, and it has to catch up in order to cut the thread, I am thinking I have a tuning problem.
[20:56:40] <andypugh> Although changing the spindle speed doesn't make a great deal of difference.
[20:57:17] <andypugh> Oddly, I do get the occasional smoother move, about twice the frequency..
[20:57:59] <alex_joni> but you're running steppers..
[20:58:08] <alex_joni> I don't see what tuning should be involved there
[20:58:10] <andypugh> Axis accel is as high as it can be. Lower accell makes the problem go away, but only because the carriage never catches up with where it should be.
[20:58:52] <andypugh> So I got a constant-pitch thread, of the wrong pitch..
[21:00:19] <andypugh> What I am wondering is how the axis catches up with where it needs to be? It sees the index pulse, and is immediately behind where it needs to be due to axis accel limits. It needs to then catch up, but not overshoot
[21:02:01] <alex_joni> maybe try to plot the index on the halscope too
[21:02:14] <alex_joni> see if it's related, it might not be
[21:02:39] <alex_joni> as it looks to me, the accel/devel happen exactly once every msec
[21:02:43] <andypugh> I was meaning the initial "start the cut" index pulse.
[21:02:46] <alex_joni> that's once every servo-thread
[21:03:26] <andypugh> No, it is far slower than that
[21:03:49] <alex_joni> andypugh: not judging by that picture
[21:03:58] <alex_joni> err.. sorry
[21:04:01] <alex_joni> 200msec / div
[21:04:18] <alex_joni> so 5 times / second
[21:07:03] <andypugh> Indeed, it's actually bizarrely slow in this world of microseconds and nanoseconds
[21:09:11] <alex_joni> can you try and plot the index pulse too?
[21:09:18] <alex_joni> I wonder if the dimples are related
[21:09:34] <alex_joni> at 200 rpm you should get 3.33 indexes/second
[21:10:24] <andypugh> Yeah, though eating would be good, it's 10pm :-)
[21:11:27] <alex_joni> it's midnight here ;)
[21:18:05] <andypugh> www.atp.pwp.blueyonder.co.uk/G76b.png
[21:18:42] <andypugh> Once every index, but the index is not visible in the spindle position trace
[21:19:39] <andypugh> sorry,
http://www.atp.pwp.blueyonder.co.uk/g76b.png
[21:21:51] <alex_joni> hmm.. can't say I can think of anything else
[21:22:22] <andypugh> I will link everything to a message on the mailing list. Perhaps somebody there has an idea?
[21:22:38] <alex_joni> how bad is the index without debounce?
[21:22:57] <andypugh> Thanks for trying. Hopefully someday I will have answers instead of questions
[21:23:25] <alex_joni> I'm sure you'll get more useful replies from the mailing list, with all this data already gathered
[21:23:37] <andypugh> Bad enough to really mess things up, though I have an RFI filter from eBay for the VFD which might make it redundant
[21:24:07] <alex_joni> I notice your index is pretty long
[21:24:23] <alex_joni> usually the indexes I've seen are the same length as the A/B channels
[21:24:46] <alex_joni> I'm not sure if something isn't happening on the hi/low transition of the index pulse
[21:25:20] <andypugh> It's possible. I thought that 50% duty cycle on both tracks was sensible.
[21:25:30] <alex_joni> the pos-cmd is more or less steady between index pulses
[21:25:42] <alex_joni> the accel/decel happen during the pulses
[21:26:28] <alex_joni> maybe cradek drops back in and has some insight
[21:26:48] <andypugh> It certainly looks like it is related to the index somehow.
[21:26:52] <alex_joni> afaik during the threading .. only position needs to be used
[21:27:04] <alex_joni> and index to sync passes
[21:28:06] <andypugh> The odd thing is that I can't even see any aliasing in the position trace, it looks perfectly linear, and that should be all that the trajectory thingy sees
[21:30:57] <alex_joni> right
[21:33:20] <andypugh> Unless G76 is integrating velocity.... But that would be stupid.
[21:34:48] <andypugh> In my day job I would be looking hard at the value of a D-term (I tune car ECUs)
[21:39:07] <andypugh> Anyway, time to turn off the lathe and lock the garage, I think.
[21:39:35] <alex_joni> andypugh: at 22:30 sounds about right
[21:39:42] <alex_joni> just pastebin the ini for reference too
[21:39:50] <alex_joni> maybe someone on the list will want it
[21:39:56] <alex_joni> (for your accel/vel settings)
[21:43:13] <andypugh> Too late now, the EMC box is shut down.
[21:43:28] <andypugh> But if they ask, I can get them
[21:47:19] <alex_joni> good night ;)
[21:50:56] <andypugh> Aye, goodlingt
[21:51:28] <andypugh> Silly client, often fails to show what you have typed until it is too late.
[22:36:39] <oPless> alex_joni, are you the person that built a robot-arm based cnc?
[23:17:39] <jst_home_> jst_home_ is now known as jst_home
[23:19:22] <Mire> is it safe to test hall effect switches with a magnet?
[23:22:12] <Mire> I'm working on connecting servodrives but i have had no way of checking if limits are in place. There is a simple way, rite?
[23:28:10] <cradek> I think proxes are triggered by plain old metal - hold a wrench in front of them or something
[23:29:12] <Mire> huh thanks... i figured theyd be flipped all the time that way.
[23:35:18] <Mire> cradek: you know what I'm working on... I powered X and got a runaway servo. Most likely that means tach wires reversed, rite? f/b through resolver encoder should *not* be able to produce this result...
[23:36:10] <cradek> position loop (resolver) backward will also run away, but emc will stop it right away with a following error
[23:37:10] <cradek> do you have docs? correct phasing for the tach is usually explained somewhere (like "positive axis motion should make a negative tach voltage")
[23:38:23] <cradek> you got full speed runaway, not just creep?
[23:38:34] <cradek> if full speed I bet you're right and it's the tach polarity
[23:38:40] <Mire> zoom. quik lil devil
[23:38:55] <Mire> this machine rocks. good thing im quick too.
[23:38:57] <cradek> yep
[23:39:01] <cradek> what happens when you reverse it?
[23:40:30] <Mire> haven't tried. i wanted to reconnoiter first. good to see I'm starting to understand.
[23:41:51] <Mire> The only other thing I thought it could be was a grounding issue, but i'd expect creep then i think.
[23:44:51] <Mire> what worries me is that this was at power on, not a command. tach shd read 0 forward or reverse. If it is running off based on noise or something I can't predict which way it will turn.
[23:46:23] <cradek> "Phasing the velocity transducer"
[23:46:35] <cradek> apply a small signal of either polarity to the velocity command terminal.
[23:46:51] <cradek> the signal from the tachometer that will eventually be connected to TB1-J should be of opposite polarity.
[23:47:00] <cradek> If it is not, reverse the transducer wires.
[23:49:41] <Mire> amp enable must be miswired for it to run w/o command, rite?
[23:52:15] <cradek> it says amp enable is active low - hook through an opto to the amp's own signal ground to enable
[23:52:24] <cradek> open = disable
[23:53:30] <Mire> you have docs for these servo amps
[23:53:33] <Mire> ?
[23:54:26] <cradek> yes
[23:56:25] <Mire> didn't realize i was missing those until I got into this project. Anything in there I can't work without?
[23:59:08] <Mire> Say, what kind of current draw is seen on the +-12v ins? I went with the supply in the fridge but it's fair to say that mite be overkill. Plus it buzzes.