#linuxcnc Logs

Feb 27 2018

#linuxcnc Calendar

12:45 AM IchGucksLive: hi all from deep freeze
12:48 AM fragalot: mornin'
12:59 AM IchGucksLive: off to school
01:58 AM Loetmichel: *brrrr* -10°C said the car this morning. had to go on side roads because of an accident on the highway. fully blocked. 60min of sitting in the car instead of the usual 12min... boss wasnt amused. :-(
02:17 AM Deejay: moin
03:52 AM RyanS: if my mill spindle has tapered bearings and a clamping nut, am I able to replace bearings without a press and dies?
03:56 AM gonzo__: you may want to post the make etc, in case someone here knows it
03:57 AM RyanS: Optimum BF30
04:09 AM gonzo__ is now known as gonzo_
04:49 AM jthornton: morning
04:52 AM XXCoder: hey
04:52 AM XXCoder: new clicksprint video!!
04:52 AM XXCoder: too bad im too tired to watch it.
05:00 AM jthornton: dang another round of rain coming tonight
05:13 AM XXCoder: fun
05:48 AM Tom_L: morning
05:49 AM jthornton: morning
05:58 AM Tom_L: 42°F, gonna be a nice day today
06:01 AM Deejay: utf8 fail
06:02 AM jthornton: works for me
06:02 AM Deejay: fails for me because its not utf8 encoded :(
06:04 AM enleth: Deejay: sure it is
06:04 AM Deejay: nope, it is not
06:05 AM Loetmichel: Deejay_ is mine? 19°C at my desk... time to kick the boss to close the door behind him.
06:06 AM Deejay: Loetmichel, yours works fine
06:06 AM Deejay: but Tom_L fails every time :/
06:06 AM enleth: enleth@panzerbook ~ $ xxd
06:06 AM enleth: 42°
06:06 AM enleth: 00000000: 3432 c2b0 0a
06:06 AM enleth: (paste, enter, C-d)
06:06 AM Loetmichel: funny thing is that my irc client shows both versions correctly
06:06 AM Deejay: enleth, your 42° is fine too
06:07 AM enleth: OK, so maybe my screen/konsole combo sanitized it, whatever it was when it came over the wire
06:07 AM Deejay: but tom_l's is 42<question mark>F
06:07 AM enleth: is that a regular question mark or a funny unicode thingy question mark?
06:08 AM Deejay: funny ;)
06:08 AM enleth: copy it and paste into xxd
06:09 AM Deejay: how works that?
06:09 AM Deejay: if i paste it, no ouput...
06:09 AM Deejay: output
06:09 AM enleth: enter, C-d
06:09 AM enleth: it only starts converting on EOF
06:09 AM Deejay: nothing happens
06:09 AM Deejay: deejay@daniel:~$ xxd
06:09 AM Deejay: 42�F
06:09 AM Deejay: ^C
06:09 AM Deejay: deejay@daniel:~$
06:10 AM enleth: C-d, not C-c
06:10 AM Deejay: whats that?
06:10 AM enleth: Control-d
06:10 AM Deejay: trying...
06:10 AM enleth: sends EOF character
06:11 AM enleth: (C-c sends SIGKILL)
06:11 AM Deejay: 00000000: 3432 efbf bd46 0a 42...F.
06:12 AM enleth: eh, it displayed the replacement character and then copied *that*
06:12 AM Deejay: working version of your 42°F is 00000000: 3432 c2b0 460a 42..F.
06:13 AM enleth: ok, no idea what happened, perhaps Konsole is more resitant to weird unicode than what you use
06:13 AM Deejay: yeah, because its not uft8.
06:13 AM Deejay: your version is one character more
06:14 AM Deejay: because the degree is utf8-encoded
06:14 AM enleth: one character more than what?
06:14 AM enleth: didn't you mean to say one *byte* more?
06:14 AM enleth: it is one character
06:15 AM Deejay: yes, right, i meant byte
06:15 AM enleth: the "efbfbd" sequence is the Unicode "replacement character"
06:15 AM enleth: it's not whatever the degree was
06:15 AM Deejay: huhm okay
06:16 AM enleth: we would know if Tom_L pasted whatever he copied in the first place into xxd
08:43 AM fragalot: i'm not sure why something would be a "UTF-8" fail, if it's not "UTF-8" to begin with
10:24 AM * Loetmichel just gave the new coworker a crash course in target3001(PCB CAD).. i.E: i installed it on his PC and said:"now make a PCB"... surprisingly: he did something not half bad... :-)
10:26 AM Deejay: re
10:28 AM Rab: Why must a PCB be flat? Why not design a circuit directly to a 3D body? TARGET 3001! now offers this unique feature.
10:28 AM Loetmichel: i had to do less than 20 minutes to clean that up... i am REALLY surprised if thats working tomorrow when i put it on the mill for a prototype :-)
10:40 AM Simoniou1 is now known as Simonious_
11:33 AM miss0r: hello fragalot
11:33 AM miss0r: (I figured i'd beat you to it for once)
11:51 AM IchGucksLive: hi all from a bright moonshine germany
11:51 AM fragalot: miss0r: heya :-)
11:51 AM IchGucksLive: ice thicknes on lake is 12cm 5inch
11:51 AM miss0r: IchGucksLive: Yeah, its a cold one
11:51 AM miss0r: fragalot: I just got my fisso stand :] feels nice
11:53 AM miss0r: The only thing I don't like about it compared to my old eclipse magnet stand is that is does not come with a nice wooden transport case
11:57 AM IchGucksLive: hi gloops how is it
11:57 AM gloops: evening Ichs, getting a bit of snow here
11:57 AM IchGucksLive: UK in DEEP freeze
11:58 AM gloops: lol, its not so bad really, some heavy snow showers though
11:58 AM IchGucksLive: we got about 2ionch of powder this morning
11:58 AM fragalot: miss0r: but if you put it in a case, it's never ready to use
11:58 AM gloops: yeah its strange snow, like powder
11:58 AM fragalot: miss0r: what model did you get
11:58 AM IchGucksLive: at -5Deg C snow is like shugursweet candy
11:59 AM gloops: its not settled here, just a white dusting, sun keeps coming out
11:59 AM miss0r: fragalot: That is true, but I will be taking it to do work at clients. The model is M-28.10
11:59 AM fragalot: same one I have
12:00 PM fragalot: wait no, I got the 20
12:00 PM fragalot: and yes, it is just ever so slightly too short
12:00 PM miss0r: I guess I'll just need to have a somewhat thick steel plate mounted inside the car, and just transport it on its own magnet
12:01 PM miss0r: Unless I come into a direct collision it should stay put
12:01 PM fragalot: cut a hole in the roof liner :D
12:02 PM miss0r: hehe, I see absolutly no reason to call that a bad idea :D
12:03 PM fragalot: if the arm is down, you'd nee a pretty hard shock for that magnet to let go
12:03 PM Jymmm: miss0r: Im not sure, that is a waste of a perfectly good blade that could be put to better use.
12:04 PM miss0r: Jymmm: Well, it would dull it some, but I bet it could still cut cake and stir the coffee
12:04 PM Jymmm: miss0r: If you want a hole, nothing like a chainsaw imo, quick and simple
12:04 PM miss0r: (in mentioned order)
12:04 PM miss0r: and not at all messy :D hehe
12:05 PM miss0r: nah, I just put a new chain on mine, that would be a waste
12:05 PM miss0r: rather: cut cake & stir coffee with a chainsaw - now theres a sight for sore eyes
12:05 PM Jymmm: miss0r: Hey, I was referring to the "not a bad idea", never said it wouldn't get messy no matter what =)
12:05 PM miss0r: ;]
12:06 PM Jymmm: miss0r: tsk tsk did we forget so easily???
12:06 PM miss0r: Can someone please help me remember what retarted location I put my machinist square?!
12:06 PM Jymmm: miss0r: SHAKEN, not stirreed ;)
12:06 PM miss0r: I think the term is 'whipped' in this case, actualy.
12:06 PM Jymmm: miss0r: your left hand.
12:06 PM miss0r: nah, just checked
12:06 PM Jymmm: miss0r: your OTHER left hand
12:07 PM miss0r: oh... I put it back the tool cabinet...
12:07 PM Jymmm: miss0r: new chain? you cut that much wood?
12:08 PM miss0r: Yeah. I just(2 month ago) cut down 5 trees on my property. they were around 800mm diameter
12:08 PM Jymmm: miss0r: height?
12:08 PM miss0r: Excellent question. pretty high :] perhaps 25 meters
12:09 PM miss0r: Sadle they were pines
12:09 PM Jymmm: what specieis is 83ft ?!
12:09 PM Jymmm: fir?
12:09 PM Tom_L: not human
12:09 PM IchGucksLive: miss0r: here you need permisson on more then 3 that size
12:10 PM miss0r: IchGucksLive: Not if you own them 'round here
12:10 PM miss0r: Jymmm: I'm not an expert. I just know they were pine trees
12:10 PM Jymmm: miss0r: lol, fair enough =)
12:10 PM Jymmm: miss0r: you have a wood stove I suspect?
12:10 PM miss0r: And I say sadly, because theres not alot of heat in that sort of wood
12:11 PM miss0r: Jymmm: correct
12:11 PM IchGucksLive: miss0r: even if it is in your backyeard and they are dangeres you neeed Forest permisson
12:11 PM Jymmm: miss0r: You know about rutland creosote remover?
12:11 PM miss0r: I still have roughly 30m^2 nice'n dry oak waiting to be turned into heat
12:11 PM miss0r: IchGucksLive: In that case, I hope noone comes asking ;)
12:12 PM miss0r: Jymmm: No, what is that?
12:12 PM Jymmm: miss0r: USA?
12:12 PM miss0r: Jymmm: Denmark(the slightly smaller & colder contry)
12:12 PM Jymmm: miss0r: ok, hang on
12:13 PM IchGucksLive: miss0r: you can be fined 50k euros so everyone asks first but 95% got instand permisson
12:13 PM Jymmm: miss0r: https://www.rutland.com/product.php?id=25
12:13 PM IchGucksLive: in town that size
12:13 PM Jymmm: miss0r: it's a powder you put a teaspoon worth on hot fire and it elimiates cresote in the flute, turns it to ash
12:14 PM miss0r: Jymmm: Ahh. I have a special chimney, with something called iso-core. It basically burns itself clean
12:14 PM Jymmm: miss0r: I contacted the chemist at rutland and it's non toxic to humans/pets too
12:14 PM miss0r: IchGucksLive: I've just looked it up, theres no such law around here, that I can find anyway
12:14 PM Jymmm: miss0r: But you are talking burning a LOT of pine
12:15 PM fragalot: Jymmm: get the temp up properly
12:15 PM Jymmm: miss0r: I'd like to read about this "iso-core" sometime
12:15 PM miss0r: Jymmm: I have an oil powered furnace in the basement, that basically heats the house to a base temperature, and I just raise it with the wood. So the chimney is never cold
12:15 PM Jymmm: fragalot: That's not the issue, t's when to stoke down the fire for the night
12:16 PM Jymmm: s/to/you/
12:16 PM fragalot: Jymmm: good point
12:16 PM fragalot: I just have a gas heater in the livingroom that's sufficient to keep pretty much the whole house warm
12:17 PM Jymmm: miss0r: When I had read the MSDS, that rutland stuff was really just TSP
12:17 PM miss0r: Jymmm: indeed, but when nighttime comes, I always use oak/other hardwood, just because it lasts longer. I've been doing so for the past 5 years, and the "chimney cleaner"(spell?) always tells me I have a nice'n clean chimney. Here in Denmark it is required by law to have your chimney inspected once a year by a professional
12:17 PM Jymmm: miss0r: and it only takes a teaspon on a hot fire mayb once or twice a week
12:18 PM miss0r: Should I run into trouble with my chimney, I will surely look into that rutland stuff. But for the time being it seems to be doing fine
12:18 PM Jymmm: miss0r: Oh that's fine, but you now will have a SHITTON of pine, and thats what I'm referncing here
12:19 PM Jymmm: miss0r: and if you can get it, almond is MUCH better than oak )
12:19 PM miss0r: Indeed. I will keep that in mind. Theres realy nothing nice to say about heating with pine. The only upside here, is its free
12:19 PM fragalot: lol
12:19 PM miss0r: I mainly have oak and beech
12:19 PM miss0r: and now alot of pine
12:20 PM Jymmm: miss0r: season that pine well (2 years) before buring it
12:20 PM miss0r: yeah. people burning oak, that has not been properly rained on & dried soon find themself in trouble if they use a steel smokestack
12:20 PM fragalot: you could extract the pitch from it if you felt like doing something stupid and pointless
12:21 PM fragalot: then use the leftovers as charcoal
12:21 PM IchGucksLive: Loetmichel: ?
12:21 PM miss0r: fragalot: 'doing something stupid and pointless' is my middle name actualy :)
12:21 PM Jymmm: miss0r: you know what TSP is ?
12:21 PM fragalot: miss0r: that is exactly why I mentioned it.
12:21 PM miss0r: teaspoon ?
12:22 PM miss0r: it does not take this long to write 'yes' so i'm assuming i'm wrong
12:22 PM Jymmm: miss0r: https://en.wikipedia.org/wiki/Trisodium_phosphate
12:23 PM miss0r: ahh, I can but that stuff at the local pharmacist
12:23 PM Jymmm: like $4 usd for a 1lb box at the hardware store
12:23 PM Jymmm: https://www.homedepot.com/p/SAVOGRAN-1-lb-Box-TSP-Heavy-Duty-Cleaner-10621/202935861
12:23 PM miss0r: And that stuff is the same as the rotland?
12:23 PM Jymmm: Let me see if I cna find the MSDS again
12:24 PM miss0r: or are you trying to turn me into a local terror cell, by having me gass the neighbourhood? well, in that case jokes on you! :) I am living way out in the country side, with a long way to the closest neighbour ;)
12:25 PM Jymmm: miss0r: https://www.homedepot.com/catalog/pdfImages/47/47da3594-7cfe-408b-8d38-033043e454b7.pdf
12:26 PM Jymmm: miss0r: it's more than *JUST* TSP, but essecially what it is
12:26 PM Jymmm: miss0r: I'm sure you can find something localthat is the same thing
12:26 PM miss0r: Hmm. I will absolutly keep this in mind :)
12:27 PM miss0r: I just come in here to say hello, and get myself inrolled in a crazy conversation containing just about anything. This place is realy bad for production
12:27 PM miss0r: But I do enjoy it ;)
12:27 PM Jymmm: miss0r: When you goto the local hardware store, just see what product them have to remove cresote,
12:28 PM IchGucksLive: enjoy make live easy
12:28 PM fragalot: miss0r: you missed a detailed discussion about off grid toilets yeterday
12:28 PM fragalot: not just the hole in the ground kind either, high tech magic fancy stuff!
12:28 PM Jymmm: fragalot: diesel fuel and a blow torch?
12:29 PM Loetmichel: IchGucksLive: wasn?
12:29 PM miss0r: he said fanxy, not space age !
12:29 PM miss0r: fancy*
12:29 PM fragalot: Jymmm: XXCoder linked this: https://www.youtube.com/watch?v=jGPpXF7y9Rg
12:29 PM fragalot: don't think "space age"
12:29 PM IchGucksLive: Loetmichel: kann das sein das wenn ma netzteilk der funkentstörkondensator defekt ist das netzteil pulsed
12:29 PM fragalot: think.. kickstarter.
12:30 PM Tom_L: channel's goin down the toilet again....
12:30 PM fragalot: Tom_L: don't worry, i'm steering.
12:30 PM fragalot: I've been down this stream before. :D
12:30 PM Tom_L: at least you're in the front of this log ride
12:31 PM miss0r: fragalot: woah. That is actualy realy realy nice
12:31 PM miss0r: I bet it takes some energy to run the heater/combuster thou
12:32 PM fragalot: miss0r: supposedly it's mostly self sufficient, other than a manual crank to get it going
12:32 PM Tom_L: just a littel grunt work
12:32 PM Loetmichel: IchGucksLive: wenns pulsed ist eher die regelung oder die PFC platt
12:32 PM Loetmichel: oder das ding hat ĂĽberlast
12:32 PM miss0r: That is actualy genious !
12:32 PM fragalot: Tom_L: brilliant.
12:32 PM Loetmichel: oh sorry, english here
12:34 PM Loetmichel: so If a (Switch mode) PSU pulses its output its more likely that either the regulator chip is defective or the PFC circuit has problems. Its usually NOT a sign of a defective Filter cap on the 230V-input
12:35 PM IchGucksLive: ok thanks iwill check
12:35 PM fragalot: IchGucksLive: it could be the short circuit protection circuit on the psu
12:35 PM IchGucksLive: im off got a hard Workday tomorrow
12:35 PM fragalot: most switch mode power supplies go into hiccup mode
12:35 PM fragalot: where they switch the output off temporarilly before trying again
12:36 PM IchGucksLive: fragalot: it has been after a short failue
12:36 PM IchGucksLive: the student mesured and got the pins short
12:36 PM IchGucksLive: then the PSU dident come up after 2min wait
12:36 PM IchGucksLive: Meanwell 25W 5V 5A
12:37 PM IchGucksLive: the 0,47 GS-L seams to pulse as i hear from that part
12:37 PM miss0r: thoes meanwell has some brainpower in'em. It probally has a cooldown timer
12:38 PM IchGucksLive: i will check tomorrow
12:38 PM IchGucksLive: and then replace the GS-L first and see
12:38 PM IchGucksLive: im off GN8
12:38 PM fragalot: IchGucksLive: if it's the S-25 series, that does have hiccup mode, but it should recover
12:58 PM gloops: project for someone https://www.ebay.co.uk/itm/Smart-Brown-4-Lathe-single-phase-suit-model-engineer/112836313474?
01:01 PM fragalot: gloops: love the picture of the train
01:14 PM gloops: yeah didnt see that - some hours gone into that
01:55 PM gloops: hmm, well thats my final 4 axis design finished, thats it, nothing i can do now cnc related until the weekend
01:55 PM gloops: bored!
01:59 PM Tom_L: start planning your next cnc build :)
01:59 PM gloops: i have lol
01:59 PM gloops: its done
01:59 PM Tom_L: review it for correctness
01:59 PM gloops: already have, theres nothing else i can do with it, it will be easy this time
02:00 PM Tom_L: what is it?
02:01 PM gloops: 4 axis wood lathe
02:01 PM Tom_L: if i had software for it, i'd make a cradle and rotary for mine for the heck of it
02:01 PM Tom_L: full 5 axis
02:01 PM Tom_L: i'd need alot more z tough
02:01 PM Tom_L: though*
02:01 PM gloops: yeah id go for 5 axis too, no point without software to generate the code
02:02 PM Tom_L: i'm just waiting for archivist_herron to pipe up and say hand code it
02:02 PM gloops: lol, has he been around? not seen him speak for a while now
02:02 PM Tom_L: been a while i think
02:03 PM gloops: you can hand code for fairly simple or regular shapes, no hope for elaborate wood carvings
02:03 PM Tom_L: mine is supposed to be able to wrap code but i've never figured it out
02:04 PM gloops: + adding 5th when it will rarely be used is just another point of weakness for normal cutting, if it involves spindle rotating
02:05 PM gloops: ive pretty much got the hang of indexing 4th axis and getting the code
02:07 PM Tom_L: http://www.5-axis.com/
02:07 PM Tom_L: that would be one way
02:07 PM Tom_L: but i'd do a work cradle instead probably
02:08 PM Tom_L: i would never use it but the idea keeps my brain turning
02:09 PM Tom_L: https://www.cncindexing.com/tjr-fhr-cradle-type.html
02:09 PM gloops: instinctively id want the spindle rotating the other way
02:09 PM gloops: like on a hub
02:09 PM gloops: thats the other way yeah, interesting
02:09 PM gloops: but to get your head round the coding..pff
02:10 PM Tom_L: i barely keep my head around what i've got
02:11 PM gloops: i suppose when you HAVE got your head round it, its pretty simple
02:11 PM Tom_L: if you want to program for a living, that's where it's at
02:11 PM Loetmichel: *SIGH* life can be good... -> http://www.cyrom.org/palbum/main.php?g2_itemId=16998 ... and still one glass left in the bottle from 2014. i should do that more often ;)
02:11 PM Tom_L: i don't
02:12 PM gloops: the maths is probably the main thing
02:12 PM gloops: one axis moving relative to another, or 2 others
02:13 PM Tom_L: http://www.nccs.com/
02:14 PM gloops: cant fault you in this weather Loetmichel
02:14 PM gloops: i would kick a polar bear out in this
02:14 PM gloops: wouldnt
02:14 PM * Loetmichel was just out in tshirt an jeans smoking.
02:14 PM Loetmichel: its not THAT bad
02:15 PM Loetmichel: thermometer says -12°C on the balcony right now
02:15 PM gloops: Ichsguckslive posted a link to some software, works out about ÂŁ250 - did live 4 axis, i forget what it was called but thats not bad
02:15 PM Tom_L: that's a bargain if it works
02:16 PM gloops: Loetmichel we had some funny snow today, rapid showers of powder, total whiteout, 20 minutes a time, then bright sun again
02:17 PM gloops: im going to ask him again, it looked the works, the full package was much more expensive
02:17 PM Tom_L: 10x more than likely
02:17 PM Tom_L: or more
02:19 PM gloops: even then, its another app to learn, how many times will 5th axis be called for etc
02:19 PM gloops: apart from entertainment probably not much
02:20 PM Tom_L: around here it's getting to be all they use
02:23 PM gloops: from a wood point of view, yes there is a lot 5 axis could be used for, but theres so much 3 and 4 axis can do, it isnt really necessary to keep busy
02:23 PM XXCoder: gloops: north pole is 35f warmer than normal
02:23 PM XXCoder: its still in "forever dark" point so its not from sun
02:23 PM gloops: XXCoder, than average? maybe
02:24 PM XXCoder: way above normal
02:24 PM gloops: there is no normal
02:24 PM CaptHindsight: anyone using an open source application to track and database the parts/jobs they run?
02:24 PM XXCoder: its hottest ever.
02:24 PM XXCoder: way hotter than previous record
02:24 PM Tom_L: CaptHindsight we just kept em in a file cabinet :)
02:25 PM Tom_L: prints and setup sheet with tool requirements and any special fixtures
02:25 PM CaptHindsight: Tom_L: yeah, wondering if there are any already working apps
02:26 PM gloops: i doubt the north pole is hotter than its ever been
02:26 PM Tom_L: none i know of
02:26 PM XXCoder: okay
02:26 PM Tom_L: but i haven't really been looking either
02:26 PM gloops: records go back what, 100 years?
02:27 PM Tom_L: https://content.shoptech.com/jobshop-software-?gclid=CjwKCAiAoNTUBRBUEiwAWje2lrBUX1jBgvxQDJBghZRGOsX93NACMkCSHWviod0Pj7A_r3pjFCSe3hoClf0QAvD_BwE
02:27 PM Tom_L: non free
02:27 PM Tom_L: gloops we used chisels back then
02:27 PM CaptHindsight: https://www.vox.com/energy-and-environment/2018/2/27/17053284/arctic-heat-wave-north-pole-climate
02:28 PM gloops: in historical climate terms though, 100 years is nothing
02:28 PM XXCoder: oops I said 35f. im wrong. its 45f above...
02:29 PM Tom_L: pretty soon we'll all need to learn how to swim
02:29 PM gloops: if you dig down here you find fossils of tropical ferns and palms, indicating that the temperature was MUCH higher in the past
02:29 PM gloops: marine reptiles too
02:29 PM Tom_L: CaptHindsight, i think my bud used that
02:30 PM Tom_L: or at least looked at it a while and decided a file cabinet was just as good
02:30 PM XXCoder: "Already, we’re witnessing the fastest decline in Arctic sea ice in at least 1,500 years. And this change isn’t slow and gradual; sea ice has seen a sharp and rapid drop. "
02:30 PM XXCoder: not exactly 100 years...
02:31 PM XXCoder: https://cdn.vox-cdn.com/uploads/chorus_asset/file/10303817/arctic_sea_ice.jpg
02:32 PM CaptHindsight: Tom_L: need something open to modify so that it does it automatically
02:32 PM gloops: XXCoder all last week we had great big headlines 'UK FACING MASSIVE FREEZE' - in reality, it pretty cold and it snowed a bit, absolutely typical UK winter weather, dont be such a sucker for a headline
02:32 PM Tom_L: err no, it was jobboss
02:32 PM Alkabal: hi all
02:32 PM XXCoder: .. you thought I just read headline?
02:32 PM gloops: evening
02:32 PM XXCoder: don;'t cast your traits on me.
02:33 PM CaptHindsight: Tom_L: LCNC sends a message that the job started and ended
02:33 PM Alkabal: it is possible with some hal command to do something loke G10 L20 P1 X0 ?
02:33 PM CaptHindsight: Tom_L: vs entering all the info by typing into a database
02:33 PM * gloops eating substantial fry up
02:34 PM CaptHindsight: Tom_L: parts will have bar codes etc
02:34 PM Tom_L: https://opensource.com/resources/top-4-open-source-erp-systems
02:35 PM Tom_L: you just need a cute secretary for that
02:35 PM Tom_L: that can type at least 20 wpm
02:38 PM FinboySlick: ERP is nice but as far as I can tell, you need a dedicated guy if not team to run it. It's not meant for smaller companies.
02:38 PM FinboySlick: They're pretty high maintenance systems.
02:39 PM Tom_L: http://openpro.com/manufacturing/
02:39 PM CaptHindsight: FinboySlick: the people are available, just looking for something to demo right now
02:40 PM FinboySlick: CaptHindsight: Then I guess openpro would fit the bill rather well.
02:41 PM Tom_L: https://www.cio.com/article/2380921/open-source-tools/open-source-tools-how-to-run-your-small-business-with-free-open-source-software.html
02:42 PM CaptHindsight: I'm usually on the embedded side of things
02:45 PM roycroft: we just converted one of our businesses to erpnext
02:45 PM roycroft: it's a pretty capable accounting system
02:46 PM roycroft: and there is a good manufacturing module for it that includes bom/assemblies/etc. that a machine shop would use
02:46 PM gloops: thats better, pork chop, sausages, eggs, tomatoes and fried bread
02:46 PM gloops: pigs are such versatile animals
02:47 PM roycroft: i'm having spam, spam, spam, spam, spam, spam, spam, spam, and spam
02:48 PM gloops: fried spam is good
02:48 PM Tom_L: your tastebuds are dead
02:48 PM gloops: i like it, you can get a crispy coating on fried spam
02:49 PM Tom_L: i know, i ate it as a kid
02:50 PM gloops: the only other way i eat spam is either straight from the tin when fishing, or on sandwiches with tomatoes
02:51 PM gloops: <Alkabal> it is possible with some hal command to do something loke G10 L20 P1 X0 ?
02:52 PM Alkabal_: gloops : yes i'm here
02:53 PM gloops: ill let someone else answer
02:53 PM Alkabal_: that i like to do is from pendant and from selected axis from pendant have only one button for make selected axis 0
02:53 PM Alkabal_: oh sorry
02:54 PM Alkabal_: misunderstanding
02:54 PM gloops: fragalot ?
02:55 PM Tom_L: i use a rotary switch to select the axis
02:55 PM Alkabal_: possible to use mdi cmd from HALUI or call some .ngc
02:56 PM Tom_L: you want one pushbutton to select between axis 0 1 & 2 right?
02:56 PM Alkabal_: no
02:56 PM Tom_L: what then
02:56 PM Alkabal_: i have a full pendant with rotary button axis select
02:56 PM Tom_L: ok
02:57 PM Alkabal_: that i like is a single G10 L20 n0
02:58 PM Alkabal_: i can call halui.nnn.nn / call some mdi from halui config / use some gcode
02:58 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/screenshot.png
02:58 PM Tom_L: like the 3 on the bottom right?
03:00 PM Alkabal_: yes if this 3 button do G10 L20 P1 X0 etc
03:01 PM Tom_L: net x-fixture pyvcp.x-touchoff => halui.mdi-command-01
03:01 PM Tom_L: net y-fixture pyvcp.y-touchoff => halui.mdi-command-02
03:01 PM Tom_L: net z-fixture pyvcp.z-touchoff => halui.mdi-command-03
03:01 PM XXCoder: Tom_L: I like that spindle display. nice!
03:02 PM Tom_L: [HALUI]
03:02 PM Tom_L: MDI_COMMAND = O<work_zero> call
03:02 PM Tom_L: MDI_COMMAND = G10 L20 P1 X0
03:02 PM Tom_L: MDI_COMMAND = G10 L20 P1 Y0
03:02 PM Tom_L: MDI_COMMAND = G10 L20 P1 Z0
03:02 PM Tom_L: that's about it.
03:02 PM Alkabal_: thanks
03:02 PM Alkabal_: but that i like i a single button combined
03:03 PM Alkabal_: <Tom_L> net n-fixture pyvcp.n-touchoff => halui.mdi-command-01
03:03 PM Tom_L: we always want what we can't have
03:03 PM Tom_L: :)
03:03 PM Tom_L: yeah i'm not sure
03:03 PM Alkabal_: Tom_L> MDI_COMMAND = G10 L20 P1 n0
03:03 PM Alkabal_: looool
03:03 PM Alkabal_: off course
03:03 PM Tom_L: it can probably be done but i haven't tried it
03:04 PM Alkabal_: saad but thanks for time !!
03:10 PM Alkabal_: is possible to call some halcmd pin from gcode ?
03:14 PM CaptHindsight: quote from ChinaCo sales ad: We promise we will make it up for you
03:14 PM CaptHindsight: wow, that what I was concerned about :)
03:20 PM gloops: https://www.facebook.com/andrew.coxlps/videos/10215876265085263/ burglar caught lol
03:22 PM Tom_L: it would be nice if i could do formulas in my old cad cam
03:36 PM enleth: Alkabal__: http://linuxcnc.org/docs/html/gcode/m-code.html#mcode:m100-m199
03:36 PM enleth: pretty much literally what you want in the first example
04:02 PM Alkabal: is something like that is possible ?
04:02 PM Alkabal: o<actual-probe> sub
04:02 PM Alkabal: o110 if [whb.axis.0.jog-enable EQ 1] (teste si le paramètre #2 est egal à 0)
04:02 PM Alkabal: oactual-probe G10 L20 P0 X0
04:02 PM Alkabal: o110 endif
04:02 PM Alkabal: o110 if [whb.axis.1.jog-enable EQ 1] (teste si le paramètre #2 est egal à 1)
04:02 PM Alkabal: oactual-probe G10 L20 P0 Y0
04:02 PM Alkabal: o110 endif
04:02 PM Alkabal: o110 if [whb.axis.2.jog-enable EQ 1] (teste si le paramètre #2 est egal à 0)
04:02 PM Alkabal: oactual-probe G10 L20 P0 Z0
04:02 PM Alkabal: o110 endif
04:02 PM Alkabal: o<actual-probe> endsub
04:13 PM Deejay: gn8
04:33 PM andypugh: Alkabal: You can _nearly_ do that.
04:34 PM andypugh: G-code can access the values of HAL pins, but not “live”. You get the value of the pins when the program starts. Which might actually work in this case.
04:34 PM Alkabal: saaaaaaaaaad
04:35 PM andypugh: The docs for this are here. (not somewhere where you would think to look) http://linuxcnc.org/docs/2.7/html/remap/remap.html#_optional_interpreter_features_ini_file_configuration
04:37 PM andypugh: O110 IF [#<_hal[whb.axis.0.jog-enable]> EQ 1]
04:38 PM andypugh: A more reliable way to do it would be to net the jog-enable to G-code digital inputs and read those with M66: http://linuxcnc.org/docs/2.7/html/gcode/m-code.html#mcode:m66
04:39 PM Alkabal: ok i see this because you says and doc says sae "should not be used for run time evaluation"
04:40 PM andypugh: Yes. The interpreter reads the HAL pin values during the “lookahead” phase, rather than the values being read in real-time during the motion.
04:41 PM Alkabal: i don't understand what is gcode digital input
04:42 PM Alkabal: motion.digital-in-00 motion.digital-in-01 motion.digital-in-02 is fake digital pin ?
04:43 PM andypugh: There are a set of HAL pins (motion.digital-in-00 etc) that can be read by a the M66 commans
04:43 PM andypugh: So, M66 P2 L0 will copy the current true/false value on that HAL pin to the #5399 parameter.
04:45 PM andypugh: (In your case I would be tempted to connect the jog-enables to an _analog_ input and set things up to read 1 for X, 2 for Y, 4 for Z, 5 for Z and X etc.
04:46 PM Alkabal: i see what you says but i don't see how to write this for now
04:46 PM andypugh: You could use “weighted_sum” to combine the pins: http://linuxcnc.org/docs/2.7/html/man/man9/weighted_sum.9.html
04:47 PM andypugh: If your HAL currently has “net x-jog-enable whb.axis.0.jog-enable” then just make that line read “net x-jog-enable whb.axis.0.jog-enable motion.digital-in-00” instead
04:50 PM Alkabal: M66 P0 L0
04:50 PM Alkabal: o110 if [Y#5399 EQ 1] (teste si la variable chargé par M66 P0 est egal à 1)
04:50 PM Alkabal: oactual-probe G10 L20 P0 X0
04:50 PM Alkabal: o110 endif
04:50 PM Alkabal: is something like that ?
04:50 PM andypugh: Yes, but without the Y
04:53 PM Alkabal: ok many thanks i try this
04:53 PM Alkabal: “weighted_sum" is needed or optional
04:56 PM andypugh: Weighted sum would let you do one read of one variable to work out which jog was enabled. Digital inputs would need an M66 for each possibility.
04:56 PM andypugh: I would suggest the simple way, with digital inputs.
04:57 PM Alkabal: k
04:59 PM Alkabal: emc/task/emctask.cc 399: interp_error: Unknown word where unary operation could be
04:59 PM Alkabal: actual-probe.ngc :
04:59 PM Alkabal: o<actual-probe> sub
04:59 PM Alkabal: M66 P0 L0
04:59 PM Alkabal: o110 if [#5399 EQ 1] (teste si la variable chargé par M66 P0 est egal à 1)
04:59 PM Alkabal: oactual-probe G10 L20 P0 X0
04:59 PM Alkabal: o110 endif
04:59 PM Alkabal: o<actual-probe> endsub
05:00 PM Alkabal: # halui.mdi-command-02: probe-actual
05:00 PM Alkabal: MDI_COMMAND=o<actual-probe> call
05:00 PM andypugh: This line isn’t valid G-code: oactual-probe G10 L20 P0 X0
05:01 PM Alkabal: lol i'm stupid
05:03 PM Alkabal: same error
05:04 PM andypugh: What did you put in place of oactual-probe G10 L20 P0 X0
05:05 PM Alkabal: G10 L20 P0 X0
05:06 PM andypugh: Hmm
05:06 PM Alkabal: what is for <>
05:07 PM andypugh: Try putting a (MSG, Got this far 1) (MSG, Got this far 2) after each line of your subroutine to see where it has a problem.
05:08 PM Alkabal: missing # for comment i hope
05:08 PM andypugh: <> is the G-code equivalent of quotation marks to delimit text strings.
05:12 PM Alkabal: mistake from me is proble from rong copy path...
05:14 PM Alkabal: your info are really perfect !
05:14 PM Alkabal: message work very fine
05:15 PM Alkabal: i can see if A selected message 0 1 2 3 4 and if other 0 1 4, this is was is excpected
05:15 PM Alkabal: really happy
05:15 PM andypugh: Is it working now then?
05:15 PM Alkabal: X selected
05:16 PM Alkabal: i think yes
05:16 PM Alkabal: need to try more but i think is perfect way
05:17 PM Alkabal: for me is really better than having separate button allways accessible for make 0 with wrong axis
05:18 PM Alkabal: for me is very difficult to understand all, but linuxcnc is really powerfull for sure
05:23 PM andypugh: Yes, there seems to be at least three ways to do anything.
05:25 PM Alkabal_: one more error
05:26 PM Alkabal_: gcode file ended with no percent sign or program end on line -1
05:26 PM andypugh: Put an M2 at the end (but make sure you know what that does)
05:27 PM Alkabal_: in other file .ngc from pendant no have this M2
05:27 PM andypugh: http://linuxcnc.org/docs/2.7/html/gcode/m-code.html#mcode:m2-m30
05:27 PM andypugh: You can have a % at the beginning and end if you prefer.
05:30 PM Alkabal_: that i don't understand is why the other files haven't this
05:40 PM andypugh: Maybe you haven’t tried to run them yet?
05:59 PM alkaballll: yes you are right other have same error
06:21 PM alkaballll: another strange question ^^
06:24 PM alkaballll: is possible to reboot shutdown/reboot from halui or gcode
06:25 PM enleth: alkaballll: again, the docs on M100-M199 I linked to earlier
06:25 PM enleth: it is possible to invoke arbitrary executables from gcode with those
06:26 PM enleth: so it is possible to do literally anything
06:28 PM Alkabal_: ok
06:29 PM enleth: also, look into ladder logic for complex conditional expressions, might be easier to figure out
06:30 PM andypugh: You could shut-down LinuxCNC. I am not sure if you could re-start it. I guess you could if the bash script stayed alive after linuxCNC quit.
06:31 PM Alkabal_: yes i make autostart for bash script
06:33 PM Alkabal_: i like to shutdown reboot computer not only linuxcnc
06:35 PM enleth: andypugh: it would be very easy to spawn a detached subshell, disown it and kill linuxcnc, with the subshell waiting for it to stop and restarting
06:35 PM andypugh: That’s an odd sort of “very easy” :-)
06:36 PM Alkabal_: i think is too hard for now with my knowledge
06:36 PM Alkabal_: i can map a output pin for simulate button press for shutdown
06:36 PM Alkabal_: this is more easy lol
06:36 PM Alkabal_: reboot not really important
06:37 PM Alkabal_: but thanks a lot for suggest !