#linuxcnc Logs

Jul 23 2017

#linuxcnc Calendar

02:39 AM Deejay: moin
02:44 AM Vq: Good morning
02:44 AM Deejay: hi there
02:54 AM archivist: who has 50 quid to waste on broken probe http://www.ebay.co.uk/itm/TP-200-Body-Renishaw-non-working/162593449430
02:54 AM archivist: note this is a strain gauge type, not contacts
03:32 AM archivist: readjust dish anyway
05:33 AM speedy___: hi @all.
05:33 AM speedy___: i have an issue related to building linuxcnc (on beaglebone black with machinekit).
05:33 AM speedy___: in detail after building the git-cloned source, when starting linuxcnc the shared library tp.so cannot be found.
05:33 AM speedy___: is there any detailed documentation on make rules or dependencies i have to satisfy to build the tp.so library?
05:36 AM speedy___: i did ./configure --with-realtime=uspace --enable-non-distributable=yes and make. also run tests and all passed (uname -a Linux beaglebone 3.8.13-xenomai-r78 #1 Sat Sep 26 16:54:43 UTC 2015 armv7l GNU/Linux)
06:02 AM jthornton: morning
06:23 AM JesusAlos: morning
06:24 AM JesusAlos: I already finished to configurate a auto-align gantry secuence in 2.8.
06:24 AM JesusAlos: The resusult, in general is superb.
06:25 AM JesusAlos: but I find a "problem".
06:26 AM JesusAlos: In a configuration with double X axis.
06:26 AM JesusAlos: In X axis I put HOME=10
06:26 AM JesusAlos: In X2 axis I put HOME=12
06:27 AM JesusAlos: the result is, X axis turn on to find 2mm more after home secuence finished.
06:30 AM JesusAlos: I mean, X and X2 goes to find home. X arrive before X2, so X stops and X2 continues to arrive 2mm more. When X2 arrive to home, X start again to find 2mm more like X2
06:33 AM JesusAlos: I want to advance 2mm more in X2 to correct the error between both switches installation. In a 3 meter length gantry is a bit difficult to align both limit switches.
06:41 AM jthornton: I'm surprised that does not throw an error as home is the location the "axis" moves to after homing is complete
06:43 AM jthornton: http://linuxcnc.org/docs/devel/html/config/ini-homing.html#_home_offset
06:47 AM JesusAlos: For solve the following error I must to increase MIN_FERROR value
06:51 AM JesusAlos: Also surprise that X motor restart again.
06:52 AM JesusAlos: Do you mean I can compensate my 2mm error switch with HOME_OFFSET parameter?
07:01 AM jthornton: http://linuxcnc.org/docs/devel/html/config/ini-config.html#_joint__lt_num_gt_section
07:02 AM jthornton: read what MIN_FERROR does vs FERROR
07:05 AM JesusAlos: Thank jthornton, now I'm going to have a Paella. I will try late.
07:05 AM JesusAlos: by
07:05 AM JesusAlos: bye
07:57 AM machine-system: Hi everyone
07:57 AM machine-system: can I run linuxcnc on a raspberry pi ?
08:00 AM malcom2073_: Someone had done it, using the mesa ethernet board
08:00 AM renesis: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?RaspberryPi
08:00 AM malcom2073_: I think someone else used a SPI fpga
08:00 AM renesis: looks like not so great if you mean using the gpio
08:02 AM renesis: wonder if you can just use spi shift reg
08:10 AM archivist: machine-system, look at the mailing list for recent history of it
08:11 AM machine-system: thank you guys, I wonder why linuxcnc depends on such old versions of debian and ubuntu
08:11 AM archivist: just testing a newer version
08:12 AM archivist: the realtime rtai is the holdup
08:22 AM Tom_L: is stretch an old version?
08:22 AM pcw_home: Yeah Stretch/Preempt-RT test ISO
08:22 AM pcw_home: http://www.linuxcnc.org/testing-stretch-amd64-rtpreempt/
08:23 AM archivist: but not rtai as fasr as I know therefore may be less good for parallel port stepper
08:23 AM Tom_L: likely so
08:24 AM pcw_home: really depends on the hardware though
08:24 AM pcw_home: some hardware gets sub 10 usec latencies on Preempt-RT
08:24 AM Tom_L: i had horrid test results on my D525 but ok on my asrock board
08:25 AM pcw_home: Slow is usually bad for Preempt-RT latency (and a d525 is sloooooow)
08:25 AM Tom_L: it had it's day in the sun :D
08:28 AM pcw_home: http://freeby.mesanet.com/h97-g3258-preemt-rt.png
08:30 AM pcw_home: (fast CPU) vs
08:30 AM pcw_home: http://freeby.mesanet.com/atom-330-preempt-rt.png
08:30 AM pcw_home: (slow CPU)
08:31 AM Tom_L: that's not on stretch is it?
08:31 AM pcw_home: (the Atom would not run the default 25 usec base thread)
08:31 AM archivist: 1.6 slow!, more like too much going on in the OS
08:31 AM pcw_home: No though the OS is relatively unimportant
08:32 AM Tom_L: so RTAI is best for old hardware
08:34 AM pcw_home: more like best for slow hardware
08:36 AM pcw_home: but it may only run on older hardware because its so much trouble to make newer stable RTAI kernels
09:57 AM machine-system: I wonder why linuxcnc depends on such old versions of debian and ubuntu
10:00 AM malcom2073_: [08:41:25] <archivist> the realtime rtai is the holdup
10:01 AM archivist: although stretch with rt-preempt can give good figures on good hardware see <pcw_home> http://freeby.mesanet.com/h97-g3258-preemt-rt.png
10:19 AM pcw_home: LinuxCNC will run on the latest Linux versions but as Archivist says, RTAI has largely been the holdup
10:20 AM pcw_home: for making new ISOs (and the work involved)
10:20 AM pcw_home: I've run LinuxCNC on Mint17, 18, Ubuntu 12.04,14.04, 16.04, BunsenLinux, Debian Wheezy and Jessie
10:20 AM pcw_home: The OS choice has minimal if any effect on latency
11:01 AM Frank_30: any link where i can download the 2.7 linuxcnc iso at more than 0kb/s?
11:16 AM Frank_10: nope?
11:16 AM Frank_10: okey apparently it was my connection
11:16 AM Frank_10: retried and its good
12:24 PM IchGucksLive: hi all from germany
12:26 PM IchGucksLive: Frank_10: on weekends usually the server does have the full power
12:33 PM IchGucksLive: pcw_home: is there a good step by step to get linuxcnc on 14.04 up and running
12:34 PM cpresser: imho there is never such a thing as 'good' and 'step by step' when software is involved.
12:35 PM IchGucksLive: agree therevor i stay on 10.04
12:35 PM IchGucksLive: its just cd in cnc mill
12:35 PM pcw_home: There's a how to on the linuxcnc forum for installing on Mint 18
12:35 PM pcw_home: plus you can try the Stretch ISO if you want a modern OS/Kernel
12:37 PM IchGucksLive: i personly hope that vmy old os is somewhat out that the education responsables say no we take a othere helping person
12:37 PM IchGucksLive: but as far it seams that im so depth in the cnc systems that noone else will do the job
12:39 PM IchGucksLive: best is it is still taking "live CD" whise filesises are above GB
12:43 PM Roguish: I just installed the new stretch .iso, the installed the master from a .deb. NO problems., works good
12:51 PM IchGucksLive: Roguish: the 386 or 64
01:09 PM IchGucksLive: i see on my channel that nearly 3k people watched me installing wheezy
01:09 PM IchGucksLive: so bad im runnning always the old os
01:09 PM IchGucksLive: im off Gn8
01:10 PM Roguish: IchGucksLive: 64. on an Asrock Q1900M
01:12 PM machine-system: pcw_home: any idea when the rtai issue will be resolved ?
01:13 PM pcw_home: Not sure anyone is working on it so maybe never
01:16 PM pcw_home: RTAI is really only important for LinuxCNC if you are relying on simple GPIO or parallel ports for high speed I/O
01:16 PM pcw_home: And Preempt-RT can be good enough for these with the right hardware
01:24 PM pcw_home: machine-system: you could ask on the linuxcnc-devel irc or mailing list to see whats going on with RTAI
01:25 PM machine-system: thank you pcw_home
03:34 PM JT-Shop: I need to make something like this https://www.amazon.com/Steel-Dragon-Tools-Automatic-Stripping/dp/B00902Y2AS/
03:35 PM Tom_L: you must strip alot of wire
03:38 PM Roguish: JT-Shop: hey, got master on the new hybrid .iso. installed via a deb in the buildbot. more than one way .....
03:45 PM JT-Shop: I'd think that is the best way to get master
03:45 PM JT-Shop: I have a lot of wire to strip
04:07 PM Deejay: gn8
04:42 PM Frank_: i have a stepper motor that doesnt want to move, it energizes just fine (AFAIK, first time with a stepper motor) but when sending moves from the lcnc program, it just doesnt do anything
04:42 PM Frank_: i've check wiring,
04:42 PM Frank_: maybe cable colors on the manual are wrong?
04:43 PM Frank_: 7i76 board 400/steps rev
04:46 PM Tom_L: how many wires on the steppers?
04:48 PM Tom_L: http://42bots.com/tutorials/stepper-motor-wiring-how-to/
04:48 PM JT-Shop: what stepper driver?
04:49 PM Tom_L: more data required...
04:58 PM Frank_: sorry delay, i was trying to find the answer on the forums
04:58 PM Frank_: its a yako: https://purelogic.ru/files/downloads/doc/Driver/Yako/YKC2608M-H_Yako_Purelogic_eng.pdf
04:59 PM Frank_: http://lineartec.com.ar/catalogos/19Fulling.pdf model: FL86STH80-4208B
05:00 PM Frank_: stepper motor
05:00 PM Frank_: 8 wires on the stepper
05:00 PM Tom_L: http://www.linengineering.com/wp-content/uploads/2015/10/Wiring_8_lead_Wires.png
05:01 PM Tom_L: may help
05:01 PM Frank_: how can i check the 7i76 outputs? i've had a short circuit on the same phase as the dc psu
05:01 PM Frank_: cr1 and cr2 show up but just to be sure..
05:02 PM * JT-Shop only knows 4 wire steppers...
05:02 PM JT-Shop: hook something up to an output to test if they are working
05:03 PM Frank_: sadly, my wires are different colors, but the company that sold them told me the series wiring
05:04 PM JT-Shop: do the I/O pins show up?
05:04 PM Frank_: you mean any output?
05:04 PM JT-Shop: if you mean any output yes
05:04 PM Frank_: they show up on the pncconf wizard, but i wouldnt know where else to check
05:04 PM JT-Shop: pnconf just has a list of the pins
05:04 PM JT-Shop: http://gnipsel.com/linuxcnc/configs/pins.html
05:06 PM pcw_home: for the step/dir outputs. measure between the + and - pins (you should get about +5V or -5V across DIR+ and DIR- when moving in different directions)
05:06 PM Frank_: by the way: my driver has Motor free amp enable inputs, that means i need to supply 24vdc to make the motor NOT energized, any way i can turn on the driver without having the motor energized? i have a NC contactor that i can use but it turns on at the same time of the driver
05:07 PM Frank_: i should get a multimeter :/
05:07 PM Frank_: will try that jt
05:08 PM pcw_home: motor free is a 5V signal (but just leave it unconnected for now)
05:10 PM Frank_: the MF+/- terminals have a (5v-28v) label on them
05:12 PM pcw_home: yeah the manual says inputs are 5V but also says they can modify to suit
05:12 PM pcw_home: does the motor lock up when the drive is powered?
05:13 PM Frank_: yes
05:14 PM Frank_: halcm show pin > pins.txt shows nothing,
05:14 PM Frank_: after loading hm2_pci and hostmot2
05:14 PM JesusAlos: I need help to create a pin in hal file to use as INDEX pulse to create a home secuence with index. (USE_INDEX=YES)
05:15 PM JesusAlos: I don't have clear. I don't want to use a encoder pins. Only index pin.
05:16 PM pcw_home: index has a special meaning, and I don't think its useful without an encoder
05:17 PM pcw_home: at least the way that Linuxcnc deals with index
05:17 PM JesusAlos: I control a servo with pulse direction in open loop (PC-servo).
05:18 PM JesusAlos: So, Do you tell me that I must to configure a encoder pins?
05:19 PM Frank_: could it be that the motor cables are wrong? im seeing something different between the 2 manuals and what they've told me
05:19 PM pcw_home: unless you have encoder feedback I dont think you can home to index
05:20 PM Frank_: i mean wired not like it should be
05:21 PM JesusAlos: I think I have a histeresys problem with limit switches.
05:21 PM pcw_home: Frank_ if wired wrong is might not rotate but just wiggle a bit back and forth per full step
05:22 PM JesusAlos: So, I think of wire a index from encoder to linuxcnc.
05:22 PM pcw_home: limit switch hysteresis should not be an issue since the final homing is always done from one direction
05:24 PM Frank_: ok thanks pcw, one last question, why im not having any pins show up on halcmd show pin > pins.txt
05:24 PM Frank_: could it be damaged 7i76?
05:24 PM pcw_home: JesusAlos: I think currently if you want to home to index on a step/dir system you must have full encoder feedback
05:25 PM pcw_home: Frank_ no, you should at least show 5i25 pins
05:25 PM pcw_home: even if the 7I76 was unconnected
05:26 PM Frank_: i only see: ownter type dir .. etc
05:26 PM Frank_: no pins
05:26 PM Frank_: freakign weird
05:26 PM pcw_home: did the drivers load properly?
05:27 PM JesusAlos: I don't understand what do you refer with "limit switch hysteresis should not be an issue since the final homing is always done from one direction"
05:27 PM Frank_: seems like they did, will try again, but nothing showed up when i loaded the,
05:28 PM pcw_home: You need to load hostmot2 first
05:28 PM JesusAlos: I'm using: sn04-n roko
05:31 PM Frank_: i tried again, loaded hostmot2 twice, the second time it sent me an error saying it could not instert module realtime...
05:31 PM Frank_: same with hm2_pci
05:32 PM pcw_home: JesusAlos: by hysteresis I mean that the switch open and close positions depend on the previous state (open or closed) but since
05:32 PM pcw_home: LinuxCNC always does the final home move in the same direction the hysteresis should not cause a homing position error
05:32 PM pcw_home: Frank_ you will definitely get an error if you try to load them twice
05:33 PM JesusAlos: I undestand
05:37 PM pcw_home: JesusAlos: actually it should be possible to home on index with open loop step/dir and just an index signal (we even have firmware that supports this)
05:37 PM pcw_home: but the hostmot2 driver doesn't know how to deal with a stepgen with index logic (I think LinuxCNC could deal with it with the correct hal file setup)
05:38 PM Frank_: i tried halcmd show pin and the pins showed up apparently, but i couldnt get them to change state when i turned on off the estop in of the 7i76
05:39 PM Frank_: everything remained the same
05:39 PM pcw_home: thats expected
05:40 PM pcw_home: (you have no read or write functions running)
05:41 PM Frank_: so that means 7i76 is working properly or we still cant tell?
05:41 PM JesusAlos: pcw_home: thank you. I need to think of that.
05:42 PM JesusAlos: good night
05:43 PM pcw_home: if you seen any pins with "7i76" its probably OK
05:43 PM Frank_: kay thanks, will keep trying to figure this out tomorrow, cant think of anything right now
05:52 PM JT-Shop: pcw_home: I've started to allow my 2 legged lawn mowers free range a bit
05:53 PM pcw_home: Dont know if you have hawks but they are a danger with small chickens
05:54 PM JT-Shop: mine are 16 weeks old now and yes we have hawks a few years ago a couple nested in one of our oak trees
05:54 PM JT-Shop: don't see them too often in the woods mostly on poles near fields
05:55 PM pcw_home: Once they get full sized the Red tail hawks around here leave them alone
05:55 PM JT-Shop: that's what we have red tailed hawks as well as smaller ones
05:55 PM pcw_home: They love to be out an scratching around
05:56 PM JT-Shop: http://gnipsel.com/images/chickens/12weeks.jpg
05:56 PM JT-Shop: yes, I sorta supervised their first few excursions out in the world so they stay close to the chicken yard
05:57 PM JT-Shop: any loud noise and they fly back inside the run flapping and running
05:57 PM JT-Shop: that's Henry on the left the only rooster we got
05:59 PM Roguish: the raptors around here pick off cats, small dogs, chickens, most anything they can carry (i'm very near pcw)
05:59 PM Roguish: mountain lions too in the hills....
06:03 PM pcw_home: we've had mountain lion reports from across the valley but I've never seen any worst think we've had are foxes and coyotes
06:04 PM JT-Shop: we have foxes but I've never seen one
06:04 PM JT-Shop: time for the cricket chicken rodeo :)
06:05 PM pcw_home: foxes much worse than coyotes which only come around very sporadically
06:05 PM pcw_home: (the local fox family was living next door and got relocated by fish&game)
06:06 PM pcw_home: Bet they get excited by the crickets
06:17 PM JT-Shop: oh my they go nuts for crickets
06:17 PM JT-Shop: the barred rocks hop in my lap as soon as they see the cricket container
06:22 PM Roguish: sometimes it's the simple things......
06:24 PM JT-Shop: time to herd them into the chicken yard...
11:06 PM XXCoder: whew long day today. fun also
11:12 PM XXCoder: http://68.media.tumblr.com/28ef392fd04169f86a5f687234aecd2d/tumblr_inline_otehak6r5x1sppt0x_1280.png
11:12 PM XXCoder: LOL