00:39:36 rayh_ has joined #emc 00:48:08 picnet has quit 00:59:38 rayh has quit 02:22:30 hi guys 02:23:16 hi dan 02:24:17 How are things going w/ Axis? 02:24:47 well, I use it all the time 02:25:19 I think it works just great 02:25:39 I'm going to start using if to check out G-code 02:25:54 it's definitely good for that 02:25:54 I found that Sagcad can output the code for me 02:27:00 I'll probably set up some combination of SagCad and Axis 02:27:05 darnit, I can't remember how to make autocad go into setup mode at the commandline 02:27:46 picnet has joined #emc 02:27:58 is sagcad that japanese one? 02:28:23 yes 02:28:37 but the subtitles are in english :) 02:28:42 did you get it to do anything neat? 02:29:11 yes. I can actually draw profiles with it then generate gcode, one profile at a time 02:29:32 gezr helped me set up vim w/ his syntax highlighting for gcode 02:29:55 so you draw lines and arcs, and it generates that path? 02:30:04 is that what you mean? 02:30:16 so, you draw the profile, click the g-code button, select the path and direction of cut 02:30:27 click through a dialogue box 02:30:39 then the editor pops up with your g-code 02:30:50 nice 02:30:51 it surprised the hell out of me 02:31:04 please tell me exactly what you mean when you say "profile" 02:31:09 I looked at a binary last year and couldn't make heads or tales out of it 02:31:26 compiling it on my system gives me english buttons though 02:31:44 profile as in lines and arcs chained together 02:31:56 aha, polylines 02:31:57 they don't have to be closed though 02:32:00 (I'm an autocad user) 02:32:17 I used to be too 02:32:28 I use autocad for that with homemade lisp to output gcode 02:32:35 I use ashlar vellum at work 02:32:47 we just bought ProE linux version though 02:32:56 it's great because you can use "offset" to generate a toolpath from a polyline that represents the part 02:33:38 yes, I use offset a lot (not in sagcad though-haven't figured that one out yet) 02:34:10 are you running acad under native windows environment and moving files to a linux box? 02:34:46 I use acad r12 running on FreeDOS running on QEMU running on Linux 02:34:52 cool 02:35:18 two days before I graduated from college I bought the full version of acad r12 at the student price of $99 02:35:25 best $99 I ever spent 02:35:36 yes acad12 is great 02:35:44 used it a lot some years ago 02:36:06 I have acad2000 but haven't used it much in a couple years 02:36:10 it has a windows version but I never got used to it - always liked the dos version better 02:36:22 the dos version was fast 02:36:27 I have a tablet somewhere that works with it but it takes too much desk space 02:36:45 I (briefly) ran acad for a day job 02:37:13 I have been using Qcad a bit lately to make dxf files for sagcad 02:37:23 It's really hard for me to get used to 02:37:40 so you draw plines in qcad and load the dxf in sagcad to generate gcode? 02:37:45 I used to think it was just a toy, but now it doesn't look too bad 02:37:53 yes you can do that 02:38:04 It works out easier that way 02:38:19 sagcad's drafting is pretty obtuse 02:38:50 are you doing 3d or 2.5d? 02:38:57 but, sagcad has a pretty small footprint and is more interesting than just using command line stuff 02:39:05 rayh_ has quit 02:39:09 it's only 2D 02:39:14 ah 02:39:19 not even 2.5D :) 02:39:22 so how do you specify depths, feeds etc? 02:39:35 do you still have autocad? I could give you my lisp. It's 2.5d 02:39:36 you have to manually insert them in the editor now 02:39:45 bleah 02:39:46 sure, I would like that 02:40:06 I still have it on another machine (in the garage at the moment) 02:40:27 I will be using it as soon as the weather gets warmer and I get the shop set up 02:40:51 thanks 02:41:01 ±documentation at the top of the file 02:41:07 I'll look in my dir to make sure it got there ok 02:43:00 ok got it 02:43:07 let me send a file to use with it to experiment 02:43:10 ok 02:43:15 it cuts out a hole for a DB25 connector 02:44:28 ok thanks 02:45:12 sure 02:45:18 it works great for simple stuff 02:45:47 so, are you a python programmer? 02:45:55 more or less 02:46:00 I like python 02:46:18 I have been studying it for a while, but not really programming 02:46:21 I've done a couple big projects in it, but I'm not sure yet whether I like it 02:46:37 are you a C programmer? 02:46:54 yes 02:47:09 I'm a programmer in lots of things I guess 02:47:30 is working on emc going to burn you out? 02:47:38 programming all the time... 02:47:47 I haven't done much programming in emc - I just fix the bugs that bite me. 02:47:52 ok 02:47:57 I don't really have much interest in developing emc2, sorry to say. 02:48:03 you want to get some machines going then 02:48:16 I have my machine working perfectly with emc now 02:48:20 good 02:48:32 I made a new 3-axis chopper stepper drive box with spindle control 02:48:37 just finished 02:48:43 I'm really happy with it 02:48:47 what chips did you use? 02:48:53 instead of 10ipm on my mini mill, I get 25 now 02:48:59 wow 02:49:01 L297/8 02:49:10 cool. I've used them in the past 02:49:11 the drivers that came with it ... sucked 02:49:24 what did you have before? 02:49:40 a transistor and resistor per winding 02:49:53 was it commercial? 02:49:55 and a low-voltage power supply 02:49:57 yeah, maxnc 02:50:07 the mill itself and steppers are good 02:50:16 oh yeah. I've delt with them before 02:50:18 but the spindle motor sucks, the controller sucks, the software sucks 02:50:20 a long time ago 02:50:27 so I replaced all that with stuff that doesn't suck 02:50:29 the software is what I used 02:50:33 now it's a great mill 02:50:35 it sucked 02:50:38 hahaha 02:50:40 I need to go 02:50:42 dinner time 02:50:44 ok, goodnight 02:50:46 thanks 03:29:41 hi chris 03:32:11 your mill isn't *done* at least until you do the spindle speed control and make the spindle go faster 03:45:52 picnet has quit 04:28:20 picnet has joined #emc 05:42:21 * asdfqwega has rewired his stepper control / parport breakout / PWM laser control 05:42:45 Yes, you too can use Rats-Nest(tm) Technology! 05:47:34 Crivens, this is fugly. 05:47:57 I've got two parports going into the control box 05:48:47 I've got two IDC connectors on the shell, but I split up the ribbon cable and wire everything in the air 05:50:22 So I have this spaghetti tangle ball, and I hold it up with a few wire-ties so the fan can blow on to the driver heatsinks. 05:51:12 The only good thing is, it works...and better than the PCB and proto board I was using. 05:55:34 So I've got it working again...what do I do now? 05:59:59 picnet has quit 06:29:02 picnet has joined #emc 12:32:01 logger_aj has joined #emc 12:32:01 topic is: Welcome to the Enhanced Machine Control forum | Regular Developer's meetings every Sunday between 14:00 & 18:00 GMT 12:32:01 Users on #emc: logger_aj anonimasu alex_joni thalx danfalck @ChanServ CIA-5 ccjoe les A-L-P-H-A cradek asdfqwega learath @pc_op jepler zwisk gezr websys 12:41:21 picnet has joined #emc 13:08:07 alex_joni: /me yawns 13:08:10 err 13:08:12 * anonimasu yawns 13:09:01 * alex_joni agrees 13:09:09 I'm waiting to get off work 13:09:11 :D 13:09:28 :) 13:09:29 me too 13:09:35 so I can try get the mill functioning.. 13:09:46 yeah... 13:10:18 about 2 hours 13:10:20 I have one hour advantage... it's 15:10 here ;) 13:10:20 maybe 1:30 13:10:40 but I dont know if I should take some time to practice tig welding :) 13:10:59 tig welding is cool 13:11:02 yeah 13:11:18 I wish I had a welder like the one at work at home :) 13:11:45 although there's no one that really knows how to weld with it yet.. 13:12:04 welding alu is hard :) 13:12:29 * alex_joni really likes microplasma 13:12:42 welding alu is not that hard 13:12:49 isnt it? 13:12:50 but you need an AC one 13:12:53 not really hard 13:13:30 the tig I weld with is a ac one.. 13:13:43 what alu-thickness? 13:13:54 3mm 13:14:09 the tig's a 350A watercooled new oerlikon unit.. 13:14:25 350A is way over for 3mm 13:14:37 about 1cm.. without preheating.. 13:15:04 what type of welding? 13:15:07 buttwelding? 13:15:14 with or without filler wire? 13:15:26 with filler 13:15:39 I'd go around 100-150 A 13:15:49 depends on the weld you need 13:15:50 120 is what I weld with.. 13:15:55 sounds ok 13:16:28 still welding alu is hard :) or requires lots of training 13:18:34 stainless is really neat :) 13:18:45 did you see the image of the machine? 13:18:49 yeah.. I just welded some stainless 13:18:54 nice machine 13:19:03 :) 13:19:06 1.5 mm stainless steel containers 13:19:10 nice :) 13:19:19 but not manually ;) 13:19:25 hehe 13:19:32 welding robot? 13:19:49 I always choose to weld with a robot or automat 13:19:53 :) 13:19:56 this time it wasn't robot 13:19:59 ok 13:20:01 tig is hard with a robot 13:20:05 yeah probably 13:20:10 you mean wire feeder? 13:20:17 because you need to keep the distance to the piece 13:20:25 height is very crucial for TIG 13:20:29 yeah yep 13:20:38 MIG/MAG doesn't really care (5-15mm is pretty ok) 13:20:45 yeah 13:21:02 but well, mig dosent compare to tig, either 13:21:09 mig is nicer ;) 13:21:16 you can even weld alu :D 13:21:32 yeah but the welds will look like crap ;) 13:21:37 tig is slow ;) but more accurate 13:21:42 used to have a mig for welding alu here.. 13:21:49 not really crap... depends on the welding power source 13:22:03 well, tig is nicer although not in mass production 13:22:10 the company I work for (CLOOS) sold some MIG-Tandem for ALU 13:22:31 it was for the new ICE-trains (Deutsche Bahn) 13:22:37 ah ok 13:22:40 they weld the side panels of the cars 13:22:46 yeah if you are going to weld lots there are better things then tig.. 13:22:49 so they need fast/good alu welds 13:22:56 MIG/YAG 13:22:57 :D 13:23:00 tig isnt really speedy ;) 13:23:17 yeah... but it's very clean (no noise, no spatter) 13:23:23 yeah 13:23:35 good welds also.. 13:23:43 but that depends on the welder 13:23:44 :) 13:23:53 but a bad tig weld looks bad :) 13:24:18 so does a bad MIG weld ;) 13:24:28 not nesscesarily.. 13:24:35 http://www.sudura.ro/pub/a14.jpg 13:24:42 some MIG weld I did a while ago 13:24:48 I've seen wonderful mig welds.. on the outside 13:24:53 that looked like OooOoo inside.. 13:25:00 lol 13:25:04 looks nice... 13:25:10 yup.. but not manual ;) 13:25:19 kind of expected that :) 13:25:31 all I do is robot welding... 13:25:39 hehe 13:25:46 picnet has quit 13:25:59 we mostly do one off stuff where I work so robots isnt a good option :9 13:26:41 probably not ;) 13:27:30 dosent welding alu with mig splatter lots? 13:27:49 not really, if you got a ALU MIG power source 13:28:16 ah in that case I dont know 13:28:55 but when welding alu with a regular normal mig :) it splatters like hell 13:29:17 the ones from CLOOS have a function called ALU-PLUS 13:29:20 MIG with pulse + Alu-Plus 13:29:49 ah ok 13:30:12 I'd buy a multi-process if I had to buy a welding machine 13:30:17 MIG/MAG/TIG/Stick 13:30:48 hm, I'd go for a small tig from like miller.. 13:30:51 for home use.. 13:31:00 I saw some good offers somone on cnczone bought.. 13:31:30 although I dont know if that machine had upslope an 13:31:35 and downslope and things 13:31:46 but there were a model a notch over it that did 13:31:50 they seemed pretty affordable.. 13:32:51 this is a great TIG machine: http://www.robcon.ro/sudura/images/glw300ih.jpg 13:33:11 but a lot bigger than home use ;) 13:33:11 :) 13:33:18 looks simmiliar to the one we have at work.. 13:33:23 similiar.. 13:33:46 although what do you weld with 300A at home ;) 13:34:05 yeah... 13:34:13 I'd buy a microplasma for home ;) 13:34:17 0.5A - 80A 13:34:22 I've never seen anything like that 13:34:26 just on some ads.. 13:34:28 it's the best 13:34:39 I played once with one, before we shipped it 13:34:50 I didn't even use a welding mask D: 13:34:56 heh 13:35:09 http://www.robcon.ro/sudura/images/gl80.jpg 13:35:25 you can weld .1 mm sheets 13:35:37 neat :) 13:35:57 and it's not very expensive... 13:36:08 around 6k EURO 13:36:21 ouch :D 13:36:30 for home use that's very expensive 13:36:42 I agree... but for industrial use... 13:36:44 the tig I was thinking about costs about 1000eur at max.. 13:36:45 yeah 13:37:06 I just got a request from a friend 13:37:11 who welds some auto-parts 13:37:12 how thick stuff do you weld with a micrplasma? 13:37:21 you can go up to 2-3mm 13:37:24 ah ok 13:37:24 :) 13:37:28 depends on the weld you need 13:37:40 well, any kind of weld almost with full penetration.. 13:37:43 the advantage is that you have a pilot-arc 13:38:02 yep 13:38:20 you can use a tig like that if you want also.. 13:38:52 a microplasma is actually a tig with plasma gas around it 13:38:57 you have 2 gases 13:39:03 one inside (for the plasma) 13:39:13 and one for shielding (like for tig) 13:40:37 ok 13:41:11 http://www.twi.co.uk/j32k/protected/band_3/jk7.html 13:43:27 nice 13:46:53 * anonimasu has trouble about a sensor 13:47:26 hold on need to run for a bit 13:51:58 ok 14:05:45 iab 14:06:48 it solved itself 14:08:49 hihi... generally I'm scheptic to such solutions ;) 14:09:37 lol 14:09:58 it was about zeroing the sensor.. 14:10:09 I see... well then ;) 14:10:44 I had a talk to my father, about it.. the issue solves itself because the speed of the huydralics will be enough.. 14:11:03 to get to a position where the sensor isnt in use.. 14:11:54 otherwise you might lock the machine up by waiting for a signal you dont get.. unless I code in a timeout while in motion.. but I'd rather not do that since its not use friendly.. 14:12:10 or well I might do it anyway.. 14:12:19 although not user configurable.. 14:13:14 * alex_joni likes undocumented features :D 14:13:35 they will be documented.. 14:13:51 but not in the user manuall ;) 14:13:53 manual. 14:13:53 :P 14:13:57 the techie one.. 14:14:35 * anonimasu hates things users can set.. 14:14:38 sensors are better :9 14:15:04 having sensors instead of times for functions are much more efficient.. 14:15:20 but it also increases the cost 14:16:08 the cost isnt compareable to the increase in speed the customer sees.. 14:16:17 or well overall effiency.. 14:16:31 well then.. go for it ;) 14:16:50 this thing has to go up/down/do its stuff 2000 times per hectar.. 14:17:12 a lot of trees :D 14:17:15 yeah.. 14:17:28 at 2kmh you need to do about one every 1,8sec.. 14:18:00 which I can do easily, but even 0,5s adds spacing to them.. 14:18:33 yeah 14:19:09 it's somthing like 5000/600 14:19:12 m 14:19:17 per sec at 5kmh 14:19:18 ;) 14:19:34 err wrong.. 14:19:38 but maybe 0.8m.. 14:20:03 somwhere around that :9 14:20:10 so every delay is lots.. 14:20:17 the work is inspected aswell.. :) 14:21:34 they check while they run so they have a certain number of "good" spots.. 14:21:48 in a area of 10x10 14:21:51 m 14:21:58 every once in a while.. 14:25:09 ^_^ 14:41:57 picnet has joined #emc 14:49:52 time go head home 14:50:08 c u 14:50:37 yeah 14:50:40 laters :) 14:50:46 I'll see if I get the mill running later 15:30:26 * alex_joni is gone 15:30:28 alex_joni has left #emc 15:33:26 SWPadnos has joined #emc 15:33:38 SWPadnos has left #emc 15:47:37 picnet has quit 16:12:42 slomo has joined #emc 16:53:52 picnet has joined #emc 17:48:10 slomo has left #emc 17:49:10 slomo has joined #emc 18:04:18 picnet has quit 18:54:31 picnet has joined #emc 19:31:26 alex_joni has joined #emc 19:31:36 * alex_joni waves 19:47:36 picnet has quit 19:50:52 no one around? 19:51:15 nope 19:51:21 I've got the channel open but I'm trying to work... 19:51:47 don't be scared .. no more NML from me ;) 19:52:10 anything new? 19:52:28 yeah, jepler's trying to work 19:52:50 * cradek laughs internally at his clever little joke 19:52:55 * alex_joni notes that in his calendar 19:53:36 tracking a UPS package repeatedly should make it come faster 19:53:47 really? 19:53:56 well, if I ruled the world it would. 19:53:58 in my experience it came slower :D 19:54:07 that's true. 19:54:14 UPS is pretty ok... 19:54:19 I really hate FedEx 19:54:28 at least the romanian office... 19:54:36 around here I think UPS destroys more stuff. 19:54:41 I had an urgent shipment (express or how it's called) 19:54:46 I would never ship anything remotely fragile with them. 19:54:54 and fedex got it to romania in a day, 19:55:03 and I received the package after 5 more days :( 19:55:14 I'd rather have late than destroyed 19:55:23 now that's what I call a "good" service 19:55:33 destoyed = bad packaging ;) 19:55:37 stuck in customs or something? 19:55:53 yeah.. and no interest 19:55:57 I agree - bad packaging is usually, but not always the cause. 19:56:11 they sent us a telegrame we should send them some papers 19:56:25 and that telegramme was sent by post, and we got it 3 days later 19:56:26 :( 19:56:35 huh 19:56:39 * alex_joni thinks they never heard of phones, or emails 19:56:47 sometimes overseas shipping just sucks. 19:56:53 I've had good luck with DHL for that 19:57:06 but I haven't done it much. 19:57:10 well.. I don't really know 19:57:18 sometimes they get stuff very fast 19:57:28 sometimes it takes ages 19:57:28 :) 19:57:38 * alex_joni found a nicely built machine: http://hacocanada.com/plasma.html 19:57:48 so are you going to hook up SPINDLE_FORWARD next? 19:58:14 spindle is a little bit more peculiar 19:58:18 I gotta read some about it 19:58:26 fume extraction is guaranteed through selective opening of the chambers, pneumatically controlled by the position of the gantry. 19:58:29 wow, cool 19:58:34 it has also the analog control that should be available 19:58:46 * alex_joni likes AC-servos and rack&pinion drive 19:58:53 yeah, I'm about to hack that into my system 19:59:00 if they weren't so darn expensive... 19:59:05 what? AC drives? 19:59:10 no, spindle speed control 19:59:17 oh.. coo 19:59:26 I could add it to emc2 ;) 19:59:35 hack out the analog output crap, hack in rs232 serial or bit-banged serial over a couple parallel lines, haven't decided yet 20:00:08 your spindle controller uses serial? 20:00:16 don't know yet, I haven't built it 20:00:25 coo ;) 20:00:29 but it seems like one obvious way to do it 20:00:31 this is the best time.. 20:00:44 or, usb, hmmmm 20:00:55 nah... usb is... weird ;) 20:01:14 it would definitely be easier to talk rs232 20:01:25 yeah... 20:01:27 but my machine may only have one serial port 20:01:32 on both sides 20:01:39 I would hate to use it up, even though I could always put in another one 20:01:50 usb/serial conv ;) 20:01:58 you can do whatever you like with m101, right? 20:02:02 jepler and I have done usb<->AVR microcontroller 20:02:04 I got one for my laptop ;) 20:02:05 jepler: yep 20:02:16 well, we copied someone else's usb<>avr controller 20:02:20 usb<->avr? 20:02:23 :D 20:02:32 avr are neat little microcontrollers 20:02:33 what chip did you use? 20:02:38 90s2313 20:02:39 * alex_joni agrees 20:02:42 at90s2313 20:02:44 master? 20:02:50 brb 20:02:51 no, low-speed slave 20:02:56 oh.. ok 20:03:15 there is a ATMega128 schematic with USB-master 20:03:19 but no SW yet 20:03:23 it's very slow and simple, but you can basically hook it right to the USB bus with only a 1.5k resistor 20:03:33 this is all software, you bit-bang at 1.5mbps 20:03:41 imagine a web-cam hooked up to a ATMega running Ethernut (web-server) 20:04:10 I got a little ethernet board but failed to get it running on atmega16 20:04:20 then I lost interest 20:04:45 * alex_joni has done a few ATMega128 + RTL8029 20:06:46 make that RTL8019AS ;) 20:09:53 something very nice: http://www.ispf.de/modules.php?name=News&file=article&sid=5 20:17:34 "nicht fertig" = unfinished? 20:17:45 what you get for <= EUR10? 20:17:54 err, what DO you get 20:18:02 the circuit board? 20:18:02 "Prospective price pro plate" 20:18:09 the PCB 20:18:19 without components 20:18:36 the guy started the project to get other people involved, to split the PCB costs 20:19:20 paul_c has joined #emc 20:19:34 interesting but WAY more complex than anything I would want 20:19:40 good evening paul_c 20:19:46 welcome back ;-) 20:19:52 Evening all. 20:19:57 hello 20:20:00 cradek: you don't have to mount everything on the board 20:20:02 yeah, it looks like it does everything 20:20:23 paul_c: I've been meaning to bug you about CVS. Could you put a tag like BDI_4_08 when you make a release? It would help me do support. 20:20:44 for instance, it would be great to have a tag that shows what les is running 20:20:52 and I ran into another instance helping rayh the other day 20:20:55 I would like a board with a big atmega and external sram, usb-serial or level converter .. but I don't need ethernet, CPLD, CAN, etc... 20:21:29 jepler: any news on the ATMega256 ? 20:21:52 * cradek has never needed/used anything over mega32 20:21:57 I heard a few rumors that they wanna release it... 20:22:14 nope .. I don't pay too much attention 20:22:37 that will be a nice micro (256k flash) 20:22:40 I have mostly done small tasks anyway, the only projects I've finished were 2313 20:23:01 the 2313 is great because of the price, but it's pretty easy to fill up 2k 20:23:33 I like to use ethernut (threads, http, ppp, etc.) 20:23:36 * cradek got dozens of 2313 for $1 each 20:24:04 what's a 2313? 20:24:07 made one project that used two of them communicating over serial 20:24:17 at90s2313 - DIP, 2k program space 20:24:27 cradek: Most of the BDI-4.xx code is in the emc2 tree... 20:24:28 what core? 20:24:52 I used some AT90C2051 & 4051 20:24:54 paul_c: that doesn't matter to me as long as it has tags 20:26:45 alex_joni: avr without multiply or spm 20:27:03 with gcc? 20:28:20 yeah 20:28:43 cool thing.. gotta look into that .. thanks for the tip 20:55:05 picnet has joined #emc 20:56:21 you guys have any ideas about spindle control? 20:57:06 I think spindle-forward, spindle-backward, spindle-speed (outputs to HAL) 20:57:22 and some feedback from HAL (spindle-measured_speed maybe) 20:58:27 no idea how spindle speed is supposed to work 20:58:43 does anyone use it? I don't think even bridgeportio supports it 20:58:55 I think it should be done so that any type can be used 20:59:08 once in HAL you cand hook whatever to the signal 20:59:15 DAC, serial output 21:25:05 anyways... I'm going to bed 21:25:09 night guys 21:31:38 alex_joni has left #emc 21:42:36 picnet has quit 22:01:37 howdy ya'll 22:07:41 Evening gezr 22:09:19 paul_c : I was thinking you had left on some sort of trip or something, good seeing you :) 22:09:43 Had to do some work over at Lil' Sis' 22:09:54 ah, thats right, hope that went well 22:10:22 I hate flat-pack kitchens. 22:19:58 ottos has joined #emc 22:20:38 good day gents and congrats to all that helped in compiling BDi 4.0x. nice work keep it up. 22:21:11 issa pile of poo - I've got bug reports galore to fix. 22:21:39 still effort that counts...:D 22:22:51 paul any suggestion on rotary axis home switch..? 22:23:26 Use the index marker on an encoder 22:31:16 thanx..gotta go later.. 22:31:18 ottos has quit 22:40:17 is stuck,lost and doesn't know which way to turn :) 22:47:05 hello all 22:47:31 needs a df steer 22:47:41 anyone know if emc/stg uses the watchdog function? 22:47:51 df steer ha remember that 22:48:20 not offered in the lower 48 much anymore 22:48:34 ? 22:48:39 howdy les 22:49:04 lost airplanes used to be able to request a directional finder steer 22:49:08 howdy 22:49:23 and i'm lost !!! 22:49:30 haha 22:49:55 Mer has joined #EMC 22:50:09 I am just continuing my quest to not stare at the machine while it's running waiting for something bad to happen 22:50:26 a watchdog timer would help 22:50:38 the stg has this I think 22:50:47 not so sure emc uses it though 22:50:52 the stg has one 22:50:56 The watchdog time on the STG card is not used. 22:50:59 not sure if its coded into the software 22:51:06 and i continue to stare at it, waiting for the RIGHT thing to happen 22:51:43 paul: not such a big deal to implement it I would think 22:52:07 it would make my life a bit stressful 22:52:38 a couple reads and writes in newstg.c? 22:52:40 'pends what you want to happen should the w/d timer time out... 22:52:50 just estop 22:53:18 would have to be a hardware estop from the stg 22:53:22 A system reset, halt EMC, or trigger E-Stop yet still leave the RT code running. 22:53:35 oh and for the worry, I sorta worried, I had a 10inch dia part 146.5 inches long whirling around at 345rpm, and my doc was roughly .060" and the feed rate was a nice .028"/rev :) 22:54:22 yeah...but if newstg is realtime not resetting would indicate a computer problem 22:54:57 I would just like to do other work while the machine is running 22:55:41 picnet has joined #emc 22:55:44 at 32 hrs plus machine time a week it is getting old sitting there eyeing the big red button 22:55:57 REALLY old 22:56:17 It's like a stressful version of watching paint dry 22:56:47 Know what I mean? 22:58:44 I could look up the addresses of the watchdog function in the manual 22:58:59 les : what are you after? 22:59:05 where would the best place be to code it? 22:59:10 I mean, what is you intended goal? 22:59:53 gezer: goal is not to have a body monitoring the machine...to have enough confidence to leave it running semi-unattended 22:59:54 Using a watchdog timer is only of use to make sure the (for example) servo loop doesn't hang. 23:00:27 or the computer does not creash or fail 23:00:36 right. 23:00:51 like a hd pooping out or any number of other hardware failures 23:01:16 emc and linux are solid... 23:01:20 right 23:01:34 You would need to write an interrupt handler and set it with the highest priority 23:01:43 pushing 500 kg of iron around with and old pc is not... 23:01:56 adjusting the servo loop priority to suit... 23:01:57 thanks 23:02:09 thanks 23:02:14 its your tooling thats in question, only thing I can suggest, is make a spring held switch, that rests againsts the tool, if the tool breaks, the spring pulls the switch to open, and the drives lose power 23:02:19 then add a routine to kick the dog on each servo loop. 23:02:21 slomo has left #emc 23:02:37 well real time code always has highest priority right? 23:02:53 higher than linux. 23:02:58 you cannot preempt a crash, only minimize what happens after it 23:03:02 Is newstg.c all written in RT kernal space? 23:03:09 but you can set the priorties of the RT code too. 23:03:14 Gezer: right 23:03:27 Paul: oh 23:04:03 does the vital card have a watchdog as well? 23:04:15 I think it does. 23:04:19 les : im very fast at detecting tooling changes such as sound, chip type, and react quicly to them, but Ive never stopped anying once that ball started rolling, only did what I could do to shut things down afterwards 23:05:52 Gezr: I was thinking about a separate program that learns the history of servo currents vs time in a peoduction program and estops if anything extraordinary happens 23:06:01 but 23:06:18 they have vibro type broken tool detectors yeah, you could have that 23:06:37 just setting ferror estop close and a watchdog would do the same thing right? 23:06:52 yes 23:06:56 watchdog because... 23:07:10 you want to let the control know there is a falut 23:07:19 the computer has to be working for ferror estop to work 23:07:39 if the computer fails, stg should fail as well 23:07:52 it shouldnt go into an auto pilot 23:07:53 perhaps...perhaps not 23:08:11 and oh my, a homming routine, used by seimens is plc baised 23:08:26 gezr: servos tend to run away in a fault 23:08:38 during power on, the machine can be homed long before the computer is up and running 23:08:49 I just though of that, had to share 23:09:03 les : that shouldnt be allowed 23:09:37 Well agreed something separate from the control comuter needs to check for faults 23:09:52 My little circuit does that some 23:10:28 The onre that calculates inertia, friction, and cutting forces 23:10:32 okay, on some machines, during an estop condition, the servos may still have enough stored power to continue some motion, and the machine may not even set a spindle break on 23:10:33 one 23:11:09 But I think a tight ferror estop and a watchdog would be about as good 23:11:11 but basically stop all plc function and power down drives 23:11:39 les : yes, ferror to show heavy tool wear, catastrophic failure will not be detected 23:11:41 The only thing not covered is a partial stg failure while the computer still runs 23:12:28 Gezr: emc ferror estop has saved the machine several times in nasty crashes 23:12:52 like the collet failure 23:13:09 les: emc needs to have a seperate pluse running to stg, to its watchdog, I think, and one headed the other way, if one detectes fault then it is halted, like if emc doenst gets its incomming train emc stops, if stg doesnt get its train then stg stops sending further on, right? 23:13:09 ferror estop shut the machine down 23:13:32 right 23:13:37 les : but some damage had occured because of the instant event 23:14:21 I think I will hunt up the watchdog on stg and ask abdul about that function on the motenc 23:14:35 its that instant event that cannont be predicted, an ferror would notice the drive using more power then it would to perform (this) task, but a tool could break without (that) event happening 23:14:47 and see if we can get something implemented 23:15:16 Gezer: true and instantaneous event cannot be predicted 23:15:44 But I'm here to tell you it stops pretty fast 23:16:01 les : what I had to do on many jobs was reguardless of tools condition, replace the tool, it got expensive on many jobs, but it was the only way to run the stuff, without losing lots of stuff 23:16:15 yeah, I know it stops quickly :) 23:16:35 Mer has quit 23:16:41 Like when it tried to push a slipping bit into cherry with 2000 lb force 23:16:55 it stopped QUICK 23:17:06 im not trying to be discouring, just being honest, as are you, I want the same results you are after :) 23:17:14 did not break the bit 23:17:29 sensed the increased load though :) 23:17:36 Mer has joined #EMC 23:17:42 I just want to stop having to sit at the machine 32 hrs a week 23:17:54 Mer has quit 23:17:56 It's driving me nuts 23:18:09 les : is there any predictable event you have noticed? 23:18:26 heh... yeah... 23:18:48 the bits slides out what if you put a collar on the bit, so that once it started to slide, the colar would increase that load? 23:19:03 or tie in a ferror type alarm of some sort to the spindle motor? 23:19:11 I run the machine...my workers sand and finish the resultant product...and we all get ok paychecks 23:19:24 thats what I hate the most about the machine im on, its the first machine ive ran without a load meter 23:19:40 just an analog meter connected to the spindle 23:19:51 Gezer: my little circuit does that 23:20:04 les : do you have a visual result you could look at? 23:20:21 ? 23:20:30 good parts? 23:20:36 oh yeah, this will help you think about things tommrow 23:20:41 no motors load 23:21:13 well I run up to 5.6 kVA on the servos 23:21:16 do you have an a/c current meter you could use to monitor the spindle motor? 23:21:31 but most of that is for accelerating the inertia 23:21:57 you will see changes in the spindles current, long before you see it in a servos 23:22:14 sure... a shunt 23:22:18 are you following me? 23:22:25 yes 23:22:56 I think if you could watch a run, with a tool in its midlife, and monitor the spindles "load" you will see it slightly increase with each part 23:22:58 My little citcuit stops things if spindle rpm drops below a certain point 23:23:11 oh okay 23:23:31 Gezr: Ferror will show this too 23:23:54 with what im talking about, you would be able to set a break point in which tool failure could be expected or predicted 23:24:27 a motor will take more current before a rpm decrease would happen right? 23:24:50 lower rpm under load=more current 23:24:54 instantly 23:25:08 and your circuit would detect that right? 23:25:22 yup 23:25:59 I had to have two more cutters airmailed out for the hollowing out part 23:26:07 most power required there 23:26:20 just to get an idea... 23:26:27 with an analog meter you could see changes that your circuit may not be able to catch, it catches the event you want it to catch, but if you had a way to see a change before that "triger" condition existed, you would be able to say, something is wrong 23:26:35 generated 200 lbs of chips just this week 23:27:13 Gezr: My circuit IS analog...and reacts in microseconds 23:27:48 with a little needle? 23:28:05 but a watchdog would just be a further safety 23:28:13 oh yeah 23:28:51 Gezr: No, it uses High speed analog op amps to solve the second order diff equation of motions 23:29:14 then gives a digital signal if something is wrong 23:30:06 thats on the spindle? 23:30:48 and servos 23:31:23 monitors spindle rpm and all servo speeds and currents 23:31:44 but it is experimental 23:31:56 not hooked up permanently 23:32:08 seems to work experimentally 23:32:29 but I am in full production and cannot experiment much 23:32:50 but a watchdog might be very easy and quick to throw in 23:33:05 can you add a plain ole bouncing needle amp meter to your spindle to see if you can as a human detect something ? 23:33:49 It kinda is that...if the "needle" bounces too much hardware shuts down 23:34:41 okay, what if a human saw the needle a bit further to the right compared to how it was on the previous set of parts, the human may think the tool has a bit of wear on it, and it might need changing 23:34:53 The idea is to not have to sit there monitoring tha machine all the time 23:35:14 not a big deal with occasional use 23:35:22 but 32 hrs a week!!! 23:35:33 drivin me nuts 23:37:09 im just talking about a way to guage where things are, or state, so you can more readly predict at how many parts your tool is too worn out to safely procede 23:37:39 that's easy enough 23:37:45 so you could say walk away for 2 hours, and then check, and then 2 more later, come back and change the bit 23:38:01 a tight ferror spec does that pretty well 23:38:11 im not giving a soulution to the over all issue, but a method in which you or anyone could notice that the needle has passed the "red line" 23:38:12 tool wear= higher forces 23:38:19 exactly 23:38:22 higher forces=more ferror 23:38:34 always 23:38:46 ive just never seen ferror on a spindle 23:38:55 so thats probably what im missing 23:39:08 on the servos rather than the spindle 23:39:31 that point may already be too far 23:39:46 they will have more ferror if they have to push harder 23:40:06 and the motor will have a increasing factor of its load 23:40:34 right? 23:40:55 well ferror is not the perfect safeguard...but I have no time to install my little circuit 23:41:07 the little circuit monitors all that 23:41:23 then monitor the spindles current load visually 23:41:31 but with a watchdog ferror is almost as good 23:41:39 and I can do it quick 23:41:54 a few lines of code and a recompile 23:41:55 just as long as you have to to be able to predict an event 23:42:27 It cannot predict...but it can react fast 23:42:49 yeah, Im aware of that 23:42:52 There are some issues if one uses a lot of Integral gain and feedforward 23:43:22 all im talking about is a way for you or someone else to visually see a change, if ever so slight 23:43:34 for now I would reduce those... 23:43:36 right 23:43:58 ferror can see a change that you cannot hear or otherwise notice 23:43:59 a case and point would be, you have a dull bit, and you start to catch parts on fire, you may notice you have a problem going on :) 23:44:00 but 23:44:10 the computer has to work 23:44:30 hence a watchdog to cover the computer failing 23:44:58 Yes...there is a real fire danger with this stuff 23:44:59 yeah, all im talking about is a way for a slight change to be noticed, the watchdog and ferror changes are necessary for a number of other reasons as well 23:46:47 A dull or slipping tool is the ultimate rubbing two sticks together...and the embers get ducked up in a big dust collector fanning the flames with 1200 cfm air flow and a couple hundred pounds of chips to light 23:46:57 sucked 23:47:08 I know you know that, and I also know you know a better way to go about it, ive just spent thousands of hours sitting in front of machines, and I learned to use senses to pick up on things, watching a meter, chip types and shape, sounds, and sometimes got lucky with a 5th sence and stopped things just in the nick of time. I dont like sitting in front of a machine either, 23:47:08 not ducked 23:48:19 Gezr: I will always have to be in the vicinity...but I just don't want to be cahined to the thing 23:48:25 what if you put a colar onthe tool, and if it pulled out a bit, it would break a contact made with a wire resting on the collors top and thus creating a estop or something issue 23:48:26 chained 23:49:00 I thought about breaking wire or foil and stuff 23:49:05 perhaps 23:49:09 just anything 23:49:14 details get complicated 23:49:46 im only presenting ideas, but I really think that a quick method to see to assist sounds may just be a simple amp meter 23:50:09 then I thought of hall effect sensor cepstrum analysis which I mentioned a few days ago 23:50:12 I know its not what your after 23:50:36 yeah, anything to sense a change that the machine may not be able to measure 23:50:37 but all of those I cannot do right now because of the production volume 23:50:42 catch 22 kinda 23:50:52 yeah 23:51:07 did spend the last 1,5 days doing lube /cleaning 23:51:17 must do that 23:51:54 repacked all ballnuts and linear slide trucks 23:52:03 washed the ballscrews 23:52:08 etc 23:52:37 I wish I had a solid solution to your problem 23:52:50 Well I have it 23:52:59 what I do not have is time 23:53:29 but just a watchdog would make me feel WAY better 23:53:35 that I can do 23:53:43 CIA-5 has quit 23:53:46 I'll hunt it up in the stg manual 23:54:28 You know gezr, after this extended run I want a vacation... 23:54:41 like ALL spring 23:54:43 hahahaha 23:54:44 heh 23:55:09 I get 2 weeks a year, already spent 1 day 23:55:30 I had a month at ITW 23:55:42 With my company not so much 23:55:56 If you own it you tend to never take off 23:56:23 you have a lot of things going on right now, and your experiencing some growing pains 23:56:45 But I want to fish and play golf for about 3 months after this bit 23:56:47 haha 23:57:09 that sounds like a plan 23:57:26 yeah beats this schedule: 23:57:43 triple turkey call production 23:58:06 ship 5 robotic testers to ITW for my encoder design 23:58:08 and 23:58:30 design a foam cutting machine for another manufacturer 23:58:37 when? 23:58:44 all NOW of course 23:58:57 argh 23:59:08 everyone eats an elephant the same way :) 23:59:09 oh well at least I'm working 23:59:33 haha 23:59:45 :) 23:59:54 well better go and prepare some dinner