#linuxcnc | Logs for 2012-03-13

Back
[00:01:33] <Kirk_Wallace> I'm trying to make an add on for my very old VFD's to add Modbus. Started out as an easy project. I still need to figure out how to set communications parameters with no display and maybe some buttons and LED's, even that doesn't seem to be easy.
[00:04:36] <psha[work]> logger[psha]_: .
[00:04:37] <logger[psha]_> psha[work]: Log stored at http://psha.org.ru/irc/%23linuxcnc/2012-03-13.html
[00:16:21] <Kirk_Wallace> djdelorie: Thanks, you got me to start looking at the "make" reply to see what it did. Thetawaves: good luck with your project, I'll be watching to see what happens.
[00:24:34] <Kirk_Wallace> I seem to recall from my old days of playing with UNIX, there is a handy way to search files for the occurrence of a string?
[00:25:08] <djdelorie> grep
[00:26:25] <Kirk_Wallace> In other words, to search all files below /my_demo_sw for all files with "RTS" in them.
[00:27:55] <djdelorie> grep RTS my_demo_sw/*
[00:28:13] <djdelorie> find my_demo_sw -type f -exec grep RTS {} /dev/null \;
[00:30:43] <Kirk_Wallace> Okay, thanks again. I'm back to the software sandbox to play some more.
[00:50:11] <frysteev> moo
[02:01:45] <mikebronner> Hi Guys, just finished wiring my limit switches, and am getting joint 2 on limit switch error. I don't have any home switches configured or installed.
[02:03:07] <mikebronner> Having a hard time trying to debug this (still very green at this). Any ideas what might be going on?
[02:16:08] * mikebronner started halscope, looks like there might be induction from neighboring 36V cabling, seeing random noise spikes.
[02:18:52] <Jymmm> using shielded cable?
[02:45:45] <cncbasher> Mikebronner: chances are your switch is working in reverse
[02:47:28] <cncbasher> noise spikes wont help either
[03:15:47] <mikebronner> @Jymmm @cncbasher hey guys, thanks for the ideas…. i used regular CAT5E cables for the limit switches. Will replace with shielded CAT6A and ground it. Switches are fine, tested them manually and watched using halrun -I -f ptest.hal, all operate as expected. Watching halscope clearly shows numerous noise spikes at the same time the limit switch errors are triggered. Will also replace the temporary wiring to the motors with better wiring and run
[03:15:47] <mikebronner> separate conduits for motor power and limit switches. Hope that will fix the issue. :)
[03:16:48] <cncbasher> mike , are the switches volt free .. i.e switch to ground
[03:17:19] <mikebronner> @cncbasher: running switches in NC serial circuit
[03:17:39] <mikebronner> which would mean normal 5V, interrupt to 0V
[03:17:50] <Jymmm> mikebronner: This is IRC, not twitter, no @ necessary.
[03:18:05] <mikebronner> hehe, old habit :)
[03:18:50] <cncbasher> ok , thats fine , use sheilded cables and keep away from motor etc , should do the trick
[03:19:18] <Jymmm> and only connect one end of the shield, not both.
[03:19:58] <mikebronner> cncbasher: would it be better to run NO, that way the spikes wouldn't make such an effect? My thinking with NC was that if there was a defect or break in a wire, it would shut the machine down and prevent unintended damage if it were to run past the soft limits
[03:21:00] <cncbasher> better to run nc with 5v , than no and to ground
[03:21:31] <cncbasher> also means if the cable develops a fault , you'll know about it first
[03:22:35] <cncbasher> sheilding your cables and keeping low voltage wiring away from motor wiring should sort it just fine
[03:26:10] <mikebronner> just looking at our wiring diagram: with NC serial, should we be running limit switches inverted (which we have)? Investigating now to see if switching that fixes things.
[03:41:14] <mikebronner> ah, no … we aren't running inverted after all … all switches behave as should an only trigger when pressed.
[03:41:44] <mikebronner> cncbasher, Jymmm: will implement shielded wiring this week. thanks for your advice :)
[03:43:05] <cncbasher> yea sheilded cable should solve your problem fine
[03:43:42] <cncbasher> i use cat5 or cat 6 sheilded , without problems
[03:44:16] <cncbasher> but just ground the sheild at one end , or your back to square one
[03:44:42] <Valen> http://www.youtube.com/watch?feature=player_embedded&v=wSuH9u0kvhU
[03:44:45] <Valen> awesome
[03:44:54] <Valen> though it could do with being steam powered
[03:45:32] <Valen> and less brass paint
[04:13:49] <pingufan> Good morning. Yesterday "Loetmichel" showed me a ling to ebay for cheap tools. My IRC client cannot roll back. Can someone remember, please?
[04:15:27] <awallin> this? http://stores.ebay.de/VHM-Shop-gunstig-fair?_trksid=p4340.l2563
[04:15:37] <awallin> there might be an irc log somewhere..
[04:16:00] <pingufan> Yes, that was it. Thank you.
[04:16:59] <pingufan> You do not know V-shaped cutters for cheap?
[04:17:19] <Jymmm> for metal?
[04:17:50] <pingufan> I want to mill PCBs. So tis is mixed. Copper and fibre-glass.
[04:19:07] <awallin> order directly from china... if you want cheap. quality can be varying though..
[04:19:16] <Jymmm> pingufan: http://thinktink.com/ This is what cradek uses
[04:20:14] <archivist> free shipping http://www.virtualvillage.com/pack-of-5-carbide-engraving-bits-40-degree-0-2mm-diameter-007807-227.html
[04:20:16] <pingufan> I think that - for first steps - they cannot be cheap enough. One mistake in program, too slow or fast, and ... click-bybye
[04:20:20] <awallin> or just call LPKF, you germans like quality like bmw and merc anyway - who cares what it costs..
[04:20:39] <pingufan> Nono. I am NO German.
[04:21:18] <awallin> oh, ok. sorry..
[04:21:20] <pingufan> Especially no BMW and Merc.
[04:21:33] <pingufan> I drive a US car, my wife, too.
[04:23:11] <pingufan> What is the correct english name of a V-shaped engraving cutter?
[04:23:48] <bedah> the stichel?
[04:23:58] <pingufan> yes
[04:24:02] <bedah> hehe
[04:24:19] <pingufan> But that's surely not english
[04:24:34] <pingufan> "Gravierstichel"
[04:24:46] <bedah> ja
[04:24:56] <bedah> "engraver"? i do not know
[04:25:14] <archivist> V-shaped engraving cutter is good enough
[04:25:33] <pingufan> Only to know what I enter in a search field
[04:26:17] <pingufan> What is an "End mill" ?
[04:28:44] <awallin> http://en.wikipedia.org/wiki/Endmill
[04:33:28] <pingufan> Ah! It can also mill in its axis direction.
[04:42:57] <Cylly> mornin'
[04:43:26] <Cylly> pingufan: you mean VHM tools?
[04:44:03] <Cylly> the ebayshop was not from me
[04:44:16] <Cylly> I buy here: www.mmetoolshop.de
[04:50:03] <pingufan> Strange shop. Do you also see only dots?
[05:04:17] <awallin> ie only website?
[05:18:01] <Loetmichel> pingufan: over here it is normal
[05:18:16] <Loetmichel> and no, no ie only, $me is surfing with firefox
[05:18:50] <Loetmichel> maybe your browser dosent support redirect?
[05:19:33] <Loetmichel> try this then: http://mmetoolshop.homepage.t-online.de/shop/index.php?cPath=59
[05:21:04] <Loetmichel> ah, pingufan is from austria.
[05:21:41] <Loetmichel> so he could order in the mmetoolshop easyly
[05:23:22] <Loetmichel> awallin: as for the beamer and merc: i think with tools its more like: bad tools are the worst time and money consumer. buy cheap, buy twiche like we say over here ;-)
[05:23:26] <Loetmichel> twice
[05:24:52] <pingufan> Hi, Loetmichel !
[05:26:12] <pingufan> Please, can somebody tell me how to force installation of openssh-server in Ubuntu 8? It claims that there are damaged packets
[05:47:11] <pingufan> Loetmichel: How do you sharpen your tools ("Stichel")?
[05:54:08] <Loetmichel> freehand
[05:54:17] <Loetmichel> wiht a dremel and a diamond disc
[05:54:54] <Loetmichel> http://www.cyrom.org/palbum/main.php?g2_itemId=8961
[05:55:24] <Loetmichel> http://www.cyrom.org/palbum/main.php?g2_itemId=8958 <- made from old broken TC bits ;-)
[05:56:01] <Loetmichel> http://www.cyrom.org/pce/Stichelschleifen.avi
[05:57:01] <Loetmichel> had toi do about 20ß to get it right the first time, but now its like machine.made ones
[05:59:45] <Loetmichel> -i-ß
[06:01:13] <archivist> anyone have any .18 mod hobs they dont want :)
[06:05:07] <pingufan> Yesterday, cradek suggested to use this command for probing the tool length: g91 g38.2 z0 f40
[06:05:37] <pingufan> Well, this results in an error: g38 cannot be used in relative moves
[06:06:54] <pingufan> Still searching for a method to probe the tool length independent of workpiece height, as g38.2 uses user coordinates (and hereby G54 coordinates)
[06:07:52] <jthornton> just switch to an unused coordinate system
[06:32:48] <Loetmichel> pingufan: seen the "stichel" sharpening?
[06:36:29] <mazafaka> heh, it's offtopic, but one pretty common Russian bank charged me with a credit with 64 percents per year credit for my camera. So today, I have simply epayed for the camera with cash
[06:38:52] <mazafaka> I will go tomorrow to the another bank, asking for a 3-year credit for a car, with 15.70 % per year...
[06:41:56] <psha[work]> how large?
[06:42:42] <psha[work]> btw small credits are awful thing
[06:42:45] <psha[work]> they are too expensive
[06:47:06] <mazafaka> psha[work]: about 110K roubles for three years, and pay it much faster
[06:48:01] <mazafaka> There's a UAZ on portal axes, but I have no license yet. I will have to ask someone to drive the car.
[06:49:48] <mazafaka> Loetmichel: what, the 'stichel' is a tool for engraving?
[06:49:51] <pingufan> Loetmichel: I watched my mill making a PCB with 150mm/min. It works indeed. Yes, now I viewed it. And this is precisely enough to get a cutting ende?
[06:49:53] <psha[work]> nice price
[06:49:57] <psha[work]> if it's yet driving :)
[06:50:01] <psha[work]> s/yet/still
[06:51:52] <Loetmichel> MarkusBec: true
[06:52:00] <mazafaka> 65K is another nice price, for which it moves by itself
[06:52:13] <Loetmichel> grrr
[06:52:18] <mazafaka> what Loetmichel
[06:52:25] <Loetmichel> mazafaka : true
[06:52:30] <Loetmichel> ... tabfail...
[06:52:42] <mazafaka> I plan to take a photo of the mill I work with...
[06:53:07] <Loetmichel> pingufan: 150mm/min is REALLY slow
[06:53:19] <pingufan> I am so shy...
[06:53:32] <mazafaka> but not tonight, tonight is the use of a see-saw 'to load the lathes with work till the end of next week'
[06:53:44] <Loetmichel> IIRC i am milling my pcbs with this v-shaped engravers with about 40mm/s !
[06:53:50] <Loetmichel> 20 at minimum
[06:54:09] <mazafaka> isn't it too quick
[06:54:17] <Loetmichel> so 2400/1200mm/min
[06:54:31] <mazafaka> do the work longer, and enjoy it!
[06:54:42] <Loetmichel> mazafaka: not if you have a spindle with at leastz 20kRPM
[06:54:43] <pingufan> Really? "Huch"
[06:55:40] <Loetmichel> and i get this result: http://www.cyrom.org/palbum/main.php?g2_itemId=804
[06:55:42] <mazafaka> Loetmichel: I also tune the programs and mill faster.
[06:58:06] <Loetmichel> dont try to get a tip witnh "=", it will break at an instant
[06:58:11] <Loetmichel> 0
[06:58:25] <pingufan> I am scaried. Must speed up step by step - better for my nerves.
[06:58:47] <mazafaka> psha[work]: I have just realised Jeep Wrangler is of the same size as Niva, but 200 mm taller
[06:58:52] <Loetmichel> if the tools are made of broken TC biots: nothing to be scared of;-)
[06:58:57] <pingufan> Do you have a picture of your mill ?
[06:59:07] <psha[work]> mazafaka: heh, same size but not same quality :)
[06:59:21] <Loetmichel> and jey, it needs some practice to do ev-engravers "freehanded"
[06:59:39] <mazafaka> well, portal axes are being installed even onto Nissan's
[06:59:40] <psha[work]> reng is pretty tought
[06:59:49] <pingufan> I wanted to ask... How many tools did not cut?
[06:59:55] <mazafaka> 'reng' ?
[07:00:30] <Loetmichel> pingufan: about the first 20
[07:00:44] <Loetmichel> since then: occasionally one or tw each 20
[07:00:58] <mazafaka> psha[work]: in fact, I already thi nk how to remove any rust and check the axes, gearbox and the engine
[07:01:04] <psha[work]> mazafaka: common name for wrangler
[07:01:27] <pingufan> You have to remove slightly more than 1/2 of diameter of the shaft, then it cuts. right?
[07:01:30] <psha[work]> however 100k for uaz on portal is nice
[07:01:58] <mazafaka> yeah
[07:02:46] <Loetmichel> no, exactly the half
[07:03:01] <mazafaka> it's somewhat like 3'300 USD here, with the price of used jeep rangler be about 30'000 USD
[07:03:06] <Loetmichel> and then remove the outside of the V
[07:03:16] <Loetmichel> all until the leading edge
[07:03:22] <Loetmichel> s/until/but
[07:03:42] <Loetmichel> so the leading edge is the fares t out
[07:03:52] <mazafaka> Loetmichel: what, you have just made it the same as some new tool with wich you worked?
[07:08:53] <pingufan> I am afraid that my collet is not perfectly centered. Sometimes I get perfect borders, sometimes they are rough and the track is wider. My tools slide easily into the collet. Possibly too easy. (I use a Proxon Collet in a self-made spindle.)
[07:13:19] <pingufan> Any tricks to get it better centered?
[07:15:20] <pingufan> The problem is that Proxxon uses metric collets.
[07:23:05] <archivist> normally there is no trick other than quality of tools (spindle, spindle bearing, collet, collet nut)
[07:23:49] <Valen> we just replaced our spindle bearings
[07:24:02] <Valen> with budget grade parts to be sure
[07:24:17] <Valen> but the origional one had a matched set of angular contact bearings
[07:24:21] <Valen> which is fine
[07:24:42] <Valen> except there were only 2 bearings and they were both pointing the same way
[07:27:41] <pingufan> I will try the next closer collet. The tool shaft will sit better in it, this possibly makes tolerances smaller.
[07:28:39] <Valen> pingufan: collets usually only work over a 2mm range or so as i recall
[07:29:56] <pingufan> my collet has an outside diameter of 7mm. :)
[07:30:18] <pingufan> On biggest point.
[07:32:29] <pingufan> When I see somewhere a broken spindle (or if somebody here has one) with a burned out motor but bearings and shaft ok, I will replace my one. My spindle is turned by a belt.
[07:33:11] <pingufan> You don't know one? -> We talk here of something with a diameter of 8-10mm !!!
[07:45:20] <Valen> for seeing how centered your stuff is put a dial guage on the shaft of the tool
[07:45:26] <Valen> it shouldn't move as you turn it
[07:45:53] <Valen> what your seeing (or think your seeing) is called runout
[07:46:25] <Valen> its not uncommon (especially on home builds) to have the spindle offset some, but for your tools and collets to have an offset as well
[07:46:39] <Valen> if you put them together such that they cancel each other out so much the better ;->
[07:47:51] <pingufan> Yes. But I think that a better spindle will make things better. So i look for a mechanical intact spindle, motor can be damaged.
[07:52:47] * jthornton wonders why so many mack users are switching to the enhanced machine controller
[07:53:53] <ssi> switching from what?
[07:54:02] <jthornton> mach
[07:54:29] <awallin> gilette mach3. that one I use...
[07:54:30] <ssi> cause emc is awesome maybe? :D
[07:56:18] <jthornton> just seems to be more and more coming over from the dark side on the forum
[07:57:08] <awallin> win 8 is probably not helping mach much :)
[07:59:13] <ssi> haha
[07:59:23] <ssi> JT: I have a really really dumb question
[07:59:34] <ssi> JT: how do you change collets on the hardinge machines? :(
[08:00:04] <jthornton> do you have an air collet closer?
[08:00:07] <ssi> yes
[08:00:45] <jthornton> big aluminum cylinder on back side of spindle?
[08:00:47] <ssi> yep
[08:01:54] <jthornton> there is a ring with 4 1/4-20 SHCS, you loosen them up and push in the spindle lock then spin the cylinder after you cut off an allen wrench to get to the screws
[08:02:21] <jthornton> the ring is between the cyl and the spindle housing
[08:02:23] <ssi> I have stubby allens, hopefully that won't be necessary ;)
[08:02:35] <ssi> so basically you have to remove the closer?
[08:02:39] <ssi> or at least free it from the spindle
[08:02:49] <jthornton> no, just loosen it so you can spin it
[08:02:54] <jthornton> yes
[08:03:06] <ssi> gotcha
[08:03:07] <ssi> thanks
[08:03:32] <jthornton> np, I thought mine was broken when I first got it as it was hanging out the back lol
[08:03:38] <ssi> heheh
[08:03:50] <ssi> I still can't disengage the damn brake
[08:04:01] <jthornton> spindle brake?
[08:04:03] <ssi> yeah
[08:04:21] <ssi> I pulled one of the SSRs from the motor contactors (since I won't need them anyway)
[08:04:22] <jthornton> is it a disk brake under the bottom by the spindle motor?
[08:04:24] <ssi> yeah
[08:04:49] <jthornton> you could just swap out the air lines so it is open until you get that far
[08:05:06] <ssi> is it air powered?
[08:07:02] <ssi> I'll try to dig into it a bit this morning
[08:07:09] <jthornton> mine is
[08:07:09] <ssi> I haven't really gotten a good look inside the backside of it yet
[08:07:23] <jthornton> it is just a spring loaded brake and the air releases it
[08:07:30] <ssi> gotcha
[08:07:32] <jthornton> at least mine is
[08:07:45] <jthornton> see you guys out in the shop
[08:07:48] <ssi> okeeee
[08:14:55] <Valen> oh pingufan what i meant by a range of 1-2mm per collet i meant a 7mm collet will only take from 6 to 8 mm tools
[08:15:39] <Valen> wrt mach users coming to EMC, all the cheap chinese crap comes with EMC configs (that dont work)
[08:53:52] <JT-Shop> interesting, you would think if they included EMC that they would at least make sure it worked
[08:55:46] <archivist> probably for version x when the wind blew west in a sunny day on feb 29
[08:56:39] <JT-Shop> yea, that don't happen too often around here
[09:00:08] <archivist> so what price to quote for a stupidly small gear for a model car. I have a feeling I can only make it by gear shaping, so make the cutter making tool, make the cutter..make blank...cut gear on axle
[09:01:47] <jdhnc> sounds inefficient for a one-off
[09:01:56] <archivist> very
[09:02:42] <archivist> 18 teeth crown gear 3.6mm od...which is .18mod
[09:02:46] <jdhnc> how about a set of diamond files and some time.
[09:03:07] <archivist> show me small enough files :)
[09:03:28] <jdhnc> how about rotary edm
[09:04:23] <archivist> I need to find a .18mod hob to make the copper
[09:58:36] <ssi> enco has mobilmet 766 web price $69.95/5gal
[09:58:46] <ssi> and they have a 20% off coupon code this week for over $99
[09:58:51] <ssi> so 10 gal of 766 is $112
[09:58:55] <ssi> but shipping is $50
[09:59:05] <ssi> free shipping coupon actually comes out cheaper than the 20% off coupon
[09:59:05] <ssi> hah
[12:38:05] <JT-5i25> I had 2.5 emc installed on this computer and tried to install emc-dev and it gave me some warnings about unresolvable dependencies so I uninstalled it and tried to install linuxcnc but get an error
[12:38:18] <JT-5i25> linuxcnc:
[12:38:20] <JT-5i25> Depends: linux-image-2.6.24-16-rtai but it is not installable
[12:38:22] <JT-5i25> Depends: python (<2.6) but 2.6.5-0ubuntu1 is to be installed
[12:42:06] <frysteev> has there been any news on the mesa 7149 resolver board drivers for emc?
[12:42:22] <pcw__> driver is in 2.5
[12:44:31] <A2Sheds> http://micromanufacturing.com/content/mitutoyo-heralds-worlds-first-01%C2%B5m-micrometer
[13:03:05] <archivist> accuracy much worse than resolution and at those levels it needs a constant force anvil
[13:23:56] <frysteev> anyone use serial with EMC at all? Not for motion contorl, but for status monitors etc,
[13:27:52] <pcw__> Sure serial modbus is supported for VFDs and for example samco is using a Arduino
[13:27:54] <pcw__> for spindle temperature measurement to compensate for spindle growth
[13:28:41] <motioncontrol> Hi good evening have a problem with debounce component. I have loadrt debounce in hal file but have error ismod failed . What is the correct write for debouce component ?
[13:29:02] <pcw__> (and most of our new I/O is serial though this is somewhat special)
[13:29:36] <frysteev> cool. i knew it was theoretically possble, i need a ton of i/o, but most of them arent realtime depentant,
[13:32:06] <cradek> motioncontrol: please share your exact hal command, and your exact error message
[13:33:15] <motioncontrol> cradek, in dmesg have : DEBOUNCE: ERROR: no channels configured
[13:33:42] <cradek> motioncontrol: have you looked at the debounce man page?
[13:34:01] <motioncontrol> cradek, no please have a link ?
[13:34:13] <cradek> man debounce
[13:35:58] <JT-Shop> motioncontrol: do you know what a man page is? and where they are?
[13:35:59] <motioncontrol> cradek, ok thanks now test
[13:36:05] <JT-Shop> nm
[13:42:10] <motioncontrol> cradek, have write loadrt debounce [cfg=5] for 5 groups but have error: .hal.14 Emply variable not understand ?
[13:43:33] <alex4nder> yoh
[13:44:06] <JT-Shop> motioncontrol: try loadrt debounce cfg=5
[13:44:29] <JT-Shop> [xxx] means optional iirc
[13:44:37] <pcw__> brackets are to show optional parameters
[13:44:59] <motioncontrol> JT-Shop, more thenks now is loated.
[13:45:27] <pcw__> I've always thought man pages need more examples
[13:46:18] <archivist> I do surely agree with that sentiment :)
[13:46:45] <JT-Shop> or have more examples in the manual...
[13:46:59] <archivist> was trying to help the other day looked at the man page and ....
[13:50:43] <JT-Shop> I don't know how my plasma was working me not knowing the difference between hardy har har and lumbering lucid
[13:56:40] <JT-Shop> now were getting somewhere, comp works and tells me to fix my stupid typos :) YEA!
[13:57:07] <archivist> website layout problem http://www.archivist.info/cnc/Screenshot-9.png
[13:57:55] <isssy> scroll down
[13:58:13] <archivist> I know how to scroll!!!
[13:58:19] <IchGuckLive> hi all around the globe
[14:01:58] <jbunch-shop> working on setting up encoder on spindle. unable to see rev count in spindle-rev. mesa 7137 card using port 3
[14:03:09] <tom3p> archivist, there should be a way to make the thumb blink, saying "scroll me! scroll me!"
[14:05:20] <isssy> that type of counter are you using?
[14:06:38] <jbunch-shop> I am using the counter and index input on port3 in the mesa card.
[14:07:06] <jdhnc> how critical is latency if I have a 7i43 for steppers?
[14:07:41] <isssy> no , the encoder on the spindle
[14:11:15] <jbunch-shop> I am using an Omeron open collector 500 ppr encoder I pulling the outputs high with 500 ohm resistors, I have checked at the card with a scope and am gettting a square wave from the output of the encoder. the pin spindle-vel-fb shows activity.
[14:12:38] <isssy> ok.
[14:13:19] <isssy> now , try rotating the spindle by hand to see if there are reading changes on the axix
[14:13:25] <isssy> axis , sorry
[14:13:33] <ssi> JT-Shop: I pulled the spindle brake off... it's definitely electromechanical, not pneumatic
[14:13:47] <ssi> got my spindle VFD installed in the power side cabinet, and manually ran the spindle a bit...
[14:13:56] <ssi> clutches both work, but the belts and shafts all sound a bit dry
[14:14:17] <ssi> haven't tried dorking with the speed control mechanism at all yet
[14:14:35] <isssy> if not , there is a jumper Jpr3 according to the drawing
[14:14:45] <isssy> switch it and try again
[14:15:38] <isssy> it is possible if the encoder is too fine , the card to be not in position to read it at hi speed
[14:16:12] <isssy> i mean 2500 ppr ar 30000 rpm...
[14:16:12] <isssy> gess
[14:18:50] <isssy> then read with the scope pins 3 , 5 and 13 on U5 , theese are the outputs
[14:19:03] <archivist> tom3p, needs to be someone with access to joomla source and configs to fix
[14:19:04] <isssy> you should get sqare reading there too
[14:21:02] <tom3p> archivist, i've seen that fooler before, thinking nothing was there, yep, no way for users to halp with its layout, notawiki
[14:21:28] <archivist> tom3p, fails validation too
[14:22:20] <jbunch-shop> When I move the spindle CW I receive a + readout on Spindle-vel-fb. When I move CCW I receive a - readout . nothing on the spindle-rev. Is there some boilerplate for a spindle setup using a 7137 around?
[14:22:21] <jbunch-shop>
[14:23:02] <isssy> wrong connection
[14:23:34] <isssy> are you using diferential out of the encoder?
[14:23:47] <PCW> 7I37 is not suited as an encoder input (unless its very slow)
[14:23:59] <isssy> hi pete
[14:24:06] <PCW> Hi isssy
[14:25:29] <DJ9DJ> namd
[14:27:26] <jbunch-shop> excuse me 7133ta analog board
[14:27:37] <PCW> OK thats fine
[14:29:27] <jbunch-shop> PCW: is there boilerplate for setting up a spindle on this card? I am questioning my setup ini file configuration.
[14:31:08] <JT-Shop> ssi: cool, sounds like your making progress
[14:31:21] <PCW> no that card but there should be some spindle code that can be ported
[14:32:47] <PCW> "spindle" covers a fairly large ground
[14:32:48] <PCW> is this just spindle encoder setup?
[14:32:50] <PCW> spindle speed control and encoder?
[14:37:13] <jbunch-shop> I am starting with spindle readout and moving to spindle control with a VFD. This is on a lathe with Axis X and Z using input 0 and 1. Spindle control on input 2.
[14:39:51] <jbunch-shop> Have to go be back i 1 hr
[14:55:09] <JT-Shop> would that be similar to the spindle examples in the manual?
[14:59:08] <PCW> yeah they should all be pretty much the same (other than fancy PID speed controls or other added features)
[15:26:08] <motioncontrol> PCW, good morning i have some spurius noise on digital input the mesa card when some asincronos motor running, whit debounce componets can resolve it ?
[15:27:09] <PCW> yes if speed is not an issue (debounce will slow the recognition of signals)
[15:27:25] <PCW> is this a 7I37 input?
[15:28:05] <motioncontrol> yes i have probleb with it, in some case the input is true , but it really is false
[15:28:21] <PCW> 7I37?
[15:28:48] <motioncontrol> true for some instant , yes 7i37
[15:29:15] <motioncontrol> can use some resistor or capacity ?
[15:29:17] <PCW> we have changed the design of the 7I37 so recent ones have better noise immunity (3V input threshold VS 1.5V)
[15:29:53] <motioncontrol> can modification my card myself ?
[15:30:20] <motioncontrol> change some resistor on card ?
[15:30:38] <PCW> Is this a 7I37TA?
[15:30:52] <motioncontrol> yes Ta model
[15:32:00] <frysteev> it has more T&A
[15:32:41] <PCW> Versions before C have the 1.5V input threshold Version C and later have 3V threshold
[15:32:43] <PCW> its not easy to change as its an added resistor but debounce or a small input capacitor (say .01 uF) should fix it
[15:33:26] <motioncontrol> ok the capacirot connected on input and 0volt ?
[15:34:07] <PCW> our newer serial I/O expanders are better in this respect (threshold is 1/2 field voltage)
[15:34:09] <PCW> capacitor across input pins
[15:35:03] <motioncontrol> PCW, ok thanks about help tomorrow im prove it
[15:37:57] <PCW> with the new serial expanders running at 24V, you need 14.4V to read high (and back down to 9.6V to read low that is 50% +-10% hysteresis)
[15:37:58] <PCW> so they are much more noise immune (but you lose TTL interface capability)
[15:42:32] <Nick001-Shop> will a 5vdc ttl fron the parallel port drive a standard SSR 3-32 vdc?
[15:42:59] <Thetawaves> yes
[15:43:34] <Thetawaves> you will have to verify, but i believe SSRs use optoisolators, so it's like 5vdc at 20ma
[15:43:38] <Thetawaves> which is quite low
[15:43:42] <PCW> Better sinking than sourcing normally
[15:45:38] <Nick001-Shop> how do I do that from the parport
[15:46:17] <PCW> 5V from PC to SSR+ SSR- to parallel port pin
[15:46:31] <PCW> low pp pin is on
[15:49:46] <Nick001-Shop> lost me sortof - 5v from pp pin 2 to SSR+ SSR- to PP port ? M8 is turning pin 2 on with 5vdc
[15:50:40] <Thetawaves> when you sink power
[15:51:01] <Thetawaves> you are providing a path to ground for some higher voltage signal
[15:51:20] <Thetawaves> so you need the find the pin on the parallel port that is +5v all the time
[15:51:27] <Thetawaves> and hook that into SSR+
[15:51:45] <Thetawaves> pin 2 of the parallel port will only conduct electricity to ground while it is at low
[15:52:16] <Thetawaves> so when pin 2 provides 5v as you noticed, it would not conduct electricity to ground, and not turn on
[15:52:57] <Nick001-Shop> the tern sinking draws a blank look from me -) sorry
[15:53:12] <PCW> Yes you need to steel +5V from a USB connector or some such for SSR +
[15:53:44] <PCW> 5V PC power supply to SSR+, SSR- to parallel port pin
[15:54:21] <PCW> so the parallel port turns the SSR on by sinking (pulling down) the PP pin
[15:55:33] <PCW> (there is no PP pin thats 5V all the time alas so you must steal PC 5V power elsewhere)
[15:56:49] <Nick001-Shop> you keep answering quetions faster than I can type -)
[15:57:12] <Thetawaves> it would be better to setup your own 5v power supply
[15:57:15] <Thetawaves> they are easy
[15:57:40] <Nick001-Shop> if one has all the parts around
[15:59:49] <PCW> Its often better to use the PC supply (so the SSR is guaranteed to be off when the PC is off)
[16:00:37] <JT-Shop> well crap, play time is over... we have to build a machine now :)
[16:00:46] <Nick001-Shop> can I turn an output pin on and use that as the supply?
[16:00:51] <PCW> if the SSR is on a spindle then you need something safer like a charge pump
[16:00:56] <PCW> No
[16:00:58] <Tom_itx> JT-Shop, gotta pay for another cannon?
[16:01:09] <Nick001-Shop> rats
[16:01:42] <PCW> the problem with most parallel ports is that they will not source much current
[16:02:12] <Nick001-Shop> the SSR's turn thins on like a coil for a starter and air valves
[16:02:27] <Nick001-Shop> things
[16:03:11] <Nick001-Shop> so they are just turning the SSR on and off
[16:03:24] <PCW> it may not be in a good state at startup until EMC runs (which is why fancy BOBs have charge pumps)
[16:03:52] <Nick001-Shop> there is also like 8 of them to control
[16:04:39] <Nick001-Shop> nothing runs until emc starts
[16:04:53] <PCW> do any cause a hazard if they turn on at power-up?
[16:05:16] <jdhnc> I have some black Opto SSR's that draw <1mA, you can drive them from the pport, but sometimes when you turn on the PC, they come one.
[16:05:19] <JT-Shop> Tom_itx: one cannon is plenty I'd think
[16:05:31] <Nick001-Shop> no - 1 SSR has to turn on before the others can work
[16:06:15] <PCW> So you need to make sure that one behaves well at startup
[16:06:37] <Nick001-Shop> I dont know what kind these are - There in the back cabnet of a Hardinge
[16:07:43] <Nick001-Shop> right - that's the way AB worked then it seems
[16:08:10] <Nick001-Shop> my spelling is lousy
[16:11:14] <Nick001-Shop> I'll go try turning on a parport pin at startup for a 5v power supply and see what happens - back later
[16:12:35] <archivist> par ports can be open collector and if they have an internal pullup its about 3 k iirc hardly a power supply
[16:16:30] <PCW> arghh
[16:16:42] <Nick001-Shop> what kind of power do SSR's use?
[16:17:46] <Nick001-Shop> what is the command to use to turn a pin on in the test hal command window?
[16:19:58] <PCW> setp
[16:20:50] <Nick001-Shop> setp parport0. ??
[16:21:19] <PCW> setp parport0.nn true
[16:21:29] <Mjolinor> its a lot esier to install the parlalel port test software
[16:21:53] <Mjolinor> gese my typing is getting worse
[16:21:59] <Nick001-Shop> false turns it off?
[16:22:08] <PCW> yep
[16:22:44] <PCW> well off is a loaded term, false sets it low
[16:22:45] <Nick001-Shop> now maybe I can test the SSR thanks
[16:24:06] <Nick001-Shop> does the same thing sortof?
[16:25:05] <PCW> well depending on how external things are connected, a low pin might be "on"
[16:27:02] <Nick001-Shop> as far as I know - the 5v turns the SSR on or off - Connects 120vac from one upper contact to another to operate a coil
[16:28:44] <PCW> Yes but if you wire the SSR for sinking drive (+5 to SSR+ SSY- to PP pin)
[16:28:46] <PCW> you would set the PP pin to false to turn on the SSR
[16:29:57] <PCW> that is you in this connection the when the PP pin is at 5V, the SSR has 0V across its inputs since both pins are at 5V
[16:30:05] <DJ9DJ> gn8
[16:30:29] <PCW> boy i put a few extra words in there...
[16:31:11] <Nick001-Shop> right - I need to turn another pin on to get a 5v signal to connect to SSR+ and SSR- goes to pin 2 which M* turns on with 5v
[16:31:41] <PCW> No No No you need to steal 5V from the PC
[16:32:54] <PCW> You can try sourcing drive just in case it works (for sourcing drive wire SSR+ to PP pin and SSR- to ground --> true is SSR on)
[16:35:21] <Nick001-Shop> wouldn't turning another pin on as a s5vsource work?
[16:35:27] <PCW> but the problem is most parallel ports dont source much current so this may or may not work
[16:35:28] <PCW> the other option is to use the parallel port in sinking mode, where you supply 5V (stolen from PC USB or disk connector)
[16:35:30] <PCW> to all the SSR+ pins and connect the SSR - pins to PP output pins)
[16:35:35] <PCW> no it will not
[16:36:43] <PCW> and if it would work, you might as well use sourcing drive to begin with and not waste the pin
[16:38:07] <Nick001-Shop> Ahha - I can steal it fron a disk connector - But isn't this the same 5v I would get from the parport?
[16:40:00] <PCW> There is no 5V available from a parallel port (only (weak) output bits)
[16:40:14] <Nick001-Shop> I have pins I can waste - I have 4 extra parport cards in the computer -just to see if linux would reqonize all of them
[16:40:42] <Nick001-Shop> my voltmeter says 5v when a pin is on
[16:40:59] <archivist> par port outputs are via a semiconductor or pull up not 5v direct
[16:41:23] <PCW> 5V signal is not the same as 5V power (you will see this you apply a load )
[16:41:35] <Nick001-Shop> is that why they call it TTL?
[16:42:12] <PCW> Nowadays its all CMOS but you are dealing with low power logic signals
[16:42:56] <Nick001-Shop> I'll have to nail that one in place so I get it right
[16:44:48] <PCW> well now to figure out why my ARP ARPs but once
[16:44:49] <PCW> bbl
[16:49:54] <Nick001-Shop> would a 5v signal from an optocoupler card work as a power source for the SSR's?
[17:13:07] <raynerd> anyone on here ever used a brushless motor and ESP ?
[17:17:21] <PCW> motorized oiugee?
[17:29:17] <djdelorie> ESP or ESC ?
[17:30:01] <alex4nder> ESPN
[17:43:58] <ssi> lul
[17:48:19] <JT-Shop> got chips?
[17:48:38] <ssi> me? naw... not nearly enough control yet :P
[17:49:00] <JT-Shop> I ran mine with a lab power supply just to see it move
[17:49:16] <ssi> yea I've got the GE control verifying it enough to make me happy
[17:49:29] <ssi> my VFD is in place and I can run the spindle, engage each clutch
[17:49:37] <JT-Shop> cool
[17:49:42] <ssi> collet works (although it indicates backwards; collet open button closes it and vice versa)
[17:49:57] <ssi> can jog the axes
[17:50:00] <JT-Shop> air lines on backwards?
[17:50:04] <ssi> possibly
[18:00:49] <Nick001-Shop> a command linksp FloodOn <= parport.0.pin-02-out needs to be reversed. -not or -_invert added returns an error. What needs to be done to reverse this signal. Now M9 turns it on and M8 turns it off - needs to be reversed somehow
[18:09:40] <mazafaka> ah, damn bandsaw. Have to use it at night when others sleep
[18:09:48] <ssi> why's that
[18:09:48] <mazafaka> 6:00 AM
[18:11:59] <jbunch-shop> what makes the value hm2_5i20.0.encoder.02.index-enable "TRUE". I am assuming that this has to be enabled for the spindle-rev to work
[18:12:35] <mazafaka> because i am a 'specialist of wide skills', I am just the one who got payed on a hourly rate, and I sometimes use wrecket tools and such, and do a lot of dirty jobs. I am graduated from the university as well - and therefore pretend to be the boss here or at another firm. And thereby, I do not need particular skills at some speciality - be it lathe or other stuff, my only purpose is to do dirty jobs.
[18:13:32] <ssi> I see
[18:14:53] <mazafaka> I use drill press, two bandsaws at a time, lathe, mill, and some weird stuff. All with a relatively high speed compared to skilled coworkers with the years of experience. Also, I work at nights sometimes.
[18:15:53] <mazafaka> I feel tired a little, and I also feel like I haven't yet slept enough to remember all the new experience I have got.
[18:17:31] <PCW> normally spindle index connects to motion.spindle-index-enable
[18:17:33] <PCW> net spindle-index motion.spindle-index-enable <= hm2_5i20.0.encoder.02.index-enable
[18:17:35] <PCW> but this is just for spindle synchronized motions, nothing to do with spindle-rev I dont think
[18:24:15] <Nick001-Shop> how do I reverse this line: parport.0.pin-02-out
[18:24:17] <Nick001-Shop> -not and invert returns pin not found
[18:25:38] <jbunch-shop> I have that line in my .hal file. should this be TRUE all the time? Also the hm2_5i20.0.encoder.02.counts just counts up does not reset to zero after each index pulse. Is this the correct behavior?
[18:25:56] <Nick001-Shop> BTW - got the SSR to work - robbed a 5v line from the HD power line and all the wiring worked -)
[18:28:40] <Nick001-Shop> Allen-Bradley was using 12vdc to drive the SSR's so I just substituted 5vdc
[18:38:04] <PCW> I think it only true at certain times for spindle syncrhonized motion
[18:39:27] <ssi> oh irony
[18:39:44] <ssi> there's probably guys out there getting paid to work on machine tools and wishing they could get home to watch college basketball
[18:39:55] <ssi> I'm getting paid to watch college basketball and I wish I could go downstairs and work on machine tools :(
[18:40:27] <Tom_itx> so put a TV downstairs
[18:40:37] <ssi> I have to monitor all the applications :P
[18:42:03] <mazafaka> applications? TV has some programs installed?
[18:42:08] <ssi> yeah, something like that
[18:42:57] <ssi> we shuffle a shitpile of data around to make an event like march madness run smoothly :P
[20:31:17] <Jymmm> http://i44.tinypic.com/fmknc1.jpg
[20:38:56] <frysteev> Jymmm: love it
[20:44:43] <Jymmm> =)
[20:45:01] <Tom_itx> does it come with the lp noise too?
[20:45:35] <frysteev> does it take D cell batteries
[20:47:24] <Jymmm> 6v lantern battery
[20:51:16] <jbunch-shop> PCW: What type of signal is the 7i33ta looking for on the index? 5v to grnd o grnd to 5v
[20:51:52] <Jymmm> JT-Shop: When you get done with the canon, you can work on a chain gun... http://i42.tinypic.com/23peec.jpg
[20:51:53] <pcw__> Either
[20:53:20] <jbunch-shop> Any suggestions as to why I am unable to get spindle-rev?
[20:53:21] <pcw__> You can set the index polarity in HAL
[20:53:53] <pcw__> What is spindle rev (I doubt it has anything to do with index)
[20:54:44] <Jymmm> Alien vs Predator http://i40.tinypic.com/x37675.jpg
[20:55:00] <pcw__> index is only used for homing and spindle synchronized moves AFAIK
[20:55:47] <pcw__> in both those cases motion enables index at the appropriate time
[20:59:47] <jbunch-shop> When I try a G33 move I receive an error of spindle not on when I look for how fast my spindle is rotating I see nothing in spindle-revs which I think is the value of spindle RPM's.
[21:00:49] <pcw__> I guess you need to trace where spindle-revs is wired up in HAL
[21:03:18] <jbunch-shop> net spindle-revs => motion.spindle-revs is the setting from PNConf .
[21:05:39] <jbunch-shop> Here is the spindle section of my hal file http://pastebin.com/QncJ98d2
[21:10:10] <pcw__> man motion:
[21:10:11] <pcw__> motion.spindle-revs IN FLOAT
[21:10:13] <pcw__> For correct operation of spindle synchronized moves, this signal
[21:10:14] <pcw__> must be hooked to the position pin of the spindle encoder.
[21:11:08] <pcw__> at least in the hal code you posted the wire ends at spindle-revs
[21:11:43] <pcw__> (its an unconnected net or "wire" in hal)
[21:17:11] <pcw__> probably supposed to be something like:
[21:17:13] <pcw__>
[21:17:15] <pcw__> net spindle-revs hm2_5i20.0.encoder.02.count => motion.spindle-revs
[21:17:16] <pcw__> presumable encoder scale must be set right for this
[21:32:31] <jbunch-shop> Is hm2_5i20.0.encoder.02.position the same as the index? or What do you call the index pin?
[22:31:15] <pcw__> ah yes its position not count:
[22:31:17] <pcw__> net spindle-revs hm2_5i20.0.encoder.02.position => motion.spindle-revs
[22:34:17] <pcw__> No this is not index
[22:34:19] <pcw__> the only index connection in hal is to motion.spindle-index-enable