#linuxcnc Logs
Feb 24 2019
#linuxcnc Calendar
02:14 AM Deejay: moin
02:30 AM norias: hi
03:53 AM jthornton: morning
03:53 AM norias: morning
03:54 AM XXCoder: morninh
04:00 AM norias: what's the difference between linuxcnc and machinekit?
04:00 AM XXCoder: machinekit is fork of linuxcnc
04:01 AM norias: makes sense
04:01 AM norias: different approach?
04:01 AM XXCoder: a bit. if I recall right theres couple improvements but linuxcnc has better many other stuff also
04:01 AM norias: right on
04:01 AM jthornton: no telling anymore, that's been a long time ago but mainly machinekit is for single board computers I think
04:02 AM XXCoder: expecially with new and much more customizable gui like one made by our friend jt here
04:02 AM jthornton: I didn't code it, I just documented it
04:03 AM XXCoder: oh well documented :)
04:05 AM jthornton: hmm someone is in the nest box very early this morning (it's 4am here)
05:01 AM XXCoder: jthornton: think you can trust this? lol https://www.aliexpress.com/item/0-25mm-0-01mm-Carbon-Steel-Outside-Micrometer-Caliper-Precision-Gauge-Vernier-Caliper-Measuring-Tools/32904069447.html
05:10 AM fl0rene: hello guys, i hope this is the right place to ask some questions about linuxcnc?? But i really need some help...
05:10 AM Loetmichel: yes
05:10 AM fl0rene: Thank
05:12 AM XXCoder: yep :)
05:12 AM XXCoder: its shocking how cheap shitty mics is now
05:12 AM fl0rene: Yesterday I reached the limit of ToolSlots (55) in linuxcnc, Searched the web for an answer but only fond a solution wit recompiling linuxcnc
05:12 AM XXCoder: last time i checked em it was 20 bucks for cheapest
05:15 AM SpeedEvil: Shitty does not always mean inaccurate.
05:15 AM SpeedEvil: Or not meeting specs.
05:15 AM XXCoder: indeed
05:15 AM fl0rene: i am using the whezzy.iso with linuxcnc 7.8.? i think (sorry but iam not at my machine) for years and edited my configuration and hal added a webcam for edgefinding, and i really dont want to recofigure all thesse settings
05:17 AM fl0rene: is there a way to do this without recompiling linuxcnc which i missed on the web
05:17 AM CNC_Brian: Guy's, getting strange latency glitches with the RT kernel. Typical latency from the updating figure on the base thread is in the 25000ns, but the Max Jitter is 8,000,000
05:18 AM CNC_Brian: The standard linux cnc 2.7 Live image runs fine
05:18 AM fl0rene: i have never compiled something for linux, so it is really hard for me to figure out how to do it.
05:18 AM XXCoder: 8 million! even my shitty laptop didnt go over 1/4 million
05:19 AM XXCoder: fl0rene: never did it myself hopefully someone will answer. :)
05:20 AM CNC_Brian: The odd this is just by looking at the moving figure its in the 250000 range, but must be the occasional horrible 8000000
05:20 AM CNC_Brian: Only think I can think of is the kernel was built on a different machine and cloned
05:20 AM CNC_Brian: Could that be an issue?
05:21 AM rmu: no
05:21 AM CNC_Brian: bugger
05:21 AM rmu: what type of kernel is that
05:21 AM rmu: rt-preempt, rtai, ?
05:21 AM CNC_Brian: Rt-preempt latest
05:22 AM CNC_Brian: Followed JT's distructions
05:22 AM rmu: do you use anything like proprietary nvidia or amd opengl drivers?
05:23 AM rmu: does dmesg show anything interesting when this 8 million thing happens?
05:24 AM rmu: 8 milliseconds is eternity for the cpu... strange
05:24 AM CNC_Brian: No its a old pentium Ive just updated so I can build some nice QtPyVCP UI's
05:24 AM CNC_Brian: Just using the build in GPU
05:25 AM CNC_Brian: So there is no benefit in re-compiling the kernel
05:25 AM rmu: pentium doesn't say that much really... i have an "old pentiums" gen-1 running at 60MHz
05:26 AM rmu: CNC_Brian: the kernel is from debian?
05:26 AM CNC_Brian: Got a feeling its s 2Ghz Core 2 duo, I will go and check the dmesg
05:26 AM rmu: CNC_Brian: what does uname -a say?
05:26 AM CNC_Brian: Im using Linux Mint
05:26 AM CNC_Brian: Will go and check down in the shop
05:27 AM rmu: don't have network? just ssh into the machine
05:31 AM CNC_Brian: So unman -a is 4.11.9-rt7
05:32 AM Deejay: uname
05:32 AM CNC_Brian: sorry bloody spelling checker
05:32 AM CNC_Brian: uname -a
05:33 AM CNC_Brian: SMP PREEMPT TR
05:33 AM CNC_Brian: SMP PREEMPT RT
05:33 AM rmu: that sounds ok
05:33 AM rmu: so i suspect either some driver causing this (but should show something in dmesg) or power management/thermal throttling or something like that
05:34 AM CNC_Brian: Seeing something about Perf Int took too long lowering Kernel.perf to 40500
05:34 AM CNC_Brian: Think I will rebuild the kernel with everything turned off.
05:35 AM CNC_Brian: There are lots of lines about bluetooth and I done even have bluetooth.
05:36 AM CNC_Brian: Will do a rebuild and report back!
05:38 AM rmu: did you build the kernel yourself?
05:38 AM jthornton: fl0rene: the issue is the NML limitation
05:39 AM jthornton: 56 tools is the max tool table size
05:39 AM jthornton: XXCoder: I got a $2 off coupon so $0.69 plus shipping lol
05:40 AM XXCoder: lol getting one too? i ordered one
05:40 AM XXCoder: can "acciently" drop one at work as a joke. or more likely keep at home for metric stuff
05:41 AM fl0rene: jthornton: I found something on the net about it! Bot the only way to fix it is to change some lines before compiling or re-compiling, isnt it?
05:43 AM fl0rene: jthornton: Or is there a way to change the limitation without recompiling??
05:45 AM fl0rene: found this on the web to solve it with recompiling: https://forum.linuxcnc.org/38-general-linuxcnc-questions/29620-limit-to-number-of-tools-in-tool-table?start=20
05:47 AM jthornton: building a RIP is fairly straight forward to do
05:48 AM fl0rene: Once I updated to linuxcnc 2.8 and as i started my machine the webcam-intigration did work any more! So i want to stay with 2.7.? becase all i added is working fine in 2.7
05:49 AM CNC_Brian: Rmu: https://github.com/zfsonlinux/zfs/issues/7609
05:49 AM CNC_Brian: Looks like a bug
05:57 AM fl0rene: how do you mean "a RIP is fairly straight forward to do"?? How can i fix the issue wit RIP??
06:03 AM fl0rene: I have never compiled linuxcnc for linux, i just installed the wheezy.iso including linuxcnc!! customised my hal and some other things adden pyvcp, ngcgui and some drivers for joypad and webcam, did a M6 remap! I did this over long time so i dont want to loose my settings , drivers and so on...
06:03 AM XXCoder: calm down man
06:09 AM rmu: RIP == run in place
06:09 AM rmu: CNC_Brian: seriously, you are running ZFS on linux on your CNC mill? i wouldn't do that.
06:11 AM fl0rene: rmu: But how can RIP fix the tool-slot problem without recompiling??
06:11 AM rmu: it can't, you have to recompile
06:11 AM rmu: or wait for 2.8 release, i think tool stuff is overhauled in 2.8
06:12 AM rmu: but that may be months/years in the future
06:12 AM rmu: CNC_Brian: try this https://packages.debian.org/de/buster/linux-image-rt-amd64 kernel
06:15 AM jthornton: when you build a rip you compile
06:15 AM jthornton: you could also build a deb and install that
06:17 AM fl0rene: how can this be done, do you have a tutorial for me how i can fix it??
06:20 AM XXCoder: fl0rene: if youre so concerned, get another hard drive, install another copy and use it to attempt stuff
06:20 AM XXCoder: if it works you can then do again on regular drive, or copy configuration and stuff over
06:21 AM XXCoder: also make backups. never fly without backups.
06:21 AM fl0rene: after installing a deb, will my changes still be there or do i have to do all changes again?
06:21 AM jthornton: what changes?
06:21 AM fl0rene: I do have some backups, done with clonezilla!
06:22 AM fl0rene: my settings for the steppers and my pyvcp, limits, web-cam, joypad,...
06:24 AM jthornton: installing a deb will not change what's in your user directories but a backup is always safer
06:26 AM fl0rene: Thanks a lot for your time and help! Is there a tutorial on the web how to create a deb and install it?
06:27 AM jthornton: http://gnipsel.com/linuxcnc/uspace/
06:28 AM jthornton: http://gnipsel.com/linuxcnc/uspace/linuxmint19-emc.html I wrote that for linux mint 19 but the procedure is the same
06:28 AM * jthornton thinks he just deleted his new store and should not have...
06:33 AM fl0rene: jthornton: Thanks again, will give it a try - is there a problem if i have rtai rt kernel! I think on the wheezy.iso is rtai kernel, isnt it?
06:43 AM jthornton: yea the live cd is rtai IIRC
06:47 AM fl0rene: is it a problem to use the given tutorial on rtai IIRC kernel?
06:48 AM fl0rene: Because it says PREEMPT RT is a important part!!!
06:57 AM jthornton: preempt is required for uspace and that tutorial is for uspace
07:00 AM * Tom_L thinks jthornton needed the windows feature that says "' are you really sure you wanna delete this "
07:01 AM jthornton: lol
07:01 AM Tom_L: morning.
07:02 AM fl0rene: jthornton: Nevertheless, thanks a lot for your patience.
07:02 AM jthornton: fl0rene: one sec
07:02 AM fl0rene: Ok
07:03 AM jthornton: https://paste.ubuntu.com/p/dJWjNZ7V7t/
07:03 AM jthornton: that should work to build 2.7
07:07 AM fl0rene: jthornton: Thanks again! I appreciate your patience. I'll give it a try after one more backup!! Thanks a lot, and have a nice day :-)
07:08 AM jthornton: your welcome
07:25 AM * jthornton is blinded by the light coming in the basement window
07:25 AM XXCoder: good morning!
07:26 AM XXCoder: https://www.weather.gov/sew/
07:26 AM XXCoder: im right in highest uncertainity area lol
07:27 AM XXCoder: later
09:38 AM Loetmichel: maaan, still sitting at work milling enclosure components and soldering cables... how did i misjudge the time requirement for that project SO badly? thurstday 08:00 to 01:00, saturday 10:00 to 18:00, today 10:00 to no idea (its 16:45 here now)... and still nowhere near done... and it absolutely has be at the customer monday morning at 09:00... 400km away.. .-(
10:07 AM Jymmm: GREAT... NOT!!!! Denatured alcohol is NOT FOR SALE in Kommifornia anymore
10:13 AM rmu: Loetmichel: check your clock
10:22 AM Tom_L: Jymmm why did they ban it?
10:23 AM Tom_L: just use everclear
10:27 AM rmu: https://www.quora.com/Is-Everclear-legal-in-California
10:29 AM Tom_L: https://www.quora.com/Is-Kratom-legal-in-California
10:31 AM Jymmm: Tom_L: CARB (california EPA)
10:31 AM Jymmm: so is "real" MEK, but I got that smuggled in across the border
10:32 AM Tom_L: what do race drivers use?
10:32 AM Jymmm: and real Everclear is illegal in california too
10:32 AM Tom_L: they like methanol...
10:32 AM Jymmm: no clue
10:32 AM Tom_L: they just don't wanna support the midwest farmers... that's what it is! i know it!!
10:33 AM rmu: use IPA
10:33 AM Jymmm: I did see ONE gas station that sold 107 octane fuel, but was like $8/gal
10:33 AM Jymmm: rmu: NO ipa, tyvm
10:33 AM Tom_L: before we used alcohol we'd get it at the airport
10:39 AM Tom_L: so what's the fine if you get caught with it?
10:43 AM Loetmichel: rmu: typo. i meant 16:35
10:44 AM Loetmichel: Tom_L: everclear leaves a nasty residue. Not good for cleaning. also it isnt 99,x% alc, it has quite a bit of water and other things
10:49 AM cncnoob: gregcnc check this out
10:49 AM cncnoob: https://www.youtube.com/watch?v=CEBW74yKcds
10:50 AM cncnoob: I think that live tool hobber might be the answer I was looking for, if it will fit on the CL-1 chucker
11:19 AM gregcnc: cncnoob, 1. that won't fit the CL-1. 2. the control would have to support hobbing (though macro could do it) 3. if you want very precise gears, people says it's not he best method.
11:20 AM Tom_L: archivist could tell you all about gears
11:20 AM gregcnc: 4. I think that live tool runs 3-5kUSD
11:21 AM Tom_L: have you ever tried rolling threads?
11:21 AM Tom_L: i'm wondering how the initial form varies from cutting
11:21 AM Tom_L: (i don't plan to try it)
11:22 AM Tom_L: but i've rolled threads in the past, just never paid attention to the initial form
11:22 AM gregcnc: look at any screw?
11:23 AM Tom_L: no i mean how does the material diameter vary compared to cutting
11:23 AM fragalot: you start smaller
11:23 AM Tom_L: beforehand
11:23 AM Tom_L: i figured that
11:23 AM fragalot: (assuming outside thread, isnide thread you start lager)
11:23 AM fragalot: I can't type today
11:23 AM gregcnc: similar to how drill size for form tap is different
11:23 AM Tom_L: i've been told they're stronger
11:24 AM gregcnc: google will tel you plenty, i 've read about it before
11:24 AM Tom_L: yeah i know
11:25 AM gregcnc: I've looked into thread rolls for the lathe, but they are fairly expensive so i haven't had an application
11:25 AM Tom_L: yeah they are
11:25 AM Tom_L: the one we used had 2 rollers timed together
11:25 AM Tom_L: on a C shaped tool
11:28 AM Tom_L: https://www.researchgate.net/profile/Manjunatha_Ss2/publication/322506679/figure/fig3/AS:583104860561408@1516034440754/Rotary-rolling-die-a.png
11:28 AM Tom_L: similar
01:40 PM Loetmichel: *HA* *saved by the bell^WMaterial shortage*... boss ordered the wrong drawer rails. needed 180mm he ordered 150mm long... now he has to drive to the home impovement shop tomorrow morning and buy 2 sets of the right ones... and i hope i can do the rest assembly before 14:00, because the boxes HAVE to be at the customer tomorrow. they have end of work at 16:00 and its 200km from here... anyways,
01:40 PM Loetmichel: got home "early" today, its only 20:36 now ;)
01:55 PM cncnoob: gregcnc, well that is unfortunate
01:56 PM cncnoob: The gears I need are tiny and will not have a high load
01:56 PM cncnoob: Maybe I need to look into having them injection molded
02:05 PM Tom_L: have you looked at sdp-si.com?
02:06 PM Loetmichel: cncnoob: maybe milling is an option?
02:06 PM Loetmichel: how big are the gears?
02:07 PM Loetmichel: http://www.cyrom.org/palbum/main.php?g2_itemId=14550 <- these are the smalles ones i made so far from POM ;)
02:08 PM Loetmichel: by milling from above
02:09 PM Loetmichel: http://www.cyrom.org/palbum/main.php?g2_itemId=14544&g2_imageViewsIndex=1 <- thats a 0,6mm two flute mill bit there ;)
02:09 PM Tom_L: from where?
02:10 PM Loetmichel: Tom_L: what do you mean?
02:10 PM Tom_L: where did you get the cutter?
02:10 PM Tom_L: oh nevermind i see it's not that special
02:10 PM Loetmichel: sorotec.de
02:11 PM Loetmichel: tungsten carbide tool
02:11 PM Tom_L: what did you use to program the profile?
02:12 PM Loetmichel: https://www.sorotec.de/shop/End-Mill-Double-Flute--0-6mm.html
02:13 PM Loetmichel: geargenerator from that canadian guy, forgot the name
02:14 PM Loetmichel: https://woodgears.ca/gear/index.html
02:14 PM Loetmichel: mathias wandel
02:14 PM Loetmichel: <. getting old ;)
02:16 PM Tom_L: just checked.. i've got a gear macro for my cad cam but i've never tried it
02:17 PM Tom_L: pressure angles of 14.5, 20, 25, 37.5 & 45
02:18 PM Tom_L: i made one for sprockets
02:25 PM cncnoob: Loetmichel I have prototyped the gears on my mill, but now I'm looking for a viable production method
02:25 PM cncnoob: The gears are tiny, .5" would be the largest
02:26 PM cncnoob: smallest would be something between 1/8" and 1/4"
02:26 PM Snowman108: Hello
02:27 PM Tom_L: cncnoob how many are you making?
02:27 PM cncnoob: Thousands hopefully
02:27 PM cncnoob: If my product sells
02:28 PM Tom_L: i'd get a quote from sdp-si
02:28 PM Snowman108: I had a running linuxcnc using a parallel port, then I went and installed a printer, now it is messed up and won't run the machine, it looks like the parallel port is getting hijacked, any ideas how to fix it.
02:28 PM cncnoob: Thanks Tom
02:29 PM cncnoob: I'll keep them in mind
02:29 PM Tom_L: or some other supplier
02:29 PM cncnoob: I would really like to be able to do all the work myself if possible
02:29 PM Tom_L: what's your time worth?
02:29 PM Tom_L: keep that in mind too
02:29 PM cncnoob: We have a gear house in town that I was going to check out as well. I'm hoping they will let me take a tour and maybe I can get some ideas
02:30 PM cncnoob: The goal is to quit my day job and make my product
02:30 PM Tom_L: another option is, you can get gear bar from sdp-si and cut it
02:30 PM Tom_L: pretty sure anyway
02:31 PM cncnoob: That might be an option for some of my gears, but several of them will be reducres
02:31 PM cncnoob: reducers*
02:31 PM JT-Shop: Snowman108: uninstall the printer
02:31 PM * Tom_L shares the sunshine with JT-Shop
02:32 PM Snowman108: I am running debian, I went and deleted it, I unistalled all of the print drivers in the package manager. still not love
02:35 PM Snowman108: the last part of dmesg show RTAI[math]: loaded
02:35 PM Snowman108: config string 0x378 out
02:36 PM Snowman108: RTAI[math]: unloaded
02:36 PM rmu: Snowman108: look at output of lsmod
02:37 PM rmu: Snowman108: check if anything named parport or lp is loaded
02:38 PM Snowman108: it says parport 3 lp,ppdev,parport_pc
02:39 PM rmu: try removing lp
02:39 PM Snowman108: how/
02:39 PM rmu: rmmod lp
02:39 PM rmu: as root
02:39 PM Snowman108: ok
02:39 PM Snowman108: ok it is gone
02:41 PM Snowman108: I will be right back going to go check, I can't open it in remote desktop
02:41 PM rmu: now you could try running linuxcnc again
02:41 PM rmu: if it doesn't work yet try removing the parport* modules. i'm not sure what is needed by linuxcnc
02:43 PM Snowman108: That did not work
02:44 PM Snowman108: rmu when you say remove the modules, you mean rmmod?
02:44 PM rmu: yes, rmmod
02:44 PM rmu: it unloads them from the running kernel
02:44 PM rmu: it is not permanent
02:45 PM Snowman108: ohhhh, I rebooted the machine and they are back
02:45 PM rmu: hehe
02:45 PM Snowman108: let me remove the lp and try to start it.
02:46 PM rmu: parport_pc shouldn't be a problem, but could be lp and/or ppdev interfere
03:14 PM owhite: hey people. a question about hal. I have a cnc laser and I have the hal shutting off the laser when the user selects pause in the linuxcnc interface.
03:15 PM owhite: the problem is when the user comes out of the pause, the laser resumes, but it actually needs to wait before continuing to move while the cutting gas comes on. Any suggestions?
03:16 PM owhite: basically I need a way to wait to come out of pause for a second before the machine continues moving.
03:17 PM Tom_L: http://linuxcnc.org/docs/2.7/html/man/man9/timedelay.9.html
03:18 PM Tom_L: put that as part of your pause routine
03:18 PM rmu: http://www.linuxcnc.org/docs/html/man/man9/motion.9.html motion.feed-inhibit
03:18 PM Tom_L: maybe you can map the resume thru that
03:19 PM Tom_L: that's probably more what i was trying to find
03:19 PM owhite: so I saw the timedelay, but take for example...
03:20 PM Tom_L: have your resume trigger the time delay thru an AND to the motion.feed inhibit
03:20 PM Tom_L: just thinking out loud here
03:21 PM owhite: ...the machine is in pause because the use requested it, then hits the pause button, and it would be great if when they hit pause, I could spawn a timedelay. but how to link the user hitting a button to timedelay? Reading up on motion.feed-inhibit
03:22 PM owhite: *user
03:22 PM Tom_L: map the button to it
03:22 PM Tom_L: what pin is it?
03:22 PM Tom_L: but ignore it on the pause just use it on the resume
03:22 PM owhite: it's in gmoccapy.
03:22 PM Tom_L: can't help you there
03:22 PM Tom_L: i'm using axis
03:23 PM rmu: owhite: if you have some signal "gas flow ok" then just use that
03:23 PM Tom_L: but the backend should still be the same
03:23 PM owhite: Tom_L so you would change this axis code?
03:23 PM rmu: or use the laser start signal to trigger a timedelay and wire that to feed-inhibit
03:23 PM Tom_L: half dozen ways to approach it, just whateve suits you
03:23 PM Tom_L: owhite no i wouldn't
03:24 PM rmu: don't change anything from linuxcnc
03:24 PM Tom_L: just add a little goop between resume and motion.spinde-inhibit
03:25 PM owhite: right so suppose you hit pause to stop the program in axis, then hit again to come out of pause. call that a "resume". so the question is how would you intercept that resume request?
03:26 PM rmu: i thought you already have the laser shut off when the user hits pause
03:26 PM owhite: so Tom I'm fairly fluent in hal, I've been linking a lot of my own user space commands and configuring hal to link to a number of pins, but I'm just stumped on a resume request that comes from the interface and looking for suggestions on that "goop".
03:26 PM rmu: and restart again
03:26 PM owhite: rmu, the sequence of events is...
03:27 PM owhite: ...user hits pause, laser shuts off (it's pin is tied to -is-paused), user hits the pause button again on the interface, and the laser then comes on, because -is-paused is false.
03:28 PM owhite: ...I'm trying to intercept that transition -is-paused = true to false for a second before the machine starts to move.
03:29 PM rmu: owhite: you will need to "or" the is-paused with a time delay and feed that to feed inhibit
03:30 PM rmu: and trigger the time delay when is-paused goes from true to false
03:30 PM rmu: and be careful with eval order to avoid glitches
03:30 PM Tom_L: OR may not do it
03:31 PM Tom_L: because either pin would make a True output
03:31 PM Tom_L: what you might do is run the resume to a 1shot on one side of the AND gate then also run it to the timedelay to the other input of the AND
03:31 PM Snowman108: Well I had it wrong, no problem with the parellel port being accessed, the charge pump is a go and the spindle is a go, just won't drive the maichine, steppers are connected, (they are holding) just won't go
03:32 PM owhite: rmu agree about the logic but I think the gist of the suggestion is still good.
03:32 PM Snowman108: ok where do I look next?
03:32 PM owhite: and will consider rolling in Tom_L's idea.
03:33 PM Tom_L: if you run the resume to an OR it will become true as soon as you hit resume
03:33 PM rmu: owhite: also have a look at classicladder, it maybe easier to tinker around with that
03:33 PM Tom_L: if you use an AND it will require 2 actions to be true
03:33 PM rmu: Snowman108: no error messages?
03:34 PM owhite: yah I have encountered classicladder in my travels and maybe it is indeed time to jump into it.
03:34 PM Tom_L: it's not that complicated
03:34 PM Snowman108: rmu: none that pop up
03:34 PM rmu: Snowman108: so you can enable the GUI (take machine out of e-stop) and when homing just nothing happens?
03:35 PM rmu: but the chargepump goes ok when enabling?
03:35 PM Snowman108: rmu: that is correct
03:35 PM Snowman108: using agecko g540
03:35 PM Tom_L: owhite just run a long pulse on the oneshot
03:36 PM Tom_L: and make sure the timedelay times out before the pulse ends
03:36 PM rmu: no idea
03:36 PM rmu: Snowman108: you could try looking at output of stepgens with halscope
03:36 PM Tom_L: then you have an adjustable input
03:37 PM owhite: Tom_L but I'm still dorking out on how to detect _a transition_ from pause to run. I'll keep trying.
03:37 PM Tom_L: i haven't found that yet
03:38 PM rmu: owhite: ddt hal module
03:39 PM Tom_L: halui.program.is-paused
03:39 PM Tom_L: i knew it was there somewhere
03:39 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL/my_jog.hal
03:39 PM Tom_L: my pause resume is in that hal
03:39 PM Tom_L: the rest of the config is in that same dir
03:40 PM Tom_L: halui.program.pause halui.program.resume
03:40 PM Tom_L: are the ones you wanna use i believe
03:40 PM owhite: well....so I looked at those.
03:41 PM owhite: suppose you want the hal layer to go into pause. (I use this) then you call halui.program.pause
03:41 PM Tom_L: just run the resume thru the timer
03:41 PM Tom_L: you're heading in a direction above my pay grade
03:42 PM owhite: suppose I want it to resume, same thing, halui.program.resume
03:42 PM Tom_L: why do you pause the hal layer?
03:43 PM Tom_L: i assume motion is below that
03:43 PM owhite: sorry, wrong way to say it. I meant. in a hal component, specify that if a condition changes then I want to pause the machine, not the hal layer.
03:44 PM Snowman108: rmu:halscope show x being triggered
03:44 PM owhite: For example. I have a collision detector on my laser. Something bumps the optics, I have a pin that goes from low to high, and that calls halui.program.pause.
03:44 PM owhite: It's very helpful.
03:45 PM Tom_L: run your pause pin thru an AND along with the halui component?
03:45 PM rmu: Snowman108: so follow the signal ;-) check output of parallel port with scope
03:46 PM Tom_L: and if halui isn't paused it won't become true
03:46 PM Tom_L: but if it is, the button and the hal component will satisfy the AND
03:46 PM Tom_L: and should avoid your other use of it
03:47 PM Tom_L: just make sure your button is debounced
03:48 PM owhite: thinking. you understand the "button" is in the interface. Like imagine it was in axis, and you needed to catch that user request.
03:48 PM Tom_L: yeah
03:48 PM Tom_L: there should be a pin or net associated with it
03:49 PM Tom_L: so you likely won't need the debounce there
03:50 PM owhite: yah I agree, I use gmoccapy and so far I have not been able to find it. It looked at the pins it creates in halshow and there wasnt anything obvious. doesnt mean there isnt something, but it wasnt obvious.
03:50 PM Tom_L: i don't know how gmocappy interface treats buttons... whether it's a one shot or an on/off state thing
03:51 PM owhite: sorry, i wish there was a spell correct. "*I* looked at the pins it creates in halshow..."
03:52 PM Snowman108: rmu:ok so para pin2 which is out for X show signal
03:52 PM owhite: thanks very much for your suggestions, let me try a few things.
03:53 PM Tom_L: there should be a net associated with that pin
03:53 PM Tom_L: pin/button
03:53 PM rmu: Snowman108: did you change EPP settings in BIOS?
03:53 PM rmu: recently?
03:54 PM Snowman108: rmu: no but I can go check it to make sure it hasn't changed
03:54 PM rmu: hmm. if charge pump is ok then EPP settings should be ok.
03:54 PM Tom_L: http://linuxcnc.org/docs/2.7/html/gui/gmoccapy.html#_pins_to_indicate_program_progress_information
03:54 PM rmu: seems your gecko has a problem
03:55 PM Tom_L: owhite ^^
03:55 PM owhite: Tom_L - thanks much!
03:55 PM Tom_L: there are vertical and horizontal 'user' buttons if you happen to be using one of those
03:56 PM gimps_ is now known as gimps
03:59 PM Snowman108: rmu: I am beginning to wonder, generaly when the driver gets blown it will go into a fault, steppers have holding torqe, so they are getting power
04:01 PM Snowman108: Time to go do some more research
04:03 PM rmu: does the gecko have a enable/disable input?
04:03 PM rmu: (on the screw terminals)
04:04 PM rmu: i also have a g540, but it i didn't have a look at it in years
04:05 PM Snowman108: bios was in ecp
04:05 PM Snowman108: rebooting......standby
04:14 PM Deejay: gn8
04:37 PM Snowman108: I am back
04:37 PM Snowman108: rmu: well that didn't fix anything
04:39 PM Snowman108: rmu: Thanks for all the help, I am going to go some more research now that I have narrowed it down abit more.
05:14 PM Snowman108: a
06:00 PM ve7it: Jymmm, you about?
06:01 PM Jymmm: ve7it: No, leave a message at the beeeeee.... p ;)
06:02 PM Jymmm: ve7it: hows it going?
06:02 PM ve7it: hey man... long time.... thought of you the other day... have been playing with a 2.5w 450nm laser on my 3d printer... makes lots of smoke!
06:03 PM Jymmm: Yep, you need to grab a dust collector or exhaust =)
06:04 PM ve7it: found that out after the whole house smelled like alder smoke!
06:05 PM Jymmm: haha
06:05 PM ve7it: moved the printer next to the window and made an exhaust insert that has 3 muffin fans from an old rack cooling system
06:05 PM Jymmm: ve7it: Goto a hydropoincs store, they have some reasonable
06:06 PM ve7it: noisy but effective... cut a bunch of stuff and didnt even smell up my office
06:06 PM Jymmm: nice
06:08 PM ve7it: had to burn a sign for the door... Danger - Laser In Use! Do not look at beam with remaining eye.
06:08 PM ve7it: one definately wants goggles on.. that sucker is bright!
06:09 PM ve7it: lights up the office like a have a tig welder running in there
06:32 PM XXCoder: wow!
06:32 PM XXCoder: https://imgur.com/gallery/4lhiqSC
06:32 PM XXCoder: this is cooool
06:32 PM TurBoss: haha very cool
06:33 PM XXCoder: hey tur hows things
06:33 PM TurBoss: fine
06:33 PM TurBoss: just working on jcnc
06:34 PM * TurBoss uploaded an image: Captura de pantalla_2019-02-25_01-31-22.png (198KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/zQHUqyOZJzlZqaugueHWDusc >
06:35 PM XXCoder: not too bad just some names is unreadable on buttons
06:35 PM TurBoss: hehe
06:36 PM TurBoss: true
06:36 PM TurBoss: I should place them at top of each botton
06:41 PM XXCoder: ...
06:41 PM XXCoder: someone invented antilock for bicycles.
06:41 PM XXCoder: like antilock brakes on car
06:41 PM XXCoder: https://www.youtube.com/watch?v=iiRpGHiKHJ0
06:46 PM * SpeedEvil objects to the use of the word 'invented'.
06:46 PM SpeedEvil: Implemented.
06:46 PM SpeedEvil: Engineered, added, ...
07:15 PM XXCoder: SpeedEvil: https://www.youtube.com/watch?v=mrk6pN53kxk
07:15 PM XXCoder: interesting project
07:15 PM XXCoder: not very strong but enough power for alum and some stuff
07:16 PM SpeedEvil: It doesn't take that much power at all to cut really quite thick stuff with a good quality high tension hacksaw blade.
07:17 PM SpeedEvil: If you've got all day
07:18 PM XXCoder: yeah though if its automated i can do other stuff while it runs.
07:18 PM SpeedEvil: 5 axis hacksaw would be amusing.
07:18 PM SpeedEvil: Or do I mean 6
07:19 PM XXCoder: lol all xyz abc why not
07:21 PM Tom_L: better than this one maybe: https://www.thingiverse.com/thing:1555072
07:23 PM XXCoder: maybe
07:23 PM XXCoder: that ones easier to make if have 3d printer
07:24 PM Tom_L: and probably smoother
07:24 PM XXCoder: i dont really like drill usage
07:24 PM XXCoder: I would use something else to power it
07:25 PM XXCoder: maybe get cheap drill engine "lathe" from aliexpress
07:25 PM XXCoder: use that
07:40 PM skunkworks: I think the cui capacitive are not that great...
07:43 PM XXCoder: https://www.youtube.com/watch?v=-5unZqXgP5c great
09:24 PM CaptHindsight: howdy
09:27 PM Tom_L: evening
09:28 PM XXCoder: hey
09:29 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Smartcam/threadmacro6.jpg
09:29 PM Tom_L: doing some testing on my macro. the yellow/white are 2-56 internal & external and the green/purple are 1/2-13 internal external
09:30 PM XXCoder: fancy :)
09:30 PM XXCoder: wonder if you could make quite large threads with that, for wood assembly
09:30 PM Tom_L: absolutely
09:30 PM XXCoder: nice
09:31 PM Tom_L: just need accurate data
09:31 PM XXCoder: yeah could do it in 2 steos
09:31 PM Tom_L: notice the leadin moves for internal are in the center and external are outside at the top
09:32 PM XXCoder: first endmill to define cylinder, then thread mll it.
09:32 PM XXCoder: hole is simply make hole then thread mill it
09:33 PM Tom_L: i thought about making a custom test thread once it warms up a bit
10:04 PM CaptHindsight: http://www.orangepi.org/ mali drivers are nearly open now
10:04 PM XXCoder: whats kleft now?
10:05 PM CaptHindsight: so preempt_rt on one core and non RT on the others plus accelerated GPU on your kernel or choice
10:05 PM CaptHindsight: still in testing
10:08 PM CaptHindsight: SPI , Ethernet or PCIe to a Mesa card...
10:08 PM CaptHindsight: have to check the H6 specs to see if the GPIO may be toggled fast enough for step genration
10:10 PM CaptHindsight: oohh has an embedded controller inside OR1200
10:13 PM CaptHindsight: dpending on silicon version it might be usable for software stepping
10:24 PM CaptHindsight: https://www.aliexpress.com/store/product/Orange-Pi-3-H6-2GB-LPDDR3-8GB-EMMC-Flash-Gigabyte-Ethernet-Port-AP6256-WIFI-BT5-0/1553371_32971639306.html?spm=2114.12010108.0.0.15884315Zcw2Lf
10:25 PM CaptHindsight: $39.90 Orange Pi 3 H6 2GB LPDDR3 + 8GB EMMC Flash Gigabyte Ethernet Port
10:27 PM CaptHindsight: and a mini-PCIe slot
10:33 PM XXCoder: homemade arbor part 2 https://www.youtube.com/watch?v=Im4ajKsg660
10:37 PM XXCoder: what annoys me is that he never backs off any taps
10:37 PM XXCoder: should do half turn back off a little then go more
10:38 PM XXCoder: can tell hes working hard after few rotations lol
10:39 PM Tom_itx: good way to snap a tap especially when you're going slow with it
10:39 PM XXCoder: keep going is good way to snap off tap correct?
10:40 PM Tom_itx: cnc you could get away with it using a spiral tap
10:40 PM Tom_itx: manually you're better off backing it out
10:41 PM XXCoder: theres only 2 parts in shop that require hand tapping, both because hole is so shallow machine cant do full depth tap.
10:41 PM Tom_itx: not even with a bottoming tap?
10:41 PM XXCoder: yeah
10:42 PM XXCoder: theres couple turns thats not full thread yet
10:42 PM XXCoder: and those 2 parts require 100% of depth to be full thread
10:43 PM Tom_itx: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Assembly/X_Axis_tapped.jpg
10:43 PM Tom_itx: crappy holder but i made those for each tap i used to keep them straight
10:43 PM Tom_itx: the barstock
10:43 PM XXCoder: nice/ yeah
10:43 PM XXCoder: I have tap block lol have used it at 0% of jobs :P but making it was fun.
10:44 PM Tom_itx: small ones i used (4-40) just some crap cutoff sheet and drilled a hole in it
10:45 PM Tom_itx: like 1/4" plate or 3/8
10:45 PM Tom_itx: whatever was layin there
10:45 PM XXCoder: tap block isnt very complex lol just 10 holes on block
10:45 PM XXCoder: various sizes
10:46 PM Tom_itx: not always room for all in one
10:46 PM XXCoder: idea: adjustable tap block lol
10:46 PM XXCoder: just Vs and one side can be pushed in
11:32 PM XXCoder: lol pretty dangerous! https://www.youtube.com/watch?v=kBdpL1PPKVc