#linuxcnc Logs
Mar 31 2020
#linuxcnc Calendar
12:07 AM Centurion-Dan2 is now known as Centurion_Dan
12:41 AM Centurion-Dan2 is now known as Centurion_Dan
01:27 AM Centurion-Dan2 is now known as Centurion_Dan
01:42 AM CaptHindsight: Loetmichel: pingen
02:01 AM Loetmichel: pongen ;)
02:03 AM CaptHindsight: Loetmichel: what is a good German TV news network besides DW?
02:04 AM CaptHindsight: watching some morning news show on German Sat 1 right now, the virus coverage is so upbeat
02:08 AM Centurion-Dan2 is now known as Centurion_Dan
02:10 AM Loetmichel: CaptHindsight: usually the "state driven" ARD and ZDF. they are (compared to america) pretty neutral.
02:11 AM Loetmichel: they are not "news networks" but full program thoug
02:11 AM Loetmichel: +h
02:11 AM CaptHindsight: Vielen Dank
02:11 AM CaptHindsight: close enough
02:12 AM CaptHindsight: i see ZDF and ZDF Neo
02:14 AM CaptHindsight: wow HD stream to US ip
02:26 AM TurBoss: CaptHindsight: good morning
02:50 AM Centurion-Dan2 is now known as Centurion_Dan
03:03 AM Loetmichel: oh man. its nice to drive a "big" (for european standards) car... until you see your balance when tax and insurance for the year is due... "where did that 1000eur went??? ah, tax and insurance :(".
03:31 AM Centurion-Dan2 is now known as Centurion_Dan
04:17 AM Centurion-Dan2 is now known as Centurion_Dan
04:40 AM Deejay: moin
04:50 AM jthornton: morning
04:51 AM XXCoder: heys
04:52 AM XXCoder: 354 cases in country im in
04:52 AM XXCoder: sucks
04:52 AM XXCoder: usa on way to double over second worst counry too :(
04:54 AM Centurion-Dan2 is now known as Centurion_Dan
05:03 AM XXCoder: jthornton: new sign at work: "don't use feet to flush, please bring paper towel"
05:03 AM XXCoder: i wanna know what prompted that.
05:08 AM jthornton: dirty feet
05:10 AM XXCoder: both restroom looks fine, maybe its front end restroom that got something broken
05:39 AM Centurion-Dan2 is now known as Centurion_Dan
06:17 AM XXCoder: jthornton: https://www.youtube.com/watch?v=ctFxI7SwLyA
06:17 AM XXCoder: mini injection molding
06:18 AM pink_vampire: XXCoder: cool !!!!!!!!!!
06:18 AM XXCoder: yeah.
06:19 AM jthornton: I think I saw that before
06:19 AM Centurion-Dan2 is now known as Centurion_Dan
06:19 AM pink_vampire: with the white parts
06:20 AM XXCoder: interesting https://twitter.com/sipeedio/status/1181194371045052419
06:25 AM pink_vampire: cool
06:26 AM pink_vampire: do you know where can I find plans?
06:28 AM XXCoder: not so far
06:29 AM XXCoder: software and computer hardware is unknown also
06:32 AM XXCoder: so jelious of that guy homgious cnc machine heh https://youtu.be/6uqT4unQFIE
06:38 AM pink_vampire: any idea how to make this in linux cnc?? https://youtu.be/BAAio27mxKI?t=1230
06:39 AM XXCoder: spindle as axis
06:39 AM cpresser: pink_vampire: have a spindle-encoder and be done with it.
06:39 AM XXCoder: some machine have linked axis to sync
06:39 AM pink_vampire: I have the spindle as C axis
06:39 AM cpresser: http://www.linuxcnc.org/docs/html/examples/spindle.html 6.1
06:40 AM cpresser: then this http://www.linuxcnc.org/docs/html/gcode/g-code.html#gcode:g33.1
06:41 AM pink_vampire: cpresser: https://i.imgur.com/zL4X7Q1.png
06:42 AM pink_vampire: this is how the spindle work
06:43 AM cpresser: one solution is to wire z-axis-pos-cmd to c-axis-pos-fb
06:43 AM pink_vampire: but you need to talk to the C axis in degrees.
06:43 AM cpresser: put a multiplier component in between
06:43 AM cpresser: to convert units and set pitch
06:43 AM pink_vampire: not really sure
06:44 AM cpresser: perhaps also have a mux that allows switching z-axis-pos-cmd back to the motion output, so you can use both configurations without restarting
06:45 AM pink_vampire: what is z-axis-pos-cmd?
06:45 AM cpresser: a HAL signal.
06:46 AM cpresser: most likely the name is not correct, I don't know the exact names out of my head
06:46 AM cpresser: consider this as pseudo-code
06:47 AM pink_vampire: is that something that is built in to linuxcnc?
06:48 AM cpresser: HAL is buildin.
06:48 AM pink_vampire: I mean the "z-axis-pos-cmd" signal
06:49 AM cpresser: yes. there will be something like this in your hal configuration
06:49 AM cpresser: open the hal viewer and inspect the signals
06:50 AM pink_vampire: ok lets see
06:52 AM pink_vampire: zpos-cmd?
06:52 AM pink_vampire: Type float
06:52 AM cpresser: sounds plausible. move your machine around and see if it changes
06:52 AM pink_vampire: Value -58.00189
06:53 AM pink_vampire: yes, it is moving,
06:54 AM pink_vampire: it's not the same value as the Z axis DRO
06:54 AM cpresser: because of offsets, touchoff, ....
06:55 AM cpresser: the DRO value is most likely also somewhere in HAL.
06:55 AM * cpresser would need to look into the docs. I don't know this out of the back of my head
06:58 AM pink_vampire: ok, but at least I have a start - thanks
07:03 AM Centurion-Dan2 is now known as Centurion_Dan
07:45 AM Centurion-Dan2 is now known as Centurion_Dan
08:29 AM Centurion-Dan2 is now known as Centurion_Dan
09:08 AM Centurion-Dan2 is now known as Centurion_Dan
09:16 AM jymmmm: good morning
09:54 AM jymmmm: Firefox Dev's are getting worse and worse these day. That whole FORCE you to restart to finish update is BS. Now they've removed the manual update option in settings, but it's still in ABOUT:CONFIG, app.update.auto, and set to FALSE
09:57 AM t4nk_freenode: just compile it yourself whenever you want
10:11 AM jymmmm: WOW it's amazing how many things are NOT available on amazon
10:19 AM Rab: Orders are being pushed out by a month, too.
10:19 AM Rab: I had seen reports of that, then I placed an order on March 23 and it's alleged to be arriving on April 24.
10:20 AM Rab: All items FBA and in stock, but not a Prime order.
10:21 AM Rab: I suppose that's on me for funding Jeff Bezos's alimony payments.
10:28 AM Centurion-Dan2 is now known as Centurion_Dan
10:30 AM * roycroft has been receiving shipments from amazon on a regular basis
10:30 AM roycroft: the only thing that's been pushed out is an order for some scott blue shop towels
10:31 AM roycroft: and i was able to source enough locally to get me by for a month
11:11 AM Centurion-Dan2 is now known as Centurion_Dan
11:57 AM Centurion-Dan2 is now known as Centurion_Dan
12:37 PM Centurion-Dan2 is now known as Centurion_Dan
01:24 PM Centurion-Dan2 is now known as Centurion_Dan
01:41 PM CaptHindsight: https://pastebin.com/bYyg1Yr4 six columns of position info?
01:42 PM CaptHindsight: XYZ and ? or wtf? in mm is all that is known
01:44 PM CaptHindsight: all the file mentioned is XYZ curves
01:47 PM W1N9Zr0: probably normal/tangent, given it looks normalized
01:48 PM CaptHindsight: XYZ / XYZ ?
02:05 PM Centurion-Dan2 is now known as Centurion_Dan
02:08 PM Tom_L: CaptHindsight, looks sorta like a comp file
02:09 PM Tom_L: http://linuxcnc.org/docs/2.8/html/config/ini-config.html#_joint__lt_num_gt_section
02:24 PM CaptHindsight: customer sent files without the decoder ring
02:25 PM Tom_L: i doubt that's what it is but it made me think of that
02:28 PM CaptHindsight: yes could be anything
02:48 PM Centurion-Dan2 is now known as Centurion_Dan
03:05 PM XXCoder: wow!!
03:05 PM XXCoder: https://hackaday.io/project/169642-dial-indicator-clock
03:05 PM XXCoder: that is way cool!
03:16 PM gloops: @realDonaldTrump
03:16 PM gloops: Great news! American families will now be able to buy safer, more affordable, and environmentally friendly cars with our new SAFE VEHICLES RULE. Get rid of those old, unsafe clunkers. Build better and safer American cars and create American jobs. Buy American!
03:17 PM gloops: ouch
03:17 PM SpeedEvil: I'm guessing encouraging coal based steam engines?
03:18 PM gregcnc: coal is sparce here, natural gas would be preferable
03:18 PM XXCoder: ... like obama program?
03:19 PM gregcnc: creating a fake market for new cars?
03:19 PM XXCoder: wait its quite a while ago, may actually predate obama
03:19 PM gloops: gregcnc yes
03:19 PM gloops: forced obsolescence
03:19 PM XXCoder: no, obama era yeah
03:20 PM gloops: emissions test will send a lot to the crusher
03:20 PM gloops: probably some clause for real vintage motors and classics
03:20 PM XXCoder: https://qz.com/1042742/why-did-cash-for-clunkers-fail-a-new-paper-explains-how-obamas-stimulus-program-backfired/
03:20 PM andypugh: Well, here SAFE means “Less fuel efficent than planned” in a truly spectacular bit of Trump spin.
03:20 PM XXCoder: gloops: for sure, people would be pissed if rare classics get crushed!
03:21 PM gregcnc: the are bringing back tailpipe tests? I haven't done one in 15+ years
03:21 PM XXCoder: yeah just "Safe" not "fuel effecient" or anything else
03:21 PM andypugh: https://eu.usatoday.com/story/news/politics/2020/03/31/trump-eases-up-obama-era-fuel-efficiencies-rules-cars-trucks/5093923002/
03:21 PM gregcnc: gas will be free soon so....
03:22 PM andypugh: “We will scrap fuel economy targets to make cars cheaper so people are slightly more likely to buy new cars which will be safer and will save lives”. Or, to put it another way. Bollocks.
03:22 PM SpeedEvil: Those teslas are deathtraps.
03:22 PM andypugh: Well, maybe relative to an F650 they probably are.
03:23 PM SpeedEvil: </sarcasm>
03:23 PM gregcnc: "40.4 mpg projected overall industry average required fuel economy in MY 2026, compared to 46.7 mpg projected requirement under the 2012 standards"
03:23 PM gregcnc: meh
03:25 PM gloops: good time to get these things out though, while everyone distracted
03:25 PM gregcnc: lol gloops
03:27 PM gregcnc: I didn't know about these until recently https://shophardinge.com/product.aspx?partNo=STA0011202
03:27 PM gregcnc: i can't believe the price, but they are quite a simple mechanism
03:28 PM gregcnc: now I understand why G code has a dwell option for tapping cycles
03:29 PM rmu|w: WARNING: product can expose you to chemicals, such as lead, including one or more listed chemicals which are known to the State of California to cause cancer or birth defects or other reproductive harm.
03:29 PM gregcnc: don't worry, mine is ancient, long before anyone worried about that
03:30 PM XXCoder: we have tap holders that have small range of movement seperate from machine. thats to adjust for machine speed mismatch to tap
03:30 PM gregcnc: this is different
03:30 PM XXCoder: its annoying hard to measure because it can move down lol
03:30 PM XXCoder: oh ok
03:32 PM Centurion-Dan2 is now known as Centurion_Dan
03:32 PM gregcnc: it does float forward, but at some point disengages completely
03:33 PM XXCoder: no float backward?
03:34 PM gregcnc: then when the spindle reverses it lock up and allows it to come out of the hole
03:34 PM XXCoder: ahh so spindle dont move in?
03:35 PM gregcnc: similar to how a tapmatic disengages at the bottom of the travel if using a stop
03:35 PM gregcnc: it allows accurate depth with out needing to accurately stop the spindle or sync with it
03:36 PM CaptHindsight: The columns are: Position and normal vector - xyzijk
03:39 PM Rab: What's K?
03:39 PM Rab: Officials said it would shave about $1,000 from the roughly $38,000 sticker price of a new passenger vehicle compared with the Obama rule.
03:39 PM Rab: Sold!
03:39 PM CaptHindsight: https://commons.wikimedia.org/wiki/File:Cartesian_xyz_ijk_coordinates.svg
03:40 PM andypugh: And only put a few more millon tons of CO2 into the atmosphere.
03:40 PM jdh: that's just a chinese hoax
03:40 PM Rab: CaptHindsight, ahh, thanks
03:41 PM XXCoder: gregcnc: interesting!
03:41 PM gregcnc: we could force oilco to use teh natrual gas they vent or flare.....
03:43 PM Rab: andypugh, I wanted to let you know that I installed the 4.14.174 RTAI kernel and 2.8.0-pre, and it seems to be working fine. I haven't done extensive testing, just spun some steppers through the parport.
03:44 PM andypugh: Good screen resolution?
03:44 PM Rab: Alas, it's not using my integrated Intel graphics, so the largest VESA mode is 1600x1200.
03:45 PM andypugh: i915 is enabled.
03:45 PM Rab: I see the graphics chip identified in the X.org log, not sure why it's not using those modes.
03:45 PM andypugh: But might need to be put in as a grub command line param
03:46 PM andypugh: But 1600x1200 is a lot better than the 1024x768 that some people were reporting.
03:46 PM Rab: I tried to install the kernel on the LinuxCNC stretch install, and figured out pretty quick that it was looking for Buster deps. So I upgraded to Buster and reconciled a few deps, and it worked.
03:47 PM gregcnc: at :15 you can see that tap holder https://www.youtube.com/watch?v=RFlCp5x0nEo
03:49 PM Rab: andypugh, a bigger problem for me is that the kernel seems to be compiled with swap turned off. Is that an intentional choice for RT performance?
03:50 PM andypugh: I don’t know. I let Alec do the config. If it’s off then I think that probably is for a good reason.
03:52 PM CaptHindsight: gregcnc: I'm waiting for them to pay me to use it
03:52 PM gregcnc: what will happen when all storage is used up?
03:53 PM CaptHindsight: gregcnc: put it back in the ground
03:53 PM gregcnc: that is were they are storing some of it
03:54 PM Rab: andypugh, anyway, the most important thing: max jitter is now <20uS, which is a huge improvement over the Stretch livecd kernel--there I got >100uS. The latency results are now comparable to the old Wheezy image with RTAI.
03:54 PM CaptHindsight: Rab: wait a sec I'll ask him
03:55 PM gregcnc: i had to come up with another laptop for the kids school work. put linux mint on a old macbook, what a mess. it works just barely
03:56 PM CaptHindsight: Rab: yes, swap effects latency and not in a good way
03:56 PM CaptHindsight: add more ram vs use swap
03:58 PM CaptHindsight: I guess Debian makes it difficult to use software rendering
03:59 PM Rab: CaptHindsight, noted. The box had 2x 1G of RAM and one of the sticks died; I'll look into upgrading.
04:03 PM Rab: Last minor difficulty is that while ACPI seems to be enabled in the config, certain options like suspend to RAM aren't. I only mention it because the Wheezy and Stretch ISOs would suspend fine on this hardware.
04:04 PM CaptHindsight: Rab: he turned off everything that impacts latency
04:04 PM Rab: CaptHindsight, got it.
04:04 PM CaptHindsight: you don't want suspend turned on
04:05 PM CaptHindsight: turn it off when you're not using it
04:05 PM CaptHindsight: have it full on when being used, nothing in between, that is what causes all the latency issues
04:06 PM CaptHindsight: having in between states
04:10 PM CaptHindsight: anyone else getting Emergency Alerts on their phones?
04:10 PM CaptHindsight: looking for licensed healthcare workers
04:10 PM SpeedEvil: I got my first ever one, staying 'stay at home' (UK gov)
04:15 PM Centurion-Dan2 is now known as Centurion_Dan
04:22 PM Rab: CaptHindsight, not yet, but that doesn't seem like a good sign. Texas isn't too bad off...yet.
04:24 PM CaptHindsight: Rab: IL here, Chicago is expecting things to get bad soon
04:26 PM SpeedEvil: Scotland has 60 ICU beds or so. We are at 60 deaths. This pretty much means that they are overfull, or about to be sometime this week.
04:28 PM CaptHindsight: for 5.5 million people
04:29 PM SpeedEvil: Quite.
04:30 PM CaptHindsight: you guys survived Roman invasions
04:30 PM CaptHindsight: and the the English
04:31 PM Deejay: gn8
04:59 PM Centurion-Dan2 is now known as Centurion_Dan
05:37 PM Centurion-Dan2 is now known as Centurion_Dan
06:21 PM Centurion-Dan2 is now known as Centurion_Dan
06:38 PM jthornton: we had quite a jump today in Missouri with almost 300 new cases and one in the county I live in
06:42 PM Tom_L: you're pretty rural too aren't you?
06:43 PM jthornton: on a dead end dirt road off of a dirt road but Butler County is the most populated county around
06:43 PM jthornton: China has slipped to 4th
06:43 PM Tom_L: odd there's a Butler county here...
06:44 PM Tom_L: yeah they opened up the open air markets over there again too
06:44 PM jthornton: I think most states have a Butler county lol
06:44 PM Tom_L: probably
06:44 PM Tom_L: selling live bats like nothing happened...
06:44 PM jthornton: oh in China
06:44 PM Tom_L: yeah
06:44 PM adamj12b: Does anyone know how to set isolcpus on a live image for testing?
06:45 PM jthornton: time for my rabbit food
06:45 PM Tom_L: mmm i guess you can't edit grub on a live image ehh
06:45 PM Tom_L: adamj12b, i was wondering how that was going
06:46 PM adamj12b: Tom_L The mill computer is working great.
06:46 PM Tom_L: might want to check the cpu temp after setting that up
06:46 PM Tom_L: says it turns off sleep
06:46 PM adamj12b: Im getting an error I was not expecting but im currently playing with a different machines computer as I think I can get some more performance out of it.
06:47 PM Tom_L: https://access.redhat.com/articles/65410
06:47 PM Tom_L: likely the same for mint or debian
06:48 PM adamj12b: I was reading that article last night. lol
06:48 PM adamj12b: So the when running the mill, I do get a latency issue running 4khz loop
06:48 PM adamj12b: I do not get it at 3khz
06:49 PM Tom_L: i was wondering about it since mine is fanless
06:49 PM adamj12b: but I get another error. one min, Ill copy it..its weird and a mesa error.
06:52 PM adamj12b: hm2/hm2_5i25.0:Smart Serial port 0:Dolt not clear from previous servo thread. Servo thread rate probably too fast. This message will not be repeated, but the hm2.5i25.0.sserial.0.fault-count pin will indicate if this is happen frequently.
06:53 PM andypugh: What does the fault-count pin show?
06:53 PM adamj12b: Thats the error. If I get at 3 and 4 khz. However, the fault coult pin stays at 0 so It seems like its a one time thing
06:54 PM adamj12b: Good Evening Andy.
06:54 PM andypugh: fault count will increment at the inc rate and decrement at the dec rate (it’s debounced)
06:54 PM andypugh: You can put the dec rate to zero to see how often the faults happen.
06:55 PM andypugh: (I borrowed this fault debouncing scheme from my day job)
06:56 PM adamj12b: ok. How do I set the debounce?
06:56 PM andypugh: setp
06:56 PM adamj12b: also, would increasing the 6i25 to 66mhz help this?
06:57 PM andypugh: That would be one for PCW, but I wouldn’t expect so.
06:57 PM adamj12b: doh Sorry i should have known that.
07:00 PM Centurion-Dan2 is now known as Centurion_Dan
07:03 PM andypugh: Anyway, still need to get up in the mornings for work. Even though I only have a 6 foot commute now.
07:03 PM adamj12b: andypugh there is only 3 parameters for sserial. fault-dec, fault-inc and fault-lim
07:03 PM JavaBean: here's a fun cnc/mechanical design project for everyone under lockdown https://imgur.com/gallery/iHaX16X
07:03 PM andypugh: That’s right. Every fault it increments by inc. Every non-fault it decreents by dec. When it hits lim, it stops and errors.
07:04 PM andypugh: Goodnight all
07:11 PM unterhaus_: someone is 3d printing a typewriter.
07:11 PM unterhaus_: looks like a lot of work
07:19 PM adamj12b: Tom_L I got isolcpus to work on the live image.
07:39 PM Tom_L: how?
07:48 PM Centurion-Dan2 is now known as Centurion_Dan
08:05 PM adamj12b: Tom_L This is on the mint image, but you pause the auto boot and hit tab. you then can enter the kernel arguements just before the -- on the screen. Hit enter and bingo.
08:06 PM adamj12b: look at the second screenshot of the nomodest section of this. https://linuxmint-installation-guide.readthedocs.io/en/latest/boot_options.html
08:13 PM CaptHindsight: jah, you setz dem kernel options dis vey
08:15 PM CaptHindsight: but only fer dis von boot, it's not a permanentz change
08:24 PM Centurion-Dan2 is now known as Centurion_Dan
08:41 PM adamj12b: CaptHindsight Yes. This was just for testing on a live image. Setting isolcpus makes an amazing difference in latency.
08:44 PM CaptHindsight: preempt_rt?
08:44 PM adamj12b: yes
09:12 PM Centurion-Dan2 is now known as Centurion_Dan
09:45 PM Centurion-Dan2 is now known as Centurion_Dan
10:11 PM pink_vampire|2 is now known as pink_vampire
10:43 PM Centurion-Dan2 is now known as Centurion_Dan
11:12 PM skunkworks: zfs seems pretty cool
11:37 PM Centurion-Dan2 is now known as Centurion_Dan