#linuxcnc | Logs for 2016-12-21

[00:14:18] <Jymmmm> CaptHindsight: I have an app for that, uses the camera and an object for reference
[00:15:16] <Jymmmm> CaptHindsight: https://play.google.com/store/apps/details?id=com.potatotree.on3dcamerameasure&hl=en
[00:16:50] <Jymmmm> CaptHindsight: https://www.youtube.com/watch?feature=player_embedded&v=jmoPCN2NM78
[00:24:17] <RootB> linuxCNC
[00:24:35] <RootB> do all NPT threads have the save inclination?
[00:24:44] <RootB> im trying to make some NPT threads for a project
[00:24:52] <RootB> same angle of inclination
[00:46:39] <CaptHindsight> RootB: https://www.yamawa.com/en/support/tips/pdf/tips-006.pdf
[00:47:53] <CaptHindsight> the angle between the taper and the center axis of the pipe is 1o 47' 24'' (1.7899o) truncation of roots and crests are flat
[00:50:32] <CaptHindsight> Jymmm: my comments pertain to a DIY of http://www.renishaw.com/en/nc4-non-contact-tool-setter--6099
[00:53:16] <Jymmm> CaptHindsight: ah
[01:19:08] <Flipp_> anyone have a suggestion how to fixture something like this without soft jaws? http://i.imgur.com/E9BT7qr.png
[01:22:54] <archivist> Flipp_, make in one setting two tools, end mill all left(upper) side of that image, then a slitting saw on an arbour to part off the bar also dealing with the rear face
[01:23:43] <archivist> stating with round bar stock in an up facing 3 jaw
[01:23:48] <archivist> starting
[01:24:20] <archivist> 2nd op could be part off in a lathe also
[01:28:27] <archivist> start with square bar and then you can use the usual milling vice
[01:29:39] * archivist taps the screen is the mic on
[01:49:39] <IchGucksLive> good morning from Germany
[01:50:06] <IchGucksLive> last workday for this year as expected not to be true to many last action in
[01:51:56] <IchGucksLive> Flipp_: depends on size and mashine
[01:52:21] <IchGucksLive> yu can go for a suport and then cut it with a saw tool
[01:52:36] <IchGucksLive> Good morning JesusAlos
[01:52:42] <IchGucksLive> how is the weather
[01:52:49] <IchGucksLive> after a horable wek
[01:53:40] <IchGucksLive> Flipp_: Disc milling cutters
[01:54:11] <IchGucksLive> im off to the mashines ;-) have a nice and not bitbreking day
[01:55:38] <Flipp_> archivist & IchGucksLive: thanks! Hadn't thought of slitting saw. I was just thinking of going with square bar + tabs originally
[01:56:24] <archivist> you dropped off the channel yesterday before I could say something
[01:57:27] <Flipp_> sorry, comp fell off the internet for a bit
[01:58:09] <Flipp_> I've got a few of these not-square parts to make, and considering I'm only going to be making one or two of 'em I'm trying to avoid making soft jaws :)
[02:00:41] <archivist> I only use soft jaws on customer parts I am repairing usually, else on the end of a stick/bar
[02:35:12] <Deejay> moin
[02:44:06] <chicaros> hello for all
[02:44:28] <chicaros> who has worked with EMC DELL servers
[02:44:30] <chicaros> ??
[03:12:01] <sigi_> hallo zusammen ist zufällig wer hier der deusch spricht und sich mit cmoccapy auskennt
[03:54:14] <IchGucksLive> Noin
[03:54:28] <IchGucksLive> sigi_: noch da
[03:54:40] <sigi_> ja hallo
[03:54:52] <IchGucksLive> drück mal auf meine nickname
[04:40:30] <XXCoder> moon
[05:40:06] <Tom_L> morning
[05:42:52] <XXCoder> hey
[06:30:27] <jthornton> morning
[07:51:25] <jthornton> zlog
[08:25:59] <jthornton> Tom_L: give the logger a shot when you get a chance
[10:59:59] <Jymmmm> cradek: On Amazon for ~$15 shipped https://www.universal-solder.com/products/wwvb60-atomic-wave-time-receiver-for-60khz-wwvb Amazon: https://www.amazon.com/60kHz-atomic-clock-radio-module/dp/B01KH3VEGS
[11:09:55] <roycroft> how are you going to compensate for latency with that radio (not atomic) clock?
[11:11:49] <archivist> yo compare to a local and keep compensate your drift
[11:12:15] <roycroft> a gps receiver would be more easy to use
[11:12:19] <archivist> the source is a time standard
[11:12:36] <roycroft> the protocol has latency compensation built in
[11:12:39] <archivist> it is similar to gps
[11:12:46] <roycroft> wwvb is going to be a few tens of milliseconds off, on average
[11:13:34] <archivist> you still have to average your local time/drift either method
[11:14:01] <roycroft> as long as it's understood that the radio receiver cannot be used stand-alone as a time standard it can be useful, acchivist
[11:14:07] <roycroft> i was just making sure that was understood
[11:14:18] <roycroft> it can be used as a stratum 2 time standard, at best
[11:14:22] <archivist> short term and long term being different
[11:14:42] <roycroft> that said, the signal is extremely reliable
[11:15:02] <Jymmmm> roycroft: gps don't work in the forest too well =)
[11:15:08] <cradek> I made an ntp/wifi clock once, but the crt failed after a few years
[11:15:20] <roycroft> and if ~100ms of drift is within the granularity envelope you need it's fine
[11:15:34] <roycroft> depends on where you put your gps receiver, jymmm
[11:15:36] <archivist> before gps they were the method of shipping time/frequency standards around
[11:15:41] <roycroft> stick it on top o fa tree and you might be fine :)
[11:15:54] <archivist> trees move
[11:15:59] <Jymmmm> roycroft: Well, get your climbing boots on, and get your ass up the 100ft trees =)
[11:16:04] <roycroft> oh
[11:16:13] <roycroft> you live in the world of short trees, eh?
[11:16:19] <roycroft> ours are more like 100m
[11:16:39] <cradek> I also made a real atomic clock once, was a commission
[11:16:51] <Jymmmm> roycroft: Quit typing and start climbing =)
[11:16:51] <roycroft> a real atomic clock would be fun to make
[11:16:53] <roycroft> expensive, but fun
[11:17:01] <roycroft> i'm an old fart
[11:17:05] <cradek> for a while there were lots of rubidium frequency standards on the surplus market
[11:17:12] <roycroft> i hire youngins for that kind of work now
[11:17:22] <cradek> it was no more than a couple hundred bucks
[11:17:27] <roycroft> nice
[11:17:28] <cradek> as far as I know it's still running
[11:17:35] <archivist> I have a report here where a tree upsets a 12 ton concrete block that a clock is mounted on
[11:17:49] <Jymmmm> roycroft: That's okey, we'll just lmao when/if you fall hand you your beer back, then call 911 (if we have cell reception that is)
[11:18:04] <roycroft> i also don't drink when doing dangerous stuff
[11:18:18] * roycroft is not only an old fart, he's also an old fuddy duddy in some respects
[11:18:35] <Jymmmm> roycroft: It's just a tree, I promise it won't attack you. Now the ground on the other hand...
[11:18:39] <archivist> I have a double oven xtal here which is pretty stable
[11:18:43] <cradek> roycroft: looked a lot like the one on wikipedia: https://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Rb_oscillator.jpg/220px-Rb_oscillator.jpg
[11:19:59] <cradek> roycroft: I just used its 10MHz output as the clock for the cpu, felt so clever
[11:20:04] <Jymmmm> cradek: Anyhow... is was the only WWVB Rx module I could find, the C-MAX one has been discontiinued.
[11:20:30] <cradek> did you check sparkfun?
[11:20:37] <Jymmmm> cradek: discontinued
[11:20:46] * roycroft notes that a tree attacked his house last week
[11:21:06] <Jymmmm> cradek: https://www.sparkfun.com/products/retired/10060
[11:21:25] <cradek> darn
[11:21:29] <cradek> I probably have a few around
[11:21:33] <roycroft> http://www.roycroft.us/Aspen/Aspen2.jpeg
[11:21:41] <cradek> wait, are you asking me how to find one, or just letting me know?
[11:22:00] <Jymmmm> cradek: FYI
[11:22:23] <cradek> fwiw, I've also had good luck taking them out of clocks from goodwill
[11:22:38] <gregcnc3> ban trees and ice storms while were at it, it's for the kids
[11:22:41] <Jymmmm> cradek: The original link I gave is just an available alternative is all.
[11:22:59] <Jymmmm> cradek: ah, so they didn't incorporate them into the main pcb?
[11:23:25] <cradek> at least sometimes they don't
[11:23:37] <Jymmmm> ok, will check that out
[11:23:39] <cradek> my survey space is small but I've had good luck
[11:24:08] <cradek> old ones had an external antenna on a wire, those are very good candidates
[11:24:11] <Jymmmm> gregcnc3: Ha, hand the kids climbing boots and point them to the nearest tree
[11:24:41] <Jymmmm> cradek: Nice, I prefer that over ferrite antenna
[11:25:38] <Jymmmm> slingshot + bag + wire + tall ass tree = good signal =)
[11:27:20] <Jymmmm> I'm temped to toss up a quad antenna, but haven't figured out how to squirrel proof it yet
[11:27:35] <gregcnc3> sligshot + wire + HV transmission line = https://youtu.be/h9PUVQaeI0k
[11:28:32] <cradek> Jymmmm: ed nisley has done a lot with wwvb reception, including making a tuned antenna: https://softsolder.com/?s=wwvb
[11:34:34] <Jymmmm> cradek: Heh, even 1/4 wavelength antenna at 60KHz is 4100 feet =)
[11:35:20] <cradek> yes longwire isn't the winning approach at that frequency is it
[11:35:53] <Jymmmm> Not directly no, could toss in a loading coil I suppose
[11:35:56] <cradek> https://softsolder.com/2016/08/16/lf-loop-antenna-60-khz-tuning/
[11:40:02] <Jymmmm> cradek: But honestly, any longwire positioned in relation to WWVB has got to be an improvement over most things.
[11:41:36] <Jymmmm> cradek: I best Rx WWV between 2300 and 0300 on 20MHz
[11:43:33] <Jymmmm> gregcnc3: I like this one... https://www.youtube.com/watch?v=PXiOQCRiSp0
[11:48:08] <Jymmmm> Grilled Cheese anyone? https://www.youtube.com/watch?v=hjSheQ7LgJ4#t=152
[12:31:02] <IchGucksLive> hi
[12:35:29] <IchGucksLive> Deejay: ?
[12:35:35] <Deejay> hi
[12:35:39] <Deejay> wassup?
[12:35:56] <IchGucksLive> servus kommst du an schrauben 912 M6x70 ran
[12:36:15] <IchGucksLive> ich bräuchte für die shcule 8stk sind schwer zu organisieren
[12:40:33] <Deejay> gibts nich auf ebay? ;)
[12:41:37] <Spida> gedex-service.de?
[12:41:52] <Spida> oder wo auch immer grade deren webshop ist
[12:42:54] <Deejay> hr, da hab ich auch schon gekauft
[12:46:49] <IchGucksLive> preislich ok
[12:47:32] <IchGucksLive> hi JesusAlos Happy holiday
[12:49:33] <IchGucksLive> pink_vampire: did you gfotr the message
[12:52:21] <pink_vampire> hi IchGucksLive
[12:52:24] <pink_vampire> yes
[12:52:49] <IchGucksLive> are you around there
[13:26:03] <kb8wmc> good day
[13:26:10] <IchGucksLive> ;-)
[13:26:35] <kb8wmc> IchGucksLive: what are you working on today?
[13:29:49] <IchGucksLive> today last workday all finished
[13:29:56] <IchGucksLive> only cleaning tomorrow
[13:30:08] <kb8wmc> good
[13:41:09] <IchGucksLive> Gn8
[14:14:14] <Tom_L> JT-Shop, did you make other changes than what i posted?
[14:16:26] <JT-Shop> yes
[14:17:08] <JT-Shop> https://github.com/jethornton/JT-Logger/commit/af61dbf4033dbc02a317b25511705306bad37828
[14:20:26] <Tom_L> was that line i posed ok?
[14:20:30] <Tom_L> posted*
[14:21:06] <_methods> http://imgur.com/Qd8vk4p
[14:21:21] <JT-Shop> I don't remember, but if it worked it must be ok
[14:21:40] <Tom_L> doesn't look like you used it,
[14:21:54] <Tom_L> unless i'm looking at the wrong line
[14:23:19] <Tom_L> urllib is new, that must make a url from a string or something
[14:23:19] <JT-Shop> I used urllib instead of hard coding the replacement
[14:23:49] <JT-Shop> urllib transforms special chars to url safe
[14:24:40] <JT-Shop> it changes something like #linuxcnc to %23linuxcnc as well as other chars like %^&
[14:24:48] <Tom_L> yep
[14:29:56] <Tom_L> i'll test it after bit. gotta leave again
[14:30:08] <JT-Shop> ok
[14:30:20] <Tom_L> barely gettin a sammich...
[15:00:05] <lunada> hi
[15:17:22] <lunada> i have a noobie question. I've used linuxcnc in ther past with a mesa 5i20, and now i'm using a 6i25/7i77 combo. In the past, i had to set up a pin on my io card like this: setp hm2_[HOSTMOT2](BOARD).0.gpio.052.is_output 0. On the sample configs i'm seeing, they no longer have that. Is it not needed for my hardware? I'm basically trying to edit my old 5i20 hal and ini files so i can use them with the 6i25/7i77
[15:19:45] <JT-Shop> better to start with a 5/6i25 configuration and add your stuff.
[15:20:14] <JT-Shop> http://linuxcnc.org/docs/2.7/html/config/ini-config.html#sub:custom-variables
[15:21:55] <andypugh> lunada: The commands are still valid, but I suspect that the pins already default to the right useage when you have a 7i77 bitfile flashed.
[15:22:46] <andypugh> Also, a bunch of the 7i77 IO is serially-addressed dedicated inputs and dedicated outputs. This means that the IO pins on the 7i77 do not correspond to actual FPGA pins.
[15:23:09] <lunada> thats what i was wondering andypugh, thanks
[15:23:46] <lunada> thanks jt-shop, i had a feeling that was the way to go, but i couldn't find a 6i25 sample config
[15:24:06] <JT-Shop> I'm looking for mine
[15:25:41] <lunada> awesome, thanks
[15:26:32] <andypugh> This CNC lark is great. I am sat here at IRC while my lathe chews away at a chuck backplate. (By definition pretty close to the machine limits, so not taking a huge depth of cut)
[15:27:08] <lunada> benchtop lathe?
[15:27:47] <andypugh> I have an ssh session open, so i can see the spindle encoder feedback signal in a little window on my Mac screen, to check that the clutches are not slipping.
[15:28:22] <andypugh> lunada: No, the lathe is in the garage and I am in the house.
[15:29:22] <andypugh> You would need a reasonably strong bench for the lathe, it’s this one: https://goo.gl/photos/M5yTpLUytCCwZwrw9
[15:30:23] <lunada> that's a nice looking lathe. looks like an old monarch
[15:30:44] <andypugh> It’s a Holbrook, the UK equivalent.
[15:31:07] <lunada> i used to run a couple small monarchs with the gauge on it like that
[15:31:07] <andypugh> Did you notice the depth of the bed?
[15:31:31] <JT-Shop> lunada: my BP mill config http://gnipsel.com/files/bp/BP-Touch/
[15:32:59] <lunada> yes andypugh, is there a coolant tank below?
[15:33:15] <lunada> awesome, thanks jt-shop, that will help a lot
[15:33:31] <andypugh> Indeed. But I haven’t filled it yet, as there is still no splashback or guards.
[15:33:48] <lunada> can i just edit the 5i25 to say 6i25?
[15:34:12] <andypugh> It’s prety likely that the 6i25 pins call themselves 5i25 anyway
[15:34:29] <lunada> only difference is pci vs pcie, right?
[15:34:31] <andypugh> You probably want to get a pin list. Do this:
[15:34:34] <andypugh> halrun
[15:34:38] <JT-Shop> http://www.mesaus.com/info/mesa-pins.txt
[15:34:42] <andypugh> loadrt hosmot2
[15:34:48] <andypugh> loadrt hm2_pci
[15:34:51] <JT-Shop> the above is what Andy is telling you
[15:34:52] <andypugh> show pin
[15:34:55] <andypugh> show param
[15:35:17] <lunada> perfect
[15:35:49] <lunada> i need field power though?
[15:36:18] <andypugh> Yes, the GPIO processor is powered from the field power
[15:36:22] <JT-Shop> to get the I/O pins yes
[15:36:38] <lunada> ah ok. i can hook that up
[15:36:54] <andypugh> It only needs to be 5V at this stage, I think.
[15:37:08] <pcw_mesa> andypugh not sure you saw this: (should you read this later) the Broadcom has about 16X better accuracy : ~1/16000 of a turn vs 1/1029 (and 512x as much velocity resolution)
[15:37:34] <andypugh> Sounds nice.
[15:37:54] <JT-Shop> FIELD POWER 8-32V
[15:37:57] <andypugh> I found something broadly similar on eBay for £70, but it is CANOpen protocol.
[15:38:03] <pcw_mesa> vs the all magnetic encoder
[15:38:39] <andypugh> I really ought to be able to do something with a position.txt and the resolver position.
[15:38:45] <lunada> i have a 24v ps i'll be using so i can just hook it up now. it's basically the last thing i need to wire.
[15:39:22] <andypugh> This machine is not going to slip a full motor turn with the power off.
[15:39:29] <pcw_mesa> Yeah position.txt should be good enough
[15:39:44] <andypugh> OK, zero spindle speed, it much have finished :-)
[15:41:15] <lunada> i wish the 7i73 had terminals on it
[15:41:47] <lunada> i'm low on room in my box and i need some extra i/o for my pendant
[15:42:05] <pcw_mesa> Yeah I intend to make a version with 0.1" spingclips but have not got around to it
[15:43:42] <lunada> that would be cool
[15:44:21] <lunada> i think i'll use the 7i84 for now
[15:45:11] <JT-Shop> I have them in stock
[15:46:16] <lunada> great, i'll order one up next week. it should be reasonably fast enough for a mpg, right?
[15:47:15] <lunada> i guess i can figure that out easy enough
[15:47:53] <JT-Shop> you could put ribbon cables in the 7i73 and make flying leads out of them
[15:48:38] <lunada> yea i was thinking about that too.. i'll have to count the other inputs i need and see if 8 will be enough. i think it is
[15:48:57] <lunada> i have the 7i77 completely fulll
[15:49:14] <JT-Shop> http://mesaus.com/index.php?route=product/product&path=72&product_id=103
[16:28:45] <Deejay> gn8
[17:10:03] <Tom_L> JT-Shop,
[17:10:33] <Tom_L> the channel header is missing in the individual log pages
[17:10:48] <Tom_L> zlog
[17:11:09] <Tom_L> like you see there
[17:11:38] <Tom_L> maybe you removed it due to the calendar but it was a nice feature i though
[17:21:48] <JT-Shop2> opps
[17:22:40] <Tom_L> it's c-log now
[17:22:51] <Tom_L> so they both won't trigger at once
[17:24:01] <JT-Shop2> log
[17:24:01] <c-log> JT-Shop2: Today's Log http://tom-itx.no-ip.biz:82/~tom-itx/irc/logs/%23linuxcnc/2016-12-21.html
[17:24:11] <JT-Shop2> all you have to type is log
[17:24:45] <Tom_L> it prevents the other one from triggering then
[17:24:49] <JT-Shop2> yea the header is in the log header, fix in the morning
[17:25:11] <Tom_L> i'll let it run a bit this evening if you wanna mess around
[17:25:26] <Tom_L> i'll put fresh log copies once you have a conversion tool for them
[17:25:33] <JT-Shop2> ok
[17:25:50] <JT-Shop2> I'll be working on the new shop building the rest of the night
[17:26:08] <JT-Shop2> need to frame out for the chimney support
[17:26:17] <Tom_L> my arse will be chained to the easy chair
[17:26:36] <JT-Shop2> magnet ass switch turned on?
[17:26:45] <Tom_L> definitely
[17:27:09] <Tom_L> one thing i noticed was on an empty log, if you enquire the bot you get a page not found
[17:27:27] <Tom_L> i'm not sure the other bot did that or if it appended the log url first then presented the page
[17:28:07] <Tom_L> may not happen that often
[17:28:29] <andypugh> Why is cheap tooling never as good as expensive tooling? https://youtu.be/2HxVbGlKqCc
[17:29:26] <andypugh> I can’t decide whether to send it back or try to correct it.
[17:31:17] <Tom_L> i think i'd return that
[17:37:50] <Nick-Shop> If you paid money for that - absolutely send it back try another brand or country
[17:42:02] <JT-Shop2> Tom_L: you can let it run all night if you want to see if any issues show up
[17:42:22] <JT-Shop2> I can fix an empty log not found thanks for the feedback
[17:43:36] <Tom_L> i'll let it run
[17:43:58] <Tom_L> jymm suggested making url's logged if clicked on have them open in a new window
[17:44:07] <andypugh> But, Nick, they say I won’t find a better one anywhere else: http://www.warco.co.uk/lathe-collet-chucks/259-5c-precision-collet-chuck.html
[17:45:09] <CaptHindsight> testing cq cq cq dx cq cq cq dx
[17:45:18] <JT-Shop2> Tom_L: I think that is a local setting but I might be full of crap
[17:45:26] <Tom_L> i know i am :D
[17:45:43] <Tom_L> i can right click and have it open a new window
[17:45:59] <Tom_L> however i've seen links that when clicked open a new window on their own
[17:46:15] <Tom_L> not sure how to trigger that feature
[17:46:31] <CaptHindsight> neato
[17:47:25] <Tom_L> andypugh i think the're full of crap. if the outside is running true the inside should as well
[17:47:46] <andypugh> That does seem like a pretty basic part of the spec, I would think, yes.
[17:48:52] <Tom_L> you should just write a comp to follow the profile
[17:48:53] <Tom_L> :D
[17:51:40] <JT-Shop2> ah I remember now it only works if it is a link in a web page and you set the target="_blank"
[17:56:30] <sync> andypugh: it is not like the outside is a working surface
[17:58:32] <gregcnc3> Bison are good but probably 4-5 times the price
[17:58:35] <andypugh> sync: No, I could cope with a wobbly outer if the inner was true. But it is mounted on machined-in-place backplate. There really isn’t any excuse.
[18:00:13] <Nick-Shop> <andypough> then ask for one that has been ground properly. Looks just like sloppy work - good enough mentality
[18:01:59] <sync> andypugh: just make the backplate loose so you can adjust
[18:02:03] <sync> no big deal
[18:02:59] <andypugh> sync: It might come to that, but I paid money for a “precision” chuck, so lets see if they actually have any.
[18:03:20] <Nick-Shop> If they can get a non-critical surface right--- Also, did you stone the spindle face for raised burrs that you can't see before mounting it?
[18:03:52] <andypugh> Yes, I did stone the face. Mainly because it was rocking on the backplate!
[18:04:30] <andypugh> (That’s another feature I am less than ecstatic about).
[18:05:12] <Wolf_> I see a low likelihood that somehow the outside of it ended up with no runout but the bore is running out due to a burr :D
[18:05:39] <sync> the more interesting measurement is how straight the bore is andypugh
[18:05:56] <sync> chuck a pin up and measure runout at a few different places
[18:06:22] <andypugh> I put a drill in a collet, and that was _awful_. I might have a bad collet too.
[18:06:27] <JT-Shop2> I've had enough standing on the top of an 8' ladder... break time
[18:07:27] <andypugh> sync: The straightness of the bore is my main concern, and why I am not so keen to re-machine the taper. A true taper and a wonky bore is not going to lead to great results.
[18:07:57] <JT-Shop2> willy wonka
[18:08:33] <Nick-Shop> if the collet taper is running out- you're done-what is the indicator resolution?
[18:08:43] <sync> not really Nick-Shop
[18:08:51] <sync> you can easily machine the taper on a 5c collet
[18:09:31] <andypugh> Nick-Shop: That’s a metric indicator, 0.1mm runout.
[18:09:39] <Nick-Shop> your buying a new part-not reworking their product
[18:11:17] <Nick-Shop> 0.01 per line? I have to convert to imperial
[18:12:00] <JT-Shop2> say goodnight Gracie
[18:12:51] <Tom_L> good night gracie
[18:15:51] <gregcnc3> you could.... http://www.cnccookbook.com/CCColletChuck.htm
[18:16:20] <Nick-Shop> me too - tired of separating hydraulic oil from the coolant in the brownie
[18:19:27] <gregcnc3> andypugh, I got one of those hardinge sjorgen chucks I asked about, and that indicated .0002" on a threaded backplate i could probably make a better backplate now
[18:19:49] <andypugh> Oh, he’s gone. That’s 4 thou runout.
[18:20:01] <TurBoss> Hi
[18:20:23] <TurBoss> I updated linuxcnc master to the latest
[18:20:33] <TurBoss> but i get this error:
[18:20:35] <TurBoss> http://dpaste.com/2X2GWN6
[18:21:01] <TurBoss> can't figure out what causes the error
[18:21:52] <TurBoss> built from sources
[18:22:02] <TurBoss> just 5 mins ago
[18:40:30] <TurBoss> ok an X forward problem
[18:40:46] <TurBoss> but i did this before
[18:40:47] <TurBoss> :D
[18:40:52] <TurBoss> on master
[18:41:43] <TurBoss> glxgears also fails but stepconf works
[18:41:50] <TurBoss> so opengl related issue
[19:00:51] <TurBoss> ok found the issue : ForwardX11 yes on the client :D
[19:01:03] <TurBoss> i was able in the past because was on windows ...
[19:02:31] <TurBoss> errr no not fixed but well not related to linuxcnc :D
[19:03:10] <jdh> excellent
[19:22:29] <TurBoss> now I'm getting ·config string '0x378 out'"
[19:22:55] <TurBoss> [ 11.532279] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
[19:22:57] <TurBoss> dmesg
[19:23:18] <TurBoss> why there are 2 offsets?
[19:23:31] <TurBoss> well directions
[19:28:46] <pcw_mesa> parallel ports have a extended control register set at some offset (usually 0x400) from their base address
[19:32:49] <TurBoss> ah makes sense
[19:34:59] <TurBoss> what is the recomended config for a parport in the bios? spp, epp, ecp or epp+ecp?
[19:42:35] <lunada> so i did pfcconf wizzard and tried to set up my machine.... i went through the whole process and then tried to run axis.... it gave me an error that said hm2_5i25.0.7i77.0.0.output-00 could not be found
[19:48:44] <lunada> then i ran halcmd show pin and it listed all the pins as hm2_5i25.0.gpio.###.in, etc
[19:49:26] <lunada> is it a format issue with the way it created the hal file?
[19:51:26] <pcw_mesa> No, its more likely that you dont have the 7I77 powered up
[19:52:34] <zeeshan> pcw_mesa: i got a q for you
[19:52:49] <zeeshan> i likely will have a lot of outputs to just handle w/ 1 7i77
[19:52:57] <zeeshan> to add a second 7i77
[19:53:02] <pcw_mesa> though if "show pin" doesn't show any encoder pins for example something deeper is wrong
[19:53:13] <zeeshan> do i have to just connect the sserial cable to the new card?
[19:53:21] <zeeshan> and power the new card from the same power supply?
[19:53:47] <pcw_mesa> you can but if you just need digital I/O I would add a 7I84
[19:54:09] <pcw_mesa> (or if you only need outputs, a 7I71/7I72)
[19:54:32] <zeeshan> might be both i/o
[19:54:43] <zeeshan> is there anyway i can read analog pressure
[19:54:46] <zeeshan> directly into the cards?
[19:55:04] <zeeshan> i will have pressure transducers on the tail stock, chuck
[19:55:06] <pcw_mesa> a 7I84 is basically the digital I/O part of the 7I77
[19:55:13] <zeeshan> and would like to monitor them directly through linuxcnc
[19:55:25] <zeeshan> last time i checked there was no analog in
[19:55:30] <pcw_mesa> if you can use low res you can use a 7I77 input
[19:55:47] <zeeshan> hmm
[19:56:05] <lunada> it shows encoders PCW_mesa
[19:56:23] <lunada> i'll check to see if it has power.... i know i saw an LED on the 7i77
[19:56:36] <zeeshan> low res = 12 bit adc? :D
[19:56:43] <pcw_mesa> 8 bit
[19:56:55] <zeeshan> that might be okay ill need to do the math
[19:57:10] <zeeshan> the pressure transducer will prolly be in the 0-1000psi range for the tail stock
[19:57:16] <TurBoss> Im getting this error at start http://dpaste.com/2XG3C02 , nothing on dmesg
[19:57:19] <zeeshan> so +/- 20 psi wouldn't really hurt anything
[19:57:40] <pcw_mesa> so 4 bits is enough :-)
[19:57:44] <zeeshan> i guess ill need to try to find a 0-24v sensor
[19:57:46] <zeeshan> to increase resolution
[19:57:51] <zeeshan> but i've never seen that before :)
[19:58:31] <zeeshan> btw i talked to amc
[19:58:37] <zeeshan> they recommended their axcent drives
[19:58:42] <pcw_mesa> 0 to 10V would give you about 2 PSI resolution to 160 PSI
[19:59:50] <pcw_mesa> or 12 PSI resolution to 1000 PSI
[19:59:56] <zeeshan> that works :D
[20:00:41] <pcw_mesa> you can add a 7I87 to get 8 channels of 12 bit +-10V A-D
[20:01:16] <zeeshan> if i use a 0-5v transducer
[20:01:18] <pcw_mesa> but that seems overkill for pressure sensing unless its critical
[20:01:19] <zeeshan> can't i use the encoder ports?
[20:01:25] <zeeshan> encoder pins
[20:02:01] <zeeshan> it's mostly there to detect a loss of clamping pressure below a certain value
[20:02:12] <zeeshan> like if i have tail stock set at 500psi
[20:02:29] <zeeshan> in reality, it could drop to 300psi and still not let go of the part
[20:02:41] <zeeshan> so i would prolly set my threshold to 400-500
[20:03:43] <pcw_mesa> you could also just use a pressure switch...
[20:03:55] <zeeshan> it varys depending on the situation
[20:04:05] <zeeshan> you can't put 500psi on a 1/2" diameter rod
[20:04:14] <zeeshan> but its ideal for a 2" bar
[20:04:26] <zeeshan> which is why i was looking to use a pressure transducer not a switch
[20:04:57] <pcw_mesa> ahh so there's a regulator you adjust?
[20:05:04] <zeeshan> yes
[20:07:00] <pcw_mesa> well the 7I77 input is basically free (I guess the input resistor network could be changed for 10V FS on the Analog ins)
[20:10:48] <Duc_mobile> are you using a programmable air regulator for this setup
[20:11:04] <Duc_mobile> some take a analog in for setting the pressure
[20:11:34] <andypugh> what happened to lunada?
[20:12:08] <andypugh> (reading back, it is like lunada turned into zeeshan)
[20:16:00] <TurBoss> linuxcnc crash on start the only feedback i got is http://dpaste.com/2XG3C02
[20:16:13] <TurBoss> does anyone know what it means?
[20:16:56] <TurBoss> http://dpaste.com/0VEX11C
[20:17:04] <TurBoss> linuxcnc_print.txt
[20:17:11] <lunada> nope im here
[20:17:34] <lunada> it was a jumper on the 6i25, you were correct PCW
[20:22:53] <andypugh> TurBoss: I agree, that’s not a very helpful set of errr messages
[20:23:34] <andypugh> TurBoss: Anything in dmesg?
[20:23:39] <TurBoss> not
[20:23:41] <TurBoss> clean
[20:23:45] <TurBoss> did a dmesg -c
[20:23:51] <TurBoss> and run lcnc
[20:24:11] <TurBoss> i have to say tha I'm on Arch linux
[20:24:22] <andypugh> Which realtime version are you using?
[20:24:38] <andypugh> RTAI or PREEMPT-RT =?
[20:24:40] <TurBoss> the one from Aur linux-rt, let me check
[20:25:21] <TurBoss> it points to kernel.org
[20:25:22] <TurBoss> https://aur.archlinux.org/packages/linux-rt/
[20:25:50] <TurBoss> the sample config "by_interface/parport/steper" works
[20:26:08] <andypugh> what does uname -a say?
[20:26:42] <TurBoss> 4.8.11-rt7-2-rt
[20:27:04] <TurBoss> just that
[20:27:17] <TurBoss> Linux turbocnc 4.8.11-rt7-2-rt #1 SMP PREEMPT RT Fri Dec 16 19:20:20 CET 2016 x86_64 GNU/Linux
[20:27:20] <TurBoss> sorry
[20:27:23] <TurBoss> i typed -r
[20:27:29] <Tom_L> zeeshan automate the pressure regulator too
[20:27:45] <andypugh> Yes, that’s what I guessed, PREEMPT RT
[20:28:11] <andypugh> Which is fine, I just dont know where it sends the debug output.
[20:28:35] <TurBoss> I'm on master from 1h ago
[20:29:12] <TurBoss> I'm using joints
[20:29:18] <andypugh> Are you starting linuxcnc from the command line or GUI? I am guessing your first pasted was command-line output?
[20:29:39] <TurBoss> ./scripts/rip-environment linuxcn
[20:29:44] <TurBoss> c
[20:30:08] <andypugh> Should work.
[20:30:42] <TurBoss> :)
[20:31:09] <TurBoss> can i upload the config?
[20:31:34] <andypugh> Any embedded tabs or userspace components? My experience is that when LinuxCNC fails to load with absolutely no clue why it is typically a syntactically invalid PyVCP or GladeVCP element.
[20:32:18] <TurBoss> ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhH!!!!!
[20:32:20] <TurBoss> could be
[20:32:36] <andypugh> So, I would start by commenting out all but one HAL file in the INI and the EMBED_TABS and add them back in one at a time.
[20:32:47] <TurBoss> ok let me a sek
[20:33:13] <TurBoss> and a missing component...
[20:33:17] <TurBoss> phew
[20:33:22] <TurBoss> i forgot abou
[20:33:43] <TurBoss> i'm moving from debian to the new machine
[20:33:53] <TurBoss> u know
[20:39:08] <TurBoss> hurray!!!!
[20:39:14] <TurBoss> thx andypugh
[20:39:19] <TurBoss> was that
[20:39:34] <TurBoss> thank you
[20:40:02] <andypugh> It’s hard to document “if there is no clue what is wrong, try this”
[20:40:33] <TurBoss> was a pyvcp and a python component missing
[20:40:46] <andypugh> But I have made so many broken configs I rather recognise the signs.
[20:40:58] <TurBoss> :D
[20:41:09] <TurBoss> experience is named
[20:41:16] <TurBoss> or called
[20:43:53] <TurBoss> andypugh: what do you think that could be the cause the pyvcp or the component?
[20:44:05] <TurBoss> i want to open a githu issue
[20:44:43] <TurBoss> I got berserk and commented all the stuff
[20:45:00] <TurBoss> so now no pyvcp or pycomponents load
[20:45:17] <TurBoss> and works
[20:45:18] <andypugh> Probably the PyVCP. Is it your own creation, or did you get it from somwhere?
[20:45:31] <TurBoss> mine
[20:45:34] <TurBoss> a simple led
[20:46:21] <andypugh> What is the line in the INI that loads it?
[20:46:23] <TurBoss> for a relay board
[20:47:08] <TurBoss> #PYVCP = turbo_willy.xml
[20:48:24] <andypugh> can you pastebin the XML? (www.pastebin.ca seems to be up at the moment)
[20:49:11] <TurBoss> sure
[20:49:12] <TurBoss> sek
[20:50:17] <TurBoss> andypugh: http://dpaste.com/2FE6RHB
[20:51:01] <TurBoss> http://dpaste.com/0P4ENTD the hal
[20:51:22] <andypugh> Well, that looks too simple to fail. What happens if you un-comment just the PyVCP?
[20:51:28] <TurBoss> ok
[20:52:01] <TurBoss> works
[20:52:16] <TurBoss> then... is the component :P
[20:53:09] <andypugh> Seems to be
[20:53:15] <andypugh> What’s the component?
[20:53:20] <TurBoss> sek
[20:53:27] <TurBoss> i have to turn on the machine
[20:53:55] <andypugh> Is a custom component written in .comp ?
[20:54:12] <TurBoss> in py
[20:54:13] <TurBoss> loadusr -W /home/jauria/linuxcnc-components/turbowilly.py
[20:54:22] <TurBoss> i suspect about this line
[20:54:28] <TurBoss> in the hal
[20:54:44] <TurBoss> is missing on the new hardware
[20:54:53] <andypugh> The name of the file and the component have to match.
[20:55:10] <Jymmmm> O_o
[20:55:12] <TurBoss> so a missing python component makes silently fail?
[20:55:36] <andypugh> It’s more subtle than that.
[20:55:52] <TurBoss> sek i have the machine in other room
[20:55:56] <TurBoss> connecting
[20:56:13] <andypugh> -W is waiting for a HAL component called “/home/jauria/linuxcnc-components/turbowilly.py” to declare itself ready. I don’t see that happening.
[20:56:50] <TurBoss> http://dpaste.com/2W5AA22
[20:57:05] <andypugh> You could try -Wn followed by the actual name of the HAL component once loaded
[20:57:21] <TurBoss> ok
[20:57:35] <TurBoss> with the componen in place?
[20:57:49] <andypugh> Try loadusr -Wn turbowilly /home/jauria/linuxcnc-components/turbowilly.py
[20:58:44] <andypugh> That waits for “turbowilly” to appear as a HAL function after loading the file
[20:58:52] <TurBoss> ok
[20:58:55] <Jymmmm> andypugh: (Is the blank line #57 a python syntax requirement?
[20:58:58] <Jymmmm> )
[20:59:29] <andypugh> No, and it _might_ be a problem.
[20:59:34] <TurBoss> oh
[20:59:50] <andypugh> But I would expoect to see a Python moan if it was
[21:00:39] <Jymmmm> andypugh: I don't know python other than it's esoteric indents, was just tyring to learn a lil =)
[21:01:17] <Jymmmm> And it's whitespace sensative =)
[21:01:33] <Jymmmm> Such a drama language <rolls eyes>
[21:01:48] <TurBoss> andypugh: do you mean this ? http://dpaste.com/3534PD7
[21:03:15] <andypugh> If you are using -Wn then the next thing needs to be the component name
[21:03:38] <andypugh> So, I really did mean loadusr -Wn turbowilly /home/jauria/linuxcnc-components/turbowilly.py
[21:04:12] <andypugh> You will often see the component name repeated 4 times in that line.
[21:04:52] <andypugh> Use this name, wait for this component, use this name in HAL, use this file.
[21:07:06] <TurBoss> ok
[21:07:16] <TurBoss> with the component in place i get this : http://dpaste.com/1ZN6YFJ
[21:07:56] <TurBoss> phew
[21:10:08] <andypugh> Hmm. Now you do have an error message, but I have no idea what it means.
[21:10:27] <TurBoss> Arch call python 2.7 bin python2
[21:10:33] <TurBoss> could be a problem?
[21:10:46] <TurBoss> and python 3 python
[21:11:35] <TurBoss> when compiling I used this line: ./configure --enable-non-distributable --with-python=/usr/bin/python2.7 --with-boost-python=/usr/lib/libboost_python.so
[21:12:01] <TurBoss> to specify the python interpreter
[21:14:02] <andypugh> To be honest, I am now out of my depth
[21:14:21] <TurBoss> well i apreciate your help
[21:14:28] <TurBoss> at least i can run lcnc
[21:14:30] <TurBoss> :)
[21:15:20] <andypugh> It looks like your Python is struggling with “import hal”
[21:22:49] <dioz> i need to run this little punk bitch into the ground
[21:23:05] <dioz> 2 years ago i did a career change
[21:23:15] <dioz> i was workin in IT and i switched to sheet metal trade
[21:23:44] <dioz> i spent 13 years in IT
[21:23:59] <TurBoss> I'm an IT guy but now i'm on cad/cam :P
[21:24:11] <dioz> i've always been around to help people shingle or dig or swing a hammer
[21:24:13] <TurBoss> only 6 years
[21:24:27] <dioz> so it just seemed right. anyways there's this guy who's about 4 years younger than me
[21:24:34] <dioz> and he's a stage higher than me in the apprentice ladder
[21:24:46] <dioz> my motto is "pick up the pace or get replaced"
[21:24:53] <dioz> i wanna work this kid out of a job
[21:25:20] <dioz> he's bitchin about $20/day to drive his own truck to work
[21:25:24] <dioz> i've never heard of this before
[21:25:36] <dioz> he seems to think it's justifiable however
[21:28:30] <andypugh> Jealousy aside, you can’t generally claim any extra money for travel to your normal place of work. (the assumption being that you took on the job knowing where it was). If you are expected to work somewhere other than the “normal place of work” then expenses are payable. For example when I am asked to fly to foreign parts I am paid a milage allowance for the difference between the distance from my house to work a
[21:28:30] <andypugh> my house to the airport.
[21:43:38] <Wolf_> lol, $20/day for his own truck eh? get some POS that doesnt guzzle gas then
[21:47:33] <andypugh> Eek! is that the time?
[21:47:37] <andypugh> Night all
[21:47:42] <TurBoss> andypugh: found the issue : #!/usr/bin/ python2
[21:47:45] <TurBoss> bahh
[21:47:54] <TurBoss> just in time
[21:48:03] <TurBoss> not sure if it read it :D
[22:04:45] <zeeshan> hm
[22:04:50] <zeeshan> so i just found out the motor on my turrett is this:
[22:04:54] <zeeshan> http://i.imgur.com/SmYjpV4.jpg
[22:05:03] <zeeshan> how in the world will i index a 3 phase motor!?!
[22:07:38] <enleth> zeeshan: aren't there any sensors, detent mechanisms or something like that?
[22:08:08] <zeeshan> there should be
[22:08:12] <zeeshan> they arent immediately visible to me tho
[22:08:43] <zeeshan> so youre basically saying
[22:08:47] <zeeshan> turn the motor on
[22:08:50] <zeeshan> till a switch is depressed?
[22:08:58] <zeeshan> it can overshoot tho?
[22:11:31] <enleth> there really should be some kind of locking mechanism on a turret
[22:11:49] <enleth> it might be something like a ratchet
[22:11:58] <enleth> so you overshoot, then go back a little?
[22:12:36] <enleth> what did the original control do?
[22:13:11] <enleth> did it just apply 3ph 50/60Hz directly through a contactor?
[22:14:34] <zeeshan> i dont know
[22:14:39] <zeeshan> i dont have electrical diagrams
[22:14:40] <zeeshan> :/
[22:14:44] <enleth> what kind of gearing is used to connect the motor to the turret shaft?
[22:14:59] <zeeshan> i'll need to rip it out
[22:15:01] <zeeshan> to find out
[22:15:06] <zeeshan> right now i think it uses a bevel gear
[22:15:13] <zeeshan> cause the motor is 90 degrees to the axis of turret rotation
[22:15:21] <zeeshan> http://i.imgur.com/UvBLgEQ.jpg
[22:15:26] <zeeshan> you can see the motor's fan cover here
[22:15:48] <zeeshan> i'm slowly trying to clean this damn machine up
[22:15:54] <zeeshan> poor thing is so dirty :D
[22:15:56] <enleth> if I had to design a turret with a motor like that, I'd use a worm gear and a one-way detent with a switch
[22:16:15] <enleth> so you go forward and count switch presses as the turret rotates
[22:17:12] <enleth> then stop when you reach the commanded position
[22:17:19] <zeeshan> http://i.ebayimg.com/images/g/ZN0AAOSwkEVXGn9O/s-l1600.jpg
[22:17:24] <enleth> and rotate back into a hard stop which engages a detent
[22:17:24] <zeeshan> found the same motor on ebay
[22:17:26] <zeeshan> off my machine
[22:17:37] <zeeshan> got a spur gear in the front
[22:17:59] <enleth> have you tried just turning it on?
[22:18:05] <zeeshan> no
[22:18:09] <zeeshan> that usually brakes stuff :p
[22:18:11] <zeeshan> breaks
[22:18:39] <enleth> like, connect it through a contactor with a momentary switch and a low-rated breaker
[22:18:49] <zeeshan> i dont have 3 phase
[22:18:52] <zeeshan> i will need to get a VFD
[22:19:00] <zeeshan> luckily its 0.2kw
[22:19:02] <zeeshan> thats nothing :)
[22:19:04] <enleth> even better in a way
[22:19:32] <zeeshan> it'd be so nice to get hydraulic and electrical diagrams for htis machine
[22:19:35] <zeeshan> so i remove all the guess work
[22:19:38] <enleth> get a VFD, set it to 1Hz or something like that and configure the software current limit properly
[22:19:43] <enleth> and try to run it
[22:19:53] <zeeshan> it wont like that
[22:20:01] <zeeshan> because you need to unlock the turrett first
[22:20:23] <zeeshan> i think its a belleville stack or the likes
[22:20:23] <enleth> is the lock electric or hydraulic?
[22:20:29] <zeeshan> which is unlocked using hydraulics
[22:20:37] <zeeshan> thgeres a direction valve on the turrett
[22:20:44] <enleth> oh, well
[22:20:53] <zeeshan> my first step on the rebuilding of this machine
[22:20:55] <zeeshan> is rebuild this:
[22:20:59] <zeeshan> http://i.imgur.com/hDAi6x7.jpg
[22:21:12] <zeeshan> one step at a time!
[22:21:24] <zeeshan> i ordered a vfd for that guy
[22:21:35] <zeeshan> i contacted nachi for a rebuild kit
[22:22:21] <enleth> anyway, I'd still expect either a one-way detent, or just a detent that kind of lets the turret rotate until it reaches the next indexable position and re-locks again unless actively held disengaged
[22:22:52] <enleth> and strong enough that it just overpowers the motor and lets it stall for a short while as the control powers it off
[22:23:33] <zeeshan> maybe thats why its a 0.2kW motor
[22:23:46] <zeeshan> rotating a 200lb turrett plate
[22:23:46] <zeeshan> :D
[22:24:04] <enleth> there might be a slip clutch somewhere in there too
[22:25:08] <enleth> or maybe the clutch is hydraulic and reaching an indexable position just disengages it immediately in addition to locking the turret in place
[22:26:35] <enleth> has to be something like that
[22:42:51] <pink_vampire> hi
[22:43:41] <Tom_L> zeeshan what is that last pic?
[22:43:50] <Tom_L> what part of the lathe
[22:43:54] <zeeshan> hydraulic power pack
[22:44:05] <Tom_L> is it broke?
[22:44:07] <zeeshan> no
[22:44:10] <zeeshan> need to clean it up
[22:44:11] <zeeshan> and go over it
[22:44:15] <Tom_L> don't fix it then
[22:44:16] <zeeshan> might as well rebuild
[22:44:19] <zeeshan> nahh man
[22:44:24] <zeeshan> it'll come back to haunt me later :P
[22:44:36] <zeeshan> mostly going to replace seals
[22:44:39] <zeeshan> and replace filter
[22:44:41] <Tom_L> i can see this project turning into years
[22:44:53] <zeeshan> i'm in no rush
[22:45:45] <Tom_L> by the time you get done converting everything you may as well pay to have 3phase brought in
[22:46:01] <zeeshan> it's not about converting everything to single phase
[22:46:02] <zeeshan> that's easy
[22:46:06] <zeeshan> thats just buying servo drives and vfds
[22:46:15] <zeeshan> its about learning each component and how it works
[22:46:23] <Tom_L> i understand that
[22:46:34] <zeeshan> and it's not meant to be cheap either
[22:46:53] <Tom_L> you need a rice hat to figure it out
[22:47:00] <zeeshan> yes
[22:47:28] <zeeshan> i'd never want to do this sort of thing on a brand new machine
[22:47:30] <zeeshan> !
[22:47:38] <Tom_L> http://cdn-tp2.mozu.com/16647-m1/cms/files/647451bd-c971-4958-9bfe-197e6110bbeb?_mzts=636075562240000000
[22:47:42] <Tom_L> how about that one?
[22:47:51] <zeeshan> only if she comes with it
[22:50:01] <Tom_L> what are you using to clean the grime off?
[22:50:05] <Tom_L> simple green?
[22:50:15] <zeeshan> zep purple power
[22:50:32] <zeeshan> i wish it was summer
[22:50:37] <zeeshan> i could power wash this!
[22:50:44] <Tom_L> it was warmer today
[22:50:52] <zeeshan> everything is frozen here :{
[22:51:04] <Tom_L> almost felt like summer after that -9 deg day
[22:51:11] <zeeshan> haha
[22:56:53] <TurBoss> gn8