#linuxcnc Logs

Mar 19 2023

#linuxcnc Calendar

02:16 AM Deejay: moin
04:17 AM rmu: GPT-CAM? https://twitter.com/garrytan/status/1637323504688463872
05:25 AM mrec: rmu: I tried it too, engraving text but what I got was a simple line
06:28 AM Mangy_Dog: moo all
06:28 AM Mangy_Dog: Just a question... for those that have a flexihal controller grblhal thing... Are you guys working on making linuxcnc run as a gcode sender as well? Or is it strictly direct paralell/SPI only? As frankly Linux CNC has some of the best front end control interfaces ive seen so far when looking around... and IOsender while decent, still has a lot to be desired on the UI front
06:29 AM jpa-: you can plug in raspberry pi and use it with linuxcnc? or you can use it with grbl, the user interfaces are not so bad as to make it unusable
06:29 AM Mangy_Dog: flexi can use rpi4 and linuxcnc
06:29 AM Mangy_Dog: but
06:29 AM Mangy_Dog: cant buy any pi4s :/
06:30 AM Mangy_Dog: thats why i was asking last night if anyone had any to spare i could buy off them
06:30 AM Mangy_Dog: for this
06:32 AM jpa-: is your machine already otherwise finished?
06:32 AM jpa-: maybe just start using with grbl and upgrade later
06:32 AM jpa-: it's much easier to get started with grbl than linuxcnc
06:41 AM Tom_L: morning
06:44 AM Mangy_Dog: not at all
06:44 AM Mangy_Dog: i dont even have all the parts delivered yet
06:44 AM Mangy_Dog: wont be building for a little while either
06:44 AM Mangy_Dog: house stuff happening :/
07:05 AM JT[m]: Morning
07:05 AM DOS[m]: morning jt
07:06 AM travis_farmer[m]: G'Morning ☕️
07:06 AM DOS[m]: how is everyone on this pretty good day
07:06 AM travis_farmer[m]: doing well, and yourself?
07:07 AM DOS[m]: i am doing alright
07:08 AM DOS[m]: talked to my bf and it was a really interesting chat
09:04 AM mrec: huh Haas violating Russia sanctions :D
10:24 AM mits[m]: Is there a way to jump to a line in g code while the program is running?
10:24 AM mits[m]: like stepping and then jump to
10:24 AM Tom_L: there is 'run from line'
10:25 AM Tom_L: better make sure the spindle is on though
10:25 AM ZincBoy[CAON][m]: You could do a block delete on a sub call but there is no goto in lcnc. Otherwise you need to stop and run from line.
10:26 AM mits[m]: ok
10:26 AM Tom_L: i've gone in and added M3 when proving a program and needed to edit a piece then run from the M3
10:27 AM Tom_L: you want to pick a 'logical' place to start
10:27 AM mits[m]: that's why I asked my question how I did.... jump while paused allows you to let the gcode do some setup and then jump
10:28 AM mits[m]: but Zinc says no, so that makes it a little harder
10:28 AM mits[m]: it's fine
10:28 AM Tom_L: if you're still looking for a way around touchoff good luck
10:28 AM mits[m]: not really
10:28 AM mits[m]: I'm exploring things in the interface and trying to grok their use
10:29 AM mits[m]: there is start code at line, I wasn't sure of how that should work when you need the preamble for machine setup usually
10:29 AM Tom_L: like i said, i add what i need if i'm running from line
10:29 AM Tom_L: or run from the toolchange line
10:30 AM Tom_L: most of the preamble should be modal anyway
11:14 AM iggw2795[m]: So drive it from STEP and DIR? Do I do anything with pins that say spindle positive and negative?
11:23 AM unterhausen: what's the label maker everyone here has?
11:29 AM Tom_L: everyone?
11:36 AM pcw-home: iggw2795[m] If you drive a spindle with step/dir you just use the signed commanded spindle speed to set the stepgen velocity. The FWD and REV pins are not needed
11:37 AM Tom_L: unterhausen, epson i think
11:37 AM Tom_L: that or maybe panduit
11:38 AM travis_farmer[m]: i use a Dymo Rhino 4200
11:41 AM Tom_L: https://labelworks.epson.com/for-work/printers/lw-px700.html
11:41 AM travis_farmer[m]: nice one Tom_L
11:43 AM Tom_L: https://roycroft.us/Epson/EpsonShrunk.jpeg
11:43 AM travis_farmer[m]: mine does shrink-tubes too :-)
11:45 AM unterhausen: I thought everyone had the px800
11:45 AM Tom_L: that's what jt and roy have
11:46 AM unterhausen: dang, they doubled the price since I last looked
11:46 AM Tom_L: moral of the story: impulse buy... don't wait
11:46 AM Tom_L: :)
11:47 AM Tom_L: i think the epson is designed to save label material
11:48 AM unterhausen: I suppose that could be important
11:50 AM unterhausen: dymo ryno 4200 costs what the epson used to be
11:52 AM travis_farmer[m]: official label tape for it is $$, but generic tapes seem to work as well
11:52 AM roycroft: yes, the epson has the retractable feature that saves significantly on material
11:52 AM roycroft: and those labels add up in cost really fast
11:53 AM travis_farmer[m]: hmmm, i like that retractable tape feature. my label maker is not very tape efficient...
11:54 AM roycroft: if you're making small labels for, say, the wires inside a control panel, the retractable feature can save you 2/3 in your label costs
11:54 AM roycroft: the waste for a short label is incredible
11:55 AM travis_farmer[m]: i may upgrade when i can afford...
11:56 AM roycroft: i still have my old panduit label maker which does the wrap-around labels
11:56 AM roycroft: the epson does not have that feature
11:56 AM roycroft: but i have what is probably a lifetime supply of labels for the panduit
11:56 AM roycroft: even if i were younger it would be a lifetime supply, so i continue to use that machine when i need those labels, and use the epson for everything else
11:56 AM travis_farmer[m]: mine does, and i use that
11:57 AM roycroft: for wires/cables, that is
11:57 AM roycroft: i have several p-touch labelers that i use for flat labels
11:57 AM roycroft: and i'm actually moving on to a new labeling system this morning
11:57 AM roycroft: i got that vinyl cutter a couple or three months ago
11:58 AM travis_farmer[m]: mine does barcodes... i was going to use that feature, but never got my Arduino asset tracker built...
11:58 AM roycroft: i have some soft bags that i store tools in
11:58 AM roycroft: i'm going to cut some stencils for the bags this morning and spray paint labels on them
11:58 AM roycroft: the epson does barcodes
11:59 AM roycroft: in fact, i sold some network equipment a while back, and i got some fancy black on silver labels for the epson, and printed serial number barcodes on them
12:00 PM travis_farmer[m]: one of these days, i need to actually finish labeling my CNC control box...
12:04 PM roycroft: i wasn't aware that the epsons had doubled in price
12:04 PM roycroft: that's unfortunate, but i'll say that they're still a bargain even at double what i paid
12:14 PM funkenjaeger[m]: FWIW, off-brand printable heat-shrink tubing cartridges aren't outrageously expensive. My labelmaker is a Brother, but it looks like cartridges for Dymo even a little cheaper (<$1/ft). I really like heat-shrink over stick-on tape for wire labels, since it'll never peel.
12:16 PM travis_farmer[m]: funkenjaeger: that is actually a good idea, i may pick up some shrink tubes. even some clear tubes over the sticky labels would be better than the label alone
12:19 PM Tom_L: i've been doing that for quite some time
12:19 PM funkenjaeger[m]: The printable heat-shrink is in the ballpark of $1/ft, though even regular old heat shrink tubing often costs nearly that much so it doesn't seem unreasonable IMO.
12:19 PM Tom_L: i don't have the volume to warrant a label maker
12:34 PM skunkworks[m]: I used a normal label printer + clear heat shrink
12:36 PM skunkworks[m]: also the number/letter stickers + clear heat shrink
12:41 PM roycroft: i use off-brand cartridges for the p-touch machines
12:41 PM roycroft: unfortunately there's not really any off-brand for the epsons yet
12:41 PM roycroft: not for the model i have
12:42 PM roycroft: i can get flat label tape for the epson, but i'm sticking with the brother p-touch because i can get the cartridges so cheap for that
12:42 PM roycroft: and i do use clear heat shrink tubing over many of my wire/cable labels
12:43 PM roycroft: i almost always use it on the wrap-around panduit labels
12:44 PM roycroft: but i have to say, i've been using the panduit label maker for about 20 years, and i have lables on underground fiber cables that are that old that are still legible, and they do not have heat shrink tubing over them
12:44 PM roycroft: thse are cables that are in underground vaults that are full of mud and water
01:22 PM travis_farmer[m]: went out to my shop, and wasted 1/2 hour of propane while i came to the realization that i have stuff to do, but no desire to actually do anything yet :-( depression sucks! :-(
02:18 PM roycroft: i just made a stencil that i think came out great
02:19 PM roycroft: it seems to be adhering to the bag nicely - i'm about to shoot paint on it, and then i'll know for sure
02:20 PM unterhausen: you made a stencil with your new laser?
02:33 PM roycroft: no, with my vinyl cutter
02:33 PM roycroft: my new laser has been shipped back
02:33 PM roycroft: my new new laser arrives on thursday next
02:34 PM roycroft: i used removable vinyl for the stencil, and that may have been a mistake
02:34 PM roycroft: for hard, flat surfaces it will be fine, i'm sure, but for a flexible cloth bag it did not adhere well
02:35 PM roycroft: there is a grade of stickiness in between "removable" and "permanent"
02:35 PM roycroft: i may need to get some of that for stencilling on cloth bags
02:39 PM roycroft: it doesn't help that i was using an old can of paint that was sputtering and finally clogged
02:49 PM XXCoder: watching artisan makes play milling gamne
02:49 PM XXCoder: *game
02:51 PM XXCoder: lol https://youtu.be/ydTLe4cHsck
03:23 PM roycroft: so the stencilling was a disaster, as i thought it might be
03:24 PM roycroft: i'll have to get some stickier vinyl for it, and maybe shoot a base coat of paint on the bag before applying the stencil
03:51 PM Tom_L: XXCoder, i would blow tools out of that clear into next week
03:53 PM XXCoder: lol
03:54 PM Tom_L: first of all his roughing cutters are about a foot too long
03:55 PM XXCoder: i wonder what tools is in catalog. maybe shorter isnt avilible but it should be there really.
03:56 PM Tom_L: i'd hate to see the real chatter marks
03:56 PM Tom_L: the chamfer/spot looks more like a wood tool
03:59 PM Tom_L: that last 'one pass' drill would never have made it out of the hole. it would have filled the hole with broken drill and shavings
03:59 PM Tom_L: i'm sure he had fun making it though
04:05 PM Tom_L: thought cradek might relate to this: https://www.youtube.com/watch?v=aKFBgZja06U
04:33 PM JT[m]: We made it to Horn Lake Mississippi
04:43 PM Tom_L: looks like a stone's throw from Memphis
04:52 PM mits[m]: I'm using G38.2 with PROBEOPEN to record an array of points on the surface of a material... and then I'm using compensation.py with axis.z.eoffset to try and track the surface
04:52 PM mits[m]: I'm trying to run it once, enable the eoffset
04:53 PM mits[m]: and then run it again, with the hope that the second time the G38.2 will be close to zero
04:54 PM mits[m]: but it's not happening
04:54 PM mits[m]: G38.2 seems to be outputting the position without the external offset applied... I'm very confused by this
04:55 PM mits[m]: I'm pretty sure PROBEOPEN with G38.n logs in the current coordinate space, not machine coordinates
04:58 PM JT[m]: Yup, home of the best BBQ in the universe
05:02 PM mits[m]: What is (RPY) comments supposed to be for/do?
05:04 PM mits[m]: huh
05:04 PM mits[m]: gonna have to figure out what these do
05:04 PM mits[m]: // now calculate position in program units, for interpreter
05:04 PM mits[m]: position = unoffset_and_unrotate_pos(pos);
05:04 PM mits[m]: to_prog(position);
05:04 PM mits[m]: * ```
05:04 PM mits[m]: position = unoffset_and_unrotate_pos(pos);
05:04 PM mits[m]: to_prog(position);
05:04 PM mits[m]: ```
05:04 PM mits[m]: what are program units?
05:07 PM mits[m]: oh, something about canon units
05:08 PM mits[m]: oh, internally linuxcnc just uses metric, and it's a layer on top for imperial
05:10 PM mits[m]: unoffset_and_unrotate_pos seems to only undo G code offsets, which makes sense
05:13 PM mits[m]: This is really not making any sense to me... since I'm turning the offset on and using it to move my probe tip to the zero found in the previous probe ... the motion involved should be near zeero
05:13 PM mits[m]: s/zeero/zero/
05:32 PM mits[m]: Is there a doc that talks about theory of position data flow in a working machine?
05:33 PM mits[m]: like gcode gets interpreted by something, which is outputting to another layer, and eventually it gets to (in my case) hostmot2 stepgen
05:34 PM mits[m]: so I think joint is what talks to the stepgen
05:35 PM mits[m]: I think in mine there is pid talking to joint
05:36 PM mits[m]: no
05:36 PM mits[m]: joint talking to pid talking to hm2
05:40 PM mits[m]: joint is coming from kinematics I think
05:42 PM mits[m]: is 'axis' the other side of kinematics? I think it is
05:42 PM ZincBoy[CAON][m]: https://linuxcnc.org/docs/html/code/code-notes.html
05:42 PM ZincBoy[CAON][m]: Section 5 might be what you are looking for.
05:45 PM mits[m]: totally is
05:45 PM mits[m]: thank you ZincBoy
05:51 PM mits[m]: is this up to date? it shows a PID inside the axis interface
05:52 PM ZincBoy[CAON][m]: The comment in section 3 talks about joints but it doesn't look like the diagrams have been updated in a very long time.
05:52 PM mits[m]: ok
05:52 PM mits[m]: this is fine though, it helps me visualize this
06:20 PM * JT[m] uploaded an image: (238KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/ZvsOebClTrYNuwxsCbEtsgTm/20230319_181616.jpg >
06:20 PM DOS[m]: THE BOYS
06:22 PM * JT[m] uploaded an image: (265KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/tuvZqzuGhKjPaxtoNvQObCEz/20230319_181116.jpg >
06:22 PM DOS[m]: where is this?
06:23 PM JT[m]: Memphis BBQ Co. Horn Lake Mississippi
06:23 PM DOS[m]: Looks tasty
06:24 PM JT[m]: Best BBQ in the universe
06:25 PM DOS[m]: BBQ in burgers are the goat
06:46 PM Tom_L: yum
07:24 PM JT[m]: It was
07:38 PM JT[m]: Up to EP118