#linuxcnc Logs
Jun 24 2024
#linuxcnc Calendar
12:56 AM Deejay: moin
01:10 AM lcnc-relay: <TurBoss> morning
02:58 AM Guest72: hi guys, im trying to set up a toolsetter and touch probe to work in linuxcnc, i have configured the toolsetter with an m6 remap and it works fine as far as i know not really ran into any problems with it yet, now im trying to setup a touch probe and when i try to configure it i keep getting errors, when i set up my tool height setter i set it to
02:58 AM Guest72: input pin 15 on my parallel breakout board which i am also using for the touch probe as the breakout board is very limited to inputs, in my hal file i put "net probe-input motion.probe-input <= parport.0.pin-15-in" and that works fine for my toolsetter, but when im trying to set up the touch probe i keep getting errors saying pin was already
02:58 AM Guest72: linked to probe-input or motion.probe-input
04:13 AM lcnc-relay: <vibram> https://www.youtube.com/watch?v=VIb0b5j306E
04:13 AM lcnc-relay: <vibram> maybe watch this
04:13 AM lcnc-relay: <vibram> he had the same issue
04:13 AM lcnc-relay: <vibram> or something similar
04:14 AM lcnc-relay: <vibram> starting at 15min
04:14 AM Tom_L: Guest72, use an or2 component on the input
04:16 AM Tom_L: morning
04:20 AM Guest72: yes thats what i was trying to setup and its giving me all sorts of trouble, my probes are both on input 15 on my breakout board
04:23 AM Guest72: a relay makes sure the signal is always NC so i dont need to or2 they are both connected to the same input pin, i used a relay before the probe because it is NO without it
04:24 AM Guest72: the toolsetter is NC so so they both give the same NO when triggered, as i understand only 1 probe can be used at a time
04:30 AM Guest72: i managed to fix the error by deleting "net probe-input" from the line in my hal file to just "motion.probe-input <= parport.0.pin-15-in" and now linuxcnc starts up, but now when i use the mdi command M6 T99(T99 being my probe in the tool table) for my probe to load, my tool height setter subroutine kicks in and it tries to go to the
04:30 AM Guest72: coordinates for my toolsetter, which i do not want, and some of the buttons dont work on the easyprobe tab
04:32 AM Guest72: yes that video is what im trying to configure, but in the video he comments out his probe input pin because hes using a VM, if i do that my probe would crash with no signal being fed to linuxcnc
04:51 AM JT-Cave: morning
04:51 AM Guest72: morning
05:17 AM lcnc-relay: <Travis Farmer> Morning
05:25 AM Deejay: good day :)
06:26 AM lcnc-relay: <vibram> he is on the server maybe you can try to ping him
07:09 AM Guest72: got it working now
07:11 AM lcnc-relay: <vibram> How did you do?
07:15 AM Guest72: i had to calibrate the probe first before certain buttons would work, very nice and clean addon i must say
07:16 AM Guest72: had to use an ashtray lol to calibrate it until i get proper calibration ring tomorrow,
07:16 AM Guest72: they are real expensive jesus
07:18 AM lcnc-relay: <simonbasil> Could anyone here help me out, I am trying to setup a 750w delta servo as a spindle motor on my lathe I have the servo setup and can move it in jog on the servo driver.
07:18 AM lcnc-relay: Currently I am setting it up as A axis in stepconfig (will sort out stepgen for it to become the spindle later) but I cannot make the damm thing move through lcnc.
07:18 AM lcnc-relay: I am using a cheap bob and run the x and z steppers from it but cannot make it move the "A" axis.
07:18 AM lcnc-relay: What information would you need to be able to help me with this.
07:18 AM lcnc-relay: Many thanks
07:18 AM lcnc-relay: Simon
08:13 AM pcw-home: Does the Delta servo have single ended 5V inputs? I thought most used differential inputs.
08:14 AM lcnc-relay: <simonbasil> So it can run off line driver 5v and I have it moving now
08:15 AM lcnc-relay: <simonbasil> I am now struggling with gear ratios
08:37 AM lcnc-relay: <simonbasil> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/hYhjiotbSaltuUvLeMSaQHQQ/20240624_142825.jpg
08:37 AM lcnc-relay: <simonbasil> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/kKtyaQsiunaBUdPzivbmbmTk/20240624_142811.jpg
08:37 AM lcnc-relay: <simonbasil> Am I missing something obvious. This was setup in stepconfig and the servo is set for 5000 pulses per rev
08:39 AM lcnc-relay: <simonbasil> And it will be 1 to 1 gearing to the spindle
08:41 AM lcnc-relay: <simonbasil> The servo is rotating 360 degrees when the axis is saying 45 degrees
09:08 AM pcw-home: Sounds like an error in the A axis ini settings
09:30 AM Guest72: is T99 always used for aor preferably used for touch probes?
09:36 AM Guest72: as i have just setup a touch probe, and i already had a tool height setter configured, when call M6 T?? my toolchange.ngc macro moves the spindle to a place i specified and asks for me to insert the specified tool into the spindle, once the tool is inserted i press space and the spindle moves to above where i specified in my toolchange.ngc macro to
09:36 AM Guest72: touch off the toolsetter, is there a way for me to specify in my toolchange.ngc macro subroutine to not touch off the toolsetter if the tool is changed to T99 (my touch probe) and how would i go about achieving this
09:53 AM lcnc-relay: <simonbasil> Just realised I did electroning gearing for a 20 bit encoder rather than 17 bit encoder. A factor of 8 difference in the counts makes the 45 degrees for 1 revolution make sense
11:33 AM roycroft: well that was an interesting conversation with the postmaster
11:34 AM roycroft: he asked me "so when a parcel is shipped to you you are requesting that we deliver it to you?"
11:34 AM roycroft: i said "yes, you should deliver it, and for the third time, if i'm not home you can put it on the front porch. if it requires a signature, then you need to leave a delivery notice"
11:35 AM roycroft: and he said "ok, i'll tell your carrier that she should deliver parcels addressed to you, and if she can't, she should leave a delivery attempt notice"
11:35 AM roycroft: which i interpret as "ok, i'll tell your carrier that she needs to do the job she was hired to do"
11:36 AM roycroft: he also told me again that i can always pick things up at the post office, and i told him that if i wanted to do that i'd have those things shipped to my po box
11:36 AM roycroft: if i ship something to my residence that's where i want to have it delivered
11:39 AM lcnc-relay: <perry_j1987> i just had a package shipped to my place and i just checked tracking this morning it says its awaiting me to pick it up at the post office in the next town over...
11:39 AM lcnc-relay: <perry_j1987> verified my address is correct no idea wtf
11:40 AM roycroft: it's infuriating
11:43 AM roycroft: it took six weeks for the local post office to start delivering my first class mail
11:43 AM roycroft: they have yet to attempt to deliver a parcel to me
11:43 AM roycroft: after over 3 months
11:51 AM lcnc-relay: <perry_j1987> just noticed there are 4 tapped threaded holes in the bottom of this machinist vise
11:51 AM lcnc-relay: <perry_j1987> what would those be for
11:53 AM lcnc-relay: <perry_j1987> how'd you sweep it in if it's mounted from underneath lol
11:55 AM roycroft: you might want to mount it on something else and then index the whole assembly
11:56 AM lcnc-relay: <perry_j1987> hmm actually looking at this i think i could actually do this with my mill. it hangs off the front and back of the table
11:57 AM lcnc-relay: <perry_j1987> if i just put the front and back screw in and tighten down the back one as a pivot point i can reach the front one to adjust the angle then tighten it down and then take it off the machine and throw the other two in and lock everything down
12:20 PM roycroft: so as i was typing my usps rant i got another email saying a delivery attempt was made of a parcel
12:20 PM roycroft: again, i could see my mailbox, and nobody showed up
12:20 PM roycroft: i went right back to the post office and they had my parcel waiting for me
12:21 PM roycroft: they told me a notice had been left, so i asked when the letter carrier had arrived back at the post office, since it was only about 15 minutes after the alleged notice was left
12:22 PM roycroft: i was told she was still on her route, and when i asked how a delivery attempt could have been made while the parcel was still at the post office, they had no explanation
12:24 PM * roycroft thinks they may be starting to believe him now, but doesn't know if they care
01:09 PM CaptHindsight: the mail works in mysterious ways
01:13 PM roycroft: or doesn't work at all, in this case
01:14 PM * roycroft waits now for his congressional rep's office to deal with it
02:27 PM Tom_L: hawt damn it's hot... 102°F
02:31 PM lcnc-relay: <perry_j1987> 84 here hot and sticky
02:32 PM xxcoder: nice and cool here
02:32 PM xxcoder: 62f
02:33 PM roycroft: i see your city is coming up in the world, xxcoder
02:33 PM roycroft: when i lived in washington, tacoma was known as "the armpit of the northwest"
02:33 PM xxcoder: yeah? in crime probably. (its #1 crime city in wa)
02:33 PM roycroft: now it's in the top 10 nicest cities in the country to live in
02:34 PM xxcoder: nice
02:38 PM lcnc-relay: <Travis Farmer> still brewing thunder storms today... tomorrow should be better...
02:41 PM Tom_L: roycroft, where is that top 10 list?
02:45 PM Tom_L: i'm sure those lists are subjective
02:46 PM xxcoder: always is
02:51 PM Tom_L: JT-Cave, feed hold doesn't appear to do anything
02:52 PM Tom_L: it's enabled and yet the program runs normal
02:52 PM Tom_L: haven't tried it on the mill yet
02:52 PM Tom_L: just noticed that in the sim
02:58 PM Tom_L: JT-Cave, docs are looking better
03:03 PM Tom_L: start_line_lb seems broke again
03:07 PM Tom_L: it will run from line but not display the line
04:12 PM JT-Cave: I've not tested feed hold I don't think...
04:13 PM JT-Cave: axis doesn't seem to have feed hold...
04:13 PM Tom_L: it doesn't seem to stop anything :)
04:14 PM Tom_L: or hold it or even fondle it
04:14 PM lcnc-relay: <Travis Farmer> LMAO
04:15 PM Tom_L: JT-Cave, what was that very last spindle fix?
04:15 PM Tom_L: i got one this AM but there was another later today
04:15 PM Tom_L: iirc
04:16 PM Tom_L: pc isn't on atm
04:16 PM JT-Cave: the decrement issue
04:16 PM Tom_L: zero runaway?
04:16 PM JT-Cave: I don't think I even have a feed hold button... yet
04:16 PM Tom_L: i have a feed hold button but it doesn't seem to do anything
04:17 PM JT-Cave: yup https://github.com/jethornton/flexgui/blob/master/flexgui/src/libflexgui/commands.py#L305
04:17 PM JT-Cave: there is a feed hold enable button but no feed hold
04:18 PM Tom_L: maybe that's is
04:18 PM Tom_L: it
04:21 PM JT-Cave: I'll have to look at that
04:22 PM Tom_L: yeah i just looked.. feed_hold_enable_pb
04:22 PM JT-Cave: http://linuxcnc.org/docs/stable/html/gcode/m-code.html#mcode:m53
04:22 PM Tom_L: kinda like M1
04:22 PM Tom_L: err is it M0... on or the other
04:24 PM Tom_L: M1 with the op_stop switch on
04:25 PM Tom_L: what does P1 do in that case?
04:25 PM Tom_L: an on off toggle?
04:27 PM JT-Cave: M53 <P1> - enable the feed stop switch
04:27 PM JT-Cave: M53 P0 - disable the feed stop switch.
04:27 PM Tom_L: well, we'll just test it...
04:28 PM JT-Cave: M53 is the same as the feed_hold_enable_pb
04:28 PM Tom_L: so is there a feed_stop switch?
04:29 PM Tom_L: or just enable
04:29 PM JT-Cave: but my code is flawed I think for actually stopping feed
04:29 PM JT-Cave: not yet, but there will be
04:29 PM Tom_L: hah
04:32 PM Tom_L: adding an M53 P1 to the code does nothing for the feed_hold_enable_pb
04:33 PM JT-Shop: it does toggle the feed_hold_enabled_lb
04:34 PM JT-Shop: I have to rethink the feed hold
04:34 PM Tom_L: i don't have one of those
04:34 PM Tom_L: or if i do i don't see it
04:35 PM Tom_L: do now..
04:38 PM Tom_L: yeah it toggles the _lb but the button doesn't do anything that i can tell
04:38 PM Tom_L: start_line_lb is still broke
04:38 PM JT-Shop: I'll have to watch for that signal change to uncheck the button
04:38 PM JT-Shop: what does it not do?
04:38 PM Tom_L: doesn't display a line number
04:39 PM JT-Shop: ok
04:39 PM Tom_L: it did at one point
04:39 PM JT-Shop: yup
04:41 PM Tom_L: so things to test live are spindle 0 and blank mdi
04:41 PM JT-Shop: yup
04:41 PM Tom_L: can you think of any other fix for a live test?
04:41 PM Tom_L: it's HOT out!
04:41 PM JT-Shop: 92°F here
04:41 PM Tom_L: 102
04:42 PM JT-Shop: yikes
04:43 PM JT-Shop: also on startup if you have 'DISPLAY', 'DEFAULT_SPINDLE_SPEED' it should set the initial spindle speed to that
04:43 PM Tom_L: trying to do all the updates inside...
04:43 PM Tom_L: in the ini?
04:44 PM JT-Shop: yup
04:44 PM Tom_L: is that new?
04:45 PM JT-Shop: yes
04:45 PM Tom_L: is it a lcnc constant or yours?
04:46 PM Tom_L: lcnc...
04:46 PM Tom_L: if it wasn't i was gonna suggest moving it to spindl_0
04:47 PM JT-Shop: http://linuxcnc.org/docs/stable/html/config/ini-config.html#sub:ini:sec:display
04:47 PM Tom_L: yeah i looked it op
04:47 PM Tom_L: uo
04:47 PM Tom_L: forget it...
04:47 PM Tom_L: up.
04:47 PM JT-Shop: lol
04:47 PM Tom_L: working on 3 keyboards and can't feel my fingertips anymore
04:48 PM Tom_L: the nubs are wore off anyway
04:48 PM JT-Shop: home key nubs?
04:48 PM Tom_L: yes
04:49 PM Tom_L: what's your default speed set to on the bp?
04:49 PM JT-Shop: 1800
04:50 PM JT-Shop: that's so the speed dial on the bp is correct
04:50 PM Tom_L: so you don't have to set an s word before an M3-4?
04:51 PM Tom_L: if it's set in the ini?
04:51 PM JT-Shop: no, it's for when I use the spindle buttons
04:51 PM Tom_L: since it's a lcnc setting i figured it preset it to that in manual
04:52 PM JT-Shop: does it do that in axis?
04:52 PM Tom_L: i've never tried it
04:55 PM Tom_L: it will get tested though
04:57 PM * Tom_L updates the test pc with the latest flex and prepares a test
05:03 PM -!- #linuxcnc mode set to +v by ChanServ
05:03 PM Tom_dev: min spindle setting works in axis
05:03 PM JT-Shop: and should work in flex too
05:04 PM Tom_dev: mdi fix works
05:04 PM JT-Shop: cool
05:04 PM * JT-Shop goes to check on the hens
05:04 PM Tom_dev: ok, my pendant has a spindle on button
05:04 PM Tom_dev: wait!
05:05 PM Tom_dev: the spindle comes on in the display but ignores the ini setting
05:05 PM JT-Shop: in axis or flex?
05:05 PM Tom_dev: flex
05:05 PM Tom_dev: i'll take a screen shot
05:06 PM JT-Shop: starting the spindle how?
05:06 PM Tom_dev: with the pendant in manual mode
05:06 PM JT-Shop: how does the pendant start the spindle in hal?
05:07 PM JT-Shop: the default spindle speed only works with the spindle buttons afaik
05:07 PM Tom_dev: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/spindle1.png
05:08 PM Tom_dev: i'll have to look at the pendant settings in the ini
05:08 PM Tom_dev: the pic shows spindle fwd but ignores the default speed
05:08 PM Tom_dev: it works ok with the buttons
05:08 PM JT-Shop: as expected if you don't use the spindle buttons
05:09 PM JT-Shop: and perhaps there's a way but not sure
05:09 PM Tom_dev: spindle 0 shuts off the spindle now
05:10 PM JT-Shop: cool
05:10 PM Tom_dev: ok tests complete for that i think
05:10 PM Tom_dev: raised an issue with external spindle on though
05:12 PM Tom_dev: basically turned on with a gpio but mine goes thru a bunch of logic first
05:14 PM Tom_dev: http://tom-itx.no-ip.biz:443/~webpage/cnc/configs/NEW_MILL/my_jog.hal
05:16 PM Tom_dev: http://paste.debian.net/1321382/
05:16 PM Tom_dev: the spindle button part
05:17 PM Tom_dev: some of that is for 'push on' 'push off' to work
05:19 PM JT-Cave: so you're using halui to start the spindle
05:20 PM Tom_dev: i think
05:20 PM Tom_dev: also
05:21 PM Tom_dev: reload gcode should be disabled during program run
05:21 PM Tom_dev: ask me how i know ;)
05:23 PM Tom_dev: pendant program start & pause buttons toggle the appropriate flex buttons
05:24 PM Tom_dev: pendant estop works
05:24 PM Tom_dev: with flex
05:27 PM Unterhausen: "please help me install v2.6" How about no?
05:29 PM Tom_L: not 'no' but 'F no'
05:29 PM JT-Shop: first install ubuntu 10
05:30 PM Tom_L: JT-Shop, can you read halui and update flex with it?
05:31 PM JT-Shop: not sure
05:33 PM JT-Shop: I see what's the issue with run from line label but not sure how to fix it yet
05:37 PM Tom_L: but... you fixed it once!
05:37 PM JT-Shop: but... when I added the popups I broke it
05:38 PM Tom_L: heh
05:38 PM Tom_L: and that's why i re'check things
05:39 PM JT-Shop: https://github.com/jethornton/flexgui/commit/c42a5b52632f8e535220ce864e97c360edfa98e9
05:39 PM JT-Shop: that's where I broke the run from line
05:39 PM Tom_L: oh
05:41 PM Tom_L: afik the spindle on is the only button on the pendant that has an issue
05:43 PM JT-Shop: you mean halui spindle on doesn't know what the default speed is?
05:43 PM Tom_L: i think so, if you look at the png it shows 1.0 fwd but the spin box shows something else
05:44 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/spindle1.png
05:44 PM Tom_L: the fwd was toggled by the pendant button
05:44 PM JT-Shop: yup minimum rpm is 1 IIRC
05:45 PM JT-Shop: DEFAULT_SPINDLE_SPEED = 100 - The default spindle RPM when the spindle is started in manual mode. If this setting is not present, this defaults to 1 RPM for AXIS and 300 RPM for GMOCCAPY.
05:45 PM JT-Shop: deprecated - use the [SPINDLE_n] section instead
05:45 PM Tom_L: so that says the halui interface makes it to flex
05:46 PM JT-Shop: no, the status is updated in emc and flex can see that
05:46 PM Tom_L: also, the flex buttons should eventually update from an outside source too
05:46 PM Tom_L: oh
05:47 PM JT-Shop: the status label is updated from speed
05:47 PM JT-Shop: (returns float) - spindle speed value, rpm, > 0: clockwise, < 0: counterclockwise.
05:48 PM Tom_L: bbiab.. gotta make a quick run to the store
05:48 PM JT-Shop: I'm about to call it a day
05:48 PM Tom_L: fair nuff
06:09 PM Tom_L: so if it's set in the [SPINDLE_n] section would it still be DEFAULT_SPINDLE_SPEED or DEFAULT_SPINDLE_0_SPEED ?
06:13 PM Tom_L: seems they use different names in the [SPINDLE_n] section
06:14 PM Tom_L: and it doesn't list a default setting that i see
06:16 PM Tom_L: they have min max settings for fwd & rev
06:16 PM Tom_L: all 'velocity' now instead of 'speed'
06:19 PM JT-Cave: dunno none of those are options, but I assume if your in spindle_0 everything is for spindle 0
06:19 PM Tom_L: looks that way
06:19 PM JT-Cave: btw rfl is fixed :)
06:19 PM Tom_L: ok
06:20 PM JT-Cave: seems to me when whoever created the spindle_0 section they did an incomplete job
06:20 PM Tom_L: i'll check it after a bratwurst
06:20 PM Tom_L: agreed
06:20 PM JT-Cave: and all the later gui's added a bunch of crap to display instead of using what was there lol
06:20 PM JT-Cave: HOT DOG's here
06:20 PM Tom_L: hawt diggety dawg
06:21 PM xxcoder: compound bow finally arrived. not bad lol
06:21 PM xxcoder: it comes with 4 safe cup type tips and another 4 with arrow heads
06:21 PM Tom_L: xxcoder, just don't shoot yerself in the foot
06:21 PM xxcoder: dont think I will ever use later
06:22 PM Tom_L: that tiny bow?
06:22 PM xxcoder: I ordered ALL cups so yeah dunno why they send me a mix lol
06:22 PM xxcoder: yeah its 6 in longest
06:22 PM Tom_L: wear safety glasses and knight armor
06:23 PM xxcoder: lol yeah
06:23 PM xxcoder: not armor
07:25 PM roycroft: shop work is much more dangerous than it used to be, as an important piece of ppe has gone by the wayside
07:25 PM roycroft: years ago, when folks would do grinding and lathe work at close quarters, they would stuff a phone book down their shirt to protect against projectiles
07:26 PM roycroft: now phone books no longer exist
07:29 PM xxcoder: aw
07:30 PM Tom_L: use the digital version maybe it can withstand the bits better
07:31 PM roycroft: julian assange just struck a plea deal with the doj that will let him avoid any more jail time
07:31 PM roycroft: he'll plead guilty to some felonies in exchage for a 62 month sentence, with credit for time served (he's served 62 months in the uk)
07:32 PM roycroft: he'll come to the us, plead guilty, will be sentenced, and immediately be able to go home to australia
07:34 PM Tom_L: what's a few secrets among friends...
07:35 PM roycroft: for his sake, i'm glad that's over
07:35 PM roycroft: his health has been failing for some time now
07:35 PM roycroft: i'm not condoning what he did at all, though
07:36 PM roycroft: he put lives at stake by his reckless actions
07:36 PM roycroft: but i also think he's paid the price by now
11:40 PM rdtsc is now known as rdtsc_away