#linuxcnc Logs
Sep 02 2025
#linuxcnc Calendar
12:42 AM t4nk_freenode is now known as t4nk_fn
08:43 AM srk| is now known as srk
08:47 AM lcnc-relay: <skunkworks8841@> morning
09:24 AM lcnc-relay: <lucid.nonsense@> Just had to remove and refasten 24 screws on my resin printer because the manufacturer hadn't tightened the backlight screw terminals properly, unamused.
09:31 AM lcnc-relay: <huursabg@> idk what exactly the bearings are, i bought this FF10 meant for ballscrews holding, it should do axial and radial
09:31 AM lcnc-relay: <captainhindsight_.@> https://www.machinedesign.com/mechanical-motion-systems/linear-motion/article/21828146/the-importance-of-ballscrew-end-fixity
09:43 AM javabean_ is now known as JavaBean
09:52 AM roycroft: the emigrant fire is poised to be the largest fire in oregon within a day or two, and is still 0% contained, although it has reached greener fuels and its rate of growth is slowing a bit
09:53 AM roycroft: the helicopters are already overhead, and they usually don't start until 8
10:55 AM lcnc-relay: <lucid.nonsense@> I'm sure ICE will come and arrest some firefighters so it can be the biggest most beautiful fire ever
10:58 AM roycroft: they've already done that
10:58 AM roycroft: and blm canceled the contract of a firefighting firm in washington because they hired some legal immigrants to work for them
10:58 AM roycroft: we're short on firefighters here because some of the legal ones whose names end in vowels are afraid to go to work
10:59 AM roycroft: i should clarify that the firm whose contract was cancelled were actively fighting a big fire on the olympic penninsula when their contract was terminated
11:10 AM * rdtsc-w wonders if Toneloc is a rapper, or a CD4046B PLL
11:26 AM lcnc-relay: <skunkworks8841@> wow
12:04 PM * JT-Cave turns off the political channel for a while
12:06 PM -!- #linuxcnc mode set to +v by ChanServ
12:07 PM mrec: diameter 16 pitch 5 cn SFU1605
12:07 PM mrec: ups.
12:09 PM lcnc-relay: <lucid.nonsense@> Has anyone done any machine learning stuff with linuxcnc? Imagine it could be possible to make something like a semi automatic tuning for feeds&speeds, best finish etc for a given machine with a camera, or even vibration sensors
12:10 PM lcnc-relay: <lucid.nonsense@> As well as alerts of problems
12:12 PM Tom_L: JT-Shop, maybe they should be booted for a while
12:12 PM Tom_L: always find a way to get it in
12:36 PM roycroft: my life and property are in danger, and you all apparently don't give a flying fuck
12:36 PM roycroft: you'd rather just bury your heads in the sand and let dear leader kill everyone he doesn't like
01:07 PM lcnc-relay: <pink_vampire@> what do you mean?
01:08 PM xxcoder: pink roy have left irc channel so he wouldnt be able to read that
01:24 PM lcnc-relay: <pink_vampire@> oh ok..
01:26 PM lcnc-relay: <pink_vampire@> I am looking for a way to engrave on a curve and uneven surface, I want to probe the surface and then to somehow adjust the gcode.
01:26 PM lcnc-relay: <pink_vampire@> any idea how to do it?
01:27 PM xxcoder: yeah I remember that quite old mouse engrave example. lemme find it
01:31 PM xxcoder: cant find it
01:31 PM xxcoder: its essentally probe the surface, then alter gcode file
01:31 PM xxcoder: oh found https://hackaday.com/2014/07/31/milling-curved-objects-with-a-g-code-ripper/
01:31 PM xxcoder: wow bit over decade old lol
01:46 PM lcnc-relay: <pink_vampire@> Neat!! now I need to find a probe that will fit in 1/8" collet.
01:48 PM xxcoder: yeah thats best way, no offset
01:51 PM lcnc-relay: <pink_vampire@> the spindle is the 300W 48V DC.. with the ER collet, technically I can change collet from 1/4" to 1/8", but I am mostly using 1/8" tools
01:53 PM lcnc-relay: <pink_vampire@> this is looking like an interesting simple software, dose any of you have an experience with it?
01:53 PM lcnc-relay: https://www.scorchworks.com/Fengrave/fengrave.html
01:56 PM xxcoder: not me unfortunately. there should be some videos using that
01:56 PM xxcoder: one is linked on that page
02:00 PM lcnc-relay: <skunkworks8841@> I used it a long time ago.. Worked ok
02:02 PM lcnc-relay: <pink_vampire@> cool,
03:14 PM Guest27: llll
03:15 PM Guest27: LinuxCNC HomeAll button does not make machine move
03:15 PM Guest27: We are running LinuxCNC 2.9.4. to operate a BostoMatic 312 4-axis milling machine We can jog all axes and both soft and hard limit switches work. We have cut a "Bust of Venus" by indexing the A-axis and cutting in Z along a single X transverse line, before indexing A. It was accurate and beautiful. To do this we manually homed the cutter to the
03:15 PM Guest27: center line of the A-axis and then put the material into the chuck.
03:15 PM Guest27: We cannot make the machine home automatically. We have followed all the instructions in the LinuxCNC User Manual part 4.5 "Homing Configuration". When we press the "HomeAll" button in our AXIS GUI, there is no machine motion. Subsequently however, all jogs work. Using just "home X-Axis" also does not generate any machine motion.
03:15 PM Guest27: The HALshow pins show each axis is "homing" and finally "is homed", but the table and spindle Z do not move. We have run the GUI using linuxcnc -d BM312.ini to get verbose debug information but there are no warnings.
03:15 PM Guest27: Can anyone help us? If someone thinks that they can give advice, please see the attached INI and HAL files.
03:16 PM Tom_L: did you set a homing order in the ini
03:17 PM Guest27: I don't exactly know what this is. We pressed the HomeAll button which I expected to be a homing order.
03:17 PM Tom_L: HOME_SEQUENCE = <n> - Used to define the "Home All" sequence.
03:17 PM Tom_L: http://linuxcnc.org/docs/stable/html/config/ini-config.html#sub:ini:sec:joint-num
03:18 PM Tom_L: ie i home Z first so it is 0
03:18 PM Tom_L: x and y are 1 and they home together
03:18 PM Tom_L: in the [JOINT] section
03:19 PM Tom_L: HOME_SEQUENCE is omitted, the joint will not be homed by the "Home All" function.
03:20 PM Tom_L: that _should_ take care of it
03:22 PM Tom_L: my rotary is 2 in the sequence but i don't home it
03:24 PM Guest62: I was Guest 27 but the internet disconnected me.
03:24 PM Tom_L: i figured
03:25 PM Tom_L: did you see the reply before you were disconnected?
03:27 PM Guest62: I saw "That should take care of it". But we have followed all the rules in the User Manual, have all the velocities entered with non-zero values, and it never worked.
03:27 PM Tom_L: HOME_SEQUENCE
03:27 PM Tom_L: in the [JOINT] section
03:30 PM Tom_L: also set the HOME_SEARCH_VEL and HOME_LATCH_VEL in each [JOINT] section
03:30 PM Tom_L: a negative value will back off the limit switch
03:31 PM Tom_L: HOME = 0.000
03:31 PM Tom_L: HOME_OFFSET = 0.10
03:31 PM Tom_L: HOME_SEARCH_VEL = 1.50
03:31 PM Tom_L: HOME_LATCH_VEL = -0.20
03:31 PM Tom_L: HOME_USE_INDEX = NO
03:31 PM Tom_L: HOME_IGNORE_LIMITS = YES
03:31 PM Tom_L: HOME_SEQUENCE = 0
03:31 PM Tom_L: from one of my configs
03:31 PM Guest62: I don;t know how to send a file so here is the X-axis section of the INI file. The Y and Z are similar. #******************************************
03:31 PM Guest62: [AXIS_X]
03:31 PM Guest62: MAX_VELOCITY = 1.0
03:31 PM Guest62: MAX_ACCELERATION = 30.0
03:31 PM Guest62: MIN_LIMIT = -18.0
03:31 PM Guest62: MAX_LIMIT = 0
03:31 PM Guest62: [JOINT_0]
03:31 PM Guest62: TYPE = LINEAR
03:31 PM Guest62: HOME = 0.0
03:31 PM Guest62: FERROR = 0.5
03:31 PM Guest62: MIN_FERROR = 0.05
03:31 PM Guest62: MAX_VELOCITY = 1.0
03:31 PM Guest62: MAX_ACCELERATION = 30.0
03:31 PM Guest62: P = 2
03:31 PM Guest62: I = 0
03:31 PM Guest62: D = 2.2
03:31 PM Guest62: FF0 = 0
03:31 PM Guest62: FF1 = 0.4
03:31 PM xxcoder: use dpaste.com
03:31 PM Tom_L: if you paste alot use paste.debian.net or such
03:32 PM Tom_L: add those home values i posted to your joint sections if you haven't already
03:33 PM Tom_L: the docs explain what each are for
03:33 PM Tom_L: http://linuxcnc.org/docs/stable/html/config/ini-config.html#sub:ini:sec:joint-num
03:34 PM Tom_L: you defined where home is with HOME = 0.0 but didn't say how to get there
03:35 PM Tom_L: my HOME_OFFSET = 0.10 is telling it to back off the switch that much after triggering it
03:39 PM Guest62: Apologies - the data I send was old. (Nonetheless homing didn't move the machine). The current information is HOME_OFFSET = 0.0
03:39 PM Guest62: HOME_SEQUENCE = 0
03:39 PM Guest62: HOME_SEARCH_VELOCITY = .5
03:39 PM Guest62: HOME_LATCH_VELOCITY = -0.3
03:39 PM Guest62: HOME_FINAL_VELOCITY = .2
03:39 PM Guest62: HOME_USE_INDEX = YES
03:44 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/configs/NEW_MILL/new_mill_A.ini
03:44 PM Tom_L: there's an example of a working config
03:46 PM Tom_L: HOME_USE_INDEX = yes assumes you are homing with encoders using the index pulse
03:46 PM Tom_L: you might need to set that to NO
03:50 PM Tom_L: also MAX_LIMIT = 0 may need to be a small number so it will back off the limit switch if you're using them
03:51 PM Tom_L: .050 etc... enough to un-trip the switch
03:51 PM Tom_L: and he left
03:59 PM -!- #linuxcnc mode set to +o by ChanServ
03:59 PM JT-Shop changed topic of #linuxcnc to: LinuxCNC NO POLITICS! http://www.linuxcnc.org
04:00 PM -!- #linuxcnc mode set to -o by ChanServ
04:00 PM Guest33: Thanks for the working example. My boss wants to use the encoder index. He suggested that HOME_OFFSET = 0.0 and HOME = 0.0 would give maximum table area. Other than that I don't see any difference between my code and yours. Since the HalShow screen shows the homeall button goes through all the steps, something is preventing the motors from moving,
04:00 PM Guest33: or at least not enableing them.
04:02 PM Tom_L: yes i agree
04:07 PM Guest33: under [EMCMOT] there is EMCMOT = motmod. That sounds like something that might control motors. Do you know where that file resides?
04:09 PM Tom_L: that should be in the emcmot section of your ini
04:10 PM Tom_L: are your enables to the drives correct?
04:11 PM Tom_L: generally 'enabling' that disables the drivers
04:12 PM JT-Shop: EMCMOT = motmod - the motion controller
04:16 PM lcnc-relay: <asicresisteur@> xxcoder: and a guy in the comments calling people names for using cnc 😂
04:17 PM Guest33: Recall, the machine works perfectly manually. I just can't get the home sequence to operate the motors.
04:17 PM xxcoder: had to go over to discord to see if you used quote. sure, though on-topic is ongoing so need to wait a bit
04:18 PM Guest33: To be more specific. If I home it manually and put in a complex Gcode, it cuts everything correctly.
04:18 PM Tom_L: also, you can't attach files in irc
04:18 PM Tom_L: we use paste.debian.net or some other paste site
04:18 PM Tom_L: your config never made it
04:19 PM Tom_L: probably don't need it though
04:19 PM Guest4609 is now known as pcw-at-work
04:20 PM pcw-at-work: Is it possible the drives are not enabled when homing starts?
04:22 PM pcw-at-work: Or perhaps the joint constraints are either missing or do not match the axis constraints
04:22 PM pcw-at-work: (so no movement is possible)
04:23 PM Tom_L: he pasted part of one axis but i didn't see any limits in the joint section
04:23 PM Tom_L: just in axis
04:23 PM pcw-at-work: Yeah the joint constraints apply during homing
04:23 PM Tom_L: i bet that could be it
04:23 PM Guest33: i tried to send the entire INI to http://paste.debian.net/
04:24 PM Tom_L: Guest33, add MIN_LIMIT MAX_LIMIT to the joint section to match your AXIS section
04:24 PM Tom_L: should be in both
04:24 PM Tom_L: then try it
04:24 PM Guest33: We have that and checked that we have that.
04:25 PM Tom_L: make sure the drives are enabled during homing
04:28 PM Guest33: We jogged all axes before and after trying to home.
04:29 PM Tom_L: i'm running out of ideas
04:30 PM pcw-at-work: can you post your ini file somewhere with a link?
04:30 PM Tom_L: the search / latch velocities are the right sign? (travelling in the right direction)
04:34 PM Guest33: Yes, this is a very subtle problem. Thanks for your help. I will try to post it somewhere. We have varied the signs but maybe didn't get the entire group correct. I see it did arrive at the Debian paste zone. if you have further suggestions, please write me at zxcv9876@zoho.com because the work day has ended and the shop is about to
04:34 PM Guest33: close.
05:20 PM xxcoder: asicresisteur just read the comments. eh they dont seem to understand the point so whatever
06:05 PM JT-Shop: goodnight Gracie
09:42 PM lcnc-relay: <nein.9s@> This is a bit of an atypical question, but I have to do something within the next few hours. Anyone know a quick way to "stick" surveillance cameras to brick wall without having to drill into the wall?
09:43 PM lcnc-relay: <nein.9s@> I have a neighbour threatening to damage property and obviously first thing is going to file a police report
09:43 PM xxcoder: simplest and shortest term solution is double sided sticker. strong one
09:44 PM lcnc-relay: <nein.9s@> But I know he's going to do something so I put a couple of cameras out sitting on a table. But I need to mount them to a wall
09:44 PM lcnc-relay: <nein.9s@> Double sided tape might work, although bring being dusty I can't imagine it'll stick
09:44 PM lfluffywof: my limited experience with brick suggests tapes won't stick well, and glues will be very permanent.
09:44 PM lcnc-relay: <nein.9s@> might just have to drill even one hole
09:46 PM xxcoder: one nail to hold the load, and rest taken up by double sided sticker?
09:46 PM lcnc-relay: <nein.9s@> Yeah that's what I'm thinking
09:46 PM xxcoder: if its square you probably need 2. use thin nail
09:46 PM xxcoder: for minimal hol
09:46 PM lcnc-relay: <nein.9s@> Typical exterior smooth brick
09:46 PM xxcoder: "drill" a finishing nail in and downwards
09:47 PM lfluffywof: googling says if you clean the bricks well enough, double-sided tape does stick ok.
09:47 PM lcnc-relay: <nein.9s@> Only has to last 10 days
09:47 PM xxcoder: I think. I might have remembered that trick right
09:47 PM lcnc-relay: <nein.9s@> +since I'm moving
09:47 PM lcnc-relay: <nein.9s@> Ok I'll try that thanks
09:47 PM xxcoder: er *wrong
09:48 PM lfluffywof: there apparently also are "brick clips" that snap onto the edges of the brick with pointy teeth, if your mortar doesn't extend all the way flush with the face.
09:48 PM lfluffywof: brick construction isn't really a thing here, so I don't have any first-hand experience, just googling...
09:49 PM lfluffywof: https://target.scene7.com/is/image/Target/GUEST_5ceb55d9-9f0d-48ea-977c-574663c83e32 if you live in an area where bricks are a thing, these may be available locally.
09:49 PM lfluffywof: or bend your own out of shim stock, or pallet banding or something.
09:49 PM xxcoder: interesting
09:50 PM lcnc-relay: <nein.9s@> Oh wow didn't even know about those. But looks like the only thing I can do at this hour is drill + use my 3M double sided mounting tape
09:50 PM lfluffywof: drill in the mortar so you can just dab some more on later to hide it.
09:50 PM lcnc-relay: <nein.9s@> ok yeah that's a good idea thanks
09:50 PM xxcoder: normally bad idea but for few days probably doable
09:51 PM lfluffywof: there's maybe a dozen brick buildings in the entire local area, and we've lost two of them in the last couple years... brick + california = no bueno.
09:52 PM lfluffywof: one started collapsing into a main road so the city took an excavator to it without waiting for the landlord. heh.
09:52 PM lfluffywof: (after an earthquake_
09:52 PM lfluffywof: )
09:53 PM lcnc-relay: <nein.9s@> https://canadabrick.com/wp-content/uploads/sites/12/2017/08/MB-Burlington-BallycroySmooth-0817-1024x531.jpg
09:53 PM lcnc-relay: It's exactly this kind of brick
09:53 PM lcnc-relay: <nein.9s@> Looks exactly like that
09:53 PM xxcoder: yeah proably wolfs idea is best
09:53 PM lfluffywof: eww, the ugliest kind. :P
09:53 PM xxcoder: mortar is very repairable
09:54 PM lfluffywof: if it has any stick-out, you can probably fabricate some form of clip.
09:55 PM lfluffywof: bend up some banding, or any sheet metal, or bend one side of some fender washers and file teeth in then clamp two of them with a screw, or something...
09:56 PM Tom_L: better double back tape is automotive trim adhesive
09:56 PM Tom_L: clean with iso first
09:56 PM lfluffywof: those bricks also are a lot less messy than the kind I was picturing; simply scrubbing well with some fast-evaporating solvent then double stick tape might be plenty for a temporary solution.
09:57 PM lcnc-relay: <nein.9s@> lfluffywof: Ok I'll try that first with a dummy load. The cameras are the "eyeball" kind. They have a mounting place that you screw into the wall and then the camera itself snaps into the mounting plate.
09:57 PM Tom_L: https://www.acehardware.com/departments/home-and-decor/office-supplies/tape/1834928?x429=true&utm_source=google&utm_medium=organic-shopping&utm_campaign=organic-shopping
09:57 PM lcnc-relay: <nein.9s@> They're not the bullet kind with a lot of overhang so the "torque" on the mounting plate is minimal. It's mostly shear load
09:57 PM lcnc-relay: <nein.9s@> And it's almost 23:00 unfortunately all hardware stores are closed
09:58 PM lcnc-relay: <nein.9s@> But the text message threats are right on time 🙂 off to the police station I go
09:58 PM xxcoder: good luck, and hopefully the threatening person is a coward that only says bt not do
09:58 PM xxcoder: *but
09:59 PM lfluffywof: don't use water; nothing sticks to wet concrete, so I assume nothing sticks to wet brick too...
09:59 PM lcnc-relay: <nein.9s@> Yeah I'll clean with 100% isropanol and acetone
10:00 PM lfluffywof: I'm repairing an ebay lamp at the moment... grabbed https://i.ebayimg.com/images/g/Z1wAAOSw5ihnAx-f/s-l1600.webp for an outdoor light. it's a lot more... real... than I expected for how cheaply I got it for.
10:01 PM xxcoder: if its old enough, wash your hands due to it being lead alloy bronze
10:01 PM lfluffywof: I think I'll put in a new socket, so probably won't do anything else tonight. The one in it is ooooooold bakelite and is cracking when I try taking it apart.
10:01 PM lfluffywof: I'm used to working on modern crap that's all fake finishes... nope, this thing is solid brass, inside and out.
10:01 PM xxcoder: or brass?
10:02 PM xxcoder: brass. lol ok
10:02 PM lfluffywof: it's brass and copper.
10:08 PM lfluffywof: socket seems to be made by Woodwin... never heard of them.
10:08 PM lfluffywof: googling only finds stuff from the '20s
10:11 PM lfluffywof: I think I lucked into a genuine antique... now I feel bad about my plan of hanging it from a tree next to my outdoor table. lol
10:16 PM xxcoder: lol well it is yours to use whatever you like
10:37 PM lfluffywof: I was just going to stick an extension cord in it, but I do have some really nice super-flex heater cord that might be more fitting to the quality of the light.
10:37 PM lfluffywof: the remains of the original wire is cloth insulated, and utterly disintegrated as soon as I touched it.
10:45 PM lfluffywof: I'm not actually sure exactly what the original insulation is... it's disturbingly fine short stiff fibers... another reason for a good hand wash.
10:46 PM xxcoder: id assume abestos
10:49 PM lfluffywof: yes, hence the disturbing appearance. heh.
10:54 PM lfluffywof: I don't think it is, checking the pictures. the strands are too straight and stiff, and not at all fluffy like all the samples I'm seeing of asbestos insulation.
10:54 PM lfluffywof: in any case, the 3" of wire with crumbling insulation wasn't exactly useful for multiple reasons. lol
10:58 PM xxcoder: true, cloth weave is common also
10:58 PM xxcoder: with some hmm epoxy? forgot what they used
10:59 PM lfluffywof: it doesn't feel like cloth... I'm almost wondering if it's hemp fibers or something.
11:00 PM xxcoder: not sure what they used for many wires then either
11:00 PM lfluffywof: it has inner cords that are definitely cotten
11:03 PM lfluffywof: should I use cheap wire, or use https://www.awcwire.com/general-cable-carol-brand-specialty-cord/type-hpn-heater-cord ? the cheap wire is brown, which is a better match for the patinaed copper and brass, but the heater cord is super flexy and uv resistant and all sorts of better things...
11:04 PM xxcoder: your link sounds like heavy high amp use
11:08 PM * lfluffywof is too tired to wire; will figure it out tomorrow.