#linuxcnc Logs
Oct 03 2023
#linuxcnc Calendar
04:51 AM JT-Cave: morning
05:06 AM travis_farmer: Morning :-)
07:06 AM rigid: did anyone in here ever get NML via network to work at any time? I got it setup without any error messages but the server seems to ignore every NML command sent by the client. Besides single-stepping through client & server code, I'm pretty out of answers :-(
07:07 AM rigid: here's the debug output + configurations I use for server & client: https://pastebin.com/ER904GUq
07:09 AM rigid: any hint is highly appreciated. There are a lot of things I don't understand. (e.g. why is the emcStatus channel W only for the emc process, and not RW for emcsvr?)
08:58 AM JT-Cave: I doubt anyone here has messed with that but I might be wrong... maybe the devel channel?
08:58 AM JT-Cave: pcw---home, can you hot plug smart serial cards?
09:01 AM pcw---home: You can but if LinuxCNC is running you need to stop/start sserial to get the sserial card running again
09:02 AM pcw---home: plus you must restart LinuxCNC to log in new cards
09:02 AM JT-Cave: ok thanks
09:02 AM JT-Cave: just trying to get the pin names for the cards
09:16 AM JT-Cave: pcw---home, I just downloaded the manual for the 7i70 and it says there is a W12 and W13 but I don't see them on my 7i70, have they been removed?
09:18 AM pcw---home: Yes, they were removed on the latest version (I'll update the manual)
09:18 AM JT-Cave: thanks
09:36 AM JT-Cave: pcw---home, on the 7i70 if CR36 (red led) never goes off what could be the problem?
09:37 AM pcw---home: no communications
09:37 AM travis_farmer: thermo-nuculer meltdown, run before it is too late ;-) ...dang, PCW was too quick... ;-)
09:38 AM pcw---home: Red means fault, (usually watchdog)
09:39 AM pcw---home: so you always get red when first powered up until regular (servo thread) access starts
09:42 AM JT-Cave: https://paste.debian.net/1293898/
09:42 AM JT-Cave: anything in there?
09:43 AM pcw---home: rtapi_app: caught signal 11 - dumping core !!
09:43 AM JT-Cave: yeah that didn't look good
09:43 AM travis_farmer: same thing caught my eye
09:43 AM JT-Cave: that's a debian 11 pc
09:44 AM JT-Cave: on this pc I get 5i25 not found and google suggests that the 3.3v may be low...
09:44 AM pcw---home: So thats a second 7I77 on a 5I25 7i77x2 setup?
09:46 AM pcw---home: Yes, not found is commonly low 3.3V or dirty PCI fingers/slot contacts
09:48 AM JT-Cave: just one 7i77 and it's plugged into P2
09:49 AM JT-Cave: yes 5i25 7i77x2
09:58 AM Guest53: I am considering using LinuxCNC for a desktop (3018) CNC machine. The machine uses a USB interface. Looking at the documentation for LinuxCNC, I see multiple references to communication via parallel port, is USB communication accepted? I believe the USB connection is actually using a USB to serial conversion.
09:58 AM JT-Shop: USB is not real time so can't be used
10:00 AM Guest53: Thank you, that is disappointing. I am able to use my machine via Windows, but have been unsuccessful getting it to work via Linux Mint due to the USB to serial conversion.
10:02 AM JT-Shop: drives like the smooth stepper don't use real time communication to the controller so USB works for that
10:34 AM JT-Shop: hmm I wish I had a std bracket for a 6i25...
10:36 AM CaptHindsight: Guest53: https://www.fpga4fun.com/CNC5.html buffered USB motion controllers typically only have data flowing in one direction
10:38 AM CaptHindsight: Guest53: LCNC supports encoders for feedback to the motion control, http://linuxcnc.org/docs/2.7/html/code/LinuxCNC-block-diagram-small.png
10:40 AM CaptHindsight: LCNC can monitor the machines actual position and modify the motion commands in real time
10:40 AM -!- #linuxcnc mode set to +v by ChanServ
10:41 AM CaptHindsight: ah he left, nevermind
10:42 AM JT-Shop: hmm the 6i25 looks better on this pc... onward I go
10:51 AM -!- #linuxcnc mode set to +v by ChanServ
10:59 AM JT-Shop: pcw---home, https://paste.debian.net/1293910/ any thoughts on why plugging in a 7i77 makes a difference?
11:01 AM pcw---home: Is that with a 6I25?
11:04 AM JT-Cave: yes
11:07 AM pcw---home: so less likely hardware related
11:07 AM pcw---home: Does it only happen if the 7I77 is connected to the second connector?
11:08 AM JT-Cave: I'll have to test both P2 and P3 after lunch but that was connected to P3
11:09 AM pcw---home: strange, what LinuxCNC version?
11:10 AM JT-Cave: 2.9 I "think"
11:11 AM pcw---home: Sounds like its sserial related (though I don't thing there have been many significant changes in sserial in 2.9)
11:12 AM pcw---home: (2.10 has some changes)
11:12 AM JT-Cave: I did have a 7i70 connected and the red light never went out
11:12 AM pcw---home: It looks like it never got to the 7I70
11:13 AM pcw---home: (and if you just load the driver, the red light will remain on until you start the servo thread)
11:13 AM JT-Cave: ah ok
11:15 AM pcw---home: Maybe some meta-problem, I have not heard of any similar issues with 5I25/6I25/sserial
11:42 AM -!- #linuxcnc mode set to +v by ChanServ
11:47 AM -!- #linuxcnc mode set to +v by ChanServ
12:58 PM -!- #linuxcnc mode set to +v by ChanServ
02:58 PM IAmTheRealBeef is now known as Beef
02:59 PM Beef: it looks like Grotius is back, that's a bit of a relief. This trajectory planner stuff really is kind of overwhelming by yourself - it's almost worth it to put together a team for this kind of thing if I'm being honest
03:14 PM solarwind: https://www.youtube.com/watch?v=zvKG5dgUHNw OOOF that's a lot of chatter on that insert drill
03:15 PM XXCoder: yeah not looking for it in 43 min video lol
03:15 PM solarwind: https://youtu.be/zvKG5dgUHNw?si=uUJPhXLqgNYHVolX&t=456
03:15 PM XXCoder: looking
03:16 PM XXCoder: ow
03:16 PM XXCoder: tool abuse
03:17 PM XXCoder: you can see it in chips
03:17 PM solarwind: It looks like he didn't even align the workpiece properly
03:18 PM XXCoder: well doesnt really matter if they plan to expand bore anyway
03:20 PM -!- #linuxcnc mode set to +v by ChanServ
03:21 PM solarwind: Yeah but it's like an itch you can't scratch
03:21 PM solarwind: alright he's finally turning the outside
03:33 PM solarwind: CaptHindsight I want to put an encoder on my vertex rotary tables. Any suggestions?
03:34 PM solarwind: Don't need a precision dividing head when you have a good encoder and servo on a well-built rotary table
03:36 PM solarwind: I'm contemplating a linear magnetic encoder, but not sure how I'd match the ends together and maintain the same precision. One option is to have two tracks in parallel such that there is a continuous strip beside the discontinuity and switch encoders when you approach that area
03:36 PM solarwind: Shouldn't be too difficult and the logic is pretty simple to implement with a microcontroller
03:39 PM -!- #linuxcnc mode set to +v by ChanServ
03:40 PM Rab: solarwind, if you're going to switch between two encoders, you might as well put them 180 degrees out of phase and use a single strip.
03:40 PM Rab: Well, 180 degrees out of alignment, not phase.
03:40 PM solarwind: Rab brilliant
03:41 PM solarwind: wow never thought about it that way
03:48 PM travis_farmer: need some help on Discord, trying to figure out what Willbert Valeroyant is doing... i think his connections are all wrong...
03:50 PM Unterhausen: he needs to swap all his wires end for end
03:53 PM solarwind: LOL I know, I just had to forward that message hahaha
03:55 PM Rab: solarwind, would you use absolute or incremental encoders?
03:56 PM solarwind: Rab this is what I was going to prototype with: https://ams.com/en/as5311
03:56 PM solarwind: It's a 12 bit linear incremental sensor
03:56 PM solarwind: It's capable of < 0.5µm resolution
03:57 PM Rab: How will you be sensing home?
03:57 PM solarwind: Microcontroller will do the signal conditioning
03:57 PM solarwind: I'll just have a button for manual zero/homing
04:00 PM Unterhausen: snitch
05:09 PM Unterhaus_ is now known as Unterhausen