#linuxcnc Logs

Oct 19 2023

#linuxcnc Calendar

01:53 AM Centurion_Dan1 is now known as Centurion_Dan
02:17 AM Deejay: moin
04:32 AM IAmTheRealBeef is now known as Beef
04:33 AM IAmTheRealBeef is now known as Beef
04:42 AM Tom_L: morning
05:02 AM JT-Cave: morning
05:19 AM Vq: Good afternoon
06:50 AM JT-Cave: 55°F
09:27 AM bjorkintosh: https://www.taipeitimes.com/News/feat/archives/2020/11/19/2003747175
09:47 AM Unterhaus_ is now known as unterhausen
09:55 AM CaptHindsight: seeing these all over was a bit unnerving the first day https://www.youtube.com/watch?v=MwSLivcDCb8
09:56 AM CaptHindsight: The Swastika of Taiwan
09:59 AM IlyaKw: It is an ancient Indian symbol. Uncle Adi spoiled it.
10:13 AM roycroft: the swastika is an ancient symbol
10:13 AM roycroft: most historical use has it pointing the opposite direction to the nazi version
10:14 AM roycroft: but yeah, it's been ruined as a symbol forever now
10:14 AM roycroft: unless jim jorden and his ilk bring it back
10:17 AM roycroft: sidney powell just plead guilty
11:55 AM hermann: HI, i have a 7i76e connected to a THCAD, i cant seem to see any change in velocity pin in halshow,
11:55 AM hermann: setp hm2_7i76e.0.encoder.00.counter-mode 1
11:55 AM hermann: setp hm2_7i76e.0.encoder.00.filter 1
11:55 AM hermann: setp hm2_7i76e.0.encoder.00.scale -1
11:55 AM hermann: Also i have verified the signal is present on pins 8 and 7 on tb3 with an oscilloscope
12:07 PM JT-Shop: https://paste.debian.net/1295579/
12:07 PM JT-Shop: that's my plasma settings
12:09 PM Tom_L: missing the pid component it appears
12:09 PM JT-Shop: mine?
12:09 PM Tom_L: err thc-pid.encoder-vel
12:09 PM Tom_L: no not yours
12:12 PM hermann: i had the freq scale set at 1, now at /32 it works??
12:12 PM hermann: 7i76e not able to interept 125 khz input on the encoder?
12:20 PM JT-Shop: I forgot everything I knew about setting up the THCAD as mine is one of the prototypes
12:24 PM Tom_L: nap time
12:26 PM JT-Shop: yup
01:04 PM pcw--home: hermann The default pulse width of the THCAD in 1X mode is 0.5 usec, too short for the default encoder settings to resolve
01:05 PM pcw--home: If you want 1X mode, you can either set the encoder filter to "false" or raise the encoder sampling rate
01:05 PM pcw--home: (note that there is no real advantage to 1X mode)
01:35 PM hermann: thanks, that makes sense
01:38 PM pcw--home: note that a .5 usec pulse width is ~4 MHz maximum quadrature count rate
01:40 PM hermann: i think i will just stick with /32 as there is no real advantage as you said
01:42 PM pcw--home: Yes, because of the way the encoder does velocity estimation, you don't lose resolution by lowering the output frequency
01:46 PM hermann: when i try to open some ncg file i get this error [QTvcp.QTVCP.QT_ACTION][ERROR]  Filter Program Error:sh: 1: ./qtplasmac/qtplasmac_gcode.py: not found
01:47 PM solarwind: roycroft it's very commonly used in India to this day in Hindusim
01:48 PM solarwind: it's a cultural thing for certain celebrations. My little cousins made me bracelets and things with the symbol on them when they visited
01:49 PM solarwind: They're taught the same history as everyone else, but nobody over there thinks "Nazi" as the first thing that comes to mind when they see it
02:05 PM JT-Shop: 3 in 1 just rolled down the driveway and getting a new zip code
02:09 PM Tom_L: pretty soon you'll have an empty shop
02:11 PM * roycroft would settle for room to work in his shop
02:15 PM JT-Shop: just selling off stuff I don't use anymore
02:20 PM JT-Shop: if you can't remember the last time you used a tool it might be time to give it a new zip code
02:21 PM roycroft: 3 in 1 what? sheet metal tool?
02:22 PM JT-Shop: yup 30" one
02:22 PM roycroft: i sold mine during the pandemic
02:22 PM roycroft: i had a 30" one too
02:22 PM roycroft: i also sold my shrinker/stretcher
02:22 PM roycroft: which i think i used once
02:23 PM roycroft: i used to think it would be nice and useful to have a bunch of sheet metal fabrication tools
02:24 PM roycroft: then, when i got them, i discovered that i rarely use them and they're usually in the way
02:24 PM andypugh: JT-Shop: I relocated mine to the local Hackspace, so it’s there if I want it, but I don’t have to find the space.
02:24 PM JT-Shop: I used mine when I was making automated assembly machines to make small covers and such
02:24 PM JT-Shop: andypugh, with your garage that makes sense
02:29 PM Tom_L: andypugh, dunno if you saw but i tested the iso
02:30 PM andypugh: Yes, saw it, thanks.
02:32 PM solarwind: WOW this fly cutter is giving me amazing surface finishes with the right grind angles
02:34 PM * JT-Shop watches Leo from the start "again"
02:38 PM roycroft: even the design is flawed? :)
02:38 PM * roycroft thinks he mentioned something about being able to grind tooling however one wishes
03:10 PM hermann: i do a xor on two boolean inputs  for zero speed feedback, how can i add a delay for lets say 0.5 seconds on the output?
03:12 PM JT-Shop: possibly with debounce http://linuxcnc.org/docs/stable/html/man/man9/debounce.9.html
03:12 PM JT-Shop: http://linuxcnc.org/docs/stable/html/man/man9/dbounce.9.html
03:13 PM JT-Shop: http://linuxcnc.org/docs/stable/html/man/man9/timedelay.9.html
03:13 PM JT-Shop: maybe timedelay is better
03:20 PM Tom_L: i used delay when i had the sherline spindle motor & relay setup before switching directions
03:21 PM Tom_L: wanted to make sure the relays were 'neutral' before switching
03:44 PM solarwind: https://www.youtube.com/watch?v=vk_3BBx3Uak normally I can't stand Jason the fireball fool guy
03:44 PM solarwind: but what I can't stand more are all these amateur fabrication shops that overcharge you and can't build a basic square frame to spec
03:45 PM solarwind: his fixture table isn't a genius idea, it should be straight up obvious
03:45 PM roycroft: jason thinks a lot of himself
03:45 PM roycroft: but he makes some good products
03:47 PM XXCoder: "comments is turned off". uncommon to see that
03:47 PM Tom_L: geeze what do you expect for $600?
03:48 PM XXCoder: "fap shops" gonna love autocaptions sometimes
03:50 PM * roycroft does not watch fap shop videos
03:50 PM XXCoder: me either
03:51 PM XXCoder: that caliper he weilded costs more than my car
03:57 PM JT-Cave: https://www.ebay.com/itm/325848779733 purdy
04:03 PM Tom_L: goin for one of those next?
04:04 PM XXCoder: we gpt future jay leno here
04:04 PM Tom_L: Ok tag
04:06 PM XXCoder: I wonder what will happen to his shop once jay dies
04:07 PM roycroft: big auction
04:07 PM roycroft: hopefully for charity
04:08 PM JT-Shop: maintenance on one of those is extremely expensive
04:08 PM JT-Shop: actually I hope they make Jay's garage a museum
04:08 PM XXCoder: that would be interesting place to go to
04:08 PM XXCoder: he got all kinds of one of kinds
04:09 PM XXCoder: I still remember that time he showcased the turboine bike
04:09 PM XXCoder: insane
04:09 PM XXCoder: "You can't even tell that its on, well besides from really loud noise"
04:09 PM Tom_L: Jay Leno's car collection is worth over $52 million.
04:10 PM XXCoder: not exact quote, its been long time
04:10 PM Tom_L: This doesn't take into consideration the future values of his multiple restorations.
04:11 PM JT-Shop: I think the Stanley Steamer is the coolest one he has
04:12 PM XXCoder: didnt he drive it down road in a show? I think I remember it
04:12 PM XXCoder: and yeah very cool
04:13 PM JT-Shop: and the camera car could not keep up with the acceleration of the SS
04:13 PM XXCoder: he made a lot of comments on maintaining and design problems
04:15 PM XXCoder: i remember vaguely about some issue with part under it, but mostly great vehicle
04:24 PM joakimk: Hi! I'm generating a gcode file from Eagle CAD, in the hopes of "carving" (cutting?) a PCB on a copper plate. However, the CNC machine doesn't like the gcode format... It's a Roland SRM-20, and the error I get simply says, "Command Error (NC Code)". Can someone help me with this? I've tried simulating the same gcode file here
04:24 PM joakimk: https://nraynaud.github.io/webgcode/ and this tool seems to be able to make sense of the file
04:25 PM joakimk: Here is the gcode file https://pastebin.com/2DV2Qa8n
04:27 PM joakimk: Following a guide on the topic, I've made sure to set the "Command set" in the Roland iModela Controller software to "NC Code", instead of the default "RML-1", but nothing changes
04:27 PM joakimk: https://jeremylindsayni.wordpress.com/2015/11/15/sending-g-code-to-the-imodela-cnc/
04:33 PM * roycroft suspects that the roland imodela controller software is not some kind of repackaged linuxcnc
04:34 PM * JT-Shop has no clue what it is
04:35 PM joakimk: yeah...
04:35 PM joakimk: sorry if I'm totally off-topic here :)
04:35 PM JT-Shop: it was a long shot and we don't care much about on topic
04:35 PM JT-Shop: must be time for a chicken story
04:36 PM XXCoder: thats a lot more topic that previous topic of jay leno cars
04:36 PM JT-Shop: lol yu[
04:36 PM JT-Shop: yup
04:36 PM XXCoder: generally dont care as long as dont interrupt actual on topic
04:38 PM JT-Shop: joakimk, try just sending a couple of simple g codes to the controller
04:39 PM roycroft: i wasn't implying that it was not an acceptable topic
04:40 PM roycroft: just that it's unlikely that there will be a lot of knowledge about that controller here
04:41 PM joakimk: :)
04:41 PM joakimk: I tried sending a very simple file to the controller, and then the printer moved slightly -- no error  -- so I'm pretty sure there's something with my file :-/
04:42 PM joakimk: I used the tiny example given in the tutorialhttps://jeremylindsayni.wordpress.com/2015/11/15/sending-g-code-to-the-imodela-cnc/
04:42 PM rmu: there isn't much that can be wrong with that file
04:42 PM joakimk: which one? mine?
04:42 PM rmu: maybe try to remove the comments
04:42 PM joakimk: I did...
04:42 PM joakimk: no change
04:42 PM rmu: yes the eagle cad one
04:42 PM joakimk: the head starts spinning then moves up, like 5cm, then the error message comes
04:43 PM joakimk: maybe it's pointing me to line 37 -- not sure
04:43 PM rmu: maybe it doesn't like the g04
04:43 PM joakimk: it doesn't have a very good user interface
04:43 PM joakimk: the control software
04:43 PM JT-Shop: one way to trouble shoot is to break the g code down in half until you find the offending code
04:43 PM joakimk: G04 is a pause?
04:43 PM rmu: yes
04:44 PM joakimk: JT-Shop gcode files work like that?
04:44 PM joakimk: can be cropped?
04:44 PM joakimk: must have header/beginning, I guess? But then I could cut it at, say, line 50?
04:44 PM rmu: try "aircutting" without tool, then nothing really bad can happen
04:44 PM JT-Shop: yup, you might need something at the start and end then the moves
04:44 PM joakimk: yes! good point :) But the error comes pretty much immediately
04:45 PM rmu: header is just G21 G90
04:45 PM joakimk: but I will try that, trimming the file
04:45 PM joakimk: yes
04:45 PM joakimk: 21+90
04:45 PM joakimk: I see
04:45 PM rmu: metric and absolute coordinates
04:45 PM joakimk: could the spaces be a problem? Like between the X and Y coords
04:46 PM joakimk: in the gcode in the tut, the format is more like `G00 X1000Y3000` -- no space between 1000 and Y
04:46 PM JT-Shop: you could test that in the short code
04:46 PM rmu: would be really strange but what do i know
04:46 PM JT-Shop: my dx32 controller is pretty fussy
04:48 PM JT-Shop: which reminds me I need to run the 386 for a bit and charge the cap
04:50 PM joakimk: but OK, so the Gcode file isn't like totally off
04:50 PM joakimk: seems to "render" fine in the checker I found...
04:50 PM joakimk: makes a simulated output that looks totally like my PCB ;)
04:51 PM joakimk: maybe someone would paste the file into https://nraynaud.github.io/webgcode/ and see what I mean?
04:51 PM joakimk: can't seem to make a link to the sim with my file loaded...
04:51 PM joakimk: but anyway, thanks all for the good input :)
04:53 PM rmu: getting rid of the spaces is just a text search/replace so worth a try
04:53 PM JT-Shop: joakimk, the file does open fine in LinuxCNC without any errors
04:54 PM joakimk: looks like a PCB too?
04:54 PM JT-Shop: yup
04:54 PM joakimk: and is placed somewhat sensible in the "space"?
04:54 PM JT-Shop: looks good
04:54 PM joakimk: thanks!
04:54 PM joakimk: :)
04:54 PM JT-Shop: well that depends on the offsets in effect
04:54 PM joakimk: yes, I see
04:55 PM joakimk: my first aim is to get the Roland to accept the file, then see where it cuts/places it -- and then try to adjust the offsets
04:55 PM joakimk: yes, I'm totally new to CNC :D
04:55 PM joakimk: but "air cutting" is a very good idea! saves me from wasting copper plates
04:56 PM JT-Shop: yup air cutting is wise when you don't have a proven g code file
04:56 PM joakimk: very good advice :)
04:58 PM JT-Shop: also when you "touch off" a tool if that possible I do a "chicken check" to make sure the end of the tool is where I expect to be on the DRO
04:59 PM joakimk: please explain?
05:00 PM JT-Shop: you need to set the Z of the cutting tool to the material so after setting make sure Z0 puts the tool at the top of the material
05:02 PM joakimk: ah
05:02 PM joakimk: like with a tiny gcode file? which just sets Z to 0?
05:02 PM JT-Shop: after I set the tool Z I just jog down to Z0 and see that it is at the top of the material
05:03 PM rmu: slowly
05:03 PM JT-Shop: aye
05:03 PM joakimk: oh, manually?
05:03 PM joakimk: I see
05:06 PM JT-Shop: typically I set the back of the material to Y0 and either the left or right to X0 just depends on how the g code is generated
05:06 PM JT-Shop: then set the tool tip to Z0 at the top of the material
05:07 PM joakimk: yes, we did something like this today, when trying to get started. The guy with the machine thankfully knows some basic usage :)
05:08 PM joakimk: I don't
05:08 PM joakimk: :)
05:08 PM joakimk: my contribution is trying to be the guy who gets the machine to make (prototype) PCBs at the lab (which is a public library workshop actually) :)
05:19 PM IAmTheRealBeef is now known as Beef
05:20 PM Beef: Honestly speaking, I hate the LinuxCNC forums. Drains a lot of energy from you -_-
05:26 PM Beef: Keeping a forum post on-topic is like herding a bunch of cats who learned their manners on Practical Machinist
05:27 PM Tom_L: we get off topic much more reasonably here
05:29 PM Tom_L: guilty lawyers, leno's cars, chickens... just the average OT
05:29 PM JT-Shop: lol
05:29 PM Beef: hey, chickens are not off-topic
05:30 PM Beef: Almost every day I've been on here I hear something about the chickens so it would be weird to *not* discuss them at some point
05:30 PM Tom_L: oh and the morning weather report
05:31 PM Beef: ^
05:31 PM Beef: 100%
05:31 PM Tom_L: but that's important since it affects material expansion etc
05:32 PM XXCoder: yeah and you cant machine when youre hungry, hence chickens
05:32 PM JT-Shop: my pets make me breakfast
05:32 PM Beef: Honestly speaking after I had chickens for a few years I can't really stand eggs by themselves
05:33 PM Tom_L: our neighbor usually supplies us with eggs
05:33 PM Beef: I don't have chickens anymore, but I think I just ate too many and the taste just isn't for me unless it's mixed with ham and cheese or something
05:33 PM JT-Shop: and my pet deer are eating dinner
05:33 PM Tom_L: still have the 3 of them?
05:34 PM JT-Shop: 6-8 show up
05:34 PM Beef: I have a couple of deer steaks in the fridge but girlfriend won't let me cook bambi when she's around
05:34 PM Tom_L: word got out quick
05:35 PM JT-Shop: deer meat if not properly processed tastes too gamely to me... maybe the iron in their blood dunno
05:37 PM Beef: It is pretty gamey being honest with you, but it was free from a buddy who had too much to fit in his freezer so I won't say no
05:37 PM JT-Shop: my corn fed deer may taste more beef like dunno I just like watching them
05:38 PM Beef: Absolutely worth having some friends, just so long as you don't have a garden they're eating too '=D
05:38 PM unterhausen: just gave blood, so I'll probably make even less sense than usual
05:38 PM Beef: Eat some doughnuts!
05:38 PM JT-Shop: I'm anemic and can't give blood
05:38 PM Beef: At least the last time I gave blood they had free doughnuts and they said it was good for you
05:39 PM Tom_L: haven't been in the shop for a bit so no blood donations here
05:40 PM JT-Shop: I leak like julia childs cutting on SNL
05:42 PM roycroft: but do you drink like her as well?
05:42 PM roycroft: if you drink fast enough you will compensate for the leaking
05:42 PM JT-Shop: perhaps... I do cut onions without crying like her
05:43 PM unterhausen: not am I o-, but I also am one of the few people that are okay to give blood to babies
05:43 PM unterhausen: Thus why they call me "blood bag"
05:45 PM JT-Shop: under house blood bag
05:45 PM roycroft: tonight's concert is being recorded
05:46 PM roycroft: it will be the eugene symphony's first ever commercial recording
05:46 PM * roycroft is looking forward to the concert and the later cd
05:46 PM Tom_L: should we listen for you in the croud?
05:46 PM roycroft: probably not, although my seat is pretty close to the front
05:47 PM roycroft: and it's not the first concert i've been to that's been released on record/cd
05:47 PM roycroft: i've not heard myself in any of the others
05:48 PM unterhausen: they once offered me a t-shirt that said "blood for babies." I declined
05:48 PM Beef: What concert is this?
05:49 PM roycroft: eugene symphony
05:51 PM roycroft: the main work they're performing, and the reason for the commercial release i'm sure, is a tribute to steve prefontaine
05:51 PM roycroft: they premiered the piece last year, and it was a great success
05:52 PM roycroft: they're also performing a händel harp concerto and a vivaldi harpsichord piece
05:52 PM roycroft: and something else that i can't remember offhand
06:56 PM IAmTheRealBeef is now known as Beef