#linuxcnc Logs

Sep 10 2022

#linuxcnc Calendar

01:02 AM mrec: andypugh: my background is everything but machining, freecad and linuxcnc gave me a kickstart ... when I did threading on the lathe I saw that the vendor also provided a pack of gears first thing I thought this is going to become a nightmare to adjust it for every part I need
01:11 AM mrec: electronic gearing just logically is so much more comfortable..
01:11 AM mrec: I wonder why
01:11 AM mrec: Clough42 did an ELS by himself ... it's nowhere near as comfortable as linuxcnc with G71
01:19 AM Deejay: moin
02:22 AM XXCoder: aha so thats why matrix was having issus
02:24 AM XXCoder: lol https://youtu.be/4iXSMh9udB0 new one
02:25 AM xxcoder[m]: lol new one https://youtu.be/4iXSMh9udB0
02:25 AM XXCoder: forgot bridge is kinda one way
02:31 AM I_Derp[m] is now known as I_Derp3428[m]
03:21 AM boozeman[m]: I try to improve my 4-axis foam cutter with Mesa 7i96S + DM332T motor controllers and HP ProLiant ML350 G6 server. The old system has TB6560 paraller port board and it runs somewhat in the it's limit. base thread fluctuates a lot and the best servo thread is about 76000
03:22 AM XXCoder: tb6560 yeah not a great board. I dropped that after a short tests and got tb6600s which was bit better. honestly those is old tech there should be a lot better out there now, though I havent kept up with that
03:23 AM XXCoder: you are having issues with new MESA system?
03:23 AM -!- #linuxcnc mode set to -o by ChanServ
03:33 AM xxcoder[m]: doh forgot bridge is still semi broken and one way (some irc issue)
03:33 AM xxcoder[m]: <XXCoder> tb6560 yeah not a great board. I dropped that after a short tests and got tb6600s which was bit better. honestly those is old tech there should be a lot better out there now, though I havent kept up with that
03:33 AM xxcoder[m]: <XXCoder> you are having issues with new MESA system?
03:44 AM mrec: andypugh: hmm I'm doing something wrong I'm getting a following error if I try to wire up the encoder with the 4th axis
03:44 AM mrec: A won't move at all if I do so
03:59 AM boozeman[m]: Not tested yet. Server needs power supply and the DM332T's are still on post office. I get them at Monday. I'll try to install debian testing with rt kernel and stuff. I hope that the server original psu was faulty and not the mainboard.
04:00 AM boozeman[m]: I quess that irc channel is on ircnet? I have screen+irssi running 😊
04:00 AM xxcoder[m]: its on libera.chat. its not much busier really
04:01 AM xxcoder[m]: more experts on irc though
04:01 AM xxcoder[m]: libera is fixing matrix bridging (which bridging here depends on) so it will evenually work again
04:22 AM mrec: does anyone know why joint following errors are tripping or how they can be checked?
04:22 AM mrec: the encoder + position cmd are matching
04:24 AM mrec: position-cmd and position-fb are also kay
04:24 AM mrec: if I set FERROR=5 MIN_ERROR=5 .. the following error will happen all 5°
04:30 AM andypugh: mrec: You will need to take the 4th axis out of the f-error loop. Just wire motor-pos-fb direct to motor-pos-cmd (rather than to the encoder)
04:31 AM mrec: thanks!
04:31 AM mrec: I just set ferror to 9999999 ... ridiculously high and it worked (that was the current status)
04:33 AM mrec: seems like I can go up to around 400-500 rpm afterwards things slow down the current way it is
04:34 AM mrec: I'm using the AS5047p here, the index signal is also getting shorter and shorter depending on the speed
04:34 AM andypugh: Are you using my hobbing HAL component?
04:34 AM mrec: the allegro magnetic encoder had an option to define the length of the index pulse seems like the AS5047p doesn't have that
04:34 AM mrec: yes
04:37 AM mrec: you used some mesa card I only have 3 parallel ports in my system at the moment
04:40 AM andypugh: OK in that case you should connect the encoder to hobbing.0.gear-pos-fb, and the axis.3.motor-pos-fb to hobbing.0.A-pos-fb
04:41 AM andypugh: Then axis.3.motor-pos-cmd to hobbing.0.A-pos-cmd. Then you can mova the A axis normall (jog etc) to line things up if needed.
04:41 AM Tom_L: morning
04:47 AM mrec: andypugh: I'm a bit confused why axis.3.motor-pos-fb? I'm using LinuxCNC 2.9pre there's no such pin motor-pos-fb no?
04:47 AM mrec: http://linuxcnc.org/docs/html/man/man9/motion.9.html#AXIS%20PINS
04:47 AM mrec: joint.N.motor-pos-fb IN FLOAT
04:47 AM mrec: The actual position for this joint.
04:48 AM andypugh: Sorry, yes, eveywhere I have said “axis” I mean joint.
04:48 AM andypugh: Coffee hasn’t taken effect yet.
04:49 AM mrec: now I get it ... also the F_ERROR part
04:49 AM mrec: joint.N.f-error is happily counting up here
04:49 AM mrec: since motor-pos-cmd is 0
04:51 AM JT-Cave: morning
04:54 AM Tom_L: JT-Cave, that 2.8.0 iso i posted seemed to work better than the 2.8.1 one
04:54 AM Tom_L: i had issues with it as well
04:54 AM JT-Cave: ok
04:55 AM Tom_L: iso/img...
05:09 AM mrec: this is a very odd thing...
05:09 AM mrec: net gearpos encoder.2.position => stepgen.3.position-cmd joint.3.motor-pos-fb
05:09 AM mrec: it updates when the machine is "powered off" and joint.3.motor-pos-fb stops counting once the machine is fully enabled
05:09 AM mrec: while encoder.2.position is still counting
06:37 AM mrec: andypugh: hmm I installed the hobbing comp but I seem to have the same problem
06:37 AM andypugh: Is the comp added to a thread?
06:37 AM mrec: motor-pos-fb is not updating
06:38 AM mrec: addf hobbing.0 servo-thread
06:39 AM mrec: if I do a "toggle machine power" it will udpate
06:39 AM mrec: update*
06:39 AM mrec: but only once
06:39 AM mrec: and if the machine power is off it will permanently update
06:40 AM andypugh: your gearpos line above is rather wrong.
06:41 AM andypugh: net gearpos encoder.2.position => hobbing.0.gear-pos-fb
06:44 AM mrec: that was correct.
06:44 AM andypugh: Ah, no, let me re-think, this is a stepper right, and the only encoder is on the spindle?
06:44 AM mrec: yes the encoder is on the spindle
06:44 AM mrec: joint.3.motor-pos-cmd is not updating once the "toggle machine power" is on
06:45 AM mrec: it updates when "toggle machine power" is off
06:45 AM andypugh: net spindlepos encoder.2.poition => hobbing.0.spindle-pos
06:46 AM andypugh: net gearpos hobbing.0.gear-pos => stepgen.3.position-cmd
06:47 AM andypugh: net A-pos-cmd joint.3.motor-pos-cmd => hobbing.0.A-pos-cmd
06:48 AM andypugh: net A-pos-fb hobbing.0.A-pos-fb => joint.3.motor-pos-fb
06:49 AM andypugh: net gearpos-fb stepgen.3.position-fb(?) => hobbing.0.gear-pos
06:51 AM andypugh: And don’t forget: setp hobbing.0.teeth 12 (or some other non-zero number)
06:52 AM mrec: I think the problem is somewhere else
06:52 AM mrec: https://snipboard.io/AueX36.jpg
06:52 AM mrec: joint.3.motor-pos-cmd is not updating
06:52 AM mrec: the hobbing module is fine it updates..
06:53 AM mrec: when I click "toggle machine power" off motor-pos-cmd also updates
06:54 AM mrec: if I disable machine power it updates - if I enable machine power - it freezes again
06:55 AM mrec: I think so far all the hobbing part is clear to understand but this single issue is the show stopper at the moment
07:04 AM mrec: the only difference I see is when "joint.3.amp-enable-out" is on counting stops
07:12 AM mrec: okay I just looked at the source code
07:12 AM mrec: (IS_EXTRA_JOINT(joint_num) && get_homed(joint_num))
07:12 AM mrec: it was not homed ... after homing it works
07:12 AM mrec: after homing the A axis
07:15 AM mrec: hm no I'm wrong...
07:26 AM mrec: EMCMOT_MOTION_DISABLED
07:27 AM mrec: joint->pos_cmd = joint->pos_fb;
07:34 AM mrec: I wonder if there's a bug or if there's a difference introduced by the mesa hardware which you are using.
07:38 AM JT-Cave: hmm dd took a while...
07:47 AM Tom_L: JT-Cave, which one did you go with?
07:47 AM JT-Cave: the one you have, but it would not boot up
07:47 AM Tom_L: really?
07:48 AM Tom_L: once you get one, in order to do updates you have to set the calendar since they're so old
07:49 AM Tom_L: mine wouldn't update until i figured that out
07:51 AM Tom_L: i had problems with a couple SD cards so i tried writing zero to them and seemed to help
07:51 AM Tom_L: dd if=zero of=/dev/sdx or such
07:52 AM Tom_L: i'd put a byte limit on it if you can and just write over the boot section
07:52 AM JT-Cave: I used gparted to delete and create a new partition
07:52 AM Tom_L: i tried that once and it didn't work for me
07:52 AM JT-Cave: just updated the new shop pc to debian 12 and the clock is off by 8 hours
07:53 AM Tom_L: i had one on a 64g card and wanted it on a 32g one
07:53 AM Tom_L: heh
07:54 AM Tom_L: i dual boot and when i go back to winders the clock is always off a few hrs
07:54 AM JT-Cave: I just uploaded a fix for mesact
07:54 AM Tom_L: i'll build in a bit
07:55 AM Tom_L: wasn't aware it was broke
07:55 AM Tom_L: you may as well del the 64bit one. i doubt anybody is using it yet
07:56 AM JT-Cave: check config had an indentation error and it thought every joint was a gantry joint
07:57 AM mrec: andypugh: do you remember which linuxcnc version you have used for hobbing?
08:04 AM Tom_L: ok, i got no USB on this now
08:04 AM Tom_L: no kbd or mouse
08:05 AM JT-Cave: hmm it's taking a while to push to the repo
08:05 AM JT-Cave: that makes it kinda hard to use
08:05 AM Tom_L: wonder if it got too hot yesterday
08:06 AM Tom_L: i was doing quite a bit on it
08:09 AM Tom_L: ssh not set up on that one..
08:10 AM Tom_L: booted bullseye and it works
08:11 AM Tom_L: guess i'll build a 64bit one first..
08:15 AM Tom_L: trying a remote build
08:17 AM Tom_L: note to self: turn ssh on on all these cards
08:19 AM -!- #linuxcnc mode set to +v by ChanServ
08:27 AM JT-Shop: hexchat setup... one down a zillion other things to get working on the new pc
08:27 AM Tom_L: uploading the 64bit one
08:27 AM Tom_L: i'll try the armhf one next if the card works
08:27 AM Tom_L: i've done that so much i have a pattern etched in my brain
08:28 AM JT-Cave: odd
08:28 AM Tom_L: bullseye worked fine
08:28 AM JT-Cave: for some reason push to repo is not working
08:29 AM JT-Cave: had to stop and restart it
08:29 AM JT-Cave: but the update is there now
08:29 AM Tom_L: i'll reburn a buster img and try that
08:29 AM Tom_L: oh? so maybe the 64bit isn't fixed here?
08:30 AM Tom_L: i'd already cloned it on bullseye
08:31 AM Loetmichel_: ()&()%&(=//%$&%/&(/%/& *IRATE CUSSING* ... $me just hit a chair leg in the hallway with the left pinky toe. in full walk... OUCH!
08:36 AM Tom_L: git seems to be having issues today
08:37 AM Tom_L: still no usb on buster but i'm building it remote
08:37 AM andypugh: mrec: I think I have used 2.7 and 2.8. Defintiely on a 2.8 mnow.
08:38 AM Tom_L: andypugh, do you recall what tools you used to build the first rpi img files?
08:39 AM Tom_L: we've been trying live-build and can't seem to get a good bootloader
08:39 AM andypugh: https://github.com/LinuxCNC/pi-gen
08:40 AM Tom_L: Pere wanted to use live-build for some reason
08:40 AM Tom_L: https://github.com/LinuxCNC/linuxcnc-live-build
08:41 AM andypugh: I think that live-build uses a completely different boot system to what the PI expects.
08:42 AM Tom_L: you think pi-gen works on 64bit?
08:42 AM Tom_L: may not matter..
08:42 AM Tom_L: and does it cross compile?
08:42 AM Tom_L: i've been building on an amd64 pc
08:43 AM andypugh: It might be as simple as picking a 64-bit kernel here: https://github.com/LinuxCNC/pi-gen/blob/master/stage0/02-firmware/01-packages-nr
08:43 AM andypugh: I don’t think pi-gen run on the Pi. I definitley created the images on PC Buster.
08:44 AM Tom_L: been building on bookworm
08:44 AM Tom_L: i may look at it in a few days
08:52 AM mrec: andypugh: in the code: pos_fb 16474.480000 // pos_cmd: 16433.406667 // motor_pos_cmd 16433.406667
08:52 AM mrec: emc/motion/control.c
08:54 AM Tom_L: JT-Cave, both files uploaded
08:54 AM andypugh: It’s a super-simple HAL component, there really shouldn’t be any need to go poking areound in the LinuxCNC source code
08:54 AM Tom_L: 64bit may be outdated..
08:55 AM Tom_L: i'll rebuild it to be sure
08:56 AM JT-Cave: for now I'm burning stock rpi os to the sd to check that my hw is not screwed up
08:56 AM Tom_L: ok
08:57 AM Tom_L: i'm gonna burn my buster copy to another SD and try that here
08:57 AM Tom_L: dunno what's up with the USB on it
08:57 AM Tom_L: was working fine yesterday
09:00 AM mrec: andypugh: yes your hal component is easy but the problem is that pos_cmd and motor_pos_cmd are not updated
09:00 AM andypugh: Why would you expect them to be?
09:01 AM andypugh: Those will only change if you move / jog the A axis.
09:02 AM mrec: because the diff between pos_fb and motor_pos_cmd is FERROR?
09:02 AM mrec: did I overlook something?
09:02 AM andypugh: TBH with a stepper-driven system you can just short-circuit that feedback loop.
09:03 AM andypugh: But, what drives your motor-pos-fb pin?
09:03 AM mrec: yes but the question is how.
09:04 AM mrec: net jpos hobbing.0.A-pos-fb => joint.3.motor-pos-fb
09:04 AM andypugh: To short-circuit the feedback net loop joint.3.motor-pos-cmd => joint.3.motor-pos-fb
09:05 AM andypugh: and does your stepgen pos-fb go in to the other side of the hobbing comp?
09:07 AM andypugh: It’s probably best if the feedback does come from the stepgen, then you will get an f-error if the spindle speed and tooth count means that the stepgen on the A axis can’t keep up.
09:12 AM mrec: I connected the hobbing a-pos-fb with stepgen position-cmd (those are minor things)
09:13 AM andypugh: Why did you do that?
09:15 AM andypugh: I already listed all the required ocnnections, and that is very much not one of them.
09:18 AM Tom_L: ok JT-Cave both versions should be up to date now
09:19 AM andypugh: spindle position and A-axis static position goes in to the component. The gear spindle position comes out. Then the gear position feedback goes back into the component, the hobbing offset is subtracted, to leave the A axis feedback, and that goes back to motion.
09:21 AM mrec: but overriding and shorting joint.3.motor-pos-cmd will result that the user interface won't be updated either
09:23 AM andypugh: What do you want to see in the user interface? You probably _don’t_ want to see several million degrees of gear spindle rotation.
09:24 AM andypugh: With things wired as I listed, you will se the A axis position (ie, the _phase_ asdjustment but onot the hobbing turns.
09:25 AM andypugh: You _can’t_ feed back the hobbing rotations as the system knows that it didn’t ask for them and will f-error.
09:27 AM mrec: remember the information is there when the machine is not enabled, it updates - just when enabled it won't update anymore
09:27 AM mrec: 12:26 < mrec> EMCMOT_MOTION_DISABLED
09:27 AM mrec: 12:26 < mrec> joint->pos_cmd = joint->pos_fb;
09:28 AM mrec: but that was when I wired the hobbing module with joint pos fb
09:28 AM mrec: I disabled that now yes no f-error because no updates on pos_fb
09:29 AM mrec: bottom line -- it works of course
09:36 AM Tom_L: JT-Cave, reinstalled the buster img and USB is back up
09:41 AM mrec: andypugh: thank you!
09:44 AM Tom_L: andypugh, in pi-gen do you recall where you set what OS to build against?
09:45 AM andypugh: No, sorry, but try searching in the repo for “buster” or “raspbian”?
09:45 AM Tom_L: i see the Dockerfile shows 'FROM i386/debian:buster
09:46 AM Tom_L: do you need to build on the OS you want exported?
09:46 AM Tom_L: i assume yes
09:46 AM Tom_L: with lb that wasn't the case
09:46 AM Tom_L: i've never used docker compose
11:37 AM JT-Cave: dang dd is stll running on that rpi img
11:40 AM Tom_L: how big was the image?
11:40 AM Tom_L: seems rather long
11:41 AM Tom_L: hope you got the right target :)
11:42 AM roycroft: the last buster release is out
11:43 AM roycroft: the aqi is 130 here now, and it's going to get worse this afternoon
11:44 AM roycroft: it's 185 in oakridge, which is pretty bad, but the town has been evacuated, so it probably doesn't matter much except for firefighters and first responders, who should be prepared for that
11:45 AM Tom_L: nice 65F overcast day here
11:46 AM roycroft: the sky is orange again today, and we're going to get up to 37
11:49 AM roycroft: https://lcgisorg.maps.arcgis.com/apps/webappviewer/index.html?id=fffd5cd4131d40bc885331fe3c905283
11:49 AM roycroft: the fire is getting really close to oakridge/westfir
12:03 PM Tom_L: probably should have waited to test this build since i gotta leave soon
12:17 PM mrec: andypugh: how would you cut 40mm discs from sheet metal?
12:17 PM mrec: 0.8mm
12:17 PM andypugh: How many do you need?
12:18 PM mrec: 500-1000
12:18 PM mrec: right now I just drill them and cut them by hand
12:18 PM mrec: I cut squares, and make them round on the lathe
12:20 PM andypugh: If I needed a lot I would make a press tool: Here is one I made earlier: https://youtu.be/Bpb68xB6zTc
12:22 PM andypugh: 40mm is too small for a circle cutter: https://youtu.be/K2r7Gl8o5Lg?t=23
12:23 PM andypugh: https://www.ebay.co.uk/itm/255067354124
12:24 PM andypugh: Q0max cutters are cheap (You would need to mount in a press to avoid using the central bolt hole, and they do crinkle up the disc so are probably no good for you without a regrind of the punch)
12:24 PM andypugh: https://www.ebay.co.uk/itm/144078653125
12:25 PM andypugh: But most expedient is possibly to order them laser cut.
12:25 PM mrec: I was thinking about punching them already...
12:25 PM mrec: the center hole is a bit of a problem for one of my gears
12:26 PM mrec: m0.3 and m0.5 have to be relatively accurate
12:27 PM andypugh: Yes, I am not saying that you would use the Q-max in its normal mode, but they are a good starting point for modification and are relatively inexpensive.
12:28 PM andypugh: For 1000 I would probably get them lasered, the laser people seem to be able to get the material cheaper than me so it comes out competitive.
12:29 PM Tom_L: andypugh, thanks for the pi link. running thru it once stock before i try to mod it
12:29 PM Tom_L: seems to be going smooth so far
12:30 PM Tom_L: i think it might take a fair amount of mods to switch from armhf to arm64
12:30 PM andypugh: But if you are already stacking them for gang-hobbing then you already need to clean up the OD on the lathe so your current process is probably close to optimal. You _are_ machining a long stack, I assume?
12:41 PM mrec: andypugh: I'm trying, tomorrow it will be the first time that I'm going to do some hobbing
12:41 PM mrec: I noticed I have no 13mm shaft here for the hobber, and it's too late to make one 2am
12:41 PM Tom_L: andypugh, do you know what the pi4-lite img is about?
01:07 PM JT-Cave: looks like 11GB and it seems to be loading
01:46 PM mrec: andypugh: how did you figure out the tilting angle for your hob back then?
01:46 PM andypugh: It is engraved on the hob.
01:49 PM mrec: mine says 0.34'A so basically none I guess?
02:18 PM xxcoder[m]: yeah pnfconf just STARTS on hal and such
02:18 PM xxcoder[m]: you need to deal with it by hand afterwards
02:18 PM xxcoder[m]: irc side connection to matrix is still borked so we arent getting any irc comments here
02:24 PM roycroft: i just finished refoaming the woofers in my shop speakers
02:24 PM roycroft: now the stereo sounds good again
02:25 PM CloudEvil: :)
02:26 PM roycroft: and there may be rain in the forecast soon
02:26 PM roycroft: my other main chore today is to clean up and put away my camping gear, which has been sitting outside my shop for a couple weeks
02:27 PM roycroft: i guess i should get that done soon - i'd rather it not be there when it finally rains
02:28 PM Alicrow-phone: Adding some shielding around the motor power cables seems to have fixed my interference issue. Thank goodness.
02:28 PM Alicrow-phone: I was really afraid it wouldn't be sufficient.
02:29 PM XXCoder: nice
02:32 PM Alicrow-phone: As a software engineer, I'm not too fond of anything that could cause strange intermittent issues like that.
02:33 PM XXCoder: "sometimes" is most cursed word in troubleshooting
02:37 PM Alicrow-phone: Yup
02:41 PM pcw-home: I remember debugging DRAM systems in the 1980s where you would get a bit flipped after many hours of testing, really slow to determine if your fixes worked
02:41 PM XXCoder: ow
02:51 PM JT-Shop22 is now known as JT-Shop2
03:04 PM XXCoder: roycroft: you ok so far?
03:04 PM XXCoder: my sis home area is having pretty heavy smoke
03:11 PM roycroft: it's getting smoky here, but it's still tolerable
03:12 PM roycroft: i'm more worried about the folks in the foothills who have had to evacuate
03:12 PM roycroft: the entire towns of oakridge and westfir are evacuated
03:12 PM roycroft: and the fire is getting really close to oakridge
03:12 PM XXCoder: wow hope they is ok
03:13 PM roycroft: me too
03:15 PM roycroft: i have several friends/acquaintances who live in oakridge
03:16 PM roycroft: there is a shelter at the county fairgrounds and at the community college for the evacuees
03:16 PM roycroft: hopefully firefighters will be able to keep it away from town
03:16 PM roycroft: this is the second-biggest fire in the state at the moment, over 37,000 acres burned
03:17 PM roycroft: but so far, zero structures and zero fatalities
03:17 PM roycroft: the only bigger fire is in the blue mountains, in remote northeastern oregon
03:17 PM roycroft: it's over 100,000 acres, but nowhere near any settlements
03:18 PM Alicrow-phone: roycroft: are you over in California?
03:18 PM roycroft: i'm in oregon
03:18 PM Alicrow-phone: Oh, much better.
03:19 PM Alicrow-phone: There are just so many problems with California.
03:20 PM XXCoder: yeah. calfornia has very heavy impact from climate change
03:20 PM roycroft: there are problems everywhere
03:21 PM XXCoder: all 3 west states are affected. thats why we have "smokey hellscope" season basically each year last few years
03:30 PM Alicrow-phone: Not just fires in California, though. My wife has family out there, and the legislature is just ridiculous with some things.
03:46 PM roycroft: legislatures do ridiculous things everywhere
04:18 PM JT-Shop: hopefully you get some rain soon
04:20 PM XXCoder: yeah
04:20 PM XXCoder: latest blondhack is interesting
04:21 PM andypugh: Just watching it now.
04:22 PM * JT-Shop is replacing deck boards
04:23 PM andypugh: Latest one of mine has subtitles for the subtitles. (So that translation works) https://youtu.be/WqjB0saouNY
04:32 PM XXCoder: just finished blondhack. fun
04:33 PM XXCoder: andypugh: sorta want to print large version of that lol
04:34 PM roycroft: us subtitles for the received pronunciaion subtitles for the yorkshire english?
04:45 PM JT-Shop: cool lock
04:46 PM XXCoder: jt yeah
05:12 PM JT-Shop: now that I've replaced two deck boards I'm an experienced deck repair man
05:12 PM JT-Shop: hmm took less than an hour too
05:12 PM XXCoder: :)
05:13 PM JT-Shop: now if I can find the missing pc side cover I'm doing good
05:15 PM XXCoder: uhoh lol
05:15 PM XXCoder: usually, cover is needed for proper airflow inside case
05:15 PM JT-Shop: I used to use the pc on this desk to flash mesa pci and pcie cards so the cover was always off
05:16 PM JT-Shop: now that pc is in the other shop so I can view the cameras
05:16 PM JT-Shop: it's been off for years
05:22 PM XXCoder: makes sense for that workflow
05:32 PM * funkenjaeger1683 uploaded an image: (19KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/UyNpkwrjIRLtPfmktwrihSNw/Screenshot_2022-09-10_17-35-47.png >
05:32 PM funkenjaeger1683: I have an M6 macro for my ATC that works fine when I run it from MDI (e.g. T5 M6), but when I even __load__ a g-code file that contains M6 commands, LinuxCNC throws errors like the attached. There is a check in my tool change routine to verify air pressure for the ATC which would throw such an error, but the screenshot is a false failure because I __do__ have air pressure applied (not that that should matter until I actually
05:32 PM funkenjaeger1683: attempt to run it)
05:32 PM funkenjaeger1683: I have a vague recollection that LinuxCNC zips through g-code upon loading as a check for obvious errors, without actually running it; I'm wondering if it also passes through my M6 macro (when the g-code contains an M6 command) and causing false failures because it's not actually running the routine and the hardware-related tests within.
05:32 PM funkenjaeger1683: Thoughts?
05:36 PM xxcoder[m]: interesting. well if anyone answers on irc ill relay it
05:38 PM funkenjaeger1683: The fact that it always says "near line 0" is also not particularly helpful for debugging purposes, but that's a comparatively minor complaint 🙂
05:43 PM CaptHindsight: bridge
05:45 PM pcw-home: What happens if you disable the preview?
05:48 PM xxcoder[m]: <pcw-home> What happens if you disable the preview?
05:51 PM funkenjaeger1683: not sure how to do that exactly
05:54 PM CaptHindsight[m]: funkenjaeger#1683: https://linuxcnc.org/docs/html/gui/axis.html#axis:preview-control
06:01 PM CaptHindsight: https://forum.linuxcnc.org/18-computer/44828-remora-ethernet-nvem-cnc-board?start=380#251551  changed from stm32 to an imx RT1052
06:02 PM CaptHindsight: 600MHz beast microcontroller
06:02 PM CaptHindsight: https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/i-mx-rt-crossover-mcus/i-mx-rt1050-crossover-mcu-with-arm-cortex-m7-core:i.MX-RT1050
06:24 PM Tom_L: JT-Shop, did you get an image to work?
06:47 PM XXCoder: roycroft: yellow-tan sky here now lol
06:58 PM funkenjaeger1683: Adding (AXIS,stop) near the top of my g-code file seems to have suppressed the errors - obviously at the expense of wrecking the toolpath preview. Placing (AXIS,stop) near the top of my M6 macro seemed to have the same effect.
06:58 PM funkenjaeger1683: I tried bracketing my M6 macro with an (AXIS,hide) at the top and (AXIS,show) at the bottom and that didn't seem to work - I got the errors again
07:15 PM funkenjaeger1683: It seems that in a python-based remap, a common practice is to escape the routine when it's just doing a preview, with code like `if self.task==0:
07:15 PM funkenjaeger1683: return INTERP_OK`
07:15 PM funkenjaeger1683: Is there a way to do the same in an NGC-based remap routine?
07:20 PM funkenjaeger1683: I may have found my answer:
07:20 PM funkenjaeger1683: http://linuxcnc.org/docs/stable/html/remap/remap.html#remap:axis-preview-and-remapped-code-execution
07:22 PM xxcoder[m]: nice
07:22 PM xxcoder[m]: this is one of things I like about lcnc - good docs
07:30 PM funkenjaeger1683: That seems to have solved it - thanks CaptainHindsight (@_discord_702231000050040894:jauriarts.org) for the clue which led me to find that it was the Axis preview messing me up....
07:31 PM xxcoder[m]: pcw-home started on that comment actually
07:32 PM funkenjaeger1683: Yeah, I'm only on discord though, not sure how to give a shout-out over to irc - if you're able, please extend my gratitude...
07:33 PM xxcoder[m]: irc is getting discord text. discord isnt getting irc text at this time unfortunately
07:33 PM funkenjaeger1683: Copy. Well thank you to pcw-home also!
07:38 PM * CaptHindsight bow
07:48 PM roycroft: i got all my camping gear cleaned up and stowed away
07:48 PM roycroft: it took a long time because everything was coated with ashes
07:48 PM roycroft: and i had to clean them all off
08:02 PM Alicrow-phone: Oh, I was super confused why I was seeing messages from someone who supposedly wasn't on IRC.
08:04 PM XXCoder: anyone with [m] is on matrix or discord
08:05 PM XXCoder: irc to matrix is sorta broken so discord cant see convros here
08:05 PM XXCoder: but we get theirs lol (im on both sides so if you see xxcoder[m] its me on discord)
08:30 PM CaptHindsight: oh I thought IRC to discord direction was also down
08:35 PM XXCoder: CaptHindsight[m]: yeah irc to discord is down.
08:38 PM roycroft: i am back to printing hardware boxes
08:39 PM XXCoder: fun
08:39 PM roycroft: although everything that was in those wall cabinets is now neatly organized in the new storage boxes, i estimate that i've only made about 1/3 of what i need
08:40 PM roycroft: there are so many fasteners that were never organized
08:40 PM XXCoder: roy you ok when in shop?
08:40 PM XXCoder: air here is over 111 already
08:40 PM roycroft: as far as breathing?
08:40 PM XXCoder: tan and yellow sky. very yellow
08:41 PM roycroft: i'm doing ok as long as i'm not outside
08:41 PM roycroft: aqi is 124 here right now
08:41 PM roycroft: it was supposed to go a lot higher today
08:41 PM roycroft: so i guess we're lucky
08:41 PM roycroft: it's 508 in oakridge at the moment
08:41 PM XXCoder: not too bad then. for me 100s is bad, with my lungs issue
08:42 PM * roycroft checks how close the fire is to oakridge
08:46 PM roycroft: the fire is still a few miles out of town
08:46 PM roycroft: but the wind could blow it in very quickly
08:46 PM XXCoder: yeah wong sequence of wind and its in town
08:47 PM roycroft: even if the fire were not a danger itself, if i lived in oakridge i'd have had to evacuate with the aqi over 500
08:48 PM XXCoder: indeed
08:51 PM roycroft: https://www.arcgis.com/apps/TimeAware/index.html?appid=f7fb9fca671c476eb9c137adf6f74ee0&extent=-127.4156,41.0944,-111.7600,46.9489
08:51 PM roycroft: looks like the edge of the fire is about 10km away from oakridge
10:39 PM roycroft: it seems to be getting worse outside, but the aqi is at 127, so not much change in the last couple hours
10:39 PM roycroft: and i live pretty near the monitoring station that i'm looking at
10:40 PM roycroft: about 1.5km downwind of it
10:40 PM XXCoder: 111 here currently
10:40 PM roycroft: it's under 500 in oakridge now
10:40 PM roycroft: so i guess it's gone from "it will kill you" to "it will slowly kill you"
10:41 PM XXCoder: fun
10:41 PM XXCoder: hopefully it will go down rapidly
10:43 PM roycroft: probably not until it rains
10:43 PM roycroft: or right before it rains
10:43 PM -!- #linuxcnc mode set to +v by ChanServ
10:43 PM roycroft: when it's time to rain the wind will almost certainly shift to westerly
10:43 PM Tom_itx: https://github.com/NTULINUX/RTAI/releases/tag/v5.3.2
10:43 PM roycroft: and that will blow the smoke back east, away from here, and, eventually, away from oakridge
10:46 PM Tom_L: ^^ you heard it here first
10:50 PM XXCoder: much newer kernel with rtai?
10:51 PM Tom_L: appears so
10:51 PM Tom_L: got an email
10:51 PM roycroft: quinn just had her first stainless steel yatzee
10:51 PM XXCoder: nice indeed
10:51 PM roycroft: should i send her a congratulations card?
10:51 PM XXCoder: watching andy assembly the lock
10:53 PM Tom_L: had to reset the cmos after that build...
10:53 PM Tom_L: probably shouldn't do that much
10:53 PM XXCoder: andypugh: nice it looks effective I guess?
10:54 PM XXCoder: is it immune to shim thing?
11:40 PM Jeratan: "Only registered accounts may speak"
11:40 PM Jeratan: Pretty sure I didn't register
11:40 PM XXCoder: oh thats left over from heavy bot spam days
11:41 PM XXCoder: whats latest linuxcnc release now? as well as update that also
11:41 PM -!- #linuxcnc mode set to +o by ChanServ
11:41 PM roycroft: registered with the irc network
11:42 PM roycroft: that's not being enforced here any more?
11:42 PM roycroft: oh, i guess not
11:42 PM roycroft: we had a spambot the other day
11:42 PM XXCoder changed topic of #linuxcnc to: LinuxCNC is a linux-based open-source CNC control. | Latest release: 2.8.3 |http://www.linuxcnc.org
11:42 PM Jeratan: unless I have memory loss, i've never registered on libera
11:42 PM XXCoder changed topic of #linuxcnc to: LinuxCNC is a linux-based open-source CNC control. | Latest release: 2.8.3 | http://www.linuxcnc.org
11:42 PM -!- #linuxcnc mode set to -o by ChanServ