#linuxcnc Logs

Mar 09 2017

#linuxcnc Calendar

12:30 AM cncnoob: Howdy
12:32 AM cncnoob: If 0 is home for X Y Z, should this gcode always take me home?
12:32 AM cncnoob: G91 G28 Z0
12:32 AM cncnoob: G28 X0 Y0
12:59 AM cncnoob: When I don't have a program loaded G91 G28 Z0 takes my z axis to it zero position as expected, but with my program loaded it drives my Z axis down several inches
01:01 AM Wolf_: program is probably using a offset table
01:07 AM Cromaglious_: cncnoob read this page http://wiki.linuxcnc.org/cgi-bin/wiki.pl?CoordinateSystems
01:07 AM Cromaglious_: G10 L2 P1 X0 Y0 Z0
01:08 AM Cromaglious_: sets G54 to same as machine coordinates
01:10 AM Cromaglious_: 4.9.13-rt12 is booting... Just not mounting / and complaining about some HID modules argh&*(&
01:13 AM roycroft: i thought i pasted some stuff about what version to use last night
01:13 AM roycroft: wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.1.15.tar.xz
01:13 AM roycroft: wget https://www.kernel.org/pub/linux/kernel/projects/rt/4.1/older/patch-4.1.15-rt17.patch.gz
01:13 AM roycroft: that's what i was told to use and it worked fine
01:13 AM Wolf_: I used newest when I did mine, works ok
01:14 AM roycroft: i used what i was told works
01:14 AM roycroft: and i've been tweaking operating systems for so long i'm utterly bored with that
01:14 AM roycroft: so i shall wait until i'm told something newer works before upgrading :)
01:15 AM Wolf_: I asked pcw, seems he uses whatever, just ymmv depending on cpu and kernel, and other hardware of course
01:15 AM Wolf_: I had to go with newer to get all my hardware to work
01:16 AM roycroft: i would trust what pcw ways
01:16 AM roycroft: says
01:17 AM Wolf_: I think the exact answer was pretty much it varies lol
01:17 AM roycroft: yes
01:17 AM roycroft: and mayhap i just got lucky that my hardware works with that particular kernel
01:18 AM Wolf_: newer kernel might kick back higher latency/jitter but not enough to matter if you aren’t doing step gen onboard
01:19 AM Wolf_: IIRC
01:19 AM roycroft: i have a 5i25
01:21 AM Wolf_: hmm, 2.5w blue laser to mess with while setting up the big laser machine… good/bad idea lol
01:21 AM roycroft: my system board is an old atom that i bought a few years ago, based on recommendations on this channel
01:22 AM roycroft: that may be why an older kernel works fine with it
01:22 AM roycroft: the board is way older than the kernel
01:22 AM Wolf_: yeah, I got the one that wasn’t the recommended one lol
01:22 AM Wolf_: missed a letter on the model number
01:22 AM roycroft: the funny thing is, i bought that because it has fairly low latency
01:23 AM roycroft: and i could probably use the parallel port to drive my linuxcnc controller hardware
01:23 AM roycroft: but i got the mesa stuff anyway
01:24 AM SpeedEvil: Wolf_: With appropriate goggles
01:24 AM SpeedEvil: Wolf_: though 6W blue diodes are quite cheap
01:24 AM SpeedEvil: $100 or so
01:25 AM roycroft: donut put your eye out with the laser!
01:25 AM Wolf_: 2.5w w/ TTL board and goggles <$100 dhl shipped
01:27 AM Wolf_: should work to iron out any kinks with the frame and controller :)
01:28 AM Cromaglious_: I haven't played with compiling kernel in 10 years...
01:28 AM Cromaglious_: and back in the 1.3.xxx days... sheeshz... I was compiling every week
01:28 AM Wolf_: I’ve done it 3 times, all in December
01:28 AM Wolf_: in the span of 4 days
01:29 AM roycroft: i spent years doing that stuff
01:29 AM * Wolf_ had no idea wtf he was doing either
01:29 AM Wolf_: but my lcnc box seems to work lol
01:29 AM roycroft: as in while developing device drivers, sometimes compiling a dozen or two kernels/day
01:30 AM roycroft: back in another life
01:30 AM Wolf_: I need to learn more linux
01:34 AM Cromaglious_: I started using Linux in '94 when I got a distribution of PlanetConnect old K band satelite newsfeed
01:34 AM Cromaglious_: s/of/off/
01:35 AM Cromaglious_: bought a walnut Creek CDrom slackware with Aout 1.2.8 I think
01:35 AM Cromaglious_: switched to ELF with 1.2.13
01:35 AM roycroft: that was my bsd days still
01:36 AM roycroft: which continue, as i have several openbsd machines that i mange
01:36 AM roycroft: manage
01:36 AM roycroft: and i'm starting to use freenas, which is freebsd based
01:36 AM roycroft: but most of my servers these days run linux, mostly debian
01:36 AM Cromaglious_: been there done that too... I had a apollo work station with a 68010 running BSD
01:36 AM roycroft: i use the os that runs my apps
01:37 AM roycroft: i don't care what the os is as long as it runs the apps i need
01:37 AM roycroft: and lamp stuff, especially, is a lot easier to manage on linux than bsd these days
01:38 AM roycroft: or should i say "*amp stuff"
01:38 AM roycroft: because bamp is a thing
01:38 AM Cromaglious_: Used to work for Cyclades back when they were mainly multiport serial as tech support. FreeBSD, OpenBSD, Linux Redhat, Slackware, Suse, SCO, winbloz, dos
01:39 AM Cromaglious_: Another guy make a port of the drivers for Mac so he did all that...
01:40 AM Cromaglious_: Morning DeeJay
01:40 AM Deejay: moin
01:42 AM cncnoob: @cromaglious_ is that the best way to get the machine back to home on all axis? I'm trying to edit my post processor so when a tool change is requested the machine returns to home which will allow me room to change the tool.
01:45 AM Cromaglious_: G53 G0 Z0; G0 X0 Y0; (2 lines) will take it to home position
01:45 AM cncnoob: cool, I'll give that a try
01:46 AM cncnoob: for some reason the Camworks post processor on the linuxcnc forum uses G91 G28 Z0; G28 X0 Y0
01:46 AM cncnoob: Works if I paste it into MDI window, but not in my program
01:46 AM Cromaglious_: oops G53 on both lines
01:47 AM Cromaglious_: G91 is modal, G53 is not ( modal meaning does it still or only last that line)
01:47 AM Cromaglious_: s/till/stick/
01:53 AM MacGalempsy: good evening
01:54 AM Cromaglious_: cncnoob Linuxcnc doesn't let you rehome from Gcode. you can get a work around by using G38.x and setting some home switches for each axis in a common circuit and run to a input pin ala pin 10
01:55 AM Cromaglious_: http://linuxcnc.org/docs/2.6/html/gcode/gcode.html#sec:G38-probe
02:02 AM cncnoob: I don't want to re-home, I just want to go home
02:03 AM MacGalempsy: simple g co
02:03 AM MacGalempsy: de g92
02:04 AM cncnoob: The way the post processor is generating gcode now it raises the Z axis all the way up, but since my mill is small I don't have room to remove the tool because it will not clear the work
02:05 AM MacGalempsy: look at emcio
02:41 AM gonzo_: and remember to click your heals together, three times
02:46 AM gonzo_: heels
02:56 AM MacGalempsy: :D
03:29 AM gonzo_: quicky HAL question for the chan: Is there a fn that I can use to select a float value, based on other signals? I know of the MUXn, but my inputs are one line per value, rather than a binary input
03:30 AM gonzo_: my jog pendant has individual lines for each switch posn, rather than a muxed output. And I can't be arsed muxing them
04:03 AM archivist: er wot....what is confusing about using the mux comp
04:05 AM archivist: unintended side effects are a different problem though
04:16 AM gonzo_: I will have to mux the select lines in HW or HAL. Just being lasy
04:16 AM gonzo_: lazy
04:17 AM archivist: the trouble with muxing is the sudden change of level
04:27 AM MacGalempsy: what signals do you want to use?
04:41 AM gonzo_: what's the issue with the level change? The mux seeing the transitions ?
04:42 AM gonzo_: I have the switch outputs from the axis and rate selet switches on the pendant
05:00 AM MacGalempsy: ah. that sounds like a mux. I believe there is a walk-thru in the wiki for that exact scenario
05:01 AM MacGalempsy: the axis should be a straight up selection, but the increment is mux
05:05 AM archivist: it would be undesirable to switch a "position in" between two different levels, sudden movement
05:05 AM MacGalempsy: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant
05:07 AM MacGalempsy: some pendants have momentary switches for use while they are "active"
05:08 AM XXCoder: very stort series. https://i.imgur.com/0Zq18NY.jpg
05:11 AM MacGalempsy: next seen Mr White dies while on a waiting list for an operation.
05:17 AM MacGalempsy: adios amigos, tienen un buen dia
05:24 AM jthornton: morning
05:26 AM XXCoder: hey jt
05:26 AM XXCoder: whats up
05:26 AM jthornton: just waking up
05:29 AM XXCoder: cool
05:46 AM ripple: Mojn!
05:46 AM XXCoder: hey
05:47 AM ripple: whats some cool things you can do with a scara? are they generally not very strong? one like this for example. http://www.ebay.com/itm/Seiko-D-Tran-EC351S-Scara-Robot-SN10186-/322373656651?hash=item4b0ef7a04b:g:r~gAAOSwjDZYZTsd
05:48 AM XXCoder: interesting. no idea
05:49 AM ripple: it looks like it would make for a cheap 3d printer build or maybe some kind of cnc height gauge
05:49 AM XXCoder: 920 usd cheaop?
05:50 AM XXCoder: heh my printer is 230 bucks, and my cnc rputer overall, including old parts is still under that
05:50 AM ripple: well yeah considering once you got the programming done for it you should be able to pick these things up in cheap quantity
05:51 AM ripple: I suspect there are thousands of these things out there which are good for projects but not worth a big companies time to repair
05:52 AM XXCoder: if can get em
06:20 AM ripple: I would probably have to look overseas for a cheap supply but I bet there are a ton of wafer robots out there which are far beyond obsolete... hmmmm
06:20 AM ripple: those would probably make great part checking machines
06:23 AM ripple: ok yeah I want 2 of these https://youtu.be/WhnpOTpZbk8?t=53
06:25 AM ripple: I should make a juke box
06:27 AM XXCoder: that'd work yeah
06:28 AM archivist: could be cheaper to employ a DJ
06:28 AM ripple: I bet that think has incredible alignment tolerances, I like how they recess the verticle axis into the table. super easy to employ next to a granite table
06:29 AM XXCoder: arch one time cost vs recurring cost
06:29 AM ripple: I bet i could make one which you place your tool onto a granite table and it automatically does your offsets and tool table right into linuxcnc for your machine
06:29 AM XXCoder: though theres a point where paying worker for 10 years is cheaper.
06:30 AM SpeedEvil: ripple: now I want pizza
06:31 AM ripple: I dont use nice cnc machines, is there any machines out there that have a CMM built on for automatic offsets and tool table additions?
06:31 AM ripple: SpeedEvil: what, how hahah what did I say?
06:32 AM SpeedEvil: ripple: the above robot
06:32 AM archivist: plenty use built in measuring these days
06:32 AM ripple: ohhhhhh looks like its pulling pizzas out of ovens?
06:32 AM SpeedEvil: :)
06:33 AM ripple: *(gears turn, lightbulbs starts flicking on and off)* oooh we could totally build an automatic pizza robot with multi station topping loaders then.....
06:34 AM ripple: Im betting you could get it to all fit in the back of a food truck and have people call in orders where the pizza is made en route!
06:34 AM ripple: im ridiculous I need to go to work
11:09 AM roycroft: lathe guy should be calling soon
11:09 AM roycroft: hopefully with good news for me
11:09 AM roycroft: it's raining cats and dogs today though, and that would likely only get worse in the mountains
11:10 AM SpeedEvil: Elk and cougars?
11:10 AM roycroft: elk hang in the valley
11:10 AM roycroft: cougars are everywhere though
11:11 AM jdh: in bars on weekends
11:11 AM roycroft: i'm an old fart
11:12 AM roycroft: i don't pay that close attention to cougars, because they pay no attention to me
12:07 PM yeltrow: Does the latest install image put on RTAI or PREEMPT-RT?
12:08 PM JT-Shop: debian wheezy RTAI
12:09 PM yeltrow: I've dug around for a step-by-step guide to switch to PREEMPT-RT (because I am installing an hm2_eth/7i76e card) and haven't had any luck. Is that still the right thing to do?
12:10 PM JT-Shop: have you looked in the documents?
12:10 PM yeltrow: I tried to loadrt hm2_eth and the module didn't exist...
12:10 PM JT-Shop: did you install linuxcnc uspace?
12:11 PM yeltrow: I have tried to look through the docs. Maybe I need to go back to the integrator guide and re-read..
12:11 PM JT-Shop: no, look in the getting stated
12:11 PM JT-Shop: for pdf
12:12 PM JT-Shop: unless you prefer Linux Mint...
12:12 PM yeltrow: Thanks -- I've "gotten started" about every two years for the last 10... :)
12:12 PM yeltrow: but that means I haven't gone back a re-read the guide.
12:13 PM JT-Shop: it changes...
12:14 PM JT-Shop: the html http://linuxcnc.org/docs/2.7/html/getting-started/getting-linuxcnc.html
12:15 PM yeltrow: That was the page I was reading; however, the section that was relevant seemed to be referring to putting on vanilla debian and then switching to preempt-rt and not moving from an existing 2.7.8 install from the image to preempt-rt.
12:16 PM JT-Shop: also there are a couple of guides on the forum for installing Linux Mint
12:16 PM JT-Shop: well you still have to get the preempt rt kernel and install that then get the linuxcnc uspace deb and install that
12:17 PM JT-Shop: or you could do this https://mesaus.com/index.php?route=product/product&path=68&product_id=72
12:17 PM yeltrow: It seems those are already in apt-sources? Just apt-get a few goodies?
12:17 PM Tom_L: ooo
12:18 PM yeltrow: The fact that the pre-installed hard drive is a product says something.... :)
12:18 PM JT-Shop: don't forget the kernel klink
12:18 PM JT-Shop: those are in my repository
12:20 PM JT-Shop: I love it when the manufacturer says "regulate the feed until long curls come out"
12:20 PM Tom_L: curling iron?
12:21 PM JT-Shop: polycarbonate
12:21 PM pcw_home: Here's the Mint install thread on the forum:
12:21 PM pcw_home: https://forum.linuxcnc.org/9-installing-linuxcnc/32193-complete-how-to-linux-mint-18-1-32-64-rtai-or-preempt-with-rip-install-or-deb
12:24 PM yeltrow: when the box responds back with #1 SMP PREEMPT Debian 3.4.55-4linuxcnc is that the same as "PREEMPT RT" being reported by uname -v in the guide?
12:24 PM roycroft: no lathe for me today :(
12:25 PM roycroft: and i found out the first caller called less than five minutes before i did
12:26 PM JT-Shop: yeltrow: yes that is what you want to see
12:27 PM JT-Shop: at least the polycarbonate machined nice, now for a few holes in the part :)
12:28 PM pcw_home: Are you sure. unless it has "SMP PREEMPT RT", I dont think its Preempt-RT
12:30 PM JT-Shop: I'm guessing the guide left off the SMP part???
12:30 PM yeltrow: It's funny, the SMP PREEMPT response was what I got before I did anything to this box that I freshly installed last week.
12:32 PM yeltrow: Yes. Well -- Again.. What I am confused by is that I just did a fresh install from the image... Did it give me an option to install the PREEMPT Kernel and I forgot I did it?
12:33 PM roycroft: you will need to patch your kernel sources manually
12:33 PM roycroft: there is no standard jessie distribution with preempt-rt
12:34 PM roycroft: i'm not sure what guide you're using
12:34 PM roycroft: but i used one that jt pointed me to
12:34 PM roycroft: so if he pointed you to one it's probably the same one
12:34 PM roycroft: unless jt is being fickle
12:34 PM * JT-Shop is behind in work :)
12:35 PM pcw_home: If you start with the Wheezy ISO you can install a deb for a ( fairly old ) preempt- RT kernel
12:35 PM IchGucksLive: Hi all im Back after a real cool trip
12:35 PM yeltrow: I just grabbed the freshest 2.7 install iso and ran with it (about a week ago...)
12:36 PM roycroft: i installed jessie-8.8.1-i386
12:36 PM roycroft: er
12:36 PM roycroft: 8.7.1-i386
12:36 PM roycroft: then applied these patches:
12:36 PM roycroft: wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.1.15.tar.xz
12:36 PM roycroft: wget https://www.kernel.org/pub/linux/kernel/projects/rt/4.1/older/patch-4.1.15-rt17.patch.gz
12:37 PM roycroft: then installed the deb files that i generated
12:37 PM roycroft: dpkg -i linux-headers-4.1.15-rt17-10.00.Custom_amd64.deb
12:37 PM roycroft: dpkg -i linux-image-4.1.15-rt17-10.00.Custom_amd64.deb
12:38 PM roycroft: there are newer versions, but that's what i was told to install and it worked on my hardware
12:39 PM roycroft: then i installed 2.7-uspace via apt
12:41 PM roycroft: my changelog must be wrong - i must have installed amd64 originally, not i386
12:41 PM roycroft: but the process is essentially as described above
12:43 PM roycroft: i should figure out how to make a livecd and create a 2.7-jessie livecd
12:44 PM IchGucksLive: 137 peolple asking on the youtube channel Lcnc questions
12:44 PM IchGucksLive: and im telling on eatch Vid to come here
12:45 PM yeltrow: Not many of the kids know what irc is anymore...
12:45 PM IchGucksLive: 50+ is the main user
12:45 PM IchGucksLive: yeltrow: why mint
12:46 PM IchGucksLive: the livecd got all you need in the box
12:46 PM * JT-Shop guesses yeltrow has not been on the #reprap channel it's full of kids
12:46 PM IchGucksLive: JT-Shop ive sen printers fpr 80USD in Rio
12:46 PM yeltrow: I'm not using mint. I used the livecd. That was why I was asking what I needed to do from the livecd/iso that might be abbreviated from the long winded procedures I have been reading.
12:48 PM IchGucksLive: yeltrow: what lcnc version is on the system
12:48 PM yeltrow: You are right about not visiting #reprap... I was unfairly casting stereotypes...
12:48 PM roycroft: i guess i'm not clear about what you need, yeltrow
12:48 PM roycroft: iirc the 2.7 livecd has a wheezy preempt-rt kernel
12:48 PM roycroft: i somehow thought you were trying to do the same with jessie
12:49 PM skunkworks: the 2.7 livecd has rtai not rt_preempt
12:49 PM roycroft: oh
12:49 PM roycroft: then i would not install from the 2.7 livecd
12:49 PM roycroft: i would install a base os and install linuxcnc via apt
12:49 PM roycroft: it's pretty easy to do
12:50 PM yeltrow: Uh... Yes that was what I asked initially, but I got told it was RTAI, and I thought I read that to use the hm2_eth driver, I needed to switch to PREEMPT-RT. I'm looking for the most pain-free way to get from a freshly formatted drive to a running hm2_eth (7i76e) install...
12:50 PM roycroft: are you familiar with installing linux?
12:51 PM yeltrow: Done it 100+ times...
12:51 PM roycroft: so install a base linux os
12:51 PM roycroft: as i said, i used jessie 8.7.1 for mine
12:51 PM roycroft: install the preempt-rt patches
12:51 PM roycroft: build a kernel
12:51 PM roycroft: add linuxcnc to the apt repositiry
12:51 PM roycroft: install linuxcnc via apt
12:51 PM IchGucksLive: i got 7i76e running on 2.6.13
12:51 PM roycroft: bob's your uncle
12:55 PM yeltrow: I had thought there was a well trod "migration path" to switch from the 2.7.8 iso install (RTAI), to a PREEMPT RT kernel... I half wondered if there was some sort of wizard or script...
12:55 PM roycroft: to my knowledge there isn't, but my knowledge is limited
12:55 PM roycroft: and i did not look too hard, because i don't want to be on wheezy
12:56 PM yeltrow: uh -- why no wheezy?
12:56 PM roycroft: becaust it's getting very old, and not well-supported
12:56 PM roycroft: it will be deprecated soon
12:56 PM yeltrow: That makes sense to me.
12:57 PM roycroft: the whole procedure i outlined above took me well under an hour
12:57 PM IchGucksLive: yeltrow: are you on the PC right now
12:57 PM yeltrow: yes
12:57 PM IchGucksLive: as i discovered only one ETH can be used
12:57 PM IchGucksLive: PLEASE open a terminalö and uname -a
12:58 PM IchGucksLive: post the output
12:58 PM yeltrow: I mean that I have the PC in front of me. It isn't the one I am using for this conversation.
12:58 PM yeltrow: It says "#1 SMP PREEMPT RT Debian 3.2.86-1"
12:59 PM pcw_home: That is a (fairly ancient ) preempt-rt kernel so will work with hm2_eth
01:01 PM yeltrow: When I did the kernel swap to rt-preempt, it pulled out linuxcnc (I guess because it depended on rtai???)
01:03 PM IchGucksLive: yeltrow: in teminal type linuxcnc
01:03 PM yeltrow: command not found... got to put it back on...
01:03 PM IchGucksLive: does it start up
01:04 PM yeltrow: nope. Missing....
01:05 PM IchGucksLive: so show us your source list
01:06 PM IchGucksLive: cat /etc/apt/sources.list
01:06 PM IchGucksLive: do not post it here
01:07 PM yeltrow: I'm following the instructions to modify the source list now, but the gpg thing is failing... Does it work behind a proxy server?
01:07 PM IchGucksLive: cat /etc/apt/sources.list | grep cnc*
01:07 PM IchGucksLive: this will get somthing like
01:08 PM IchGucksLive: deb http://buildbot.linuxcnc.org/ jessie master-sim
01:08 PM IchGucksLive: deb-src http://buildbot.linuxcnc.org/ jessie master-sim
01:08 PM IchGucksLive: if not you need to follow
01:08 PM yeltrow: Mine are all just debian.net wheezy stuff....
01:08 PM IchGucksLive: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.6
01:09 PM IchGucksLive: http://buildbot.linuxcnc.org/
01:10 PM roycroft: he's on wheezy, i believe, so that wont' work
01:11 PM IchGucksLive: im stuck Why he did compile aother kernel
01:12 PM IchGucksLive: it is just install the livecd
01:12 PM roycroft: he needs preempt-rt for his mesa card
01:12 PM IchGucksLive: get synaptic
01:12 PM IchGucksLive: pae is on the DVD
01:12 PM roycroft: and the live cd is rtai
01:14 PM IchGucksLive: roycroft: so you are sayuíng if i move from 12.04 to wheez i will lose the 7i76e mashines
01:15 PM roycroft: i'm saying that i was just told that the livecd has an rtai kernel
01:15 PM R2E4_bev: SGDB driver issue regulated.....
01:15 PM roycroft: and that the 7i76e requires preempt-rt
01:15 PM roycroft: which is why it does not work with a stock livecd installation
01:15 PM IchGucksLive: ok
01:15 PM IchGucksLive: then im off
01:16 PM roycroft: i don't know why you would want to move to wheezy anyway
01:16 PM roycroft: if you're going to move to a debian distro, use jessie, which is current
01:16 PM IchGucksLive: 12.04 is of from next month
01:17 PM roycroft: i don't know what 12.04 is
01:17 PM roycroft: is that ubuntu?
01:18 PM IchGucksLive: yes
01:18 PM IchGucksLive: http://linuxcnc.org/docs/html/getting-started/getting-linuxcnc.html#_installing_on_debian_wheezy_with_preempt_rt_kernel
01:19 PM roycroft: install jessie
01:19 PM roycroft: install preempt-rt patches on jessie
01:19 PM roycroft: reboot with preempt-rt kernel
01:19 PM roycroft: install linuxcnc via apt
01:19 PM roycroft: done
01:19 PM * roycroft is sounding like a broken record today :)
01:20 PM yeltrow: amd64 Jessie + PREEMPT RT + hm2_eth (7i76e) a winning combination?
01:22 PM roycroft: that i don't know
01:22 PM roycroft: pcw or jt would be the most likely ones to confirm that
01:22 PM roycroft: but i would say that since the machine isn't doing what you want now
01:23 PM roycroft: and since it doesn't take long to install
01:23 PM roycroft: you might give it a go and see if it works
01:24 PM yeltrow: It seems there is also a move to uspace going on?
01:25 PM pcw_home: yeltrow: jessie or wheezy ubuntu 14.04 or Mint17 should all be fine
01:25 PM yeltrow: amd64?
01:25 PM pcw_home: mint18/Ubuntu 16.04 have some minor issues
01:25 PM yeltrow: This is going on a core2 duo 3ghz + 4gb ram
01:25 PM pcw_home: 64/32 bit no diff
01:25 PM * roycroft notes that wheezy security support ended almost a year ago
01:25 PM Jymmm: pcw_home: 16/8
01:26 PM pcw_home: what was the linux version that ran on 286s' called?
01:27 PM roycroft: to my knowledge linux never ran on a 286
01:27 PM roycroft: minix and xenix did
01:27 PM cradek: minix is a distant ancestor of linux and it would even run on an XT if you had two floppies
01:28 PM roycroft: my first *nix at home distribution was xenix on an ibm at
01:28 PM pcw_home: ELKS maybe
01:28 PM cradek: I still have an AT with minix on it
01:29 PM cradek: but to be precise none of these are linux versions (linux has always required a 386 processor)
01:30 PM roycroft: oh, ELKS was an embedded linux that ran on 8086 and up
01:30 PM cradek: oh, interesting
01:30 PM roycroft: a fork of the main linux kernel
01:32 PM cradek: I wonder why you would choose that over minix, which has ethernet support etc
01:32 PM * cradek shrugs
01:32 PM cradek: because it's an interesting project
01:32 PM Jymmm: cradek: Not everyone had neet/lan?
01:32 PM Jymmm: net*
01:33 PM cradek: Jymmm: ELKS is a modern-day project
01:33 PM Jymmm: cradek: ah
01:33 PM roycroft: we seem to be talking more about crunching bits than making chips today
01:35 PM lunada: hi guys.
01:35 PM * JT-Shop thinks the neighbors chicken is nesting under the juniper tree :)
01:35 PM lunada: i finally got a chance to run my machine and it seems to lose position.....
01:35 PM lunada: breakfast!
01:35 PM lunada: fresh eggs
01:36 PM R2E4_bev: Hey guys, Have a machine I am working on with a servo/amp as tool carasel. This should be homed witht he rest of the axis?
01:37 PM lunada: you can use the carousel component
01:37 PM lunada: do you have a home switch?
01:38 PM cradek: I would not treat that as an axis, because it's not one
01:39 PM R2E4_bev: ok, thats what I was looking for. But the 7i77 can send pos command to it to move it to the selected pocket or how would thatr work if it is not an axis?
01:40 PM lunada: can you make an encoder wheel with one count per tool position?
01:40 PM cradek: what feedback does it have?
01:40 PM R2E4_bev: yes but why would you need to? IT has a servo motor with an encoder on it
01:41 PM cradek: (you hadn't told us that yet)
01:41 PM R2E4_bev: quadtrature encoder.
01:41 PM cradek: I'd move it with limit3 -> pid
01:41 PM R2E4_bev: Sorry, to my demise I assumed you would assume since it was a servo and drive it had an encoder....
01:42 PM R2E4_bev: OK thanks cradek, I'll look into that.
01:45 PM lunada: with a 6i25/7i77, is there any obvious reason why i'd lose position with an encoder? would a drop in 5v through tb1 do it?
01:45 PM cradek: how much do you lose?
01:45 PM R2E4_bev: IT has servo/drive/encoder to turn the carasel to the correct pocket and a electro-pneumatic valve to raise lower the carasel and a electro-pneumatic valve to move laterally into position.
01:46 PM R2E4_bev: This should be a fun one to do.
01:46 PM lunada: it seems to be fine while tuning, but when it runs multiple axis at a time it ferrors a lot and it lost position
01:46 PM lunada: cradek: last time it was about 1/2"
01:46 PM sync_: is the encoder slipping on the shaft?
01:46 PM cradek: could be noise or power supply or a bad encoder or wiring or grounding
01:47 PM cradek: heh, or that!
01:47 PM IchGucksLive: im off till tomorrow
01:48 PM lunada: it's the factory machine wiring which had dsub connectors, which i got breakout boards for. so it'd have to be noise from between the breakout board and the 7i77, which i was pretty careful about not running near ac power
01:48 PM lunada: i doubt the encoder is slipping but i suppose anything is possible
01:49 PM lunada: it's a lagunmatic vmc
01:50 PM lunada: https://forum.linuxcnc.org/30-cnc-machines/31621-lagunmatic-3516-sx-retrofit?start=10 a pic of my wiring
01:50 PM lunada: is it possible that my servo thread is too slow or something? or is it more likely to be mechnical?
01:51 PM cradek: my crystal ball says neither of those is the problem
01:51 PM R2E4_bev: nice stainless panel, did you get that laser cut?
01:52 PM lunada: lol cradek
01:52 PM lunada: thanks... waterjet
01:53 PM lunada: had an engraver do some sort of oxide marking on it for the text
01:53 PM R2E4_bev: I have to do one. Think I will get laser cut and get a wrap printed with graphics and such.
01:53 PM lunada: not sure what the process was but it came out pretty good
01:54 PM lunada: nice.... yea that was an option but i am a sucker for brushed stainless
01:54 PM lunada: i guess i can check the scope to see if there is noise in the encoder signal
01:54 PM R2E4_bev: One of my other machines I did with black anodized aluminum and used can hardly see the lettering....lol drag bit for the lettering. Was nice, but after a year
01:55 PM lunada: yea my old machine had an anodized aluminum panel too
01:55 PM R2E4_bev: lol, IT scrambled my sentence....lol
01:56 PM lunada: i always forget i can look at stuff in halscope
01:57 PM cradek: try that, and also a real dual channel scope at the mesa inputs, and I bet you'll see the problem
01:57 PM lunada: not sure if i can convince boss man to spring for a real scope but i'll try
01:58 PM lunada: i guess i can replace the wiring from the breakout board to the 7i77 with cat6
01:59 PM lunada: but i'll check it on halscope first
01:59 PM lunada: the machine worked fine before the retrofit so i dont think it is an issue between the encoder and the breakout board
02:01 PM lunada: thanks for the help, i'll check it out
02:26 PM Motioncontrol: HI at all. fanuc have GOTO X(label) in iso gcode . in linux cnc GOTO label not exist ?
02:28 PM cradek: no, use an O-repeat or other looping structure
02:29 PM Motioncontrol: ok tahnsk cradek
02:29 PM Motioncontrol: ta
02:29 PM Motioncontrol: thanks
03:08 PM JT-Shop: sure enough the chicken laid and egg :)
03:09 PM JT-Shop: an even
03:11 PM roycroft: i had to go pick up my new phone that i did not want
03:12 PM roycroft: so when i was at the phone place (in a mall - GAG!) i decided to play stump the phone tech guy
03:12 PM roycroft: i told him i was going to ask him to do something he's never been asked to do before
03:12 PM roycroft: and he assuredly told me "i've been working for sprint for almost 10 years now - there is nothing that hasn't been asked of me before"
03:12 PM roycroft: "will you please disable sms on my phone?"
03:13 PM roycroft: he looked at me in horror
03:13 PM roycroft: and said "i've never been asked that"
03:14 PM JT-Shop: what is sms?
03:15 PM roycroft: text messaging
03:16 PM roycroft: "short message service"
03:16 PM JT-Shop: disable so you don't receive any?
03:16 PM roycroft: so that i cannot send or receive
03:17 PM JT-Shop: break is over back to work for me
03:17 PM roycroft: so that when a customer text-attempts me at 11pm and i don't respond by 11:02 and the customer gets mad, i can honestly say "i don't have text messaging - please use our normal support channels"
03:18 PM JT-Shop: ah I understand now
03:18 PM JT-Shop: I just leave my phone on my desk in the machine shop
03:18 PM roycroft: i'm on-call 24/7
03:18 PM roycroft: i need a filter
03:18 PM JT-Shop: ouch
03:18 PM roycroft: disabling sms is a filter
03:19 PM roycroft: customers know that if my pager makes noise i get money
03:19 PM roycroft: which means they pay money
03:19 PM roycroft: but they expect to be able to text for free
03:19 PM roycroft: so i leave them a means of getting ahold of me off-hours
03:19 PM roycroft: but they know the price of doing so
03:20 PM roycroft: when my pager goes "beep beep" i can put $62.50 in my pocket before i even do anything
03:20 PM JT-Shop: nice
03:20 PM roycroft: which is why people use my pager as a last resort
03:20 PM roycroft: that's how i designed it
03:22 PM roycroft: and folks generally are ok with next business day response to voicemails and emails
03:22 PM roycroft: but they seem to expect instantaneous response to text messages 24/7
03:24 PM lunada: cradek: you were right
03:24 PM lunada: encoder somehow got lose
03:25 PM sync_: told you
03:25 PM lunada: lol
03:25 PM sync_: :)
03:25 PM lunada: wouldnt have expected that.... it doesnt look like it's ever been apart
03:26 PM sync_: it happens™
03:26 PM lunada: apparently...
03:26 PM lunada: the machine ran fine before, it's just weird that it losened up at the exact time i finished the retrofit
03:27 PM JT-Shop: you bumped it :)
03:28 PM lunada: this is literally the first time i've been on top of the machine
03:28 PM lunada: i'm guessing it worked loose a little durring rigging and it was just coincidental that it gave up the ghost at the same time i finished the retrofit
03:29 PM lunada: it was only running for a short period in between
03:29 PM lunada: now i get to touch off all my tools and work offsets again :(
03:30 PM lunada: and figure out my home position for the toolchanger
04:26 PM Deejay: gn8
04:33 PM lunada: wow this thing is cutting so much nicer now lol
04:33 PM sync_: with the encoder fixed? :D
04:34 PM lunada: yep. go figure
04:35 PM sync_: well, I had it happen before and wasted a lot of time debugging
04:35 PM lunada: yea i wasted a full day on it
04:36 PM sync_: nice
04:37 PM lunada: i'm making a mold for a switch pod that i'm going to cast in urethane..... .005" stepover on a .125" ball end mill, the finish is better than i thought.
04:37 PM lunada: should have gone for a .01" stepover lol
04:38 PM sync_: I usually specify the desired scallop depth in the cam
04:38 PM sync_: and let it figure out what it needs
04:38 PM lunada: well i did that at first but it looked like shit, turns out my encoder was loose lol
05:24 PM Cromaglious_: ok done with wifes appointment
05:25 PM Cromaglious_: compiling 4.9.13 with .config from 3.16.x which worked... turned on PREEMPT_RT_FULL
06:17 PM JT-Shop: starting to thunder here
06:17 PM Cromaglious_: clear as all get out and warm 83f today
06:18 PM JT-Shop: was clear here all day and nice... expect snow saturday lol
06:19 PM Tom_L: snow and new working hours...
06:19 PM JT-Shop: at your place?
06:19 PM Tom_L: CDT
06:19 PM Tom_L: this weekend
06:19 PM JT-Shop: CDT?
06:20 PM Tom_L: change your clocks
06:20 PM JT-Shop: ah
06:20 PM Tom_L: that'll take about a week to get used to
06:20 PM JT-Shop: what a stupid idea
06:20 PM JT-Shop: I wish Missouri was a state that just ignored that
06:21 PM Cromaglious_: Buy clock that doit themselves
06:21 PM Tom_L: i need that physical reminder that it's that time again
06:21 PM JT-Shop: I have an atomic clock but it can't phone home unless I put it in the bathroom window...
06:21 PM Cromaglious_: when I get the money... replacing my alarm clock with a wwvb atomic clock
06:21 PM JT-Shop: so it never has the correct time lol
06:22 PM JT-Shop: I'll never waste my money on another atomic clock
06:22 PM Cromaglious_: I haven't had that problem in the house... just in apartments
06:23 PM Cromaglious_: I have 5 and all of them keep wwvb time
06:23 PM JT-Shop: you don't live where I live lol
06:24 PM Cromaglious_: Canuckistan??
06:24 PM Cromaglious_: Quebekistan?
06:25 PM JT-Shop: ah
06:25 PM Cromaglious_: <- lives in the people republic of Kaliforistan
06:26 PM Cromaglious_: aka left coast trumpville
06:26 PM JT-Shop: lol
06:27 PM Cromaglious_: I need to get my shit paid off so I can get my UK passport... I need to live in the UK for 3 years... so my kids get right of abode in england as well
06:27 PM JT-Shop: there is a small hill to my west and I'm in south east Missouri so I assume the hill is the problem
06:28 PM JT-Shop: you going to sublet from Andy?
06:28 PM Cromaglious_: hmmm Nevada? Joplin? Carthage?
06:28 PM * Tom_L looks at JT-Shop's land leveler...
06:28 PM Cromaglious_: of SE not SW
06:28 PM Cromaglious_: Doh!
06:28 PM JT-Shop: Nevada and Joplin is SW Missouri
06:29 PM JT-Shop: the ole hoe?
06:29 PM Cromaglious_: SE kansas Pittsburg opolis... is my stopping grounds
06:29 PM Cromaglious_: 1st wife was from there...
06:30 PM Cromaglious_: Got 2 grandkids in Columbus
06:30 PM JT-Shop: mine is southern Alaska and the gulf coast...
06:30 PM Cromaglious_: 2nd was from San Jose and Third was actually born in Los Angeles
06:30 PM Cromaglious_: Third's the keeper!
06:30 PM Tom_L: you should quit collecting them
06:31 PM JT-Shop: lol
06:31 PM Cromaglious_: no more...
06:31 PM Cromaglious_: between my kids and steps I have 6, and then there is the 10 grandkids, then there is the 8 great grandkids
06:32 PM * JT-Shop has only been married once rest were just girl friends lol
06:32 PM Cromaglious_: life happens...
06:32 PM JT-Shop: aye
06:33 PM Cromaglious_: Lead poisoning drove the 1st to divorce me, second passed away, 3rd is doing good
06:33 PM JT-Shop: told my wife hmm 39 years ago that I don't argue, she said she doesn't either... never had one with her
06:33 PM Cromaglious_: NICE!
06:34 PM JT-Shop: yea I'm stoked
06:35 PM * JT-Shop listens to Computer Age
06:35 PM Cromaglious_: This is my bottom of my Signature in emails: By all means, marry. If you get a good wife, you'll become happy; if you get a bad one, you'll become a philosopher. - Socrates PS: I'm not a philosopher.
06:35 PM JT-Shop: lol
06:39 PM JT-Shop: opps tornado warning
06:39 PM CaptHindsight: heh, I hung on to the kids and became a philosopher
06:39 PM zeeshan: tornado warning?!?1
06:39 PM zeeshan: i got hit by 70 mph winds last night
06:39 PM zeeshan: my whole roof is owned
06:40 PM zeeshan: and siding
06:40 PM zeeshan: 15k in damage
06:40 PM zeeshan: 500$ in deductible, insurance is covering it all
06:40 PM zeeshan: phew!
06:40 PM CaptHindsight: your area really got hit, same for Detroit
06:41 PM zeeshan: frigging climate chjange
06:41 PM zeeshan: this stuff is going to happen more and more
06:41 PM zeeshan: ;/
06:42 PM Cromaglious_: My dads place in Richmond, CA is at the crest of a hill and every 4 or 5 years we'll get 100mph+ winds
06:43 PM Cromaglious_: but only on the top 10' of the 25' tall house
06:44 PM Cromaglious_: lost the big window in the living room 20 years ago.. he replaced it with a sheet of polycarbinate (Lexan)
06:45 PM zeeshan: doh
06:46 PM Cromaglious_: I'm still finding glass shards on the floor even after 20 years
06:47 PM Cromaglious_: I should say in the gaps between the floor boards
09:41 PM evilroot: Hey
10:25 PM Cromaglious_: 5 hours into kernel compile...
10:28 PM cncnoob: Anyone wanna help me with some code?
10:29 PM cncnoob: After a tool change all my paths shift to the right by about 4 inches
10:29 PM cncnoob: Something I'm not understanding about the prompt to change a tool
10:30 PM cncnoob: I change it while my program is running, but I can't see anyway to touch off with the new tool. Is it a requirement to use the LinuxCNC tool table?
10:31 PM cncnoob: http://pastebin.com/ewUhukj1
10:31 PM cncnoob: There is the code
10:40 PM cncnoob: And to be clear, I see at least part of the code that is the problem on lines 70 and 71, but I don't understand why my post processor has inserted those lines when the simulators I run the code on plunge the tool into the path that cuts the gear teeth.
10:55 PM Cromaglious_: looks to me the problem is down towards line 63
10:58 PM cncnoob: Yeah, that is the place where I was going to update my post processor with the code you gave me last night
10:58 PM Cromaglious_: the g28 I'd make a tool touch off probe and setup some sensors for doing G38 probes.. then you can set accurate off sets Set X, then Y, then Z once you know where to find the touch sensor for Z. You shoudl already know where the work is in relation to the table X and Y
11:00 PM cncnoob: Tool touch off probe, is that not something I can do with an edge finder?
11:00 PM cncnoob: I just seems that after the initial touch off I shouldn't have to do anything except change tools and press play
11:01 PM Cromaglious_: there is no requirement to make a tool table. I don't do tool changes since I have a er11 collet... every tool change requires me to touch off and it looses steps on X and Y real easy
11:01 PM cncnoob: Camworks knows the length and diameter of all my tools and holders
11:01 PM cncnoob: If I have touched off initially with a 3/4" end mill then I use a 0.0197" end mill after that, it knows the difference in the lengths and diameters
11:01 PM cncnoob: Is it wrong to expect that it would set up the gcode with that knowledge?
11:02 PM Cromaglious_: you can setup a tool table so you can adjust your G54 offsets per tool
11:02 PM Cromaglious_: I haven't gotten into that... yet
11:03 PM cncnoob: Humm, maybe that is the way I should go. But again, seems like Camworks should be taking care of that so I shouldn't have to set it up in LinuxCNC; Camworks has all the necessary info
11:03 PM Cromaglious_: Waiting for the Veterans Administration to get off their arse and give me more money... it's only taken them 8.5 years so far
11:04 PM SpeedEvil: Cromaglious_: good luck
11:04 PM SpeedEvil: Assessments are so much fun.
11:04 PM cncnoob: When you say you don't do tool changes, what do you mean?
11:04 PM Cromaglious_: if you have a tool table in Camworks you should get it over into Linuxcnc
11:05 PM cncnoob: You have to change tool, do you mean you just don't do tool changes in your program?
11:05 PM Cromaglious_: camworks can use what ever offset in it's tool table. Linuxcnc tooltable needs the correct ofset
11:05 PM Cromaglious_: the pause is nice
11:06 PM cncnoob: So I measured all of my bits and holders and entered all that data into camworks
11:06 PM Cromaglious_: I tend to make a g code file for each tool
11:06 PM cncnoob: Are you saying that the info is need in LinuxCNC instead or in addition too?
11:06 PM cncnoob: ok
11:06 PM Cromaglious_: cuz I have to rehome everytime
11:06 PM cncnoob: That is one way I was thinking of doing it
11:06 PM cncnoob: but seems excessive
11:06 PM cncnoob: Yeah
11:06 PM cncnoob: Right now I think I have to rehome every time as well
11:06 PM cncnoob: I think there should be a way around it
11:06 PM Cromaglious_: in addition too
11:07 PM cncnoob: But I haven't figured that way out yet
11:07 PM cncnoob: Maybe the tool table in LinuxCNC lets me get around re homing?
11:08 PM Cromaglious_: camworks the tool offset can be -1 on all tools... in linuxcnc it need to be the exact offset per tool. cuz tool offset adjusts G54 coordinates
11:08 PM Cromaglious_: if your steppers don't loose steps tool table is your friend
11:09 PM cncnoob: It seems to be pretty solid so far from what I have tested
11:09 PM cncnoob: I have limit switches on both ends of all axis' and I have not tripped one after homing yet
11:09 PM cncnoob: so I think that means I'm not loosing steps
11:10 PM Cromaglious_: i can set my axis tavels to -1000mm to 10000mm and my Z to -300 to 300 and just home where I want and have all my G5x offsets be 0
11:11 PM Cromaglious_: cncnoob setting up the limit switches to be used by G38. you can really check to see if you loosing steps.
11:14 PM Cromaglious_: I think there are 4 G38 type... G38 G38.1 G38.2 G38.4 or something to that effect. Probe till probe opens (Hitting Home Switch that's Normally closed. Or wire them Normally open all in parallel and probe till close, then you can also wire the tool setter into it as well so you can set X Y and Z
11:17 PM cncnoob: I don't know if the g38 codes are what I want
11:18 PM cncnoob: I think I just want to manually touch off the newly loaded tool when the program requires that new tool to be loaded
11:18 PM cncnoob: I don't know if that is an option though
11:18 PM cncnoob: I haven't found a way to make it happen.
11:23 PM Cromaglious_: G38 is how it's done
11:23 PM Cromaglious_: using a probe
11:27 PM Cromaglious_: http://wiki.linuxcnc.org/uploads/toolchange
11:28 PM Cromaglious_: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ManualToolChangeMacro
11:31 PM Cromaglious_: it reads the current line curLine = emcStat.current_line
11:32 PM Cromaglious_: after you use MDI to touch off and click continue it runs the g code emcCmd.auto(emc.AUTO_RUN, curLine + 1)
11:32 PM Cromaglious_: 1 line after current line
11:32 PM Cromaglious_: it actually stops the g code program
11:33 PM Cromaglious_: otherwise you'd have to have a tool length touch sensor to G38 on
11:37 PM cncnoob: I think putting the tools in the tool table might have actually done one better
11:37 PM cncnoob: So now camworks and linuxcnc know the tool offsets
11:38 PM cncnoob: I have the pc disconnected from the mill right now, but I'm going to go hook it back up and see what happens
11:38 PM cncnoob: It appears to be running correctly though
11:38 PM Cromaglious_: dunno where the 4" offset was coming from
11:38 PM Cromaglious_: tool table?
11:39 PM cncnoob: You know I didn't think of that when I was editing it, but now that you say it I think the default tools that were in the table were causing it
11:39 PM cncnoob: !@#$
11:39 PM cncnoob: I've been fighting this for like 2 weeks now
11:39 PM cncnoob: They had 3 tools defined by default
11:40 PM cncnoob: tool number 2 had X, Y, and Z offset values
11:40 PM cncnoob: *hopefully* mystery solved