#linuxcnc Logs

Mar 23 2019

#linuxcnc Calendar

12:22 AM flyback: http://cowlark.com/fluxengine/
12:35 AM XXCoder: flyback: great for retro computing people
12:36 AM fdarling: I was looking for something like that! I actually own a KryoFlux, but it isn't as useful because while you can read the floppy disks, you can't write them. They are also aren't completely open in that they want you to pay if you're using it commercially and such
12:37 AM fdarling: there was a rare model of USB floppy drive that used a full sized standard 3.5" floppy drive, so if the drive died you could replace it. This is advantageous over the more common USB "laptop floppy drives" that are built to very low standard of quality
12:38 AM XXCoder: there is few sdcard "floppy drives" out there also
12:38 AM XXCoder: but specific to system
12:39 AM fdarling: are you talking about floppy drive emulators?
12:42 AM XXCoder: yeah
12:42 AM XXCoder: can "insert" and "remove" disks which is pretty cool. saw one with 99 drive support
12:42 AM XXCoder: *99 disks
12:47 AM XXCoder: https://www.amazon.com/Floppy-Drive-Emulator-Emulator-Keep-Install/dp/B0083Z29JO
12:51 AM XXCoder: that project is great for reading old disks though so quite useful
12:53 AM gloops: manflu strikes, im dying
12:55 AM XXCoder: aww
12:55 AM XXCoder: maybe take some estrogen it might help you get less man so manflu goes away faster
12:56 AM gloops: its the side effects im dubious about
12:56 AM gloops: had this 2 days i thought (hoped) i was gonna get up this morning feeling better, but no
12:58 AM gloops: i wanted to try some compound box joints today, difficult to focus on stuff with a head like this
01:03 AM XXCoder: lol
01:04 AM XXCoder: yeah it sucks trying to work when sick :(
03:47 AM Deejay: moin
05:08 AM jthornton: morning
05:09 AM XXCoder: yo
05:24 AM jthornton: https://youtu.be/iyUM1izGroI
05:24 AM XXCoder: nice to see it on actual machine
05:24 AM XXCoder: pretty cool
05:25 AM jthornton: thanks
05:25 AM jthornton: that's hazzy-m machine
05:25 AM XXCoder: i want to play around with qtpyvcp
05:25 AM XXCoder: but still bad will problem
06:55 AM Tom_L: morning
07:01 AM jthornton: morning
07:01 AM Tom_L: nice screen setup
07:08 AM jthornton: thanks, it's Andy's fault lol
07:22 AM gloops: ive got stupid manflu, im still gonna have a go at some compound box joints over the weekend, and knock up some bee hive frames
07:45 AM jthornton: the tapered one?
08:05 AM gloops: jthornton - yeah gonna make some of those wbc hives, i need to make a slight angled jig for the compound joints
08:06 AM gloops: they are worth making going by some of the prices online
08:07 AM jthornton: sounds cool, when you get it setup take a photo
08:10 AM gloops: i will do yeah
08:26 AM jymmm: jthornton: Have you ever worked on a way to package-by-weight granules, like powdered laundry soap?
08:47 AM jthornton: no, but I've designed and built a dozen or so weight pack lines for nails
08:57 AM abrock: hi
09:01 AM abrock: I have a Sino SDS6V-3achsis DRO connected to my mill and I'd like to connect it to linuxcnc, does someone have experience / knows a tutorial?
09:06 AM jymmm: jthornton: That might work or at least get me started. So how to you portion out nails till you get the desired weight?
09:12 AM jthornton: vibratory transfer trays and plc and load cell\
09:15 AM jymmm: jthornton: So the plc "slows down" the vibration transfer when getting close to the desired weight?
09:21 AM jthornton: not usually if you have a bulk and fine feed you turn off the bulk when you get close and just use the fine to get to desired weight
09:24 AM jymmm: jthornton: Ok. I'm going to guess you were filling boxes or buckets. I'm trying to figure out how to fill bags that are cut/sealed to length from a bulk roll, and I'm drawing a blank.
09:27 AM jthornton: google it
09:33 AM gloops: abrock linear encoders?
09:39 AM abrock: gloops: yes
09:41 AM gloops: definitely people in here who can assist, just dropping on them when theyre active
09:41 AM gloops: andypugh is one
11:03 AM abrock: I found that my linear encoder display unit has a RS232 output, can I use a RS232 PCI card to connect that?
11:10 AM fragalot: 'sup
12:47 PM PL7icnc: Evening all from DE
12:48 PM PL7icnc: gloops, Mr are you here
01:54 PM gloops: looks like you might get the brexit delay you were hoping for fragalot
02:04 PM pink_vampire: hi
02:05 PM * jymmm pats pink_vampire on the head =)
02:07 PM pink_vampire: O_o
02:07 PM pink_vampire: lol
02:08 PM jymmm: pink_vampire: hello btw =)
02:20 PM fragalot: gloops: ^_^
02:25 PM jymmm: Loetmichel: You dont have a brown truck do you??? LMAO (dumbass) https://youtu.be/gM5fKw8QOHw?t=622
02:27 PM Loetmichel: jymmm: nope, 2 station wagons: a BMW 525i and an Opel Omega 2,5 DTI
02:27 PM Loetmichel: at the moment
02:28 PM Loetmichel: probably never have a pickup truck because they are insanely expensive here in germany.
02:28 PM jymmm: ah
02:28 PM Loetmichel: also i am not dumb enough to park on the beach.
02:29 PM jymmm: https://www.youtube.com/watch?v=a6UsUAN4_Vo
02:32 PM Loetmichel: alos: my diesel isnt running coal.. that would be problematic with german police. pretty harsh emissions regulations here ;)
02:32 PM Loetmichel: also
03:02 PM XXCoder: jymmm: looks like guy got tagged by certain very strange effect with mud. if right quake hits it liquidifies for short time
03:03 PM XXCoder: boom sank
03:32 PM jymmm: XXCoder: NAh, I don't think that diabotical.
05:00 PM Deejay: gn8
06:47 PM Elmo40: that Brexit thing going to happen one of these years? so many delays.
06:56 PM XXCoder: LOL just got the super cheap mic. its misaligned and pins was never finished, no heat harden, no grinding
06:57 PM XXCoder: in other words, its a c vise heh
06:57 PM fdarling: does anyone know if it's possible to make the "E-Stop" and "Power On" buttons start a sequence that ends with the power being turned on? rather than instantly toggling it?
06:58 PM fdarling: I want to do a reset procedure to clear alarms and such when going out of E-stop
07:00 PM XXCoder: hey, hopefully someone will know
07:04 PM fdarling: I can't imagine that I'm the only one that would need something like that
07:08 PM XXCoder: not too likely
07:09 PM jymmm: sounds like the job of a safety relay
07:17 PM jdh: nah, plc
07:18 PM fdarling: I don't see how a PLC would help, the idea is that when the user presses a button to get out of E-stop, it shouldn't immediately take effect
07:18 PM fdarling: it would at least need a time delay before actually completing, ideally it would be triggered by the completion of some sequence of events wired up in HAL
07:23 PM jdh: button starts a timer, does whatever, resets estop after timer
07:23 PM fdarling: so effectively I'd be creating an "estop_release_req" signal or something
07:24 PM fdarling: I was hoping that the user interface was already triggering such a "request" signal rather than directly toggling e-stop
07:24 PM jdh: machine shouldn't restart on e-stop release until start button is pressed. anyway
07:24 PM fdarling: jdh: sure, granted, but still... the start button should initiate startup, but not mark it as completed, that should happen later
07:25 PM fdarling: more like a tool change, you know?
07:25 PM jdh: sounds perfect for classicladder
07:26 PM fdarling: the issue isn't wiring the logic, the issue is what are you triggering off of
07:26 PM fdarling: I could make my own hacked in button, but like I said I wanted to know if LinuxCNC already had a facility for this
07:27 PM fdarling: just like M6 T3 initiates a tool request which may or may not actuate an ATC, make a GUI popup, do nothing, etc...
07:27 PM fdarling: is there am "e-stop release" signal that is normally shorted to "e-stop released"? Or do I indeed have to come up with one myself?
07:37 PM andypugh: iocontrol.0.user-enable-in
07:37 PM andypugh: http://linuxcnc.org/docs/2.7/html/man/man1/iocontrol.1.html
07:37 PM andypugh: Sorry, misremembered, emc-enable-in
07:38 PM andypugh: I think you need to watch iocontrol.0.user-request-enable, then do your stuff, and asser-emc-enable-in
07:42 PM andypugh: Yes, I just tested it, and that works.
07:43 PM andypugh: So trigger your sequence of events from iocontrol.0.user-request-enable and then set iocontrol.0.emc-enable-in when everything is ready to go.
07:45 PM XXCoder: hey andypugh remember my link for 3 buck mic? its utter crap lol
07:46 PM fdarling: andypugh: thank you! I'm going to try and wire that up in HAL when I'm back at the shop
07:46 PM andypugh: Yes, I gathered that from reading above
07:47 PM fdarling: andypugh: there is "emergency stop" button and there is also the "power button", I take it the signal you are describing has to do with the "power button", right?
07:47 PM XXCoder: i dont think i can fix it lol
07:47 PM andypugh: fdarling: No, the e-stop release button
07:47 PM fdarling: andypugh: okay, so what does the power button do besides enable the analog servos outputs?
07:48 PM andypugh: I think that’s about it.
07:48 PM andypugh: I was just over in the VM looking to see which HAL pins change with that button
07:49 PM fdarling: andypugh: motion.enable and motion.motion-enabled maybe?
07:49 PM fdarling: andypugh: I am wondering if there is a "motion enable request" signal that can also be hooked
07:50 PM andypugh: halui.machine.is-on
07:50 PM andypugh: and also motion.motion-enabled
07:51 PM fdarling: andypugh: halui.machine.off and halui.machine.on... are those user interface commands? or acknowledgments of completion? (I assume their are commands)
07:52 PM fdarling: *they are, jeez I must be tired
07:52 PM andypugh: It is probably worth looking through the docs of motion, halui and iocontrol to see what pins look likely, then watch them in a sim or your real machine with halmeter.
07:52 PM andypugh: http://linuxcnc.org/docs/2.7/html/man/man1/halui.1.html
07:53 PM andypugh: (They are commands to the system, you set them to achive the result)
07:53 PM fdarling: documentation that says "halui.machine.off: bit in; pin for setting machine Off" isn't really describing the pin any further ;-)
07:53 PM andypugh: what more is there to say?
07:53 PM andypugh: It’s a bit type pin for turning the machine off :-)
07:54 PM fdarling: so it's only effect is to make halui.machine.is-on change?
07:54 PM andypugh: Well, it turns the machine onff too
07:54 PM XXCoder: onff is that new quantium state, both on and off?
07:55 PM fdarling: only because other components are listening to halui.machine.is-on though, right? there isn't any other internal logic in halui besides piping it right back out?
07:55 PM andypugh: No, machine-is-on is a tell-tale
07:55 PM andypugh: That tells you the status regardless of what cause the machine to turn on or off.
07:56 PM andypugh: Halui is basically a user-interface, like Axis is, but one that does everything using HAL pins rather than a GUI
07:56 PM fdarling: andypugh: so halui doesn't have any inputs for the "machine on" state, only for requesting that it be turned on/off?
07:56 PM andypugh: (you can run LinuxCNC with halui as the only UI, but it’s tedious)
07:56 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/thread_mills/Mill_Holder_Steel1.jpg
07:57 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/thread_mills/Mill_Holder_Steel2.jpg
07:57 PM Tom_L: seems to run steel ok
07:57 PM andypugh: Yes, setting that pin is equivalent to pressing the GUI button in axis
07:57 PM Tom_L: andypugh that tool change thing happens every time on 2.8
07:57 PM fdarling: andypugh: wait a minute, is halui used by the Axis GUI? or is it a lighter weight alternative?
07:58 PM Tom_L: was a surprise the first time...
07:58 PM andypugh: Tom_L: Serves you right for trying to use run-from-line ;-)
07:58 PM Tom_L: trying to get all the tools set and still get a good part
07:58 PM andypugh: fdarling: It’s an alternative UI, that can run in parallel with the other UIs
07:58 PM XXCoder: bit ripples inside but quite good
07:59 PM Tom_L: yeah a little
07:59 PM andypugh: (on a lower level both Axis (or other GUI) and halui and the Python interface and linxcncrsh send NML messages to the underlying system saying things like “turn on” or “make a straight traverse move”
08:01 PM andypugh: fdarling: You might not have heard of linuxcncrsh, but it lets you send commands via a network connection: http://linuxcnc.org/docs/2.7/html/man/man1/linuxcncrsh.1.html
08:01 PM Tom_L: XXCoder a far better cry than the old sherline
08:02 PM Tom_L: andypugh why would run from line be different from 2.7 to 2.8?
08:02 PM andypugh: I blame the developers
08:02 PM Tom_L: fair nuf
08:02 PM Tom_L: :)
08:02 PM XXCoder: tom did you read about mic i ordered and i just got it? lol
08:02 PM andypugh: (Maybe someont tried to make it work better?)
08:02 PM Tom_L: XXCoder, no
08:03 PM XXCoder: its amazing bad lol
08:03 PM Tom_L: cheap one?
08:03 PM fdarling: Tom_L: time to do a regression test...
08:03 PM XXCoder: tips is not hardened and not even ground
08:04 PM Tom_L: fdarling did you read what it was doing?
08:04 PM XXCoder: it has surpising heft. too bad I dont own any grinder
08:04 PM XXCoder: or i'd try ground tips
08:04 PM Tom_L: XXCoder i'd like to get a nice depth mic, the only one i have is quite old but it works
08:04 PM andypugh: Tom_L: Raise a bug tracker?
08:05 PM Tom_L: never done that
08:05 PM XXCoder: i dont own one but use shop one once a while
08:05 PM andypugh: Tom_L: You can do it here: https://github.com/LinuxCNC/linuxcnc/issues
08:06 PM fdarling: Tom_L: no I didn't read what was happening, though I do remember recently someone was having issues with 2.8 vs 2.7 on the syntax of a file or something
08:07 PM fdarling: Tom_L: it was complaining about a file in 2.8 that worked in 2.7
08:07 PM Tom_L: fdarling, http://tom-itx.no-ip.biz:81/~tom-itx/irc/logs/%23linuxcnc-devel/2019-03-23.html
08:07 PM Tom_L: i got the file issue fixed
08:08 PM Tom_L: config was pointing to the wrong version of toplevel.py
08:09 PM Tom_L: they are different from 2.7 to 2.8
08:10 PM fdarling: Tom_L: that doesn't sound like very good behavior, running through multiple tools to get to the one you really need to start machining again...
08:10 PM Tom_L: no motion occurs but it does cycle thru them up to the one i selected
08:15 PM andypugh: So, I am about to sell a dividing head that is converted to motor operation on that eBay. Should I include the stepper driver with the head?
08:16 PM Tom_L: if you don't need it for something else :)
08:16 PM andypugh: https://photos.app.goo.gl/v9D8sjY3U9QvSytWA
08:16 PM andypugh: Well, i don’t really use steppers.
08:17 PM andypugh: In fact I bought that stepper motor specifically so I could take the little servo motor off.
08:17 PM Tom_L: i'd probably pull the stepper / driver and sell the head
08:17 PM andypugh: Though in testing just now I have found that the stepper works better than the servo ever did…
08:18 PM andypugh: I no longer have the handle and dividing plates, so it is very much no use without the motor.
08:18 PM Tom_L: on the other hand, if it's a complete working unit why separate it?
08:19 PM andypugh: Indeed. In fact I am considering adding an Arduino, LCD screen, some buttons…
08:19 PM Tom_L: add an arduino and you'll increase your audience
08:20 PM andypugh: But I doubt I would get the payback on the time expended.
08:20 PM Tom_L: meh, if i counted that on everything i did ....
08:21 PM andypugh: Well, yes, but this was meant to go on eBay tomorrow
08:21 PM Tom_L: not everybody would be able to figure it out and make it work
08:21 PM Tom_L: you'd better get busy then :)
08:24 PM andypugh: I guess that anyone buying a Division Master to go with it would not need the driver: https://divisionmaster.co.uk/divisionmaster.html
08:25 PM andypugh: Crikey! https://medw.co.uk/wiki/index.php?page=DivisionMaster
08:26 PM andypugh: An Arduino could undercut that by a margin!
08:28 PM andypugh: You might like to speculate how my installation can be some much shorter than this one: https://medw.co.uk/fisheye/image/1826?highlight=BS0
11:34 PM XXCoder: Tom_L: remember the non-ground mic? I "ground" it using sandpaper lol
11:34 PM XXCoder: it seem to have helped as it now lines up at zero, has no major burrs and measure seems ok
11:34 PM XXCoder: i used mic to keep sandpaper very flat to face
11:35 PM XXCoder: so it was pretty even. good enough for home! lol
11:35 PM Tom_L: heh
11:35 PM XXCoder: hey its 3 bucks and i took pictures before in order to complain
11:36 PM Tom_L: i doubt you could get it certified
11:36 PM XXCoder: box it come in was shattered by really bad packaging
11:37 PM XXCoder: certification guy looking at my new mic: https://www.youtube.com/watch?v=n2ZpsbGr7s8
11:38 PM XXCoder: other 2 guys is coworker and boss
11:54 PM XXCoder: wow. https://www.trbimg.com/img-5bb6c01c/turbine/la-1538703381-5j1noc580f-snap-image
11:54 PM XXCoder: he died last year