#linuxcnc Logs

Jul 15 2018

#linuxcnc Calendar

12:26 AM tjb1: Anyone have an idea how to stop the post from printing the pierce height before pen down in sheetcam? https://i.imgur.com/lpB9wF1.png
12:30 AM tjb1: N90 is the tool pierce height, N100-N140 are the codes inserted by "OnPenDown"
12:44 AM tjb1: looks like its a no because that is part of "OnRapid"
12:44 AM Tom_L: G31 isn't a valid lcnc Gcode
12:46 AM Tom_L: i've never looked at sheetcam's post
12:57 AM tjb1: well its a bit hacky but if(endZ ~= pierceHeight and probeZDone == 1) then post.ModalNumber (" Z", endZ * scale, "0.0000")
12:57 AM tjb1: end
12:57 AM tjb1: will stop it from printing the Z if it matches the pierceHeight and I haven't done a probe yet
12:59 AM tjb1: side note..why so many ways to display not equal? != <> ~= =/=, every language has to be different
01:00 AM tjb1: Tom_L: not using lcnc
01:00 AM XXCoder: honestly my preference is !=. simple.
01:01 AM XXCoder: "not equal"
01:01 AM tjb1: yeah sheetcam prefers ~= because lua apparently
01:01 AM tjb1: tilde equal
01:40 AM XXCoder: man
01:41 AM XXCoder: math notation ~= looks like "approx equal"
01:41 AM XXCoder: not something you want lol
01:47 AM tjb1: why cant draftsight just run an scr from a button...
01:51 AM tjb1: or you just type this mess as a command string and it sometimes works "^C^C-layer;n;1;(Command);Change;P;;P;L;1;^C^C"
02:06 AM Deejay: moin
02:28 AM norias: hi
03:39 AM IchGucksLive: goooood morning from germany
03:39 AM IchGucksLive: it is getting hottest day so far as expected by weathermen
03:40 AM IchGucksLive: we got wild fire this night
03:40 AM IchGucksLive: as campers dont take out fire
03:40 AM IchGucksLive: and the infrared auto alarm claims every camp fire for a wildfire
03:41 AM IchGucksLive: im off for harvest RAPS
03:41 AM IchGucksLive: rape
03:41 AM IchGucksLive: till later
05:01 AM jthornton: morning
05:04 AM XXCoder: yo
06:11 AM TurBoss: STMBL featured on HAD
06:11 AM TurBoss: https://hackaday.com/2018/07/15/drive-big-servos-with-ease/
06:13 AM TurBoss: kudos go to Andy Pugh
06:24 AM Tom_L: and rene
06:32 AM Tom_L: IchGuksLive: https://www.merriam-webster.com/dictionary/rape https://www.merriam-webster.com/dictionary/reap
06:41 AM TurBoss: sure
06:42 AM XXCoder: think he meant rapeseed
06:42 AM XXCoder: but then who knows
06:42 AM jthornton: yep
08:32 AM Loetmichel: *hmpf* just drove to the fuel station to get some bread rolls... back home, tried to close the convertible canopy: stuck half way and the canopy switch blinking... I think that thing needs a lot of grease and (now) a new fuse for one of the motors. :-( At least it happened on a sunday to the time loss for manaully winding it close with the little allen key isnt that big of an issue. would
08:32 AM Loetmichel: it happened on my commute tomorrow i now would have be pissed boss because "to late to work". :-)
08:39 AM Roguish__ is now known as Roguish
09:23 AM tjb1: https://imgur.com/gallery/cKQA0Lh
09:42 AM tiwake: hey are there things to level a house with?
09:44 AM tiwake: I mean, like wireless things that would be set around on the floor to get a 2D map of house levelness
09:48 AM jthornton: yea a transit
09:58 AM tjb1: jthornton: know a good source for dxf art ready to use?
10:00 AM Tom_L: google does
10:01 AM tjb1: yeah, thanks
10:09 AM IchGucksLive: hi all
10:10 AM IchGucksLive: we got hail as big as golfballs
10:10 AM IchGucksLive: rain about 45liters/sq metter
10:10 AM IchGucksLive: what a day
10:10 AM IchGucksLive: hi tlab
10:11 AM IchGucksLive: tjb1, hat kind of art
10:11 AM IchGucksLive: tjb1, every clipart within minutes
10:11 AM tjb1: using what for conversion?
10:12 AM IchGucksLive: tjb1, shapes contours black/W
10:12 AM IchGucksLive: tjb1, inkscape
10:13 AM tiwake: IchGucksLive: I have yet to see serious hail... even after moving to texas
10:13 AM tjb1: Thanks IchGucksLive, Ill give that a try
10:13 AM IchGucksLive: https://www.youtube.com/watch?v=Rv1v5qj7Rek
10:13 AM IchGucksLive: tjb1, there is a older one for Black and white
10:14 AM IchGucksLive: tjb1, if you lik me to your need i will do it for you
10:14 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/temp/hail/hail4.jpg
10:14 AM tjb1: An older Inkscape?
10:14 AM Tom_L: i collected that one year
10:15 AM tiwake: honestly its easier to skip the GIMP step
10:15 AM tiwake: with inkscape you can easily remove traced bitmap crap
10:15 AM tiwake: that you don't want
10:17 AM IchGucksLive: tiwake, i dont agree
10:17 AM IchGucksLive: with the pen you can get lots of good straigts
10:17 AM IchGucksLive: bevor trace
10:18 AM tiwake: IchGucksLive: I've done quite a bit of inkscape crap in general :3 its easy to work with
10:19 AM IchGucksLive: agree
10:19 AM IchGucksLive: i do most of it
10:19 AM IchGucksLive: tiwake, http://schwedenfeuer.de/feuersauelen.htm
10:20 AM IchGucksLive: tiwake, thisis all inkscape
10:20 AM Tecan: whoa lots of news
10:20 AM Tecan: http://netpipe.ca/?p=1268
10:20 AM tiwake: IchGucksLive: here is one of the bigger project things I made in inkscape https://derpicdn.net/img/view/2017/6/18/1464509.png
10:21 AM IchGucksLive: nice 3D optic
10:22 AM tiwake: IchGucksLive: did some engraving too, though not with the plugin... made art specifically for engraving.. made labels for a friend selling product locally, some business cards... bunch of stuff
10:23 AM IchGucksLive: tjb1, sides like scan2 cad use the python script to generate the dxf and make money
10:23 AM tjb1: I did find signtorch but I would like to get started before going all out
10:24 AM IchGucksLive: tiwake, http://tv-profi-gmbh.de/fit_we.jpg
10:25 AM IchGucksLive: tjb1, https://openclipart.org/
10:26 AM tiwake: IchGucksLive: yeah, looks good :3
10:27 AM tiwake: I need to make an engraving machine
10:27 AM IchGucksLive: tiwake, standard sets are at 400USD
10:28 AM Rab: I've used Inkscape with gcodetools for tons of simple 2D CAD: http://reboots.g-cipher.net/rabbot/image/spacer_toolpaths.png http://reboots.g-cipher.net/rabbot/image/spacer.jpg
10:29 AM Rab: Admittedly it's probably not the most polished workflow. It basically works though.
10:32 AM tjb1: Rab: http://www.cnc-club.ru/forum/viewtopic.php?t=35 ?
10:33 AM tjb1: IchGucksLive: http://schwedenfeuer.de/feuersauelen.htm is that your site?
10:34 AM IchGucksLive: tjb1, family related
10:35 AM IchGucksLive: i just noticed that sketchup provides 25000 3D puzzle dxf sheets
10:39 AM IchGucksLive: im off till later
10:42 AM Rab: tjb1, indeed.
10:47 AM Rab: rene-dev_, STMBL on Hackaday: https://hackaday.com/2018/07/15/drive-big-servos-with-ease/
10:49 AM jthornton: tjb1: I usually just goodle for it
10:50 AM Tom_L: jthornton, the 'redneck' cooler worked great
10:50 AM Tom_L: ran some pretty heavy cuts (for this machine) that would have probably burned the motor out
10:51 AM Tom_L: ice was an added feature
11:13 AM hazzy-lab: Rab: About time STMBL was on Hackaday!!
11:31 AM hazzy-lab: I still have not been able to figure out how to tell if an argument was passed to a sub, there has to be a way to do this, right?
11:32 AM hazzy-lab: This is what I have so far: http://dpaste.com/2TKFPXD
11:33 AM hazzy-lab: one problem is that EXISTS only takes a named parameter, so I can't pass it the numbered parameter that the arg gets stored in directly to EXISTS
11:35 AM hazzy-lab: If I call the sub like this `o<circle> call [0] [0] [2]` I get:
11:35 AM hazzy-lab: emc/task/emctask.cc 397: interp_error: Cannot make arc with zero feed rate
11:35 AM hazzy-lab: Cannot make arc with zero feed rate
11:37 AM hazzy-lab: But since I did not pass the feedrate (forth positional arg), I expected the if EXISTS to set the default feed rate to 25
11:42 AM rmu: hazzy-lab: why not "if feedrate == 0: feedrate = default_feedrate"
11:44 AM hazzy-lab: rmu: That works!!
11:45 AM hazzy-lab: So that implies that all 30 args are passed no matter what, but have default values of 0
11:47 AM hazzy-lab: That is not ideal, we need a None type!
11:48 AM hazzy-lab: Because right now you can't tell it somebody passed 0, or did not pass anything
11:48 AM hazzy-lab: hmm
12:00 PM c_e: _
12:02 PM IchGucksLive: hi all
12:02 PM IchGucksLive: France new WM Champion soccer
12:03 PM IchGucksLive: c_e, hi
12:04 PM CaptHindsight: "When the robot faults out -- like the vision system can't figure out how to put the object in -- then you've got to reset the system. You've got to manually seat the components. It stops the whole production line while you sort out why the robot faults out."
12:04 PM IchGucksLive: hazzy-lab, you may set the default inside the O
12:04 PM CaptHindsight: https://www.bloomberg.com/news/features/2018-07-13/-the-last-bet-the-company-situation-q-amp-a-with-elon-musk
12:05 PM CaptHindsight: he mention the brand of turd vision systems he tried to use
12:05 PM CaptHindsight: sorry, he didn't mention the brand
12:06 PM c_e: afternoon IchGucksLive
12:06 PM IchGucksLive: im in germany
12:06 PM c_e: canada
12:07 PM IchGucksLive: west east
12:07 PM c_e: been working on getting pp working on my mill
12:07 PM IchGucksLive: pp parport
12:08 PM IchGucksLive: c_e, or point probe
12:08 PM IchGucksLive: c_e, here is my YT channel it may help in some way https://www.youtube.com/channel/UCmwhCL92ZQRSVqFe3jGwJSQ/videos
12:10 PM IchGucksLive: i hear Firerworks going of in France and it is near 30km away
12:10 PM IchGucksLive: ""coudt be thunder to""
12:11 PM IchGucksLive: lots of thunderstorms on the borderline http://www.unwetterzentrale.de/uwz/
12:11 PM c_e: pp pathpilot
12:12 PM IchGucksLive: c_e, is it a tormach
12:12 PM CaptHindsight: c_e: have you contacted Tormach?
12:13 PM c_e: not a tormach. grizzly g0704 clone
12:13 PM IchGucksLive: https://forum.linuxcnc.org/pathpilot/30214-pathpilot-to-non-tormach-machines-tutorial-part1
12:13 PM c_e: have it working with mach3/4 with an ESS board
12:14 PM c_e: trying to make it work with PP, and a 7i92 attached to a cnc4pc C11G bob
12:15 PM IchGucksLive: this will be the same as a 5i25 setup
12:15 PM IchGucksLive: there is a BOB pin out file
12:16 PM c_e: have it mostly working, but I'm seeing an issue with the charge pump and enable
12:16 PM IchGucksLive: see the mesa 7i92 files provided that fit your need
12:16 PM CaptHindsight: https://cnc4pc.com/c11g-multifunction-cnc-board.html
12:16 PM CaptHindsight: http://cnc4pc.com/Tech_Docs/C11GR8_2_USER_MANUAL.pdf
12:17 PM c_e: right now, PP is not running and yet I've got every relay lit up. As soon as I start PP, it turn's off all the relays..
12:17 PM c_e: at which point I can turn them on/off using Coolant and spindle buttons in PP..
12:19 PM IchGucksLive: c_e, did you look if all the pins of your bob are on
12:19 PM IchGucksLive: halrun
12:19 PM IchGucksLive: loadrt hostmot2
12:19 PM IchGucksLive: loadrt hm2_pci
12:19 PM IchGucksLive: show pin
12:19 PM IchGucksLive: show param
12:19 PM IchGucksLive: exit
12:19 PM CaptHindsight: the inputs on your BOB have selectable pullups or pulldowns
12:21 PM pcw_home: You probably need to get the charge pump working/enabled to have the start-up relay state correct
12:22 PM CaptHindsight: c_e: ^^^
12:22 PM IchGucksLive: im off Gn8
12:22 PM c_e: of course.. I know about pullup/down etc..
12:22 PM CaptHindsight: not a test, just checking :)
12:23 PM c_e: understood...
12:23 PM c_e: not a noob in the cnc world.. just to linuxcnc
12:24 PM c_e: I have a 4x8 cnc router running mach3 and starting to look into running mach4 on it. The mill I had running with mach3/4, just want a better interface
12:25 PM c_e: but yeah, chargepump is definitely being a pain
12:25 PM CaptHindsight: Start by disabling the SCHP.
12:26 PM c_e: that's how I currently have it working. it's when I enable it that nothing works. it's like I don't have a signal.
12:27 PM pcw_home: you probably don't, have you added chargepump support to the hal file?
12:27 PM c_e: there is no halrun command in pathpilot. think I'll need to compile it so I have all the commands.
12:28 PM pcw_home: you can probably just fix this in the hal file
12:31 PM c_e: setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.output-type 1
12:31 PM c_e: setp hm2_[HOSTMOT2](BOARD).0.pwmgen.pwm_frequency 500
12:31 PM c_e: setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.scale 100
12:31 PM c_e: setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.value 5
12:31 PM c_e: that's the settings for the charge pump.
12:32 PM pcw_home: I would not expect that to work
12:32 PM pcw_home: what firmware are you using? (should be 7i92_C11Gx2D.bit)
12:33 PM c_e: actually at moment, I'm using the default from tormach
12:33 PM c_e: everything is exactly as needed for pinout
12:35 PM pcw_home: probably not since the default is either for Tormach breakout or a G540
12:36 PM c_e: tormach breakout and the C11G appear to pin compatible though.
12:36 PM CaptHindsight: side note: was Tormach nice enough to post a Howto for those installing PathPilot on Linuxcnc on their own?
12:36 PM c_e: hahhaha
12:38 PM c_e: of note though is the new version of pathpilot. v2.1.2
12:42 PM pcw_home: the tormach config will not be correct for later C11s that need PWM for the spindle
12:43 PM pcw_home: also the charge pump needs to be 12.5 KHz
12:43 PM c_e: 5 x 500 x 100 would be 12,500
12:43 PM pcw_home: ?
12:44 PM pcw_home: pwm frequency = 12500
12:44 PM pcw_home: pwm scale = 100
12:44 PM pcw_home: pwm value = 50
12:44 PM pcw_home: 50% (square wave) at 12.5 KHz
12:47 PM c_e: let me try that out. brb
02:19 PM pcw_home: c_e's G704 must have eaten him after the chargepump got enabled...
02:20 PM Tecan: think there is a market for a 10' x 10' or larger 3d printers ? for making car parts or something
02:20 PM pfred1: I don't want no plastic car
02:20 PM gregcnc: there are a few giant printers
02:21 PM pfred1: real steel baby
02:21 PM pcw_home: Arent they mostly plastic now anyway?
02:22 PM Tecan: the house printers might be worth money if it did not lead to mess afterwards if the part prints like crap
02:22 PM Tecan: 1000 dollars would be nice pricetag
02:23 PM gregcnc: maybe with 3-4 more zeros?
02:23 PM Tecan: not really, all you need is a screwpump for concrete and a few large steppers/drivers
02:23 PM Tecan: and a hoist setup
02:23 PM gregcnc: you aren't making money
02:24 PM Tecan: whats the ones that just have an arm on em called ?
02:24 PM Tecan: a straight arm with lifting z
02:25 PM Tecan: |---------v
02:25 PM Tecan: |
02:54 PM c_e: had to reinstall PP 2.0 yet again. 7i92 is finicky for some reason and it's not always detected.
02:55 PM c_e: anyways charge pump is now working. Onto spindle speed
02:57 PM c_e: tormach must use a lower frequency for there charge pump
02:58 PM pcw_home: Depending on C11 version you may need to use the 7i92_C11Gx2D.bit firmware
02:59 PM pcw_home: (early versions used frequency to voltage newer use PWM)
02:59 PM c_e: understood.. I had it using the 7i92 C11 bit file, but after a reinstall, noticed that most functions were working for me
03:00 PM pcw_home: the bitfile with the"G" uses PWM for the spindle, the non-G version uses frequency (a stepgen)
03:00 PM c_e: I can hear a high pitched whine from the board when I enable the spindle
03:02 PM pcw_home: if you change to the G version bitfile you will need to change the chargepump setup
03:03 PM pcw_home: its done with stepgen 4 on that bitfile and has PWM on pin 14 (spindle) instead of a stepgen
03:03 PM c_e: damn.
03:03 PM pcw_home: really depends on the C11 card you have
03:04 PM c_e: it's brand new.. got it in the mail from arturo last week
03:04 PM pcw_home: So its a PWM version...
03:05 PM c_e: I could probably ask mesa once I figure out what I need, to create a bit file for me
03:06 PM c_e: when I talked to them on the phone they seemed very willing to help
03:06 PM pcw_home: theres already a C11G bitfile thats correct
03:06 PM pcw_home: 7i92_C11Gx2D.bit
03:07 PM pcw_home: just got to prevent PP from overwriting it
03:08 PM c_e: only time it should get overwritten is if I directly replaced PP file, and upgraded
03:23 PM c_e: I don't think those bit files will work.
03:24 PM c_e: pin 14 for a tormach is actually the coolant relay
03:26 PM c_e: pin 1 on the other hand is the spindle speed
03:36 PM pcw_home: right, the Tormach firmware should not be expected to work on a C11
03:37 PM pcw_home: nor will their hal file without some changes...
03:40 PM pcw_home: you need the C11G bitfile on the 7I92 to support a new C11 breakout
03:45 PM c_e: need to find where it's detecting the wrong bit file. I can change it, but then it fails to start.
03:46 PM pcw_home: Their breakout is considerably different than a C11 (motion stepgens are the same, but thats about it)
03:47 PM pcw_home: I would not expect it to start since the hal pin mapping will be wonky
03:48 PM pcw_home: In LinuxCNC this is easy, (the offending hal line # is printed) if PP just fails to load you are working in the dark...
03:53 PM c_e: just have to change autostart of linuxcnc and then start a shell
03:58 PM Deejay: gn
04:13 PM c_e: so parameter or pin "hm2_7i92.0.gpio.001.is_output" not found in the .hal file
04:14 PM pcw_home: thats correct
04:15 PM pcw_home: I recommend that you print the 7i92_C11Gx2D.pin file for a GPIO pin reference
04:16 PM JT-Shop: IIRC I read something about getting information from a ethernet card like the 7i96 somehow?
04:16 PM pcw_home: if you look at that you will notice that GPIO1 is PWM0 on that config
04:17 PM c_e: ok then. now PWM spindle control is possible. just need to figure out the coolant relay and where to send it
04:17 PM pcw_home: jt-shop, you can use mesaflash's --readhmid option for that like all other cards
04:17 PM c_e: went into the .hal and commented out the lines for coolant for now
04:18 PM pcw_home: JT-Shop: in fact thats how that 7i92_C11Gx2D.pin file was made
04:19 PM JT-Shop: thanks
04:21 PM pcw_home: mesaflash --device 7i92 --addr yourIPAddress > bitfilename.pin
04:21 PM pcw_home: I have a script for that (makepin bitfile_name)
04:22 PM JT-Shop: cool
04:22 PM pcw_home: basically runs mesaflash 3 times, one to write, one to reload and one to readhmid
04:24 PM JT-Shop: thanks
04:36 PM pcw_home: bitfile=$1
04:36 PM pcw_home: mesaflash --device 7i92 --addr --write $bitfile
04:36 PM pcw_home: echo reload
04:36 PM pcw_home: mesaflash --device 7i92 --addr --reload
04:36 PM pcw_home: sleep 5
04:36 PM pcw_home: echo reload done
04:36 PM pcw_home: mesaflash --device 7i92 --addr --readhmid > ${bitfile%.*}.pin
04:37 PM c_e: so in the .hal file, I changed the coolant to use gpio.000.is_output instead of 001. changed all three instances of 001. changed my C11G so that pin 1 is on the last relay instead of pin 17. Doesn't seem to toggle the relay though. so I'm missing something
04:40 PM pcw_home: any GPIO pin used as an output needs to be set to output mode
04:41 PM pcw_home: ( that is, its is_output attribute set )
04:41 PM pcw_home: bbl need to fetch SO from train station
04:47 PM c_e: 5123
08:06 PM XXCoder: I dont know why I like baremetalhw channel so much. I never really had any toy cars (way too poor for fancy toys) and Im not much of hobbyist like that. https://www.youtube.com/watch?v=EQF8IHcZIwg
11:25 PM Wolf__: hmm, should I bid on a surface grinder
11:27 PM XXCoder: need it?
11:28 PM Wolf__: I think I do lol
11:28 PM XXCoder: is it good or reasonable repair?
11:29 PM Wolf__: in service from a tool and die shop that went under
11:30 PM Wolf__: its a small Reid 618HL
11:33 PM XXCoder: not bad. pricing not too bad?
11:34 PM Wolf__: opening bid is 300
11:34 PM Wolf__: I wouldnt be surprised if it goes at opening price
11:35 PM Wolf__: eye that and a deckel tool grinder
11:35 PM Wolf__: eyeing*
11:37 PM Wolf__: hell they have a VF3 Haas opening bid 7500, no bid yet
11:55 PM aircooled is now known as hazzy-lab