#linuxcnc Logs
Mar 24 2019
#linuxcnc Calendar
12:50 AM XXCoder: https://imgur.com/a/3qc7Fye
02:55 AM Deejay: moin
02:56 AM XXCoder: yo
02:56 AM XXCoder: gloops: https://imgur.com/a/3qc7Fye heh
03:00 AM gloops: yeah but it probably came with the usual disclaimer 'please allow +-3mm for manual measurements'
03:00 AM XXCoder: yeah
03:01 AM XXCoder: i cleaned it a little bit, works better but yeah certification people wouldnt have been happy, nor amused
03:04 AM gloops: oh its yours ? lol
03:04 AM XXCoder: yep
03:04 AM XXCoder: 3 bucks lol
03:04 AM XXCoder: worth 1 buck
03:05 AM XXCoder: so i overpaid oh well
03:05 AM gloops: lol, i thought it was just something youd found on the net
03:05 AM XXCoder: its not quite repeatable it varies around less than .1mm
03:05 AM XXCoder: but plenty for home use.
03:06 AM gloops: ok for some things
03:06 AM gambakufu: you can use it as a clamp
03:06 AM XXCoder: indeed lol
03:07 AM gloops: $3 for precision mini G clamp
03:07 AM gloops: not bad
03:08 AM XXCoder: yeah thought might end u being $0
03:08 AM XXCoder: i filled out complant form because of course.
03:08 AM gloops: probably right to leave bad feedback, saves others making the mistake
03:09 AM gloops: ive bought cheap stuff - its not the money really, its the wait, waiting for a part to continue with something, it arrives 3 week later, you realise you just wasted 3 weeks because youve got to buy a proper one now
03:10 AM XXCoder: this mic i bought for pure lols
03:10 AM XXCoder: dont really need it, though wanted a metric mic
04:20 AM zkrx: is it safe to operate a stepper driver without having any motor attached (for debugging)?
04:20 AM zkrx: I'm talking about this kind of drivers: https://www.omiocnc.com/stepper-drive-omio556.html
05:07 AM jthornton: morning
06:24 AM XXCoder: hey jthornton https://imgur.com/a/3qc7Fye check it out lol
06:24 AM XXCoder: it was actually worse than i expected. it was pretty hard to take my nearly zero expections down but they managed.
06:35 AM SpeedEvil: Is that hacksawed off?
06:35 AM XXCoder: possibly?
06:36 AM XXCoder: it looks pre-harden and pre-ground
06:36 AM XXCoder: ie its not even ready yet. if I had grounder machine I would be able to finish it, but i dont.
06:36 AM XXCoder: just had a thought
06:36 AM XXCoder: what if it can be good student project
06:37 AM XXCoder: ans they keep the finished one
06:37 AM x2s: Hi. I'm wondering, is there a way to get control back over the mill during a tool change, so I can readjust the Z axis somehow? Currently I'm doing it with stopping, changing the tool, adjusting the height, then re-starting the program, but from where the new tool is needed.
06:38 AM XXCoder: there should be configuration yeah manual tool change it will go to z home then wait for you
06:39 AM XXCoder: you can then change to jog, mdi whatever needed to set tool length, then go back to program and run
06:39 AM Tom_L: morning
06:39 AM XXCoder: good morning
06:43 AM Tom_L: x2s are you using run from line?
06:59 AM x2s: Tom_L: yes
07:01 AM x2s: XXCoder: can you drop me a hint where to look in the documentation?
07:01 AM fdarling: zkrx: it's safe to run a stepper driver without a motor connected, however it is *not* safe to disconnect the motor while the driver is on!
07:02 AM fdarling: zkrx: the inductance of the motor will cause a high voltage spike and it'll arc as you're disconnecting and potentially (very likely, I've had it happen) fry the transistors on the driver
07:03 AM fdarling: zkrx: this often manifests by it letting out magic smoke because it fails short circuit and then blows open circuit due to the mini fire
07:09 AM x2s: looks like there's nothing built-in for this. But I could create my own pyvcp interface for it, I guess
07:37 AM zkrx: fdarling: thanks! I saw this warning in some driver datasheet indeed.
07:50 AM gloops: also dont change the dipswitch settings while power is on
10:09 AM Roguish: pcw_home: Peter, are there specific 6i24 bit files, for higher clock rates as alluded to in the 6i24 manual? Where can I acquire them? only 5i24 firmware is posted for both the 5i24 and 6i24 on Mesanet.
11:15 AM pcw_home: I usually don't bother making the 6I24 bitfiles and just use 5I24 bitfiles ( any performance difference is negligible )
11:23 AM PL7icnc: hi gloops are you on
12:02 PM _unreal_: jhust ordered some REALLLLY cool nano fans
12:03 PM _unreal_: blowers technically
12:03 PM _unreal_: The thing is TINY http://www.sunon.com/pro2_page.php?pkid=10
12:52 PM SpeedEvil: :)
01:44 PM Tom_L: busy day here
01:48 PM gloops: slowly dying with cold or some hellish affliction anyway
01:48 PM Tom_L: finally ran some steel parts on the mill
01:48 PM Tom_L: slowly but it did ok
01:49 PM gloops: yeah, how did it go Tom_L?
01:49 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/thread_mills/Mill_Holder_Steel1.jpg
01:49 PM Tom_L: right one is alum
01:50 PM gloops: that looks pretty good
01:50 PM Tom_L: made a few adjustments but overall went great
01:50 PM Tom_L: i'll polish up the OD maybe
01:51 PM Tom_L: not critical to the part...
01:56 PM _unreal_: gloops, I'm lucky to get sick once a year living in the tropics
01:56 PM _unreal_: one if the biggest difference for me ever sense I left maine... I no longer have the nonstop runny nose in the winter time
01:56 PM gloops: i cant remember when i last had a cold tbh, i thought this would be over in a day or 2 but it isnt
01:56 PM gloops: done nothing to day
01:57 PM _unreal_: lucky you... I've been cleaning dog mess
01:57 PM _unreal_: fam refused to get rid of the bastard
01:57 PM gloops: lol
02:19 PM milkii is now known as milk_e
03:42 PM fragalot: 'sup
03:45 PM rigid: ahoy
03:45 PM rigid: what's the maximum steps/s you can achieve using linuxcnc with motor driver + encoder connected to bare metal?
03:46 PM fragalot: depends what you're running it on
03:46 PM rigid: fragalot: not too exotic hardware, something like raspi or asus tinker board
03:48 PM fragalot: i'm not sure on a raspi but I wouldn't expect too much if i'm honest
03:49 PM rigid: hm, what could be the bottleneck?
03:49 PM fragalot: there seem to be a project or 2 to run it using the GPIO pins, but I can't find specs
03:49 PM rigid: raspi gpio is quite fast. you can use it to transmit radio signals
03:51 PM fragalot: https://forum.linuxcnc.org/18-computer/20514-emc2-running-on-raspberry-pi?start=320
03:51 PM rigid: ah thanks
04:57 PM Deejay: gn8
06:01 PM XXCoder: >:( https://www.king5.com/article/tech/science/environment/western-washington-had-50-fires-this-week-after-stretch-of-dry-weather/281-c2904255-cddd-4178-be81-f1f302c911af
06:37 PM cncjerry: anyone home?
06:38 PM cncjerry: big problem, hardrive crashed on my mill. it had been running fantastic for years and years. config files are not backed up so I am trying to recreate them.
06:39 PM cncjerry: I use a servo system, 1100oz/in motors, gecko g320s. I thought I used a standard stepconfig before. I am getting joint follow errors on rapids
06:40 PM cncjerry: I took out ferror and the otherone, min_ferror (sic) just to see if I had them hosed. can someone give me a hint on this one? spent hours.
08:37 PM XXCoder: guy left too bad
09:37 PM _unreal_: sigh..... waiting for a computer to install ubuntu so I can atempt to finally compile the proper RT kernel I need
09:51 PM XXCoder: fun
09:52 PM XXCoder: hey JT-Shop
09:54 PM _unreal_: been driving me crazy I cant find anyone to give me a hand on trying to compile something all I get is additude and your idea is worng...
09:54 PM _unreal_: I'm like WTF is your problem....
09:55 PM XXCoder: in here?
09:55 PM _unreal_: my project not yours
09:55 PM _unreal_: likely sleeping?
09:55 PM fdarling: _unreal_: when you say "a hand on trying to compile something", do you mean the kernel or some other piece of software?
09:55 PM _unreal_: anything
09:56 PM _unreal_: fdarling, https://forum.armbian.com/topic/6934-stability-problem-tinker-board/
09:56 PM fdarling: _unreal_: I used to use Gentoo Linux and have a lot of experience manually compiling Linux kernels, but I do not have experience packaging up the kernel in a way that will integrate with Ubuntu nicely
09:56 PM _unreal_: err sorry worng link
09:56 PM _unreal_: https://www.armbian.com/tinkerboard/
09:56 PM _unreal_: Thats the right link
09:56 PM fdarling: _unreal_: I am also a C/C++ programmer so I can usually power through compilation errors ;-)
09:57 PM fdarling: _unreal_: what about that board?
09:57 PM _unreal_: ok before I tell you anything else let me show you the project
09:57 PM _unreal_: https://photos.google.com/share/AF1QipNjUL9VJW4BIh58ZOHM6jOWS10l43lfzL_nr7FMD-YXm_o6hG63BfTN2Rv6ch6C_Q?key=OVV0UTBXUmF0NXNSR2NKVzdoaFhxQzVTbDI5V3JB
09:57 PM _unreal_: been building this for a while
09:58 PM fdarling: _unreal_: all right, I looked over the photos
09:58 PM _unreal_: asus tinker board, I'm buiding a cnc machine. this is the computer system I want to use with it. I plan to use linuxcnc
09:59 PM _unreal_: the tinker board is much like the RPI but 2x cpu 2x mem etc... same GPIO
09:59 PM _unreal_: My goal is to setup armbian with a RT kernel linuxcnc and get the hal setup so I can use linuxcnc with the GPIO like one with the par port
10:00 PM _unreal_: fdarling, are you in the USA?
10:00 PM fdarling: _unreal_: I have seen a crazy Russian online driving stepper motor based 3D printers using accelerated Python and DMA, so it should definitely be possible
10:00 PM fdarling: _unreal_: yes I am
10:01 PM _unreal_: if your interested I'll build you one of these shells if you can solve my software issues before I do
10:01 PM fdarling: _unreal_: I might appreciate that, but I'll help you anyways ;-) unless that setup can get me >4kHz servo thread rates I am not seeing too much advantage over using an x86 computer
10:02 PM fdarling: _unreal_: so what are your immediate issues?
10:02 PM _unreal_: tinker board, armbian, RT kernel, linuxcnc
10:02 PM fdarling: _unreal_: is it that you don't know how to do any of this? Or you actually hit a snag trying to follow guides?
10:02 PM _unreal_: second phase, linuxcnc GPIO though GPIO and kernel may go hand in hand depending on setup
10:03 PM fdarling: _unreal_: https://www.youtube.com/channel/UCm7xB2BSVnNBT5-P5pUSWIw
10:03 PM _unreal_: I'm not strong in kernel compiling
10:03 PM _unreal_: I know linux dont get me worng but I'm no programmer.
10:03 PM fdarling: that's the Russian guy who uses Python and DMA to stream waveforms out the GPIO. He has it working amazingly well, I have been meaning to study his code so I can see about doing it without Python (should only be better!)
10:04 PM _unreal_: oh yayayaay I have seen that one
10:04 PM _unreal_: guy has 3d printer, cnc and hot wire or something all on one
10:04 PM fdarling: _unreal_: LinuxCNC supports ARM, that much I know
10:05 PM _unreal_: the issue is NO one has published a RT image for tinker board
10:05 PM _unreal_: just howto's
10:05 PM fdarling: _unreal_: I'd say that the first step would be to get the Linux distribution up and running with LinuxCNC built in "simulator" mode (no realtime) and once you have that working, you can work on getting the realtime kernel, then rebuilding LinuxCNC with realtime support
10:05 PM _unreal_: right..
10:05 PM fdarling: _unreal_: do you have ARMbian or whatever installed yet?
10:06 PM _unreal_: yes
10:06 PM fdarling: _unreal_: have you made sure that there isn't an off-the-shelf RT kernel in the repository?
10:06 PM _unreal_: I would not know for sure
10:06 PM _unreal_: give me a few and I'll get my build in front of me and booted
10:06 PM _unreal_: you know I dont even know what to call the thing
10:07 PM fdarling: _unreal_: can you set up SSH access to the machine?
10:07 PM _unreal_: already working
10:07 PM _unreal_: I just have to plug it in
10:07 PM _unreal_: dbl check IP
10:07 PM fdarling: _unreal_: if you want, I can get on SSH with you and we can share a console session using 'screen'
10:08 PM _unreal_: give me a few need to bring the shell over to my desk
10:08 PM _unreal_: "aka shut down netbook that is sitting in the area it iwll be...
10:11 PM _unreal_: ok boot
10:11 PM _unreal_: boooting
10:11 PM _unreal_: had a small panic attack. didnt turn on. turned out the extension cord was not plugged in
10:12 PM _unreal_: and I'm in
10:12 PM _unreal_: tinker@tinkerboard:~$
10:12 PM _unreal_: Linux tinkerboard 4.19.20-rockchip #5.75 SMP PREEMPT Fri Feb 8 11:59:37 CET 2019 armv7l armv7l armv7l GNU/Linux
10:13 PM _unreal_: been a while since I used screen
10:14 PM fdarling: _unreal_: I private messaged you, do you see it?
10:14 PM _unreal_: !!!!!!!!!!!!!!!!!!!!!!!!!!! I figured it out ... I've been having typing issues as of late..... I think my chair is dieing...
10:14 PM _unreal_: it keeps going down slowly
10:14 PM _unreal_: ok
10:50 PM roycroft: cut back on the cheetos, _unreal_
10:51 PM _unreal_: are you saying I got a big but?
10:52 PM roycroft: i'm just suggesting that the problem may not be with the chair, but with the occupant