#linuxcnc | Logs for 2013-04-27

Back
[00:34:54] <ssi> making progress
[02:00:46] <gammax-Laptop> anyone use the leadshines with stall detection?
[02:06:31] <archivist> does it make any sense to, once stalled it is too late and your tooling could be broken
[02:08:24] <archivist> the stepper + encoder that some use would be more accurate and faster feedback
[02:19:57] <DJ9DJ> moin
[03:10:52] <Rob__> anyone use a photomicrosensor for spindle speed tach?
[03:42:18] <carper64_lb> what do you want to know rob?
[03:44:28] <Gamma-Xlaptop> carper64_lb, I want to use my omron photomicrosensor as a tach for the spindle....
[03:44:34] <Gamma-Xlaptop> any thoughts?
[03:47:12] <carper64_lb> yyyyyyshould bbbbbbe ok for rpm you will only need 1 slot in a disk
[03:57:02] <Gamma-Xlaptop> carper64_lb, I have an rf45, the spindle has 5-6 depressed "teeth" in it and I planned on using those as my "disk"
[03:57:23] <Gamma-Xlaptop> carper64_lb, I also am trying how to hook it up...
[05:59:56] <IchGuckLive> hi all
[06:06:18] <c0ldfront> hi
[09:13:22] <JT-Shop> Tom_itx: did you get the touch off buttons sorted out?
[09:14:57] <Tom_itx> i was looking at the code but haven't gotten it to work yet
[09:15:09] <Tom_itx> kinda got distracted on the cycle time thing you had
[09:15:28] <Tom_itx> it's not working yet either though.. need to add the nets to mine
[09:15:51] <Tom_itx> i wasn't quite sure what part you used for touchoff
[09:16:09] <Tom_itx> was it all the tool code in there?
[09:16:38] <JT-Shop> let me look and see
[09:16:55] <Tom_itx> i'll fire up the box while you do
[09:21:22] <JT-Shop> this is the revelant buttons http://pastebin.com/VmUuWgt3
[09:22:23] <JT-Shop> the ini entries http://pastebin.com/wCtvK5rf
[09:22:58] <Tuipveus> http://atariage.com/forums/topic/211689-60-fps-video-using-side-
[09:23:01] <Tuipveus> 2/
[09:23:11] <atom1> that wasn't in the web post that i could see
[09:23:12] <Tuipveus> http://atariage.com/forums/topic/211689-60-fps-video-using-side-2/
[09:23:15] <JT-Shop> the postgui.hal code http://pastebin.com/HMRkpQzt
[09:23:42] <Tuipveus> 8 bit processor with 60 fps video and 15 kHz sound... amazing :)
[09:23:58] <JT-Shop> I better update the zip file on the web site then
[09:24:01] <atom1> so i just make one for each axis
[09:28:41] <atom1> where does 'pyvcp.z-material-touchoff' come from?
[09:29:40] <jthornton> it's a pyvcp button
[09:30:09] <atom1> ok, i'll mess with it once i get my eyes open
[09:30:10] <jthornton> in the first link
[09:30:41] <atom1> and that will set the G54 z fixture offset?
[09:30:45] <jthornton> the numbers for the MDI commands won't be correct for you
[09:30:58] <atom1> no, i figured that
[09:31:10] <jthornton> no, I'm setting the tool offsets
[09:31:28] <atom1> i can do fixture this way as well can't I?
[09:31:47] <jthornton> yea, any valid G code can be used
[09:32:11] <atom1> i wasn't real sure what to use since i normally do it manually
[09:32:17] <atom1> is that part of G10?
[09:32:48] <Tom_itx> G10 P1
[09:32:59] <jthornton> the one that says Z material touch off is what your looking for
[09:33:00] <Tom_itx> then the axis
[09:33:06] <Tom_itx> ok
[09:33:53] <jthornton> MDI_COMMAND = G10 L20 P1 Z0.375
[09:34:13] <jthornton> I use a 0.375 dowel to touch off the material
[09:34:17] <Tom_itx> how do you read the current position as z?
[09:34:23] <Tom_itx> i know
[09:34:35] <Tom_itx> i use a gage block
[09:34:55] <jthornton> there is a variable that has the Z position I think
[09:35:06] <Tom_itx> so i need to make one for x y and z
[09:35:21] <jthornton> http://linuxcnc.org/docs/html/gcode/overview.html#_numbered_parameters_a_id_sub_numbered_parameters_a
[09:35:55] <Tom_itx> yeah i was thinkin it was one of the 5000 numbers but wasn't sure which one
[09:36:10] <Tom_itx> 5221...
[09:36:13] <Tom_itx> for x
[09:36:45] <Tom_itx> what's the syntax to use that as a var?
[09:36:52] <jthornton> 5221 might be the offset for X in G54 I'm not sure
[09:36:53] <Tom_itx> i've never coded with vars in lcnc yet
[09:36:58] <Tom_itx> it is
[09:37:45] <jthornton> http://linuxcnc.org/docs/html/gcode/overview.html#sec:parameters
[09:39:06] <Tom_itx> will the axis screen update to reflect the changes?
[09:39:20] <Tom_itx> i've noticed it's a bit slow on things with my pendant
[09:41:22] <jthornton> not till you do something that makes Axis update the screen
[09:41:35] <Tom_itx> in the G10 L20 example i won't need to use the numbers
[09:41:47] <Tom_itx> i would just set it to 0 or whatever offset i needed
[09:42:21] <Tom_itx> can you force an update on axis?
[09:42:26] <Tom_itx> with code
[09:43:19] <Tom_itx> i've noticed all these 'layers' of coding don't always tell each other what's going on right away
[09:43:51] <jthornton> I don't know if you can force it somehow or not
[09:45:12] <atom1> then to use the mdi commands i just make a sub and name it properly right?
[09:46:02] <atom1> it's been a while since i messed with pyvcp
[09:46:10] <jthornton> MDI entries in the ini file?
[09:46:25] <atom1> in the post-gui
[09:46:53] <atom1> for the button
[09:47:00] <jthornton> the postgui.hal file is where you make the connection between the pyvcp button and the MDI command
[09:47:54] <IchGuckLive> atom1: mdi goes to ini and is caled by a hal comand
[09:47:59] <IchGuckLive> halui
[09:49:25] <atom1> ok i remember now... i had to open my ini up to see it
[09:49:40] <IchGuckLive> NP
[09:49:49] <atom1> but it makes a call to a sub
[09:50:04] <IchGuckLive> why not remap a Mcode
[09:50:06] <atom1> MDI_COMMAND = O<work_zero> call
[09:50:26] <atom1> was one i had done previously
[09:50:27] <IchGuckLive> work zero is best to go G92
[09:50:28] <jthornton> the MDI can be any valid G code that you could execute in the normal MDI tab
[09:50:59] <atom1> it has to be a one liner though doesn't it?
[09:51:16] <IchGuckLive> not in a Mcode
[09:51:42] <IchGuckLive> i use this for my plasma push a button on the Jojpad calls M210
[09:51:57] <IchGuckLive> and there it is G92 X0 Y0
[09:52:55] <IchGuckLive> you can also use this on a pyvcp button
[09:53:00] <Tom_itx> is that for 'world' mode?
[09:53:05] <Tom_itx> or for fixture
[09:53:10] <Tom_itx> G92..
[09:54:15] <IchGuckLive> http://www.linuxcnc.org/docs/2.4/html/gcode_main.html#sub:G92,-G92.1,-G92.2,
[09:54:24] <Tom_itx> i'm looking at it
[09:55:11] <IchGuckLive> Tom_itx: world mode
[09:55:22] <Tom_itx> ok
[09:56:31] <Tom_itx> now, is there a parameter i need to give it before executing to set the 'touch to workpiece' 'touch to fixture' mode?
[09:57:09] <IchGuckLive> it is not shown in the Graphics its only a setup
[09:57:16] <Tom_itx> i think for my purposed i use workpiece most of the time
[09:57:19] <IchGuckLive> the g-code is not reloaded
[10:01:23] <IchGuckLive> it woudt be a good idee to remove them on Homing (manual) as they are stored and may cause a future problem
[10:01:47] <IchGuckLive> i got a sign on the screen G92.1 afeter homing
[10:04:07] <Tom_itx> is G54 active by default?
[10:04:14] <IchGuckLive> yes
[10:04:36] <IchGuckLive> see MDI sequenz number
[10:04:38] <Tom_itx> so i could say G10 L2 P0 or P1 and be correct
[10:05:13] <Tom_itx> since i normally don't use multiple fixture offsets on my machine
[10:05:13] <IchGuckLive> you can also load presets at the ini
[10:06:26] <IchGuckLive> RS274NGC_STARTUP_CODE =
[10:06:35] <IchGuckLive> [RS274NGC] Section
[10:13:14] * JT-Shop builds a fire to warm up the shop
[10:13:31] <IchGuckLive> JT-Shop: as here
[10:13:42] <IchGuckLive> naibour cald for a ice BBQ
[10:13:56] <atom1> still cloudy here but no rain
[10:14:05] <IchGuckLive> after we hat desert temperatures on thursday
[10:14:21] <IchGuckLive> atom1 state
[10:14:29] <atom1> Ks
[10:14:36] <IchGuckLive> im in germany
[10:14:53] <atom1> W of Jt
[10:16:07] <IchGuckLive> ok im off the shop and by till 2hr from now
[10:16:37] <atom1> what's the best way to create 'space' on the screen to space out your buttons vertically?
[10:16:45] <atom1> box? table?
[10:18:40] <JT-Shop> vbox or table
[10:59:39] <GammaX> anyone know what cam program has a anilam crusader II L post?
[11:02:02] <L84Supper> GammaX: besides NX or Mastercam?
[11:02:19] <ssi> https://pbs.twimg.com/media/BI3ljNzCAAAHPvJ.jpg:large
[11:02:26] <GammaX> heh, NX aint happenin!
[11:02:38] <GammaX> mastercam comes with one by default?
[11:03:16] <L84Supper> I saw a pre-written post script for ~$175
[11:03:40] <GammaX> that mike mattera guy?
[11:03:43] <L84Supper> http://www.tipsformanufacturing.com/html/postprocessors.html
[11:04:01] <GammaX> yeah Im not paying some guy for a post lol
[11:04:36] <L84Supper> then quit whinin and git a writinin
[11:05:05] <GammaX> write my own...
[11:05:13] <L84Supper> sorry was watching Redneck vs Hillbilly earlier
[11:05:26] <GammaX> nah its ok I used to live in NC
[11:05:43] <L84Supper> actually was on the History Channel
[11:07:42] <GammaX> L84Supper can you realy write your own post?
[11:08:29] <L84Supper> you can in NX using postbuilder, Mastercam lets you as well but I forget the details
[11:09:33] <GammaX> which version mastercam you use?
[11:09:39] <ssi> I always wanted to try NX
[11:09:43] <ssi> they have a mac version don't they?
[11:10:14] <L84Supper> I haven't touched Mastercam in a while
[11:10:44] <L84Supper> we were looking at ways to work with it for Additive Manufacturing CAM
[11:14:26] <Tom_itx> mine might have one but i doubt it
[11:14:49] <Tom_itx> doesn't mastercam charge for their posts?
[11:15:18] <Tom_itx> that's one reason i went with smartcam way back when..
[11:15:28] <L84Supper> yeah, but then you get to complain to them when it doesn't work
[11:15:42] <Tom_itx> they're not that hard to write
[11:16:12] <L84Supper> seems to be what most companies are interested in, someone else to blame/call when it breaks
[11:16:46] <L84Supper> I imagine this is due to not being to make anything work themselves so it gives them a sense of security
[11:17:42] <Tom_itx> i did a very basic one for lcnc lathe overnight and have one for my lcnc mill
[11:17:51] <L84Supper> I think that most of here just fix our own things when they break
[11:18:03] <Tom_itx> is there any other way?
[11:18:19] <Tom_itx> i mean... if you want it done right
[11:18:53] <Tom_itx> and, no mine doesn't seem to have that one pre made
[11:19:05] <L84Supper> but from their perspective of not being to fix anything or really understand how anything works, they need a cushy blanket
[11:19:28] <L84Supper> please correct me if I'm wrong :)
[11:20:01] <Tom_itx> or the button pushers they have wouldn't be able to figure it out
[11:20:25] <Tom_itx> that is why the manufacturing market it booming again
[11:20:31] <Tom_itx> they can't find experience
[11:20:40] <L84Supper> that would require the hire or a critical thinker, and you know what kinds of problems those people cause
[11:20:46] <L84Supper> or/of
[11:22:15] <Tom_itx> s/manufacturing market/manufacturing job market
[11:23:01] <L84Supper> in 20-30 more years will there be revolution or will it just be closer to idiocracy?
[11:23:27] <L84Supper> they are already rioting in Europe
[11:38:28] <L84Supper> Tom_itx: besides PyCAM do any of the CAM packages allow you to write your own custom postprocessor?
[11:39:05] <L84Supper> does smartcam?
[11:42:40] <t12> L84Supper: got nanomover pinouts by chance?
[11:44:47] <Tom_itx> L84Supper yes smartcam does
[11:45:10] <Tom_itx> that was one of the selling points for me years back
[11:45:15] <Tom_itx> over mastercam
[11:45:28] <L84Supper> Tom_itx: whats the price?
[11:45:34] <Tom_itx> no idea nowdays
[11:45:48] <Tom_itx> it was $6-8k back then
[11:46:14] <Tom_itx> http://smartcamcnc.com/
[11:46:30] <Tom_itx> there are multiple packages depending on what you need
[11:46:40] <L84Supper> yeah, didn't see pricing, but i didn't follow all the links for the keys
[11:47:06] <Tom_itx> i think you need to call for quote or email
[11:47:23] <Tom_itx> i got it from a local dealer
[11:47:37] <L84Supper> I spent 30 minutes on the phone with Mastercam and i still had to ask for a price :)
[11:48:23] <Tom_itx> i haven't seen new versions of it
[11:48:37] <Tom_itx> i don't know how good it is comparatively nowdays
[11:48:55] <Tom_itx> that one KimK mentioned looked pretty good for 5 axis
[11:50:11] <Tom_itx> haha they have a crusader post now
[11:50:13] <Tom_itx> http://www.smartcamcnc.com/Technical_Support/CodeGen/ts_cg_index.php
[11:50:28] <GammaX> crusader post?!
[11:50:36] <Tom_itx> those are all free for the downloading
[11:50:51] <Tom_itx> alliant RT 2v crusader
[11:50:59] <Tom_itx> first one on the list
[11:51:08] <GammaX> ahhh but who knows if its the crusader M M or the M L or the 2M or 2 L
[11:51:33] <Tom_itx> open it and look
[11:51:45] <GammaX> Mill :(
[11:51:59] <Tom_itx> they have lathe posts too
[11:52:53] <Tom_itx> none in lathe for that though
[11:53:25] <Tom_itx> i should download all those
[11:54:58] <Tom_itx> i know with mastercam you had to purchase those separately
[11:57:54] <Tom_itx> i see they have a 'pay per view' button too :)
[11:58:01] <Tom_itx> premium content
[11:58:36] <Tom_itx> probably the same code generators but with a blankey
[12:00:11] <GammaX> jesus.... I need a freakin gib.... myne broke off like 2 inches of it.
[12:00:26] <GammaX> the skinny side atleast... I wonder if its still usable..
[12:00:49] <L84Supper> what's everyone use for 3D photorealistic rendering from parametric models?
[12:01:07] <Tom_itx> umm there was nsee
[12:01:11] <Tom_itx> we used
[12:01:22] <Tom_itx> you could slice n dice the model
[12:02:56] <Tom_itx> http://www.ncpolaris.de/html/ncp_english.html
[12:03:04] <Tom_itx> i thought it was by them but i don't see it there
[12:03:30] <L84Supper> Rhino, 3d Max, 360, Keyshot etc etc
[12:06:17] <L84Supper> the built in tools for NX and Solidworks just do a good job, even Blender falls short whe you want high res and lots of shades and reflections
[12:06:36] <L84Supper> sorry, don't do a good job
[12:12:01] <GammaX> anyone ever have servo creep issues?
[12:13:14] <L84Supper> GammaX: I've only had it before tuning or with lots of noise before properly wiring and shielding
[12:14:08] <GammaX> ok, myHCis creaping ever so slightlyback and fworth.. IE changes from 1.0005 to 1.0007 and back.
[12:15:47] <L84Supper> mm or inches?
[12:15:53] <GammaX> inches
[12:17:04] <L84Supper> is 0.0002 = to one encoder count?
[12:17:19] <GammaX> i wantto say yes.
[12:24:01] <GammaX> L84Supper isthat common? This is on mylathemate control.
[12:32:09] <L84Supper> GammaX: is the encoder actually moving?
[12:33:29] <GammaX> L84Supper I honestly have no idea...
[12:33:37] <GammaX> too small of a movement to actually tell.
[12:36:12] <L84Supper> GammaX: what axis is it on? does it jump when you tap it?
[12:43:43] <Tom_itx> thanks JT-Shop, i got the offsets working. now to tackle the cycle timer
[12:44:14] <Tom_itx> adding .1 to x and y for the 'wiggler' diameter
[12:54:35] <IchGuckLive> im off by
[12:54:52] <IchGuckLive> haver a nice and hard milling day where ever you are
[13:02:39] <ReadError> so....my router about died today
[13:02:45] <ReadError> taking it apart to clean out the motor
[13:02:48] <ReadError> brushes are good
[13:02:58] <ReadError> i think maybe dust was building up causing the arc'ing
[13:03:01] <ReadError> i blew alot out
[13:03:29] <ReadError> i ordered another just in case
[13:03:41] <ReadError> so i can always warranty swap this since its 5 year
[14:25:48] <JT-Shop> Tom_itx: the cycle timer is even easier
[14:41:56] <Tom_itx> yeah i just need to make a net for it
[14:42:23] <Tom_itx> i have one i'm using for pause/resume but i need to find it again
[14:49:38] <JT-Shop> would you guys attempt to braze this or just slot the round part and make a new flat part? the material is brass with chrome plating
[14:55:33] * Tom_itx waits for a picture
[15:07:28] * archivist redefines this
[15:21:31] * JT-Shop wonders what is going on
[15:22:04] <archivist> you tell us!
[15:22:25] <Tom_itx> JT-Shop, braze what?
[15:25:14] <JT-Shop> the two parts in the photo
[15:25:28] <JT-Shop> it's an antenna for a friends motorcycle
[15:26:03] <Tom_itx> i don't see a photo
[15:26:29] <JT-Shop> http://imagebin.org/255617
[15:26:31] <JT-Shop> opps
[15:27:16] <Tom_itx> will the brass be strong enough or will it snap off again?
[15:27:39] <Loetmichel> i wpuld braze it with phosphor/copper solder
[15:30:01] <JT-Shop> I have brazing rods but the vintage is unknown
[15:30:13] <JT-Shop> gotta run
[16:03:33] <DJ9DJ> gn8
[16:11:51] <WalterN> L84Supper: http://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=360
[16:21:23] <Tom_itx> JT-Shop, do you know of a way to not reset the count until the program has run? it resets at every M0
[16:21:38] <Tom_itx> i'm not sure what i would 'and' the signal with
[16:25:52] <Tom_itx> and still have the timer pause during the M0 stop
[17:01:24] <andypugh> Interesting puzzle. I have some parts made by G-code that I have. I want to make more, but using a different tool geometry. I wonder how I can work out what shape I actually got?
[17:15:33] <Tom_itx> andypugh repost the cad cam :)
[17:16:05] <Tom_itx> if you can figure out the math difference i have an editor that can operate on it
[17:36:51] <andypugh> Sounds like a good start.
[17:38:03] <andypugh> Part of the problem is that I can't recall which inserts I used, and at the time I hadn't realised that cutting angles without using radius compensation is likely to give odd results.
[18:06:32] <ssi> anyone have any experience tuning amc servo drives?
[18:06:42] <ssi> I'm having a hard time finding any in depth documentation on them
[18:09:20] <KimK> Tom_itx: Still around? You mentioned Mastercam earlier, what's the latest version (X6?) selling for, do you know? (I'm sure there are many versions, options, etc., but right now I don't have a clue, so any guidance is appreciated.)
[18:09:42] <KimK> ssi: What would you like to know?
[18:10:02] <Tom_itx> i don't have any idea nowdays
[18:10:15] <Tom_itx> i haven't coded professionally for 20 yrs
[18:10:22] <Tom_itx> i still use it for my own stuff
[18:10:38] <ssi> I briefly tested them on the machine earlier, and the motors would just run, even with no signal on the +/-10v line
[18:10:54] <ssi> the drive has a test/offset switch and pot, ref in pot, current limit pot, loop gain pot
[18:10:57] <KimK> Tom_itx: OK, thanks. What Mastercam are you running?
[18:10:59] <ssi> and I don't know anything about how to go about tuning it
[18:11:04] <Tom_itx> i use smartcam
[18:11:09] <Tom_itx> freeform
[18:11:16] <Tom_itx> i forget what version
[18:11:27] <KimK> Tom_itx: OK, thanks.
[18:11:28] <Tom_itx> i have freeform and a basic lathe package
[18:11:58] <Tom_itx> there was 2.5d 3d and freeform for the mills
[18:12:25] <andypugh> ssi: With nothing connected to the pins, it is anybodies guess what voltage is present there.
[18:12:33] <KimK> ssi: Are your drives/motors DC, brushless, or something else?
[18:12:42] <KimK> Hi Andy
[18:12:52] <ssi> andypugh: mesa 7i77 is connected to the inputs, but the machine in a non-estop, but not enabled state
[18:13:02] <ssi> KimK: they're brush-type DC motors
[18:13:13] <ssi> and AMC brushless pwm drives (which will drive brush motors when set up appropriately)
[18:13:31] <KimK> Are you using tach-gen feedback?
[18:13:34] <ssi> yes
[18:13:43] <ssi> I haven't verified the tachs are working or connected correctly yet
[18:13:50] <ssi> I was able to verify the encoders
[18:13:53] <ssi> I brought a servo home with me
[18:14:04] <ssi> if I can get power to it, I'll try to verify the tach-gen is generating
[18:14:08] <ssi> and polarity is correct
[18:14:27] <KimK> OK, great. Are the motors mounted to belts/screws/or anything else that would limit their travel, or are they free-spinning?
[18:14:35] <ssi> the one I'm testing is free-spinning
[18:14:43] <KimK> Great.
[18:15:00] <ssi> the immediate hurdle is that I brought the control and servo home
[18:15:04] <ssi> and the DC power supply lives in the mill
[18:15:08] <ssi> so I have to come up with a DC supply of some kind
[18:15:13] <ssi> the drive specifies minimum 40VDC
[18:15:16] <ssi> and I can easily do 24
[18:15:19] <ssi> 40+ will be harder
[18:15:28] <ssi> it's a 140V servo, and the DC supply in the mill is ~129V
[18:15:51] <ssi> oooh I have a 48V supply running a gecko in the basemet
[18:15:58] <KimK> There you go.
[18:16:01] <ssi> :D
[18:16:17] <KimK> You won't need much current to just spin.
[18:16:20] <ssi> right
[18:16:26] <ssi> it's a 12A supply, it'll be plenty
[18:16:58] <ssi> this is the control I'm putting together, in its current state:
[18:16:58] <ssi> https://twitter.com/facetiousian/status/328170741021409281/photo/1
[18:19:59] <KimK> Looks good. I'll be here awhile, or in and out, anyway. (I need to borrow my monitor off and on.)
[18:20:23] <ssi> ok thanks
[18:20:36] <ssi> my first step is going to be to get the drive powered and motor attached,
[18:20:43] <ssi> and i'll short the +/-10v ref signal together
[18:20:46] <ssi> (it's a differential input)
[18:20:51] <ssi> that should give me zero motion, correct?
[18:22:35] <KimK> Yes, or nearly so, and you should be able to vary it to plus and minus creep with the zero/offset adjust. If not, you might have the tach feedback reversed.
[18:23:30] <ssi> ok
[18:23:37] <ssi> green lights on the drives, that's a good start
[18:24:25] <r00t4rd3d> damn, fiber internet in Vermont now
[18:24:29] <KimK> s/if not/if it runs away instead/
[18:24:32] <r00t4rd3d> 1 state away
[18:25:14] <ssi> what does the test setting do?
[18:25:54] <KimK> I don't know, it should be in the drive manual.
[18:26:18] <ssi> I haven't been able to find anything more than a four page brochure
[18:26:29] <ssi> brochure/datasheet
[18:26:53] <ssi> Test/Offset. Switches the function of the Test/Offset pot between an on-board command input for testing or a command offset adjustment. OFF by default.
[18:30:26] <KimK> Oh, how nice! Then you can put it in test mode and try +/- your full velocity range, instead of just +/- creep speed.
[18:31:23] <ssi> hm, question
[18:31:31] <ssi> how bad off am I if these sevros don't have tachs in them?
[18:32:30] <KimK> The motors don't have tachs? Do the drives have tach-gen (tach feedback) inputs?
[18:32:39] <ssi> the drives do, yes
[18:32:43] <ssi> but they have several modes
[18:32:47] <ssi> http://www.a-m-c.com/download/datasheet/bx15a20.pdf
[18:32:49] <ssi> that's the drive
[18:33:04] <ssi> I've been wiring based on a document that seemed to suggest that there's a tach
[18:33:08] <ssi> but there's no voltage on those pins
[18:33:18] <ssi> I'm taking the back cap off the servo now to see what's up
[18:34:34] <ssi> I guess I can use the drive's open loop mode
[18:34:42] <ssi> I'm assuming current mode requires hall effect sensors or something
[18:35:31] <ssi> so under the cap, there's three fat wires which I'm pretty sure are +/-/case ground
[18:35:34] <ssi> and then the encoder
[18:35:42] <ssi> encoder has eight lines and a shield
[18:35:55] <ssi> I don't think there's a tach
[18:36:33] <KimK> OK, good idea to look inside. So there's no tach, then? If there's no tach, you could try switching the drive to torque/current mode and use LinuxCNC to close the velocity loop. But in free-spinning mode you won't learn too much (it will look like it's running away most of the time), unless you try to stop the motor.
[18:37:06] <ssi> the only servo systems I've ever worked with have been velocity mode drives with tachs
[18:40:42] <KimK> Yes, those are still much in use in older equipment. (Or DIY budget equipment!)
[18:41:40] <ssi> is torque mode becoming more common?
[18:42:43] <KimK> No, I'd say velocity is still much more popular, but torque is coming along.
[18:43:05] <ssi> does it change the way I'll need to configure linuxcnc if I'm running torque mode?
[18:43:14] <ssi> or is it just in the PID tuning that it's different
[18:43:55] <andypugh> I spent most of today on eBya trying to re-sell a job lot of stuff I bought a while ago. I thiought it was mixed 30 and 40 taper, turned out the be mixed 40 and 50, and so utterly useless to me. I have a bidder on one lot, though I am not entirely sure why he chose that set: http://www.ebay.co.uk/itm/111061449955
[18:46:49] <ssi> KimK: ok with the drive in current mode, I get no motion. If I give the ref input +5Vdc, the motor buzzes a lot but doesn't move
[18:46:54] <ssi> not sure what that means exactly :)
[18:48:54] <andypugh> Brushed motors, or brushless?
[18:49:17] <ssi> brushed
[18:49:34] <andypugh> Buzzing is wierd then.
[18:49:48] <ssi> yea
[18:49:54] <KimK> andypugh: Interesting stuff you have for sale there, and amusing descriptions (thinking of the fairing here).
[18:51:08] <KimK> ssi: consulting manual now...
[18:51:26] <andypugh> Yeah. As i say in the auction it is just ever so slightly too good to just throw away. (I have run with it like that for 6 months)
[18:52:21] <andypugh> Somebody id watching the fairing.
[18:52:50] <andypugh> Two people are watching the Lushinton boring head.
[18:53:19] <KimK> ssi: On the front page, it says tach feedback or hall-effect feedback, I don't think "none of the above" is an option.
[18:53:32] <ssi> KimK: open loop mode ought to be "none of the above"
[18:53:42] <KimK> I haven't read further, so I could be mistaken.
[18:54:11] <ssi> also I'm not certain, but I think hall effect feedback is for brushless commutation,
[18:54:13] <KimK> OK, maybe you're right, I'll keep reading.
[18:54:18] <ssi> and brushed current mode uses the internal current sense
[18:55:28] <andypugh> I really ought to put my spare boring head on eBay, but it is so very nice to fiddle with. It is too big for any of my machines, but quite the most nicely-made thing I have ever had). One of these: http://www.ebay.co.uk/itm/400458631329 but no box.
[18:55:45] <Tom_itx> andypugh did you get your alternator fixed?
[18:56:18] <andypugh> Yes, the bike is now all working again. It just needs a wash. And a new chain, and tyres.
[18:56:35] <Tom_itx> good for another 40k
[18:57:33] <KimK> ssi: So (page 5) Now in current mode, SW1 off, SW3 on?
[18:57:44] <andypugh> That UPA4 on eBay is stratospherically priced. New price is about $8k, but they never go for more than $1k in auctions.
[18:58:18] <ssi> that's how it's set curretnly
[18:58:24] <ssi> and I also followed the recommendation to the right
[18:58:31] <ssi> pot 1 fully CCW, pot 3 fully CW
[18:58:52] <ssi> and pot 2 is currently fully CW, and I turned pot 4 fully CCW
[18:59:01] <ssi> cause when I followed the directions, the motor started turning
[18:59:10] <ssi> the more I turn up 4, the faster it turns
[18:59:17] <ssi> I can't get it to stop completely
[18:59:39] <ssi> ref +/- are shorted together
[19:00:39] <ssi> with pot 4 (loop gain) fully CCW, it's turning slowly, and I can stop it by hand
[19:06:23] <andypugh> It's not ideal that you can't get zero speed, but the PID controller will cope.
[19:08:07] <ssi> fair enough
[19:08:15] <ssi> ok well I need to do a smidgen of rewiring
[19:08:20] <ssi> and then I'll get the computer online
[19:09:35] <KimK> You said, "the more I turn up 4, the faster it turns", is there any relationship between turning up 4 and it being harder to stop? (regardless of speed?) (don't hurt yourself.)
[19:09:56] <ssi> I'll check in a second
[19:10:05] <ssi> these stupid 12ga wires aren't working out for me :)
[19:10:27] <ssi> (I had a bunch of reclaimed tefzel out of a 767, and it was all 20 and 12. I bought some more new 16ga tefzel today)
[19:13:06] <andypugh> I like to put bootlace ferrules on my wires, but I have lots of multicore cables where the cores are too small for even the smallestg (violet) ferrules.
[19:13:44] <ssi> I often use ferrules too, but I'm having the opposite problem with these
[19:13:51] <ssi> 12ga is too big to fit in the terminal block
[19:14:26] <KimK> I would like to have some of those ferrules. Guess I'd better get on eBay, lol!
[19:14:54] <ssi> I get them from automationdirect.com
[19:15:38] <KimK> Ah, that's good too, I'll look later.
[19:16:10] <ssi> they have reasonable prices on crimp dies/frame for them too
[19:21:53] <ssi> KimK: to answer your question, yes when I turn up the loop gain, the torque goes up
[19:24:06] <Tom_itx> i see how to start or reset 'timer' but is there a way to pause it during an M0 M1 and have it resume count when 'resume' is tripped instead of resetting or running thru the M0 M1 commands?
[19:24:59] <Tom_itx> to count actual spindle time
[19:26:07] <Tom_itx> i've got the counter working but as it is configued it resets upon an M0
[19:26:16] <ssi> ok, dinner time, and then after dinner we try to close the loop :D
[19:26:21] <KimK> ssi: Funny it does not run up to max RPM trying to get some torque, I'm not following that. Do you have a data sheet on your motors?
[19:26:58] <ssi> http://cncpd.com/pdf/SEM_MTS30_Chart.pdf
[19:27:01] <ssi> that's about as much as I know
[19:27:10] <KimK> ssi: Thanks, go have dinner!
[19:27:19] <ssi> thanks for all the help so far :)
[19:27:23] <ssi> back in a bit
[19:45:21] <Tom_itx> not sure it can be done. i can get continuous run or run to M0 times but not pause resume time
[21:17:49] <ssi> back
[21:25:29] <gammax> I need a chuck and I need to sell my air chuck for my lathe...
[21:38:20] <KimK> ssi: OK, I'm back too, still borrowing terminal on and off though.
[22:15:33] <ssi> KimK: haha ok, I've been in and out as well
[22:15:40] <ssi> I'll be here for awhile now tho
[22:15:40] <ssi> about to hook up the computer
[22:50:52] <gammax> anyone know a good source for spare machine parts besides ebay?
[23:03:26] <PetefromTn> ...
[23:05:42] <ssi> trying to figure out how to get drive enables on my 7i77 to work
[23:05:48] <ssi> not having great luck
[23:09:34] <PetefromTn> how so, I have a 7i77...
[23:10:00] <ssi> my servo drives have a /INHIBIT
[23:10:04] <ssi> ground it to disable the drive
[23:11:26] <ssi> I have it wired ENA- to drive's ground, ENA+ to /INHIBIT
[23:11:32] <gammax> cant you just tie that into estop?
[23:11:39] <ssi> (/INHIBIT is pulled up to 5v)
[23:11:48] <ssi> it inhibits all the time
[23:11:50] <ssi> never enables
[23:11:59] <ssi> I'm not sure if it should be or not, maybe I'm missing configuration
[23:12:13] <gammax> what brand drives are they?
[23:12:22] <ssi> AMC
[23:12:29] <ssi> http://www.a-m-c.com/download/datasheet/bx15a20.pdf
[23:12:31] <ssi> that's the one
[23:13:53] <ssi> I expect the enables to switch with Machine Power (F2)
[23:14:09] <ssi> but again, I'm not really sure if there's some HAL magic I have to do to make that happen
[23:14:30] <gammax> on my old anilam I had to perform a "reset" to initiate the drives
[23:14:35] <gammax> could be same thing...
[23:15:00] <gammax> i was able to tie that reset into my mesa cards fairly easily...
[23:15:51] <gammax> im trying to locate a lube pump tank at the moment. myne kind of melted and cracked?
[23:19:20] <PetefromTn> mine use a servo on input and we use it to basically enable when the linuxCNC system on button is depressed.
[23:26:31] <ssi> I need to re-run pncconf
[23:38:16] <ssi> I can't figure out exactly how I'm supposed to configure the servo analog outs in pncconf for the 7i77
[23:38:44] <ssi> smartserial 1 has pwmgens on it or something?
[23:45:00] <PetefromTn> Hey man I want to help you here but I am not that knowledgeable about how to configure this stuff yet. If you are on here tomorrow I can let you know what my machine settings are on the Cincincatti I am working on. It is kinda apart right now or i would go out there now. sorry...
[23:45:08] <ssi> no problem
[23:51:29] <ssi> i think I need to upgrade to 2.5.1
[23:54:44] <gammax> i cant decide on if I should sell my lathemate control and upgrade to linuxcnc or just keep the workin lathemate...