#linuxcnc Logs

Feb 27 2024

#linuxcnc Calendar

12:57 AM Deejay: moin
04:13 AM Tom_L: morning
04:27 AM JT-Cave: morning
06:19 AM Tom_L: 52°F high 79°F
06:50 AM lcnc-relay: <satiowadahc#0> -40. No units needed
07:25 AM * JT-Cave just got an example of adding a widget to designer to work, now to study it some
07:29 AM JT-Cave: https://github.com/jethornton/pyqt5/tree/master/Designer
07:56 AM JT-Cave: ok I've created a widget that does nothing and designer loads it so time to start my chicken day
08:22 AM lcnc-relay: <satiowadahc#0> the des_plugin.py as a symbolic link is super nice, you can change the python file and reload designer without needing to reinstall the package.
08:22 AM lcnc-relay: <satiowadahc#0> also you can import arbitrary number of components in it.
08:24 AM JT-Shop: the only problem I see with using a symbolic link is the user would need to be editing the widget files and I don't think that is a good idea
08:24 AM JT-Shop: my thought process is the user installs jet or flex and the widgets just show up in designer without them having to do anything
08:25 AM JT-Shop: however on my end the symbolic link makes sense to use
08:35 AM lcnc-relay: <satiowadahc#0> I mean I guess you could make the file directly there
08:35 AM lcnc-relay: <satiowadahc#0> The guide I followed years ago reccommended the symlink over actual file
08:36 AM JT-Cave: the important thing is I created one and it loads!
08:36 AM JT-Cave: I tend to read the internet with a grain of salt :)
08:36 AM JT-Cave: and thanks so much for getting me the example
08:38 AM lcnc-relay: <satiowadahc#0> No problem! what your doing is very close to our inhouse UI...
09:04 AM lcnc-relay: <skunkworks8841> hey - my bijur metering valves showed up!
09:04 AM lcnc-relay: <skunkworks8841> wonder if I have enough tubing...
09:05 AM lcnc-relay: <skunkworks8841> going to have to use brass to make it look cool... lol
11:16 AM alesan: Hello out of curiosity, I have questions about GCODE that are generic and not necessarily LinuxCNC centric, is there a better channel to ask or is it OK here?
11:17 AM JT-Cave: https://github.com/jethornton/pyqt5/tree/master/Designer/des/src/libdes
11:18 AM JT-Cave: satiowadahc#0 if you get a chance where do I add a property to the number widget?
11:18 AM lcnc-relay: <die_limonade> I hope this is the right place to ask. Is there a way to utilize feed per rev (G95) without an encoder/spindle index signal with a cnc lathe?
11:18 AM JT-Cave: alesan, we talk about a lot here
11:18 AM alesan: In particular I wanted to write GCODE for a milling machine and wanted to know the implications of using G41 (cutter compensation) G91 (relative coordinates) and G3 all used at the same time
11:19 AM alesan: And I wanted to make a lead-in cut of a radius smaller than the cutter compensation radius, meaning my mill is 0.5, the radius specified in the G3 ends up being 0.13, I was told this is not gonna work but what can I do? Is it true?
11:27 AM * JT-Cave wonders if these are ai questions????
11:27 AM JT-Cave: you can prob fake the rpm in hal for g95
11:29 AM Tom_L: the widget master has spoken :)
11:30 AM Roguish: JT-Cave, is that Artificial Ignorance ????
11:31 AM JT-Cave: LOL
11:31 AM Tom_L: i remember the days of... is it live or is it memorex
11:31 AM Tom_L: now, is it live or is it AI
11:32 AM Tom_L: how things change
11:34 AM alesan: What do you mean
11:34 AM JT-Cave: well my wife decided to open some doors in the house because the wind is blowing... I turned the AC OFF
11:35 AM JT-Cave: the high today is 82°F and it's gonna get warm in the house
11:35 AM alesan: Imagine I need to mill a slot into a piece of material, and I make several passes to limit tool engagement
11:35 AM Roguish: it's pathetic how the media distorts everything. nowadays the simplest automation is a 'robot' and clever programming is AI
11:36 AM alesan: However instead of going in straight into the material, I wanted to make a (small) arc to create a lead-in, which I believe is common practice
11:36 AM Roguish: alesan, I usually ramp down. either in a straight line, or in a helix
11:37 AM Roguish: plunge cuts are bitchy
11:37 AM alesan: In order for me to make a subprogram that can be called n times until all the slot has been milled, I use G91
11:37 AM alesan: Roguish, the slot is cutting through the part so I do not really need to mess with Z
11:39 AM JT-Cave: alesan, http://linuxcnc.org/docs/stable/html/gcode/g-code.html#gcode:g41-g42
11:39 AM JT-Cave: The lead in move must be at least as long as the tool radius. The lead in move can be a rapid move.
11:39 AM Tom_L: JT-Cave, roughly hte same temp here then dropping to the 20's in a day or so
11:39 AM * JT-Cave hears a nap calling his name
11:39 AM JT-Cave: tonight it cools off for a couple of days here
11:40 AM JT-Cave: now the nap is calling louder...
11:40 AM alesan: Yeah I have a straight move b4 the real lead-in arc
11:40 AM Tom_L: lunch then i'm gonna follow suit
11:41 AM alesan: Anyway I need to probably try again on the actual control
11:41 AM Tom_L: does it have to be an arc leadin?
11:42 AM Tom_L: arcs can tend to be problems especially when you're using cutter comp
11:42 AM alesan: Tom_L, nothing has to really be anything, but I though arc lead-ins into the material were considered optimal
11:42 AM Tom_L: maybe unless they don't work
11:43 AM Tom_L: an angle'd line can be just as effective
11:43 AM Tom_L: and easier to manage
11:43 AM Tom_L: no matter what plane it's in
11:44 AM Tom_L: if it's in xz or yz plane you'll want a center cutting endmill
11:44 AM alesan: Understanding why don't work is preferable to just not do it, so next time I know, but I realize there are limitations in the control that might prevent a certain operation to be performed optimally
11:45 AM alesan: I'm getting motion sickness now as I'm on the bus
11:45 AM Tom_L: alot of times with cutter comp, the arc will generate an error due to the 'undersizeness' of it
11:45 AM alesan: I will need to close the computer - sorry about that. Thanks Tom_L
12:06 PM lcnc-relay: <skunkworks8841> I can't read too long if I am in motion..
12:23 PM lcnc-relay: <skunkworks8841> marco did a nice video on ethercat.. https://www.youtube.com/watch?v=H1JEY2btwKk
12:42 PM JT-Shop: cutter comp is only useful if you have variable cutter diameters ie. you're having the cutters ground and they are not stock diameters
12:50 PM lcnc-relay: <satiowadahc#0> JT did a quick pr, I'm being pulled into another project, but it should be close.
12:52 PM lcnc-relay: <satiowadahc#0> Also if you haven't discovered Pyside2 and PyQt5 are damn near identical. and the documentation is generally valid for both here.
12:52 PM lcnc-relay: <satiowadahc#0> https://doc.qt.io/qtforpython-5/PySide2/QtWidgets/QLabel.html
12:56 PM JT-Shop: satiowadahc#0 thanks
02:43 PM lcnc-relay: <skunkworks8841> is the forum down?
02:43 PM lcnc-relay: <skunkworks8841> or just me?
02:45 PM Tom_L: seems down
02:45 PM lcnc-relay: <skunkworks8841> ok..
02:45 PM lcnc-relay: <skunkworks8841> one page came up - but really really slow
02:47 PM XXCoder: not loading very fast here
02:49 PM XXCoder: yeah loaded but took minutes to
02:50 PM XXCoder: clicking random forum post takes around 15 seconds? quite slow. normally something like less than a second
02:53 PM lcnc-relay: <skunkworks8841> seems to be back up
02:54 PM Tom_L: slow
02:55 PM lcnc-relay: <skunkworks8841> yes - w
02:56 PM lcnc-relay: <skunkworks8841> where would be the best place to get info on the Mesa Configuration Tool 2?
02:56 PM lcnc-relay: <skunkworks8841> Just here?
02:56 PM lcnc-relay: <skunkworks8841> https://gnipsel.com/linuxcnc/mesact/index.html
02:56 PM Tom_L: https://www.gnipsel.com/linuxcnc/mesact/index.html
02:56 PM Tom_L: yes
02:56 PM Tom_L: or ask here
02:57 PM Tom_L: https://github.com/jethornton/mesact
02:59 PM lcnc-relay: <skunkworks8841> thanks
03:41 PM Connor1: Hey Guys, I'm using a 7i76E Mesa card. Hooking up my VFD to it. Looks like I can get the amp usage out of the VFD as a analog singal and can take that into one of the 0-3 Input pins on the mesa card and let it read the voltage. But, to do this, it looks like I need to tie the Analog Common (which is also used for the 0-10v POT) to the mesa common. Anyone see any issue with this?
03:43 PM Connor1 is now known as Connor
03:50 PM 040AAEAAJ: You can still keep the field power (24V) section isolated from the 5V (step/dir/encoder etc) section
03:51 PM Connor: 040AAEAAJ: You talking to me?
03:52 PM 040AAEAAJ: yes
03:52 PM 040AAEAAJ: bbl
04:08 PM CaptHindsight: 50 deg F temp drop starting now
04:09 PM Tom_L: same here
04:09 PM Tom_L: windy from the N
04:09 PM JT-Shop: windy here temp 79
04:10 PM Tom_L: 22 by 7am
04:10 PM Tom_L: 59
04:11 PM CaptHindsight: only 31 F here tomorrow
04:11 PM CaptHindsight: tornado watch tonight
04:11 PM Tom_L: starts off at 30 and goes downhill from there
04:12 PM JT-Shop: https://youtu.be/zE-cQlUQhSI?list=PLbGC44mjwqrcH9uRb7E3DZvvR98Q_qIEv&t=877
04:12 PM CaptHindsight: are you guys warming up again by the weekend?
04:12 PM JT-Shop: can you say get a larger end mill for clearance
04:12 PM Tom_L: red flag warning also
04:12 PM Tom_L: (burn)
04:13 PM Tom_L: capn, yup
04:14 PM Tom_L: the bit isn't going straight
04:14 PM JT-Shop: nope
04:14 PM Tom_L: but, it's going somewhere :)
04:14 PM JT-Shop: LOL
04:14 PM XXCoder: uh
04:15 PM XXCoder: drilling only a part yeah it'd wander off
04:15 PM JT-Shop: should have used an end mill to put clearance for the bit
04:15 PM XXCoder: I guess it wouldnt matter if he planned to follow up with endmill or boring tool
04:15 PM XXCoder: but yeah that would be better method
04:15 PM JT-Shop: and he didn't
04:15 PM Tom_L: the're boat builders, not machinists
04:15 PM JT-Shop: LOL
04:15 PM JT-Shop: he's machinist I think
04:16 PM Tom_L: should know better
04:16 PM XXCoder: tols probably is in whole mms
04:16 PM JT-Shop: yup
04:16 PM XXCoder: agreed on knowing better
04:17 PM Tom_L: is that one tapped too? haven't gotten that far in the vid
04:17 PM Tom_L: that will be even more fun if so
04:17 PM XXCoder: think it was. bolt pattern of circle
04:18 PM XXCoder: checked again yep
04:18 PM XXCoder: he dont show it, byt I bet it was a tough one!
04:18 PM Tom_L: maybe why he didn't show it
04:19 PM lcnc-relay: <xxcodery> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/nQfdIRpRCCHCsPXNfEVxmoJp
04:19 PM JT-Shop: https://www.youtube.com/@windyhillfoundry5940/videos
04:19 PM Tom_L: i saw the end result
04:19 PM XXCoder: looks really ugly up close.
04:20 PM XXCoder: I have completly no idea how he did it
04:20 PM XXCoder: maybe tap from other side
04:20 PM XXCoder: really ugly anyway
04:20 PM Tom_L: would be my advise if it was flatter
04:20 PM JT-Shop: yup the two half holes he tapped from the other side
04:21 PM Tom_L: even drilling a small pilot thru would have been better
04:21 PM Tom_L: EM relief probably the best
04:22 PM XXCoder: yeah pilot, drill, then either em plunge or boring tool
04:22 PM Tom_L: finish the hole from the other side
04:22 PM JT-Shop: I would have just used a slightly larger end mill to spot face it then spotting drill and tap drill
04:23 PM Tom_L: yeah
04:23 PM XXCoder: yeah bunch of choices
04:23 PM Tom_L: there are nearly always more than one way but usually one stands out as better
04:23 PM XXCoder: yours is probably easy if hole isnt very precise
04:24 PM XXCoder: I suspect thread look ugly because hole isnt stright
04:25 PM Tom_L: wind is really picking up here
04:26 PM XXCoder: little bit extra cold here. 40s f average
04:26 PM XXCoder: after a week of decent 50s f
05:00 PM solarwind: https://www.youtube.com/watch?v=H1JEY2btwKk
05:00 PM solarwind: [ Marco Reps - LinuxCNC EtherCAT for reals this time - New Control Cabinet and Leadshine Servos ]
05:11 PM roycroft: it's cooled off here as well
05:11 PM solarwind: leadshine EL8 really is on a whole new level
05:59 PM jdh: that might be overstating it.
07:33 PM lcnc-relay: <skunkworks8841> Work scrapped a machine which had a ton of medium sized servos and drives.. I am about 60% sure they are ethercat. I can't think of the company.. But someone I recognized..
11:09 PM mrec_: Does anyone have experience with Mitsubishi mds-b-svj2-20 servo drives?
11:16 PM mrec_: I guess it should be possible to build a step/dir <-> mds-b-svj2-20 protocol translator
11:27 PM fdarling: mrec_: http://yurtaev.com/yssc2p.html
11:28 PM fdarling: you can use such a LinuxCNC compatible PCI card to talk to those servo drives over the proprietary serial protocol
11:41 PM mrec_: thanks, but I saw that earlier already
11:45 PM mrec_: I'd prefer to use a mesa ethernet card and add a companion PCB to it for servo communication
11:45 PM fdarling: mrec_: then you're going to have to create your own hardware and reverse engineer that protocol like the Ukrainian guy did...
11:46 PM fdarling: buying that card would be a lot easier, then use a Mesa card for I/O if you like
11:47 PM fdarling: you could also use Mesa 8i20 3-phase servo amplifiers to directly control the servos, and theoretically get the Mesa card to talk to the Mitsubishi serial encoders
11:48 PM fdarling: Mesa supports Fanuc, I do not believe they currently support Mitsubishi, you'd have to hack on the VHDL yourself
11:48 PM mrec_: I have no problem building my own hardware
11:48 PM mrec_: I also have a couple of FPGAs here
11:49 PM fdarling: mrec_: I don't know about the servo drive protocol, but the Mitsubishi serial encoder protocol I have reverse engineered and it's just RS-422 UART (or maybe 485, can't remember...)
11:49 PM fdarling: Fanuc uses a non-standard serial interface, not 8 bit bytes and such
11:50 PM mrec_: I hope that the main controller of that meldas 60 based machine still somewhat works, the owner of that machine told me I can use and do whatever I want with that machine
11:50 PM fdarling: mrec_: https://www.cncwiki.org/index.php?title=Mitsubishi_OSE104_Serial_Encoders#Protocol (I made that website)
11:50 PM mrec_: I should just help him occasionally with some parts on that particular machine
11:52 PM mrec_: a service guy took the card 6 years ago, the owner said he'll get it back this week (as is)
11:52 PM mrec_: first I'll hope that it still somewhat works and that I can reverse engineer the protocol