#linuxcnc Logs

Nov 03 2024

#linuxcnc Calendar

01:32 AM Deejay: moin
02:58 AM lcnc-relay: <turboss@discord> good morning
02:58 AM lcnc-relay: <travis_farmer@discord> Morning
03:13 AM JT-Cave: morning
04:29 AM Tom_L: morning
04:32 AM Tom_L: 62F & more rain
04:46 AM JT-Cave: rain is almost here
05:32 AM -!- #linuxcnc mode set to +v by ChanServ
05:43 AM -!- #linuxcnc mode set to +v by ChanServ
06:34 AM JT-Cave: https://youtu.be/Bsk7_Ij7tVc
08:02 AM Tom_L: did you add clear offsets recently?
08:03 AM Tom_L: don't recall that one
08:10 AM rdtsc_away is now known as rdtsc
08:16 AM JT-Cave: https://github.com/jethornton/flexgui/commit/2e4116a62c3c13dfcf0c2df8ee7b05335f0417d0
08:16 AM JT-Cave: a few weeks ago
08:19 AM JT-Cave: just did an update in flex
08:19 AM Tom_L: i notice the yt is fuzzy up to 4:58 then it gets clear
08:19 AM Tom_L: ok
08:20 AM JT-Cave: that could be the resolution
08:20 AM Tom_L: watching full screen you can see it change
08:21 AM JT-Cave: also did an update on mesact
08:21 AM Tom_L: aren't we busy today :)
08:21 AM Tom_L: hope i can remember that one
08:22 AM JT-Cave: change the quality to hd to view in full screen
08:22 AM Tom_L: mesact has 32 & 64bit right?
08:22 AM JT-Cave: yup
08:22 AM Tom_L: mine is set to HD
08:23 AM * JT-Cave starts his chicken day
08:23 AM JT-Cave: mine was fuzzy at 720 but clear at hd
08:23 AM Tom_L: yeah i see now
08:23 AM Tom_L: it said HD but not the right res
08:24 AM Tom_L: building a couple debs here
08:30 AM Tom_L: mesact PR #120, flex PR #167
08:51 AM JT-Cave: got them thatnks
09:20 AM Tom_L: JT-Cave, should clear offsets have a button?
09:23 AM JT-Cave: button with a menu?
09:24 AM Tom_L: no, the clear offsets is a menu item
09:25 AM JT-Cave: like mesact io selector buttons
09:26 AM Tom_L: so: Clear Offsets
09:26 AM Tom_L:
09:26 AM Tom_L: this creates a clear offsets for each coordinate system
09:26 AM JT-Cave: https://ibb.co/SPtvHr9
09:26 AM Tom_L: isn't a single item?
09:26 AM JT-Cave: https://ibb.co/BZ2T3Dt
09:27 AM Tom_L: ok, i didn't see that in the video
09:27 AM Tom_L: nevermind :)
09:27 AM Tom_L: a 'clear current' might be handy
09:29 AM JT-Cave: individual buttons seem to make more sense after thinking about it
09:30 AM Tom_L: having the option would be nice
09:31 AM Tom_L: i wouldn't get rid of the menu one
09:32 AM Tom_L: rule of thumb: anything you can 'set' with a button should be able to be 'cleared' with a button
09:34 AM Tom_L: fixed my build scripts a bit
09:37 AM JT-Cave: for touch screens you need a button that mirrors any menu item
09:37 AM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/controls.html#coordinate-system-controls
09:38 AM JT-Cave: note!! not programmed yet
09:41 AM Tom_L: :)
09:41 AM * JT-Cave heads to town before the rain hits
09:41 AM JT-Cave: I hope
10:01 AM rdtsc is now known as rdtsc_away
11:09 AM -!- #linuxcnc mode set to +v by ChanServ
11:16 AM xxcoder: JT-Cave: just punch back if they hit lol
11:17 AM lcnc-relay: <travis_farmer@discord> lol
11:31 AM JT-Cave: nap time
11:38 AM Tom_L: almost
11:39 AM Tom_L: lunch first
12:13 PM lcnc-relay: <fianna_eng@discord> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/mXdVTYEIToEdCuVJcDJgYGCZ/PXL_20241103_164221473.jpg
12:14 PM lcnc-relay: <fianna_eng@discord> Had to probe and shift the vise about 6 times to get this part centered in the machine travels, same both sides 🫣
12:19 PM lcnc-relay: <meisterdippel@discord> Mitsubishi RV-E2 😂 😇
12:20 PM lcnc-relay: <meisterdippel@discord> I did it again, but it was cheap 🥺 😎 😱
12:32 PM lcnc-relay: <sodakaustik@discord> I am not sure how to reproduce this but sometimes my g61 goes away and it falls back to a path blending mode with a ridiculously large radius
12:33 PM lcnc-relay: <sodakaustik@discord> just like that in the middle of a program
12:33 PM lcnc-relay: <sodakaustik@discord> usually happens after i stop something halfway
12:33 PM lcnc-relay: <sodakaustik@discord> then i just look at my part coming out rounded
12:33 PM lcnc-relay: <sodakaustik@discord> very weird
12:33 PM lcnc-relay: <sodakaustik@discord> (lathe mode XZ)
12:44 PM acer is now known as _unreal_
12:45 PM _unreal_: finally well enough to do something, just replaced my rear break pads. FUCKING ass wholes switched my break pads inside for outside the last time I took my car to get tires.
12:47 PM _unreal_: so my breaks were locking and wouldnt release
12:47 PM _unreal_: getting smoking hot
12:47 PM _unreal_: so tired of stupidity
12:49 PM Unterhaus__ is now known as Unterhausen
12:49 PM Unterhausen: I see the problem, you should install brake pads next time
12:50 PM * JT-Shop almost wonders why a tire guy would take the brakes apart...
12:51 PM lcnc-relay: <big_kevin420@discord> i would be more worried about why also
12:52 PM lcnc-relay: <big_kevin420@discord> its not even likes its any easier when the tires are off
12:52 PM lcnc-relay: <big_kevin420@discord> a little easier
01:01 PM Tom_L: big_k, you get your spindle sync working?
01:07 PM acer is now known as _unreal_
01:20 PM JT-Woodshop is now known as JT-C3-Shop
01:24 PM JT-C3-Shop: RF upper control arm has left the vehicle
02:00 PM lcnc-relay: <big_kevin420@discord> @tom_l yeah kinda
02:00 PM lcnc-relay: <big_kevin420@discord> based on my hal file... it was always working
02:02 PM lcnc-relay: <big_kevin420@discord> but im not sure how the TP/motion planner calculated spindle sync rates
02:09 PM lcnc-relay: <big_kevin420@discord> its for sure syncing properly, the way its intended to,
02:09 PM lcnc-relay: <big_kevin420@discord> although, with the version of lcnc im using, i think it has the ability to violate the max velocity of the z axis
02:38 PM lcnc-relay: <big_kevin420@discord> like, its not syncing by using encoder pulses, but with velocity input
02:39 PM lcnc-relay: <big_kevin420@discord> because my encoder pulses are reading proper, but the remora encoder component doesnt output velocity smoothly,
02:41 PM lcnc-relay: <big_kevin420@discord> and the z motion match more the velocity fluctuations and not the encoder pulse;s
02:41 PM lcnc-relay: <big_kevin420@discord> but like, velocity matched with spindle rev's
02:47 PM lcnc-relay: <skunkworks8841@discord> big_kevin420@discord odd - that needs to be fixed.. how many line encoder?
02:49 PM lcnc-relay: <skunkworks8841@discord> Shouldn't you be using encoder position?
03:21 PM JT-Shop: RF upper control arm is apart but now it's raining so I can't paint
03:22 PM _unreal_: then you can.... Not paint :)
03:24 PM lcnc-relay: <big_kevin420@discord> encioder is 4096, so like 16xxx per rev
03:24 PM _unreal_: big-kev I dont know what you have for a setup. but generally there are settings to switch between the motor controllers means of drive. power, precision with encoder, and velocity based on PWM input
03:25 PM _unreal_: 16384
03:25 PM _unreal_: 2 high low reads per A/B
03:26 PM lcnc-relay: <big_kevin420@discord> im using a bldc motor with pwm input
03:26 PM _unreal_: or 4 levels x 4096 lines = 16384
03:26 PM lcnc-relay: <big_kevin420@discord> yeah
03:26 PM _unreal_: does it have an encoder?
03:26 PM lcnc-relay: <big_kevin420@discord> its 16384 ppr
03:26 PM lcnc-relay: <big_kevin420@discord> yeah
03:26 PM lcnc-relay: <big_kevin420@discord> not connected to the drive
03:26 PM lcnc-relay: <big_kevin420@discord> it hjas hal feedback for blsdc and driver
03:26 PM _unreal_: so it has an encoder on the belt
03:27 PM lcnc-relay: <big_kevin420@discord> and a seperate encoder
03:27 PM lcnc-relay: <big_kevin420@discord> no, i have an encoder on the back
03:27 PM _unreal_: the hal's are for identifying where the stator is
03:27 PM _unreal_: then its on the motor
03:27 PM _unreal_: its ether direct connected. or belt/gear driven
03:27 PM lcnc-relay: <big_kevin420@discord> yeah, the hall is, and i have an encoder stacked on top
03:28 PM _unreal_: no one gear drives
03:28 PM lcnc-relay: <big_kevin420@discord> all direct drive
03:28 PM _unreal_: what motor driver are you using
03:29 PM lcnc-relay: <big_kevin420@discord> 42mm frame bldc
03:29 PM _unreal_: no
03:29 PM _unreal_: what MOTOR DRIVER = circiut board. controller
03:29 PM _unreal_: what driver are you using to drive your BLDC motor
03:30 PM lcnc-relay: <big_kevin420@discord> hmm bldc8015
03:30 PM lcnc-relay: <big_kevin420@discord> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/TRjCFoASXEaelMYooQEqYZIp/spindle.jpg
03:30 PM lcnc-relay: <big_kevin420@discord> here is spindle
03:31 PM _unreal_: generally you use PWM mode for things like a spindle
03:31 PM _unreal_: ahhhh ok so this is for a spindle
03:32 PM _unreal_: so then what is your plan to use the encoder for?
03:33 PM _unreal_: is this JUST going to be a high speed 6k-24k? rpm spindle?
03:33 PM _unreal_: or are you planning to try and do things like direct taping
03:33 PM _unreal_: thrust tapping rather then thread mill
03:37 PM lcnc-relay: <big_kevin420@discord> yeah uits for erigid tapping
03:37 PM lcnc-relay: <big_kevin420@discord> the spindle is like 5100 rpm tops according to my encoder
03:38 PM lcnc-relay: <big_kevin420@discord> tapping and rpm feedb ack
03:44 PM _unreal_: what is the max speed of the spindle? 5.1k?
03:44 PM _unreal_: or encoder is max 5.1k
03:45 PM _unreal_: big kev so what is your plan for doing thrust tapping?
03:46 PM _unreal_: reason I ask, is because that encoder does not do stepping. it is a pure RPM style controller
03:47 PM _unreal_: the only way to controle it servo like. is to use something like an STM32 OR like controller. that is programmed to take a PWM/1-10v OR step/dir input. then convert to PWM/dir output while reading the encoder and controlling the spindle
03:48 PM _unreal_: I forget who. might be tom or xxcoder one of them posted a video of having a setup where they were doing thrust tap tapping with there CNC
03:49 PM xxcoder: not me
03:49 PM _unreal_: big kev more or less you have to treat the spindle like an A axis
03:50 PM _unreal_: rather then a spindle so you can get the correct Z and z-spindle rotation in sync
03:53 PM lcnc-relay: <big_kevin420@discord> its not pid controlled one, or using andys bldc comp
03:53 PM lcnc-relay: <big_kevin420@discord> its just regular like all the other ones
03:53 PM _unreal_: sweet just got my replacement car key. and it has the 4D chip which is the security chip in the key end not the fob end.
03:54 PM lcnc-relay: <big_kevin420@discord> it works as intended by linuxcnc, but im suprised thats how lcnc works it
03:54 PM lcnc-relay: <big_kevin420@discord> which seems tied into velocity and spindle revs
03:54 PM _unreal_: BBL got to go pick up my daughter
03:55 PM lcnc-relay: <big_kevin420@discord> because of the way remora outputs velocity, which is unsteady, but encoder input is precise
03:55 PM lcnc-relay: <big_kevin420@discord> so when i tell it to thread, depending on how my velocity is coming out of the lowpass filter
03:56 PM lcnc-relay: <big_kevin420@discord> it can make the z axis go slow and do 10% of the move and finish the other 90% when it gets an encoder rev signal
03:57 PM lcnc-relay: <big_kevin420@discord> so like SLOW z, FAST z,, slow Z, FAST z
03:59 PM lcnc-relay: <big_kevin420@discord> there is obvious cogging of the motor at low rpm, which is expected, but the z motion isnt reflective of cogging,
03:59 PM lcnc-relay: <big_kevin420@discord> dammit ill just do a video
04:13 PM rdtsc_away is now known as rdtsc
04:13 PM lcnc-relay: <big_kevin420@discord> hmm maybe it is fine and i fixed it
04:14 PM lcnc-relay: <big_kevin420@discord> hmm instead of testing it the hard way, ill just test it the fun way and full send with a tap
04:22 PM lcnc-relay: <skunkworks8841@discord> I don't understand why you are using the velocity output of the encoder for anything.. Normally all that is needed for threading is encoder position..
04:23 PM lcnc-relay: <skunkworks8841@discord> or am I forgetting something
04:24 PM JT-Shop: that's what I use the spindle encoder
04:27 PM lcnc-relay: <skunkworks8841@discord> Yes - that should be more than enough
04:28 PM JT-Shop: there was a video of someone turning the lathe spindle by hand and the z axis stayed in sync
04:30 PM lcnc-relay: <big_kevin420@discord> i wouldnt even know how to do the velocity input to the encoder even if i wanted to
04:31 PM lcnc-relay: <big_kevin420@discord> i was just getting very odd motion, like a build up effect every rotation
04:31 PM JT-Shop: the spindle encoder controls the z when threading
04:32 PM lcnc-relay: <big_kevin420@discord> when i say build up, i mean it was doing 90% of the z move all at once in 10% of the time
04:33 PM lcnc-relay: <big_kevin420@discord> ___/_/_
04:33 PM lcnc-relay: <big_kevin420@discord> " _____/\_______/\______/\"
04:34 PM lcnc-relay: <big_kevin420@discord> but when i did a test a minute ago, maybe it is working properly. it seems to have the elastic effect when i load up the spindle so maybe its fine
04:34 PM JT-Shop: https://paste.debian.net/1334475/
04:36 PM lcnc-relay: <big_kevin420@discord> yeah i got those basically the same, except my speedin has to run throught a lowpass filter before it goes to spindle.0.speed-in
04:37 PM lcnc-relay: <big_kevin420@discord> https://github.com/cakeslob/RRW_LAB/blob/main/LinuxCNC/ConfigSamples/remora-RRW_LAB_toolset/remora-xyz.hal#L139
04:37 PM lcnc-relay: <big_kevin420@discord> https://github.com/cakeslob/RRW_LAB/blob/main/LinuxCNC/ConfigSamples/remora-RRW_LAB_toolset/remora-xyz.hal#L139
04:38 PM JT-Shop: why the lowpass filter?
04:50 PM lcnc-relay: <skunkworks8841@discord> As far as I know.. The only thing used for spindle synced motion (threading) is encoder postion
04:50 PM lcnc-relay: <skunkworks8841@discord> spindle.M.revs IN FLOAT
04:50 PM lcnc-relay: For correct operation of spindle synchronized moves, this signal must be hooked to the position pin of the spindle encoder.
04:52 PM lcnc-relay: <skunkworks8841@discord> is your axis fast enough to keep up?
04:59 PM lcnc-relay: <big_kevin420@discord> the lowpass is because remora doesnt output velocity very well
04:59 PM lcnc-relay: <big_kevin420@discord> my axis is fast enough, depending on spindle rpm
05:00 PM lcnc-relay: <big_kevin420@discord> but it looks like the spindle sync can violate max velocity of an axis
05:00 PM lcnc-relay: <big_kevin420@discord> well, if its only suppossed to be revs, thats good
05:12 PM Tom_L: pretty sure for sync mine only uses the last like jt posted for index-enables
05:15 PM JT-Shop: he's using remora which might not be as good as using debian with a pc
05:15 PM Tom_L: right
05:16 PM Tom_L: big_k even this crappy sherline did rigid tapping just fine: https://www.youtube.com/watch?v=g99lUtjLfMU
05:16 PM Tom_L: the axis just waits for the spindle
05:17 PM lcnc-relay: <big_kevin420@discord> only dif is the velocity output, otherwise its fine
05:18 PM lcnc-relay: <big_kevin420@discord> might have been sometrhing with my encoder, but it seems kinda fine now, im gonna do some tests to make sure speed-in is not playing a role
05:19 PM lcnc-relay: <big_kevin420@discord> but any comments on spindle sync violating z axis max velocity?
05:19 PM Tom_L: no experience with that
05:20 PM Tom_L: i never ran my spindle fast enough to have that happen on mine
05:20 PM Tom_L: not with rigid tapping anyway
05:21 PM lcnc-relay: <big_kevin420@discord> yeah 500 rpm was way too fast for a m3 tap
05:21 PM lcnc-relay: <big_kevin420@discord> but made my axis speed mess
05:21 PM Tom_L: figure in the accel and decel it's done before it gets up to speed
05:22 PM Tom_L: so i never used any crazy rpm
05:23 PM lcnc-relay: <big_kevin420@discord> i mean, 500 rpm didnt seem that crazy to me tbh
05:24 PM Tom_L: we never did that on the big machines where i was so i have no 'real' experience with tap S/F settings
05:27 PM Tom_L: had a little break, now the sky is falling again
05:28 PM xxcoder: man who built the sky? first chicken little had sky fall, and now you
05:28 PM Tom_L: the river is full again
05:28 PM Tom_L: you could nearly walk across it last week
05:29 PM xxcoder: been raining a lot here
05:30 PM xxcoder: today have been dryest day so far, only rained briefly
05:49 PM * JT-Shop calls it a night
05:49 PM Tom_L: a wet one
05:50 PM lcnc-relay: <big_kevin420@discord> _cakeslob calls it a fart_
05:51 PM lcnc-relay: <big_kevin420@discord> a wet one
05:51 PM xxcoder: just make sure your bed is secure against floating away
05:56 PM lcnc-relay: <skunkworks8841@discord> lit the furnace - probably going to be for the rest of the winter now...
07:08 PM lcnc-relay: <captainhindsight_.@discord> big_kevin420@discord $14ea https://linuxgizmos.com/updated-wiznet-reveals-new-enhanced-raspberry-pi-pico-boards-with-ethernet-functionality/
07:08 PM lcnc-relay: <captainhindsight_.@discord> big_kevin420@discord $14ea https://linuxgizmos.com/updated-wiznet-reveals-new-enhanced-raspberry-pi-pico-boards-with-ethernet-functionality/
07:09 PM lcnc-relay: <captainhindsight_.@discord> https://docs.wiznet.io/Product/iEthernet/W5500/w5500-evb-pico2
07:09 PM lcnc-relay: <captainhindsight_.@discord> https://docs.wiznet.io/Product/iEthernet/W5500/w5500-evb-pico2
07:09 PM lcnc-relay: <captainhindsight_.@discord> https://docs.wiznet.io/Product/iEthernet/W5100S/w5100s-evb-pico2
07:09 PM lcnc-relay: <captainhindsight_.@discord> https://docs.wiznet.io/Product/iEthernet/W5100S/w5100s-evb-pico2
07:18 PM lcnc-relay: <skunkworks8841@discord> I need to get temp of the furnes on the network (and if the vent is opened or not)
07:19 PM _unreal_: JT-Shop, this is likely the video https://www.youtube.com/watch?v=7QaQrqn4yeI
07:20 PM lcnc-relay: <skunkworks8841@discord> I will never understand 'electronic lead screw' setups. You are 85% to a cnc at that point..
07:20 PM xxcoder: more make boat video https://youtu.be/upTUYPmi8Vk
07:31 PM lcnc-relay: <big_kevin420@discord> captainhindsight_.@discord: not bad. i need to finish the board design i was working on for these
07:58 PM rdtsc is now known as rdtsc_away
10:25 PM -!- #linuxcnc mode set to +v by ChanServ