#linuxcnc Logs
May 02 2024
#linuxcnc Calendar
12:29 AM -!- #linuxcnc mode set to +v by ChanServ
01:18 AM Deejay: moin
04:41 AM Tom_L: morning
04:43 AM Tom_L: JT-Cave, dunno if these links will help with hal pins or not starting @ 08:48 PM: http://tom-itx.no-ip.biz:81/~tom-itx/irc/logs/%23linuxcnc/2024-05-01.html
04:58 AM JT-Cave: morning
04:59 AM JT-Cave: https://forum.linuxcnc.org/41-guis/52527-connect-pyqt-button-to-hal-at-runtime#299467
05:07 AM JT-Cave: Tom_L, you can only test hal pins running installed
06:19 AM Tom_L: my test wasn't running flex from a terminal with axis
06:23 AM JT-Cave: https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/qtvcp/qtvcp.py#L229
06:23 AM JT-Cave: I need to push then
06:25 AM JT-Cave: before flex was creating a random name all the time now it only creates a random name when ran from a terminal
06:26 AM mrec: one more day passed with that Mitsubishi CNC .. now that practically all the functions of the machine work that crap Melda M60 controller raises an error when I want to start a G-code file
06:28 AM Tom_L: glad you're figuring it out :)
06:28 AM mrec: XYZ and the spindle work (homing too)
06:29 AM mrec: just running a program raises a PLC error immediately, as far as I traced it it executes the program start but faults immediately without executing a single line
06:29 AM JT-Cave: https://www.linkedin.com/pulse/solving-late-binding-problem-python-simple-fix-behavior-zile-
06:36 AM Centurion_Dan1 is now known as Centurion_Dan
06:39 AM Tom_L: the names look better now but mine don't toggle
06:39 AM Tom_L: i missed a step somewhere
06:40 AM Tom_L: i have one set as input and the other as output
06:43 AM Tom_L: bak in couple hrs..
06:48 AM JT-Cave: that's the problem I'm working on, only the last button discovered is connected and toggles
06:49 AM JT-Cave: right now I'm only testing output
07:09 AM Centurion_Dan1 is now known as Centurion_Dan
08:28 AM Tom_L: ok
08:32 AM Tom_L: switched both mine to output and no toggle
08:45 AM JT-Cave: I have a different way to trigger the pin and testing now
08:45 AM JT-Cave: because what you have is broken...
08:48 AM JT-Cave: I got it I got it I got it I got it I got it I got it I got it
08:50 AM bjorkintosh: JT-Cave, You got it?
08:51 AM JT-Cave: yup
08:51 AM * JT-Cave heads to town
08:53 AM * Tom_L thinks JT-Cave got it
09:47 AM JT-Cave: https://forum.linuxcnc.org/41-guis/52527-connect-pyqt-button-to-hal-at-runtime#299555
09:55 AM rdtsc_wk: Mennil seems really talented.
09:56 AM JT-Cave: https://www.youtube.com/watch?v=6_0ZORS7e_Y
10:23 AM JT-Cave: https://forum.linuxcnc.org/41-guis/52527-connect-pyqt-button-to-hal-at-runtime#299564
10:23 AM JT-Cave: another solution
10:43 AM JT-Cave: https://www.youtube.com/watch?v=1p5-X2LJK48
10:56 AM -!- #linuxcnc mode set to +v by ChanServ
10:56 AM JT-Shop: gotta love it
10:56 AM JT-Shop: Hi
10:56 AM JT-Shop: I am converting my small machine shop to CNC
10:56 AM JT-Shop: 2 Mills
10:56 AM JT-Shop: 2 Lathes
10:56 AM JT-Shop: and a few hobby level Grbl machines.
10:56 AM JT-Shop: I want pro level G-code interpretations for my heavy iron machines. I understand LinuxCNC is the way to go for this.
10:56 AM JT-Shop: I go to your web site and see your products with zero information about what you are selling. I can kinda sorta guess what your products are.
10:56 AM JT-Shop: Then I go to Centroid CNC website and you have to be an idiot to not understand what they are selling.
10:56 AM JT-Shop: https://shopcentroidcnc.com/
10:56 AM JT-Shop: They are expensive but so is my time and I do not have the ability to read minds.
10:56 AM JT-Shop: Am I missing something on your website?
10:56 AM JT-Shop: Thank You
10:56 AM JT-Shop: John H
10:57 AM JT-Shop: I don't think LinuxCNC is for him
10:58 AM lcnc-relay: <roguish> JT-Shop: good morning... just going thru your docs for flex. starts with install with gdebi. good. but I can't find anywhere in the docs where to get the .deb......... not whining, just info for you.
10:59 AM JT-Shop: didn't see the link?
10:59 AM lcnc-relay: <roguish> no
10:59 AM JT-Shop: or is the link not clickable?
10:59 AM lcnc-relay: <roguish> maybe i'm blind....
11:00 AM JT-Shop: last word on the first line
11:00 AM roycroft: john's time is expensive
11:01 AM lcnc-relay: <roguish> yeah, I'm blind. I now see the 'here' could be a brighter text color....
11:01 AM roycroft: you are blessed that he spent some of it complaining to you
11:01 AM JT-Shop: I'm not sure how or if I should reply to him...
11:02 AM lcnc-relay: <roguish> roycroft: like I said. i'm not whining.... just trying to help a bit. I know where to get it
11:02 AM roycroft: i don't see the other site as being much more informative about its products than yours
11:02 AM JT-Shop: I'll add the whole link in case the here is not clickable
11:03 AM lcnc-relay: <roguish> it is clickable. just doesn't show very brightly.
11:04 AM roycroft: one has to understand thr fundamentals of how a cnc machine work before designing one'own and purchasing components for it
11:04 AM lcnc-relay: <roguish> how's the wrist Roy ?
11:04 AM JT-Shop: I think that is sphinx and I need to find another way to generate docs
11:04 AM roycroft: it hurts
11:04 AM lcnc-relay: <roguish> into the vicoden?
11:05 AM roycroft: i'm going to my surgical consult in a few minutes
11:05 AM roycroft: i'm on ibuprofin
11:05 AM lcnc-relay: <roguish> good luck, get 'er done
11:05 AM lcnc-relay: <roguish> vic works good, except it sticks a plug in your butt
11:05 AM roycroft: i avoid opioids as much as possible
11:06 AM lcnc-relay: <roguish> em too
11:06 AM lcnc-relay: <roguish> me too
11:06 AM JT-Shop: lunch time here
11:06 AM roycroft: my friend was telling me last nght that they are not addictivewhen they are managing actual pain
11:06 AM lcnc-relay: <roguish> ask your doc for prescription ibuprofen. you can get 800mg pills. 3 max per day.
11:06 AM roycroft: and he is correct
11:07 AM roycroft: but the problem is when taking the opioids and the pain diminishes and one does not notice
11:07 AM lcnc-relay: <roguish> ibuprofen works good, but high dosage for long term can damage liver and kidneys
11:08 AM roycroft: i hope i don't need anything long term
11:08 AM lcnc-relay: <roguish> yup
11:09 AM roycroft: my pain has diminished substantially, but i expect tohurt a lot after surgery
11:12 AM lcnc-relay: <roguish> yard work time here.......
11:16 AM roycroft: were that icould doyardwork
11:17 AM roycroft: lots of it needs to be done - i'm going tohave to hire it out, i think
11:17 AM * roycroft sees his money for the shop addition disappearing fast
11:18 AM JT-Cave: roguish https://gnipsel.com/linuxcnc/flexgui/install.html
11:29 AM JT-Cave: I do need to update the info pages http://mesaus.com/ethernet-cnc-solutions/
11:56 AM Tom_L: JT-Cave, having too much fun with hal pins now i see
11:56 AM lcnc-relay: <roguish> JT-Cave: much better. totally obvious now.
11:56 AM JT-Shop: thanks
12:03 PM Rab: JT-Shop, in this person's defense, but with no disrespect intended, I do confess to having experienced some difficulty navigating the Mesa product matrix.
12:04 PM Rab: Asking for advice in ##linuxcnc worked for me, not sure if they need an invite. ;)
12:10 PM Tom_L: JT-Shop, PR #13 ready
12:10 PM Rab: Although reading Centroid's site, I'm not sure which wood-themed solution could be right for me...or whether "Acorn" and "Oak" imply a relationship, as opposed to "Hickory".
12:11 PM travis_farmer: the bridge is down for discord so i thought i would pop on IRC and see what is exciting...
12:26 PM travis_farmer: we find out monday, the results of dads bone-marrow biopsy
01:23 PM XXCoder: hey CaptHindsight
01:23 PM XXCoder: seems sls4all just released info. 6k usd ouch lol. and seems tpu and nylon, or any that can be done at 200c or below?
01:24 PM skunkworks: travis_farmer: good luck!
01:25 PM travis_farmer: thanks :-)
01:40 PM CaptHindsight: XXCoder: I was just checking it out again the other day
01:42 PM XXCoder: what you think of it
01:43 PM CaptHindsight: https://sls4all.com/
01:44 PM XXCoder: I know yeah :)
01:50 PM CaptHindsight: the design hasn't changed much in a year, and they spent much of it writing software for their slicer
01:52 PM CaptHindsight: they had a few proposed powder recoaters, not sure if they copied a patented design or did something more simple
01:52 PM XXCoder: interesting
01:55 PM CaptHindsight: "the laser is just a diode so I need to design a driver for it", "which is also proven annoying" , how to say that you haven't done much of this before without saying it
01:56 PM CaptHindsight: which is how the whole project pretty much went
01:58 PM CaptHindsight: it could run LCNC with some Mesa hardware in a few hours
01:59 PM XXCoder: so theyre still stuborn. too bad. its why I left sls4all discord
01:59 PM CaptHindsight: probably a couple of days more with Remora or the $12 FPGA LCD cards
02:01 PM XXCoder: oh well. there will be others evenually
02:05 PM CaptHindsight: https://www.makerhacks.com/3d-printer-companies-abusing-open-source/
02:10 PM CaptHindsight: Price of the kit is set to 6,490EUR or 6,990USD. All without VAT, sale tax, etc.
02:12 PM JT-Shop: only 7k
02:15 PM CaptHindsight: their BOM links to automation components at aliexpress, so there is much luck involved since you never know if you are going to get good or reject parts
02:16 PM CaptHindsight: https://www.aliexpress.us/item/2255801013610930.html
02:17 PM XXCoder: price is so high that I wonder if I could do a part-in and build one for much cheaper
02:17 PM XXCoder: and just use lcnc
02:20 PM CaptHindsight: Source codes of the SLS4All Compact will be published gradually starting at the date of the shipping first orders.
02:22 PM CaptHindsight: some projects were worse, they relied on community experience and knowledge and then sold a complete closed device
02:23 PM CaptHindsight: this one didn't want anyone selling kits that are very similar before they do
02:25 PM CaptHindsight: XXCoder: if you understand machine design you could build one for far less that works as well or better, using LCNC might not save any money but it sure would have saved them lots of time
02:26 PM XXCoder: unfortunately I do not lol. not a surpise however
02:28 PM CaptHindsight: is there a way to publish F360 designs with as little helpful info as possible?
02:28 PM CaptHindsight: I have never used F360
02:28 PM XXCoder: empty f360 files
02:28 PM XXCoder: honestly dunno
02:28 PM XXCoder: dont use it either'
02:30 PM Unterhaus_ is now known as Unterhausen
02:31 PM Unterhausen: export the files as something else?
02:33 PM CaptHindsight: it's just what I would expect
02:48 PM JT-Shop: updated home page https://mesaus.com/
02:49 PM JT-Shop: Rab, on my site or Mesa's site?
03:02 PM Tom_L: JT-Shop, did you post an example hal with the examples?
03:02 PM Tom_L: i see one but get errors trying it
03:03 PM JT-Shop: I've not updated the example ui yet
03:03 PM Tom_L: i get errors on the hal_btn one
03:03 PM JT-Shop: check out mesaus.com and see if it is better
03:03 PM JT-Shop: I've not updated the example hal ui yet
03:04 PM Tom_L: what was wrong with it before?
03:04 PM Tom_L: some whiner prompt you to change it?
03:04 PM JT-Shop: well the nasty gram did make me look at it
03:04 PM Tom_L: if the S has spindle you might mention that
03:04 PM Tom_L: that's about it
03:05 PM JT-Shop: ok
03:05 PM Tom_L: analog
03:05 PM Tom_L: i dunno what all the other R TF TH TM are
03:05 PM Tom_L: EU
03:05 PM JT-Shop: new boards
03:06 PM Tom_L: if it has a different part number you might mention what is different
03:06 PM JT-Shop: it's not important
03:06 PM Tom_L: i knew the S was analog spindle
03:06 PM Tom_L: ok
03:06 PM Tom_L: that guy on the forum help you this morning?
03:06 PM JT-Shop: click on the links to read up about each board
03:07 PM Tom_L: those are PCW's descriptions right?
03:07 PM JT-Shop: yup, he came up with a slick way to do hal output for buttons, checkboxes and radio buttons
03:07 PM Tom_L: i _was_ very curious about the buttons
03:08 PM JT-Shop: the board descriptions is a copy of Peter's word for word
03:08 PM Tom_L: and checkable buttons
03:09 PM Tom_L: at the bottom add: if you need further personal help please feel free to contact me at 1-573-xxx-xxxx
03:09 PM JT-Shop: lol
03:09 PM Tom_L: voice and data rates may apply.. don't forget that part :)
03:10 PM JT-Shop: If you're not sure what type of board you need the forum is very helpful and knowledgeable
03:10 PM Tom_L: i'm sure it is
03:10 PM Tom_L: i very seldom go there
03:10 PM Tom_L: different croud too i'm sure
03:11 PM Rab: JT-Shop, mesanet.com (and, to heighten the confusion, store.mesanet.com). Your site is much clearer, and I believe I used it as a cheat sheet for placing an order with Mesa (only they had the stock I needed at the time).
03:12 PM JT-Shop: Rab, have you looked at mesaus.com in the last few minutes?
03:12 PM Rab: JT-Shop, yeah, first time in a while so I can't tell the difference. ;)
03:13 PM JT-Shop: the home page now has a breakdown of the types of boards instead of going to another page to look
03:13 PM JT-Shop: a quick reference so to speak
03:14 PM Tom_L: i think it's better
03:14 PM JT-Shop: I agree
03:14 PM Rab: Yes, very nice. Mesa should copy it.
03:14 PM roycroft: surgery wednesday next
03:14 PM roycroft: outpatient
03:14 PM -!- #linuxcnc mode set to +v by ChanServ
03:14 PM roycroft: so good
03:14 PM Tom_dev: flexhal: dlopen: /usr/lib/linuxcnc/modules/flexhal.so: cannot open shared object file: No such file or directory
03:14 PM JT-Shop: the 8th?
03:15 PM roycroft: yes
03:15 PM Tom_L: i get that with hal_btn
03:15 PM JT-Shop: wait till I update the examples to test
03:15 PM Tom_L: but i can't!!
03:15 PM Rab: JT-Shop, can I ask how you and pcw have come to operate these separate US storefronts?
03:16 PM Tom_L: i'm sure PCW is really busy updating boards and the store is a distraction from that
03:17 PM Tom_L: afik it's just the 2 of them
03:17 PM JT-Shop: Peter was having some problems and could not ship very fast and that was frustrating customers so I figured it would help if they just shipped me a big box from time to time
03:17 PM JT-Shop: and I could promptly ship every day
03:18 PM JT-Shop: so I did that to help them out
03:18 PM Tom_L: and have one of every board to play with :)
03:18 PM JT-Shop: that too!
03:18 PM Rab: heh
03:18 PM Tom_L: helped mesact developement i'm sure
03:18 PM JT-Shop: very much
03:20 PM Tom_L: JT-Shop, so you're telling me the checkable box doesn't work with the latest push?
03:20 PM Tom_L: to make the button stay on
03:27 PM Tom_L: feed hold resets the program
03:28 PM Tom_L: causing it to not run a 2nd time
03:28 PM JT-Cave: it will now
03:29 PM Tom_L: and just like that i'm 5 commits behind again...
03:30 PM XXCoder: you have to run in order to stay in place
03:30 PM XXCoder: ;)
03:31 PM Tom_L: now i get an error on startup
03:31 PM Tom_L: wait..
03:31 PM * Tom_L removes the hal_btn icon
03:32 PM Tom_L: feed hold has no effect now
03:33 PM Tom_L: doesn't stop doesn't hang the program
03:34 PM Tom_L: how is feed hold different from pause?
03:38 PM lcnc-relay: <roguish> Tom_L: keep breaking it....
03:38 PM Tom_L: it's getting harder
03:39 PM Tom_L: JT-Cave, where did you hide the lcd numbers on the html page?
03:39 PM lcnc-relay: <roguish> welll that's good
03:40 PM lcnc-relay: <roguish> Tom_L: is flex hard to build?
03:40 PM Tom_L: not at all
03:40 PM Tom_L: dpkg-buildpackage -us -uc
03:41 PM Tom_L: then gdebi xxx.deb
03:41 PM Tom_L: you'll need debhelper installed
03:41 PM Tom_L: and maybe one other one i forget
03:41 PM Tom_L: sudo gdebi xxx
03:42 PM Tom_L: from the /home/user/flexgui folder
03:42 PM Tom_L: there's a fairly fresh deb on his site
03:42 PM Tom_L: when feed_hold works i'll push another one
03:42 PM Tom_L: (incentive)
03:43 PM lcnc-relay: <roguish> i see JT made a new deb 2 days ago
03:43 PM Tom_L: i can make you one right now if you want
03:43 PM Tom_L: i keep a rpi one on my page too
03:43 PM lcnc-relay: <roguish> no. don't worry. not in a hurry
03:44 PM lcnc-relay: <roguish> I have a board on my desk with a 7i80
03:44 PM Tom_L: cool, i'm testing with a 7i80
03:44 PM JT-Shop: Tom_L, do you mean where is the lcd info in the docs?
03:44 PM Tom_L: i found it under spindle
03:45 PM Tom_L: a quick mention of it
03:45 PM -!- #linuxcnc mode set to +v by ChanServ
03:45 PM JT-Shop: I think there is an issue with feed hold
03:45 PM Tom_dev: If a QLCDNumber named spindle_speed_0_lcd is found...
03:46 PM Tom_L: might add a section for lcd or 'display' widgets and add a few like spindle speed, feed dtg etc
03:46 PM Tom_L: some may like that layout better than textlabel
03:46 PM lcnc-relay: <roguish> I think there's a hal pin for feed hold...
03:46 PM Tom_L: not a high priority...
03:46 PM JT-Shop: you can change the font of a label...
03:47 PM Tom_L: that's probably good enough then
03:47 PM lcnc-relay: <roguish> I use a phyical switch to the hal pin on my pendant
03:47 PM JT-Shop: do that in designer
03:47 PM Tom_L: i haven't been playing with the 'fluff' yet
03:47 PM lcnc-relay: <roguish> for feed hold
03:48 PM JT-Shop: here I sit waiting for a package that's not coming today...
03:48 PM JT-Shop: ups get your shit together
03:48 PM lcnc-relay: <roguish> Bud time
03:49 PM JT-Shop: cab time
03:49 PM lcnc-relay: <roguish> ah, there ya go.
03:49 PM * Tom_L wonders what other widgets he hasn't tried
03:50 PM JT-Shop: you need to make a checklist
03:50 PM Tom_L: meh, that's for santa claus
03:50 PM Tom_L: it wouldn't work because some things work then a change is made to break them
03:51 PM lcnc-relay: <roguish> JT-Shop: if ya hurry ya can make it
03:51 PM lcnc-relay: <roguish> https://jauriarts.org/_matrix/media/v3/download/matrix.org/jDVZHGOOibYkNPWSNTRzyBWk/image.png
03:51 PM lcnc-relay: <roguish> that's my best buddy's winery
03:52 PM Tom_L: does he grow his own grapes?
03:52 PM Tom_L: there's a couple small ones around here but not many
03:52 PM lcnc-relay: <roguish> the Chadonay, yes. otherwise, he buys from other local vineyards
03:53 PM XXCoder: oh hey relay
03:53 PM XXCoder: matrix one seem to work again
03:53 PM JT-Shop: we have a lot of wineries here
03:54 PM Tom_L: in Ark they have drive up windows...
03:54 PM JT-Shop: for?
03:54 PM Tom_L: i'm not sure what all they serve
03:54 PM Tom_L: spirits
03:54 PM lcnc-relay: <roguish> Cal hasn't gotten there yet...
03:55 PM lcnc-relay: <roguish> might do it for pot, but heaven forbid for booze
03:55 PM Tom_L: https://www.yelp.com/search?find_desc=Drive+Thru+Liquor+Store&find_loc=Little+Rock%2C+AR
03:55 PM JT-Shop: in south louisiana they have drive through daiquiri joints
03:55 PM Tom_L: yeah
03:58 PM Tom_L: i've never used block delete so i'm not sure what it's behavior is supposed to be
03:59 PM Tom_L: ignore between '/'?
03:59 PM Tom_L: so if i have: / M1 / and have OpStop on with Block Delete on it shouldn't pause
04:00 PM JT-Shop: http://linuxcnc.org/docs/stable/html/gcode/overview.html#sub:block-delete
04:05 PM Tom_L: the '/' as the first char of the line causes it to stop and return to the top of the program with any combination of OpStop and or Block Delete
04:05 PM JT-Shop: hmm
04:06 PM lcnc-relay: <roguish> Tom_L: what I've seen with the /, is it just skips that line...
04:06 PM Tom_L: put it in front of an N number: /N7 M1 and it is ignored completely
04:07 PM Tom_L: but: N7 / M1 causes the behavior described above
04:07 PM JT-Shop: not sure what the behavior is with line numbers... never use them
04:07 PM Tom_L: they should be ignored no matter what
04:08 PM Tom_L: with: /N1 M1 OpStop works as expected
04:10 PM Tom_L: with N1 /M1 OpStop doesn't work but stops and returns to the top of the program
04:10 PM Tom_L: N7..
04:13 PM Tom_L: i'll make the torture test small.ngc with and without line numbers after bit and retest
04:13 PM JT-Shop: ok
04:13 PM lcnc-relay: <roguish> In Feature Cam/Native Cam, Fern used the / for lines of moves that outlined the material.
04:13 PM Tom_L: gotta run an errand atm
04:16 PM Tom_L: so far with no line numbers i think it works but need further testing
04:17 PM JT-Shop: then that would be an issue with emc
04:18 PM JT-Shop: https://github.com/jethornton/flexgui/blob/master/flexgui/src/libflexgui/commands.py#L321
04:18 PM JT-Shop: the behavior of block delete may be undefined until you toggle the button at least once
04:18 PM JT-Shop: I've not checked that
04:38 PM Tom_L: OpStop & Block Del work with no lines
04:39 PM Tom_L: N7 /M1 OpStop resets the program
04:40 PM Tom_L: N7 /M1 Block Del also resets the program
04:40 PM Tom_L: as does the combination of OpStop & Block Del
04:40 PM Tom_L: line numbers is the issue
04:41 PM Tom_L: i know OpStop works in axis with Line numbers but not sure about Block Del, i've never used it
04:43 PM Tom_L: N7 /M1 says bad character near line 11 in axis sim with the '/'
04:43 PM Tom_L: with no lines it doesn't complain
04:45 PM Tom_L: axis sim stops at N7 /M1 with block del on so it must be an emc problem
04:46 PM Tom_L: i'd have swore i've used that on the mill but maybe i haven't
04:46 PM Tom_L: not the '/' but M1
04:46 PM JT-Cave: hmm / has to be at the beginning of the line according to the emc docs
04:47 PM Tom_L: must be lemme see
04:48 PM Tom_L: yeah that works in axis: /N7 M1
04:50 PM Tom_L: on flex: /N7 M1 OpStop ignores the stop even if Block del is off
04:51 PM Tom_L: ok it worked that time
04:51 PM Tom_L: the 2nd round
04:52 PM Tom_L: with the '/' ahead of everything i think it may be ok
04:52 PM Tom_L: takes opstop a 2nd run to stop
04:53 PM Tom_L: learned something new about block del today :)
04:54 PM Tom_L: i don't think i've ever used it
04:54 PM JT-Shop: block delete default might be on
04:54 PM Tom_L: it is in axis
04:55 PM Tom_L: the defaults seem to be saved in persistent memory
04:55 PM JT-Shop: I need to program so on startup the button is in the correct state
04:55 PM Tom_L: turn them both off and axis restarts with them offf
04:56 PM Tom_L: both are persistent
04:56 PM Tom_L: in axis anyway
04:56 PM JT-Shop: that might be stored in .axis_preferences
04:56 PM JT-Shop: watch that file and see
04:56 PM Tom_L: in the user dir?
04:56 PM JT-Shop: home dir
04:57 PM Tom_L: yeah it changes
04:57 PM Tom_L: in axis anyway
04:57 PM JT-Shop: so axis is saving the current state in the pref file?
04:58 PM Tom_L: it gets rewritten even if you just start axis and close it
04:58 PM JT-Shop: that makes sense
04:58 PM JT-Shop: read it on start up and update on exit
04:58 PM Tom_L: line 15 16 of the file
04:58 PM Tom_L: block del & op stop
04:58 PM JT-Shop: I've not done a pref file yet for flex, got one for mesact
05:00 PM Tom_L: did you address parameters in tooledit yet?
05:00 PM Tom_L: columns
05:00 PM JT-Shop: tooledit is part of emc
05:00 PM JT-Shop: afaik
05:00 PM Tom_L: it crashes if you add column parameters in flex
05:00 PM Tom_L: in the ini
05:01 PM JT-Shop: https://github.com/jethornton/flexgui/blob/master/flexgui/src/libflexgui/actions.py#L156
05:01 PM -!- #linuxcnc mode set to +v by ChanServ
05:01 PM JT-Shop: is column parameters an ini item?
05:01 PM Tom_dev: TOOL_EDITOR = tooledit tool poc x y z diam comment
05:01 PM Tom_dev: in DISPLAY
05:02 PM Tom_L: a couple of those aren't valid now
05:02 PM JT-Shop: ah ok I can test that in the morning
05:02 PM Tom_L: poc & comment will error
05:02 PM Tom_L: basically the axis & diam are valid now
05:02 PM JT-Shop: all that should be part of emc
05:03 PM Tom_L: it is, but the parameters have changed a bit over the years
05:04 PM JT-Shop: TOOL_EDITOR = tooledit - The editor to use when editing the tool table (for example by selecting "File > Edit tool table…" in AXIS). Other valid entries are gedit, gnome-terminal -e vim, and gvim. This entry does not apply to GMOCCAPY, as GMOCCAPY has an integrated editor.
05:04 PM JT-Shop: tool editor shows no options other than which program you want to use
05:04 PM Tom_L: i'm looking.. it's somewhere
05:05 PM Tom_dev: http://linuxcnc.org/docs/html/gui/tooledit.html
05:05 PM Tom_dev: Valid column names are: x y z a b c u v w diam front back orien
05:06 PM JT-Shop: that's totally emc stuff
05:06 PM Tom_dev: poc & comment have been defaulted
05:06 PM Tom_L: right but flex throws an error if they're in the ini
05:06 PM JT-Shop: that's an emc error
05:07 PM Tom_dev: TOOL_EDITOR = tooledit
05:07 PM Tom_dev: works in flex
05:07 PM JT-Shop: flex does not check for anything but just reports any error that emc has
05:07 PM Tom_dev: add any parameters and it crashes
05:08 PM Tom_dev: try: TOOL_EDITOR = tooledit z diam in the ini and see what happens
05:08 PM JT-Shop: Stand Alone
05:08 PM JT-Shop: tooledit
05:08 PM JT-Shop: Usage:
05:08 PM JT-Shop: tooledit filename
05:08 PM JT-Shop: tooledit [column_1 ... column_n] filename
05:08 PM JT-Shop: Valid column names are: x y z a b c u v w diam front back orien
05:08 PM JT-Shop: that for stand alone usage
05:09 PM Tom_dev: it applies to the ini as well
05:09 PM JT-Shop: it doesn't say that
05:09 PM Tom_dev: it should :)
05:09 PM Tom_dev: i use it on the mill showing only the columns i use
05:09 PM JT-Shop: not my yob mon
05:10 PM Tom_dev: somebody will try that in the ini
05:15 PM Tom_dev: axis sim: TOOL_EDITOR = tooledit x y z diam
05:15 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/axis_tooledit.png
05:18 PM Loetmichel_: *grmbl* 'Original spare part' my ass. Just recieved a replacement digitizer for my Blackview tab6. ok, SEEMS to fit. Break the remnants of the old broken one out of the frame, install the new one. "Hmm, that plug fits a bit ill. And the Glass is about 1mm to large for the frame. And the hole for the cam is in the wrong position. (of course it doesent work) Now i have to wait 2 weeks for
05:18 PM Loetmichel_: another one from a different supplier. 17 eur down the drain AND i cant use the tab for 2 weeks. *Pissed*
05:20 PM JT-Shop: Traceback (most recent call last):
05:20 PM JT-Shop: File "/usr/lib/python3/dist-packages/libflexgui/actions.py", line 163, in action_edit_tool_table
05:20 PM JT-Shop: subprocess.Popen([tool_editor, tool_file])
05:20 PM JT-Shop: File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
05:20 PM JT-Shop: self._execute_child(args, executable, preexec_fn, close_fds,
05:20 PM JT-Shop: File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
05:20 PM JT-Shop: raise child_exception_type(errno_num, err_msg, err_filename)
05:20 PM JT-Shop: FileNotFoundError: [Errno 2] No such file or directory: 'tooledit x y z diam'
05:22 PM JT-Shop: https://github.com/jethornton/flexgui/blob/master/flexgui/src/libflexgui/actions.py#L156
05:22 PM JT-Shop: the options screw it up I 'think'
05:24 PM lcnc-relay: <roguish> JT-Shop: was just playing with flex a bit. qss sheets. to change color when buttons pushed.
05:24 PM JT-Shop: cool
05:24 PM Tom_L: they do yes
05:26 PM Tom_L: if it's in flex the current file should be the last parameter if any are passed
05:27 PM JT-Shop: yup I see that now
05:27 PM JT-Shop: without options does the current file get loaded?
05:27 PM Tom_L: yes
05:28 PM Tom_L: with just = tooledit
05:28 PM JT-Shop: then it is not needed
05:28 PM JT-Shop: file is for stand alone
05:28 PM Tom_L: right but if the ini has any parameters it will get screwed up
05:29 PM JT-Shop: what the issue is I need to parse any options and send them properly
05:29 PM Tom_L: i think so
05:29 PM JT-Shop: https://github.com/jethornton/flexgui/blob/master/flexgui/src/libflexgui/actions.py#L163
05:29 PM Tom_L: or default to current file if none
05:29 PM JT-Shop: I know so...
05:30 PM JT-Shop: the list must have all the options as separate list items
05:31 PM Tom_L: over the years, tool, poc & comment had to be specified but not anymore
05:42 PM lcnc-relay: <roguish> how's that plot_widget coming along ??
05:42 PM JT-Shop: not
05:42 PM Tom_L: it's not
05:42 PM Tom_L: :)
05:42 PM Tom_L: hah
05:42 PM Tom_L: not yet anyway
05:43 PM lcnc-relay: <roguish> oh, come on you guys..... idiots like me need the plot... don't dare machine blind.
05:43 PM Tom_L: so block del & Opstop are ok?
05:43 PM Tom_L: i'll build a rpi deb...
05:43 PM JT-Shop: should be except for setting the state of the button on startup
05:44 PM Tom_L: #14 up
05:46 PM Tom_L: and for roguish, i also put them on my site http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/
05:47 PM * JT-Shop calls it a day
05:51 PM lcnc-relay: <roguish> yup, me too. see ya's tomorrow
05:51 PM Tom_L: later
06:05 PM JT-Cave: Touché
06:06 PM JT-Cave: rain rain rain rain...
06:10 PM Loetmichel_ is now known as Loetmichel
06:27 PM Tom_L: colorful radar your way for sure
07:00 PM mrec: does anyone know where I can pick up the waypoints and feedrate in LinuxCNC?
07:01 PM mrec: I think it's best to let go that Mitsubishi system and start the reverse engineering process now
07:01 PM mrec: X / Y / Z / spindle and all the features work ... just that crap system won't start a g-code file
07:04 PM Tom_L: won't load?
07:04 PM Tom_L: have you tried modifying the gcode?
07:05 PM mrec: it errors out with a PLC error
07:05 PM Tom_L: ok
07:05 PM mrec: the g-code is just S600 M3;
07:05 PM mrec: and M2 at the end (tried other ones too)
07:05 PM Tom_L: not sure what you're asking
07:06 PM mrec: the servos need coordinates
07:06 PM Tom_L: M2 M30 %
07:06 PM mrec: ya I used M30
07:06 PM Tom_L: define the axis
07:06 PM Tom_L: joint0 1 2 for x y z
07:06 PM mrec: the machine errors out with a PLC error and needs to be re-powered
07:06 PM mrec: xyz yes it needs coordinates
07:06 PM Tom_L: you need a config for it then
07:07 PM mrec: MDS-B-SVJ2 they use a digital protocol I still need to reverse engineer the exact protocol but it's clear what's needed
07:07 PM Tom_L: defining each axis and operationg parameters
07:07 PM Tom_L: so you want to try and use some of the control instead of say a mesa card etc?
07:08 PM mrec: I will adapt a mesa card
07:08 PM Tom_L: then just make a config and use the mesa card to control the amps
07:08 PM mrec: it needs some vhdl description for passing through those waypoints
07:09 PM mrec: linuxcnc should send a transaction all 0.888 milliseconds
07:11 PM Tom_L: there are API calls but i've never used them
07:11 PM Tom_L: i think you'd be better off letting mesa do all the work to the drivers
07:13 PM Tom_L: https://dl.mitsubishielectric.com/dl/fa/document/manual/cnc/bnp-b2202(eng)/bnp-b2202(eng)b.pdf
07:15 PM Tom_L: no idea really
07:16 PM mrec: the communication is a digital protocol
07:16 PM mrec: mesa has no direct interface for this yet
07:16 PM mrec: so I need to adapt the vhdl description a little bit
07:16 PM mrec: I checked the yuratev stuff (as far as I could, I did not want to buy his pcie card)
07:17 PM Tom_L: sounds above my paygrade i'm afraid
07:18 PM Tom_L: look at Gstat
07:18 PM Tom_L: may or may not be even close to what you need
07:19 PM mrec: as far as I think, I will just need a small buffer on the mesa card and send out the data at a specific speed
07:19 PM mrec: the data itself will be put together in linuxcnc
07:19 PM mrec: it's not pulse / dir but waypoints and feedrate
07:19 PM Tom_L: odd
07:22 PM rdtsc_away is now known as rdtsc
07:27 PM rdtsc: cnc@linuxcnc:~/Downloads$ sudo dpkg -i flexgui_0.3.0_arm64.deb
07:27 PM rdtsc: (Reading database ... 123385 files and directories currently installed.)
07:27 PM rdtsc: Preparing to unpack flexgui_0.3.0_arm64.deb ...
07:27 PM rdtsc: Unpacking flexgui (0.3.0) over (0.2.0) ...
07:28 PM rdtsc: Setting up flexgui (0.3.0) ...
07:28 PM rdtsc: Processing triggers for mailcap (3.70+nmu1) ...
07:28 PM rdtsc: Processing triggers for desktop-file-utils (0.26-1) ...
07:28 PM rdtsc: Processing triggers for man-db (2.11.2-2) ...
07:28 PM rdtsc: cnc@linuxcnc:~/Downloads$
07:30 PM mrec: Tom_L: well it's like a draft of a picture, I roughly know what it should look like I just need to learn how to paint it properly
07:31 PM mrec: so I'm confident that I can work it out somehow
07:31 PM Tom_L: rdtsc, is that tonight's build?
07:32 PM rdtsc: Yep, just thought it was interesting there were "triggers" for those items.
07:33 PM Tom_L: he added some hal stuff
07:33 PM Tom_L: dunno if that changed anything
07:33 PM rdtsc: I saw you two hammering away earlier, looked fruitful
07:34 PM rdtsc: like anything else, two steps forwards, one step back lol
07:34 PM Tom_L: he got hal pins working but i think there's a bit more to do with it
07:36 PM rdtsc: that python code snippet he linked to... uggh. Python2 was much more succinct, even if it wasn't as powerful or robust.
07:39 PM rdtsc: recently built a .py to talk MLAN protocol to Maguire weigh-scale-blenders. Keeping the linter happy is it's own task lol
08:14 PM rdtsc: Any thoughts on these as limit switches? https://www3.panasonic.biz/ac/e_download/fasys/sensor/proximity/catalog/gx-f_h_e_cata.pdf
08:21 PM Tom_L: don't cut steel on the cnc
08:21 PM Tom_L: inductive switches?
09:00 PM rdtsc is now known as rdtsc_away
09:45 PM lcnc-relay: <youhouka#0> Why does the planner propose that the paths will be out some wacky place in space when I don't declare a coordinate system in a file
09:45 PM lcnc-relay: <youhouka#0> shouldn't it be assuming the currently running coordinate space is the one to plan on?
09:47 PM lcnc-relay: <youhouka#0> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/NWZBZdplTUgokwiIiRicohTc/image.png
09:47 PM lcnc-relay: <youhouka#0> like in this picture, the g code starts at 0,0 and just goes positive on both
09:47 PM lcnc-relay: <youhouka#0> but it's drawing it like it's some wacky dimension possibly even outside of machine limits
09:48 PM lcnc-relay: <youhouka#0> I even have my spindle at 0,0 when I load the file
09:51 PM lcnc-relay: <youhouka#0> walking through my offsets... it's rendering like it should be starting in G59.3
09:58 PM lcnc-relay: <youhouka#0> Oh, I think I've found my problem that happened earlier... my modal states are jammed
09:59 PM lcnc-relay: <youhouka#0> I had an M73 protected subroutine that failed, and I think there's some visual bug showing my modal states one way, but they're stuck like I'm still in the subroutine
10:02 PM CaptHindsight: looks like a pretty short program, can you paste the file on pastebin or similar?
10:12 PM lcnc-relay: <youhouka#0> nope, it's not the M73 that broke it
10:34 PM lcnc-relay: <zincboy_ca_on> Don't use M73. I have encountered all sorts of weird behavior when using M70/71/72/73. After removing those codes from my macros things work much better. Now I just have my own save/restore state macro I call that uses global variables to hold state.
11:14 PM XXCoder: discord bridging is diabled for now. matrix and irc is still connected.