#linuxcnc Logs
Jan 28 2024
#linuxcnc Calendar
09:29 AM Tom_L: was able to test run a program (sim) start to end with jet with no errors.
09:42 AM Tom_L: except z still ends up at 1.1101
09:42 AM Tom_L: after a 'G00 Z0.0' command
09:44 AM JT-Shop: how did you do that?
10:03 AM JT-Cave: http://linuxcnc.org/docs/stable/html/user/user-concepts.html#_when_you_are_lost
10:18 AM Tom_L: opened gcode file, homed the axis, jogged to positions in manual, Touch Off X Y Z, Run program which ends up with a G00 Z0.0 move
10:19 AM Tom_L: i think you said it wasn't updating right.. not sure
10:20 AM Tom_L: where do you set the active gcodes?
10:26 AM -!- #linuxcnc mode set to +v by ChanServ
10:26 AM Tom_dev: N77 G01 X0.0
10:26 AM Tom_dev: N78 G00 Z0.0
10:26 AM Tom_dev: N79 M05
10:26 AM Tom_dev: N80 M30
10:27 AM Tom_L: Z stops at 1.1101
10:28 AM Tom_L: 5221, 5222, 5223 all have offsets in the var file
10:30 AM Tom_L: if i jog off X0 Y0 Z0 then issue an MDI G00 X0 Y0 Z0 it zero's all 3 axis but at the end of the program it doesn't
10:33 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/Torture_test.txt
10:33 AM Tom_L: there's the test file
10:36 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/jet_testrun1.png
10:36 AM Tom_L: there's the result
10:46 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/jet_testrun1_active_codes.png
10:46 AM Tom_L: active codes
10:51 AM Tom_L: another topic: when you push stop, the Start Line counter should reset
10:52 AM Tom_L: if you push 'RUN' again it remains at the end of the last run
10:55 AM Tom_L: and tries to start there
11:08 AM Roguish: hey, hey....
11:09 AM Roguish: JT-Cave, thanks. got your Jet email....
11:10 AM Roguish: several.........
11:19 AM Tom_L: JT-Cave, you set G49.. i wonder if that may be it
11:20 AM Tom_L: wait...
11:21 AM Guest46: Hello, long time ago i work with LinuxCNC / EMC. Are there directions for using this chat?
11:21 AM Tom_L: seems you figured it out
11:21 AM Tom_L: rated PG is about it
11:22 AM Roguish: Guest46, be nice.
11:27 AM Tom_L: JT-Cave, i set G49 and you set G43
11:28 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/test1_mill.png
11:28 AM Tom_L: my active codes
11:29 AM Roguish: is there a check in lcnc for Hn to match the proper tool for G43
11:29 AM Tom_L: i dunno, i set the Hword in my files though
11:30 AM Tom_L: same as the tool number
11:30 AM Tom_L: you _can_ vary that
11:30 AM Tom_L: and i preset my tools
11:30 AM Roguish: The old Haas machine i ran had a check. it was handy
11:30 AM Tom_L: this is the way all the machines i've run did it
11:30 AM Tom_L: so i adapted it for lcnc
11:31 AM Tom_L: the problem is, on jet my z doesn't return to zero at the end of the program with a G00 Z0.0 command
11:32 AM Tom_L: Roguish, http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/jet_testrun1.png
11:33 AM Tom_L: there are a few differences in the default codes set between jet and axis
11:33 AM Roguish: axis defaults g codes are in the .ini
11:34 AM Tom_L: what section?
11:34 AM Tom_L: i'm runing a sim config on jet so that could be part of it
11:34 AM Roguish: RS274
11:35 AM Roguish: from the doc: RS274NGC_STARTUP_CODE = G17 G20 G40 G49 G64 P0.001 G80 G90 G92.1 G94 G97 G98
11:35 AM Tom_L: neither of these have any there
11:36 AM Roguish: ya probably ought to read that section, to stay consistent with the docs.
11:37 AM Tom_L: so where does axis get it's defaults if they're not specified?
11:37 AM Roguish: that I don't know. but I think it does have some.
11:38 AM Roguish: i'll fire up my VM and check
11:38 AM Tom_L: i'll check the mill on startup too
11:48 AM lcnc-relay: <roguish> OK, in the axis sim, there are no Gcodes in that .ini section, but there are over a dozen in ths 'Active G-Codes' list in axis when it starts
11:49 AM lcnc-relay: <roguish> probably in the intrepreter section...
11:49 AM Tom_L: right, i snapshot mine on power on and after homing
11:49 AM lcnc-relay: <roguish> don't knw for sure
11:49 AM Tom_L: i can use my defaults and be safe i think
11:49 AM Tom_L: add them to the ini file
11:50 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/Mill_Startup_codes.png
11:52 AM lcnc-relay: <roguish> those are all the ones showing in the axis sim without any in the RS274 section
11:53 AM lcnc-relay: <roguish> i'm downloading the source now, and will try to find the interpreter section
11:54 AM lcnc-relay: <roguish> i don't know the source code very well, so it may take a while, if at all....
12:00 PM Tom_L: ok i came up with a default string i'm gonna use on all copies
12:03 PM lcnc-relay: <roguish> in the source tree, there is /src/emc/rs274ngc lots of files. check interp_check.cc
12:04 PM lcnc-relay: <roguish> I use a little program call '
12:04 PM lcnc-relay: <roguish> 'grepwin' very useful
12:04 PM lcnc-relay: <satiowadahc#0> The active gcode table has known faults. It doesn't always synchronize
12:05 PM lcnc-relay: <satiowadahc#0> Once upon a time I started writing unit tests for lcnc but got hung up on that little guy
12:05 PM lcnc-relay: <satiowadahc#0> Look for gees and ems in rs274
12:07 PM lcnc-relay: <roguish> satiowadahc#0: you could be right.... it's not perfect.
12:09 PM lcnc-relay: <satiowadahc#0> I always laugh at it when I'm trying to understand how it works. If only O was modal as well. You could have oohs ems gees as variables.
12:10 PM Guest46: Can i see only the messages in my onlinetime? Or its possible to see older messages?
12:12 PM lcnc-relay: <roguish> depend upon which program you are using. plain old irc, no. Matrix, yes
12:12 PM lcnc-relay: <satiowadahc#0> Discord yes
12:12 PM Tom_L: Guest46, the log gets most of it
12:13 PM Tom_L: if you're using hexchat you can keep local channel logs yourself
12:14 PM JT-Shop: you should never rely on g codes in the ini
12:14 PM Tom_L: mine didn't have any was what made me wonder what may be going on
12:16 PM lcnc-relay: <satiowadahc#0> An interesting one I found yesterday in nml they emcini variable never updates. It's always emc.ini.
12:17 PM Guest46: I use no additional software. I call this site: https://web.libera.chat/#linuxcnc and get to be here.
12:17 PM Tom_L: is there a modal group chart somewhere in the docs?
12:18 PM lcnc-relay: <satiowadahc#0> https://linuxcnc.org/docs/html/gcode/overview.html#gcode:modal-groups
12:19 PM JT-Shop: yes
12:19 PM JT-Shop: also never use %% to wrap g code always use a program end
12:21 PM Tom_L: heh
12:21 PM Tom_L: that's the old one for end of tape
12:25 PM lcnc-relay: <satiowadahc#0> Converting a mill from flashcut to linuxcnc. They have no end of program code.
12:25 PM lcnc-relay: <satiowadahc#0> Weird things like G4 use X for time input
12:26 PM Tom_L: M53 should be added to modal group 9
12:26 PM JT-Shop: http://linuxcnc.org/docs/stable/html/gcode/overview.html#gcode:file-requirements
12:26 PM JT-Shop: why?
12:26 PM Tom_L: because if you have M48 and M53 you get a modal group error
12:27 PM Tom_L: and if i remove M53 the error goes away
12:27 PM JT-Shop: hmm I think m53 is sorta new so the document people didn't add it
12:28 PM JT-Shop: maybe not
12:28 PM Tom_L: however
12:28 PM Tom_L: my running mill has both active
12:28 PM Tom_L: it errors in the sim
12:29 PM JT-Shop: hmm they don't seem to be conflicting with each other
12:29 PM Tom_L: i'm going out to add the line to the mill to see what happens
12:29 PM Tom_L: in case it's just the sim
12:30 PM JT-Shop: I don't get an error on the bp
12:30 PM JT-Shop: the sim is buggy for sure, trying to be fancy and move around during homing
12:30 PM lcnc-relay: <wholenothing> i was looking at display options to set up LinuxCNC , i had a spare 5" screen that i hooked up, doesn't appear to have enough resolution.
12:30 PM lcnc-relay: <wholenothing> Does anyone have experience with BTT 7" touch screen display, is it large enough?
12:30 PM lcnc-relay: <wholenothing> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/LWcsiWcNDFuIhgrrtfDwVEji
12:30 PM JT-Shop: large enough for what?
12:31 PM lcnc-relay: <wholenothing> To be functional with LinuxCNC, still new to the frontend
12:31 PM JT-Shop: depends on the gui you use
12:31 PM jpa-: what resolution?
12:32 PM JT-Shop: probe basic needs a screen as big as your front door
12:32 PM jpa-: i ran with a 1280x1024 screen for a while, it was the minimum i'd consider usable
12:32 PM lcnc-relay: <wholenothing> The resolution of the 7-inch screen is 1024*600
12:32 PM JT-Shop: my gui will fit in 800x600 I think
12:32 PM lcnc-relay: <wholenothing> https://biqu.equipment/products/bigtreetech-hdmi5-v1-0-hdmi7-v1-0
12:33 PM * JT-Shop takes a nap
12:33 PM lcnc-relay: <roguish> never used M48 or M49.....
12:38 PM Tom_L: JT-Shop, it just errors on the sim
12:38 PM Tom_L: the mill was fine with it
12:38 PM Tom_L: Roguish, they were defaults on power up so i added them to the string
12:40 PM JT-Cave: yup the axis sim is a bit buggy
12:40 PM JT-Cave: it just tries to do too much simming lol
12:40 PM Tom_L: anyway, someone may consider adding it to that modal group
12:40 PM JT-Cave: it's not part of that group I don't think
12:40 PM Tom_L: actually no... since it was just the sim
12:40 PM Tom_L: you're right
12:41 PM JT-Cave: it's just a bug in the axis sim
12:41 PM Tom_L: it should however belong to some modal group
12:41 PM JT-Cave: you might try making a stepconf sim and see if it's not as buggy
12:41 PM * JT-Cave takes a nap
12:41 PM Tom_L: that was a step config sim
12:43 PM lcnc-relay: <big_kevin420> wholenothing (@_discord_237970856645623810:jauriarts.org) did someone say low res sxcreen?
12:45 PM lcnc-relay: <big_kevin420> wholenothing (@_discord_237970856645623810:jauriarts.org) im using the btt 5inch screens with 800*480 res
12:46 PM lcnc-relay: <big_kevin420> heres the axis gui i did for it
12:46 PM lcnc-relay: <big_kevin420> https://github.com/cakeslob/regularmac_800
12:47 PM lcnc-relay: <big_kevin420> I can send you my modified config chooser screen aswell, but its less needed once you configure your machine
12:56 PM lcnc-relay: <wholenothing> thank you!
01:08 PM * TexZeTech is away: Gone away for now
01:09 PM * TexZeTech has returned
01:27 PM Tom_L: JT-Cave, i was wrong about M53 on the mill. i'd copied it to the wrong config. it does error when it's with M48
01:35 PM JT-Shop: Tom_L, https://paste.debian.net/1305564/
01:35 PM JT-Shop: run that
01:36 PM JT-Shop: I have m53 and m48 both as active on the bp
01:37 PM JT-Shop: then run this https://paste.debian.net/1305565/
01:44 PM Tom_L: gonna thaw out for a bit first
01:44 PM JT-Shop: I hear that, gotta take the hose off tonight
01:45 PM Tom_L: i tried loading jet on the mill but don't have git rights out there yet
01:45 PM Tom_L: i copied a deb over but i couldn't get it to come up
01:46 PM Tom_L: btw, the error happens on starting lcnc... not when running gcode
01:46 PM Tom_L: the M53 error
01:46 PM Tom_L: the % has nothing to do with it imo
01:47 PM Tom_L: i'll test it though
01:49 PM Tom_L: i generally use M30 instead of M2 too but that also shouldn't matter
01:49 PM lcnc-relay: <fianna_noob> Stepper tuning question - I'm running a mesa in open loop sending steps to the HBS86 drivers and they're doing the feedback in the drivers.
01:49 PM lcnc-relay: <fianna_noob> How does the PID stepgen work in this scenario? The I and D terms change the behaviour of the physical axes but the mesa card isn't getting any physical feedback so not sure what's happneing.
01:49 PM lcnc-relay: <fianna_noob>
01:49 PM lcnc-relay: <fianna_noob> I assume I should have a max vel and max accell and just do all the PID tuning in the drives not on the linuxcnc side?
01:51 PM Tom_L: JT-Shop, i got used to using M30 because we did have machines with pallet changers
02:06 PM CaptHindsight: fianna_noob: are you asking this question because of the behavior of your configuration? http://linuxcnc.org/docs/html/man/man9/stepgen.9.html doesn't use PID the way http://linuxcnc.org/docs/html/man/man9/pid.9.html servos do.
02:07 PM CaptHindsight: fianna_noob: open loop stepper tuning generally refers to only finding the correct tuning values and max stepper rate speeds
02:07 PM CaptHindsight: sorry correct scaling values, not tuning values
02:22 PM lcnc-relay: <big_kevin420> test
02:23 PM CAKESLOB: shit its broken i think
02:36 PM XXCoder: https://youtu.be/IfG2AGYVghQ
02:36 PM XXCoder: weird. never seen pointy drills like that
02:38 PM CaptHindsight: maybe for some plastics
02:38 PM CaptHindsight: I think i made some bits for cutting acrylics
02:39 PM lcnc-relay: <big_kevin420> those dont look like they cut anything
02:39 PM lcnc-relay: <big_kevin420> i have something like that for wood, a tapered drillbit
02:40 PM lcnc-relay: <big_kevin420> that i wanted to use for 3dprinter hot ends
02:40 PM lcnc-relay: <big_kevin420> but they just scream when you "drill"
02:40 PM CaptHindsight: https://www.drillbitwarehouse.com/product/acryli-drill-set/
02:40 PM XXCoder: oh interesting. and expensive
02:41 PM CaptHindsight: the ones you posted are even more extreme
02:41 PM CaptHindsight: ~39 deg?
02:41 PM CaptHindsight: 30
02:42 PM lcnc-relay: <big_kevin420> 60
02:42 PM lcnc-relay: <big_kevin420> http://www.norsemandrill.com/pdf/prd/norsemanAcrylic2016-1.pdf
02:43 PM lcnc-relay: <big_kevin420> the fact that norsemen sells them makes me believe they are real
02:43 PM lcnc-relay: <big_kevin420> the apprenmtice machinebuilder i work with keeps sharpening the drills i ghave him with like a 60* angle
02:44 PM CaptHindsight: https://www.kbctools.com/itemdetail/1-322-Z202
02:44 PM CaptHindsight: 30DEG TAPERED END MILL
02:44 PM XXCoder: knife certainly looks interesting as usual
02:45 PM lcnc-relay: <big_kevin420> i have a lot of those tapered endmills for some surplus shit they threw out at work
02:45 PM lcnc-relay: <big_kevin420> bunch of 3 flute 30deg
02:46 PM CaptHindsight: how did they use them?
02:47 PM lcnc-relay: <big_kevin420> not sure, they were from an auction lot that was from a company that im almost positive was doing pcb/electronics related parts
02:47 PM lcnc-relay: <big_kevin420> off size micro reamers mostly
02:48 PM lcnc-relay: <big_kevin420> like every size you would never want, all custom made
02:48 PM lcnc-relay: <big_kevin420> but a lot of them were sized for PCB probes
02:48 PM lcnc-relay: <big_kevin420> er, pogo pins
02:48 PM Tom_L: JT-Shop, with the M48 M53 in the config together lcnc wouldn't start up. Both the nc files ran fine, the 'wrong' left the spindle. Adding an M2 or M30 to the end and they both ran fine and spindle shut off
02:49 PM Tom_L: i removed M53 altogether
02:50 PM Tom_L: what gets me about that is this: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/Mill_Startup_codes.png
02:50 PM Tom_L: they are both active there with nothing in the ini
02:50 PM Tom_L: and it doesn't error
02:51 PM Tom_L: the error has nothing to do with the gcode ran or the % or lack of
02:53 PM Tom_L: i agree the % isn't needed nowdays but my configs were made to try and cover any machine i should encounter including the boss5 which i think needed those
02:53 PM Tom_L: his still had the tape reader in it
02:53 PM Tom_L: even though it was disconnected
02:54 PM Tom_L: with that said, you do need either an M2 or M30 to end the program properly
02:55 PM Tom_L: s/configs/post
02:56 PM Tom_L: now to figure out the git keys i need for the mill pc
03:10 PM JT-Shop: yeah the two files were just to show that % doesn't turn anything off like m2
03:10 PM JT-Shop: did you notice the coolant?
03:21 PM Tom_L: no, i'm not using controlled coolant
03:22 PM JT-Shop: I meant did you notice that m7 and m8 were still on when the %% file ended?
03:22 PM Tom_L: back when % was a thing most things like coolant etc were manual :)
03:22 PM Tom_L: i didn't look
03:23 PM Tom_L: i alway have used M30 but M2 is basically the same save the pallet changer
03:23 PM JT-Shop: it was just to show that % doesn't clear anything
03:23 PM Tom_L: i knew that
03:23 PM Tom_L: it's a carry over from old times
03:23 PM JT-Shop: did you find out why your z dro was wrong?
03:24 PM Tom_L: nope never did
03:24 PM Tom_L: can't get jet to launch on the mill yet either
03:24 PM JT-Shop: could have been your g code
03:24 PM JT-Shop: why?
03:24 PM Tom_L: dunno, gotta run back in a while
03:24 PM JT-Shop: needs debian 12
03:26 PM JT-Shop: m30 does nothing special in emc, it's the same as m2
03:53 PM XXCoder: interesting dowel system https://youtu.be/9T4ZUslTlL4
03:53 PM XXCoder: looks quite printable, except for drill guides
03:58 PM XXCoder: ikea connection system kit too
04:15 PM XXCoder: he does that, but not as bad as bunch others
04:15 PM Tom_L: JT-Cave, i am running 12 with the new RTAI build which seems to be pretty good on the mill so far
04:15 PM XXCoder: he doesnt trigger that "dude back off please"
04:15 PM Tom_L: i'll probably bring the box in and get it working inside where it's warmer
04:15 PM XXCoder: like that guy who literally shows nothing but face when talking
04:16 PM Tom_L: yt, if i don't see something useful in the first 5-10sec, i'm out
04:23 PM JT-Woodshop: damn you're giving them more time than me lol
04:23 PM JT-Woodshop: I got the plot thingy to actually rotate with the mouse this morning
04:24 PM Tom_L: i saw that
04:24 PM Tom_L: that's cool
04:24 PM Tom_L: hunting down another old monitor for the mill to see if i can find a bigger screeen
04:25 PM Tom_L: need one with a rear mount
04:25 PM Tom_L: i think i may have found one
04:26 PM JT-Woodshop: jet only has the qopenglwidget, no code there yet... working on it on a separate program so I can focus on it
04:27 PM lcnc-relay: <JT (@jt-shop:matrix.org)> https://matrix.org/_matrix/media/v1/download/matrix.org/PViSRibyqZbZQnWvirREVzSr
04:29 PM Tom_L: JT-Woodshop, what's your screen size set to in .asisrc?
04:30 PM Tom_L: this monitor is more rectangular but i'm not sure i'm any better off with it
04:30 PM JT-Woodshop: is that a .axisrc setting?
04:30 PM Tom_L: it can be
04:30 PM JT-Woodshop: I have 5 minutes till bending time
04:30 PM JT-Woodshop: on the bp I run full screen
04:30 PM -!- #linuxcnc mode set to +v by ChanServ
04:30 PM Tom_dev: root_window.tk.call("wm","geometry",".","1024x600")
04:31 PM Tom_L: that's what it was on the old monitor
04:31 PM JT-Woodshop: ah ok, I don't have that set
04:31 PM Tom_L: i've got 3 identical ones but i'm using all of them
04:31 PM Tom_L: i just wondered how small you could go on the vertical dimension
04:32 PM JT-Woodshop: I try to make jet work on 800 x 600 as well as mesact
04:33 PM JT-Woodshop: I'm giving this steam bend test 20 minutes
04:35 PM Tom_L: i'll have to test that with the mill since i'm using that side pannel and none of the sims do
04:41 PM JT-Woodshop: the pyvcp panel?
04:41 PM Tom_L: yeah
04:41 PM JT-Woodshop: jet will not need that add on
04:42 PM Tom_L: i know
04:42 PM Tom_L: but i'm using it on axis
04:42 PM JT-Woodshop: yup on axis you usually need pyvcp
04:42 PM Tom_L: i like to have the rpm & tool number displayed
04:43 PM Tom_L: and current fixture offset values
04:43 PM JT-Woodshop: that's easy to do
04:43 PM Tom_L: for you :)
04:43 PM JT-Woodshop: by rpm do you mean the actual or the s word
04:44 PM JT-Woodshop: the design goal for jet is the user can have what they want on any tab
04:45 PM JT-Woodshop: the only thing you have to do is name the button or label correctly
04:46 PM JT-Woodshop: I need a wider steam bending strap from some soft metal like plumbers strap
05:11 PM -!- #linuxcnc mode set to +v by ChanServ
05:20 PM -!- #linuxcnc mode set to +v by ChanServ
05:27 PM Tom_dev: how do you locate the parport address ?
05:32 PM Tom_dev: lspci -v isn't showing much
05:33 PM Tom_dev: 0000-0000 : parport0
05:33 PM Tom_dev: cat /proc/ioports
05:33 PM Tom_dev: shouldn't that have a 278 378 3bc or something?
05:44 PM Tom_shop: parport_pc 21896 1
05:44 PM Tom_shop: parport 35208 3 lp,ppdev,parport_pc
05:44 PM Tom_shop: won't connect to the mesa card for some reason
06:13 PM Unterhaus_: I don't think parports show up at the classic ISA addresse any more. Isn't there a page about that on the lcnc site
06:13 PM Tom_L: i dunno
06:13 PM Tom_L: never had to mess with it
06:14 PM Tom_L: i've got a couple pci ones i can try
06:24 PM Tom_L: how can you list the address for them?
06:26 PM Tom_L: would a higher res monitor cause it to remap to another address?
06:32 PM -!- #linuxcnc mode set to +v by ChanServ
06:35 PM Unterhaus_ is now known as Unterhausen
06:35 PM Unterhausen: I think my magnets might be stuck to the inside of a usps truck
06:56 PM -!- #linuxcnc mode set to +v by ChanServ
07:12 PM Oksana: Is there a channel dedicated to Modbus/RS-485 somewhere? More specifically: I like the intention behind 0 "broadcast to all devices", but it only works if all devices on network have the same layout of Modbus registers. Are there any recommendations/standards on which Modbus registers are reserved for which purpose?
07:15 PM bjorkintosh: Oksana, I don't know. but quite likely a forum might be your best bet.
07:15 PM bjorkintosh: I could be wrong.
07:15 PM * bjorkintosh is often wrong.
07:20 PM -!- #linuxcnc mode set to +v by ChanServ
08:00 PM Tom_L: WTF! i had to chmod the rights on the parallel port
08:01 PM Tom_L: wtf changed that all the sudden???
08:03 PM CaptHindsight: ask Debian
08:06 PM Tom_L: we're not speaking right now
08:06 PM Tom_L: odd thing is it did it on both ssd drives
08:06 PM Tom_L: wheezy and bookworm
08:13 PM Tom_L: i expect problems now and then since i change things around quite a bit but that???
08:20 PM roycroft: os upgrades, even minor ones, can "reset" permissions on devices to defaults
09:59 PM solarwind: https://www.youtube.com/shorts/gSnIjxVKlqo smarter than 50% of Americans. I wish I were joking.