00:00:34 an0n__ has joined #emc 00:18:17 picnet has quit 00:23:28 * an0n__ sighs 00:23:31 I think I just broke a servo 00:23:34 :( 00:23:34 an0n__ is now known as an0n 00:24:52 How can you "break a servo" ?? 00:55:51 jepler has joined #emc 00:57:18 Is anybody running emc in simulator mode on fedora core 2? I'm having some trouble getting it to work despite some help from cradek. I've never built emc before, except to run emcplot3d. 00:59:56 * paul_c has only installed fedora once - Just to see what it was like.... 01:01:37 the program builds and executing sim.run gets me the xemc interface 01:02:23 but for instance if I jog to about y=2 then hit home, I get a message box that says "Axis 1 following error", and the same for the other axes 01:04:23 an0n has quit 01:04:27 switching to mdi mode and executing commands (such as "g0 z1" or "G0 Z1" etc) does nothing but print errors in the terminal 01:04:31 and running a program doesn't work either 01:04:51 what sort of errors ? 01:05:50 trying to execute one of the files from programs/: 01:05:56 emcTaskPlanLine() returned 1 01:05:56 emcTaskPlanCommand() called. (line_number=1) 01:05:56 canterp: unrecognized canonical command 01:05:56 emcTaskPlanExecute(0) return 1 01:05:56 emcTaskPlanClose() called at emctaskmain.cc:1248 01:05:59 Issuing EMC_TASK_PLAN_SYNCH -- (+516,+12, +0,) 01:07:06 executing "g0 z1": 01:07:06 Issuing EMC_TASK_PLAN_EXECUTE -- (+509,+268, +4,g0\040z1,) 01:07:06 canterp: unrecognized canonical command 01:07:06 emcTaskPlanExecute(g0 z1) returned 1 01:07:06 emctaskmain.cc 2104: !ERROR! error executing command 509:EMC_TASK_PLAN_EXECUTE 01:07:42 have you done an update from cvs ? 01:08:04 yes. this is a fresh checkout from this morning of the CVS HEAD of rcslib and emc (not emc2) 01:09:36 OK - I recall seeing where these errors get produced.... 01:10:35 but the canterp interface shouldn't be linked in... 01:11:39 hm, I took a copy of cradek's sim.ini, and he's uncommented centerptask and commented minimilltask 01:13:06 OK, I blew away sim.ini and checked it out again, and now I can "g0 x1 y1 z1" in mdi 01:13:47 that also changed me from xemc to tkemc, I wonder which change mattered 01:14:21 no, it works now in xemc. 01:14:43 I still get the "Axis N following error" if I jog to y=1 and then hit home 01:17:20 check your scales 01:17:20 OK, great, everything I was interested in is now working. I can run xemc and see the live plot in emcplot3d 01:17:38 3D_Chips.ngc is now plotting 01:18:46 Is there somewhere I can look in the source tree for the simplest program that would monitor the state of the mill, just printing coordinates to stdout a few times per second? 01:19:38 don't remember seeing anything to do that.. 01:48:56 picnet has joined #emc 02:11:52 FloH has joined #emc 02:15:14 Here's a screenshot of my Python + PyOpenGL rs274ngc viewer: http://craie.unpy.net/~jepler/rs274py-gplot.png 02:15:25 It has no dependency on emc 02:15:37 just a little something I've been working on... 02:22:15 For emc2 ? 02:22:44 I'm not sure what my goals are 02:23:14 I admit I started serious work on it when cradek told me that emcplot3d didn't have a clear license. 02:24:19 on the other hand, I doubt that python + pyopengl is something you want to make a requirement for emc2, and having a separate parser and interpreter for rs274 means the viewer may show different things from what emc will do 02:25:12 an0n has joined #emc 02:25:35 It's notusing the same rs274 interp. code then ? 02:26:15 nope, though I am using http://www.linuxcnc.org/handbook/RS274NGC_3/RS274NGC_3TOC.html as my documentation for the language, and my "canonical form" is also inspired by that document. 02:27:08 sorry, I have to go. 02:27:18 I'll read this scrollback later and may be back tomorrow 02:29:33 picnet has quit 03:49:32 picnet has joined #emc 03:49:33 FloH has quit 04:05:40 an0n has quit 04:05:55 cradek has quit 04:23:29 picnet has quit 05:12:12 an0n has joined #emc 05:50:12 picnet has joined #emc 05:56:01 logger_jmk has joined #emc 05:56:30 Hi John 05:57:19 I'm not really here '-) 05:59:10 just testing the conection ;} 06:11:20 * an0n broke a servo 06:11:30 500$ :( 06:11:50 I feel like crying or somthing 06:27:35 picnet has quit 06:51:37 Imperator_ has joined #emc 07:08:10 Don't feel bad an0n...I broke a $1000 laser - and a replacement cost $3000 07:09:21 an0n has quit 07:10:10 logger_jmk has quit 07:50:47 picnet has joined #emc 07:56:09 ottos has joined #emc 07:57:05 ottos has quit 08:11:05 logger_jmk has joined #emc 08:28:39 picnet has quit 09:00:37 cradek has joined #emc 09:01:55 cradek: http://craie.unpy.net/~jepler/rs274py-gplot.png 09:02:16 hi paul, hi jepler 09:03:09 Evening cradek 09:05:34 so what did I miss? 09:06:07 not a lot 09:06:23 It's been fairly quiet the last few days. 09:06:58 I'm going to have to complain to my sysadmin about these network outages 09:07:17 cradek yeah I bet they need a good laugh! 09:07:44 pfred1_: the real irony here is that I'm the sysadmin 09:08:38 10:30pm up 29 days, 8:37, 1 user, load average: 0.00, 0.00, 0.00 09:08:51 paul_c: ? 09:09:41 23:03:23 up 29 days, 8:32, 3 users, load average: 1.49, 1.64, 1.58 09:09:59 My router & server stats ;} 09:10:19 but only a windows user could be proud of that 09:10:27 5:00pm up 1202 days, 6:46, 1 user, load average: 0.12, 0.04, 0.02 09:10:54 I had to reboot 29 days ago after a power outage 09:11:01 -> ls -ld /lost+found/ 09:11:01 drwxr-xr-x 2 root root 8192 Oct 17 1991 /lost+found/ 09:11:15 I had to shut this machine off because the office moved 4 years ago 09:12:39 so jepler showed off gplot 09:13:18 Looks good 09:13:29 and it has a proper license 09:13:41 Now... If we could talk him in to committing to emc2 under GPL... 09:14:20 * paul_c thinks about the possibilities of using vtk 09:14:32 I don't see any particular reason it should be in the same repository as emc 09:14:54 they can read the same files 09:14:58 they are useful together 09:15:09 but they are unrelated otherwise (no code in common) 09:17:52 what did he say about this when you asked him? 09:18:02 the main emc tree is a mess when it comes to working out what is GPL, Public Domain, non-free, and non-commercial 09:20:01 logger_jmk has quit 09:21:45 emc2 isn't GPL? 09:22:14 emc2 is, but emc(1) isn't 09:22:40 emc1 is public domain? 09:25:00 Parts of the source code is 09:25:17 some is GPL 09:25:36 a couple of files are non-commercial 09:26:05 an a few of the sources in rcslib could be proprietory 09:26:28 damn what a mess! 09:26:55 what is "non-commercial" ? 09:27:09 not for profit 09:29:25 paul_c so that mean you can't resell the code or cna't use it in any commercial application at all? 09:32:09 pfred1_: at least one file's license is "free for non-commercial use" 09:32:14 pfred1_: that's the whole license 09:32:25 emcplot3d is the file in question - And Yes, that is how I read the response to my query 09:45:44 rs274py / gplot is GPL. 09:45:57 if you want it in the emc2 tree you're certainly welcome to it 09:47:10 jepler: Do you have cvs access ? 09:47:39 paul_c: Nope, I sure don't. 09:47:55 jepler: look out, you're about to become a developer 09:47:58 oh hell 09:48:06 Are you registered with SF ? 09:48:12 Yes, I'm "jepler" there 09:49:10 What's with the % at the top and bottom of .ngc files? It's not mentioned in the reference I'm using (http://www.linuxcnc.org/handbook/RS274NGC_3/RS274NGC_3TOC.html) 09:49:51 It's an optiona marker for the start & end of a file 09:50:24 So if there's a line with a lone "%" on it, followed by more lines, the following lines are ignored by the interpreter? 09:51:23 picnet has joined #emc 09:51:46 CIA-9 has quit 09:51:55 jepler: Yu now have full write access to CVS 09:52:11 jepler: sucker 09:52:59 I would suggest creating emc2/src/tools/3dplot (or pick your own name). 09:56:21 jepler: now you need a machine 09:56:30 Does the emc project buy me one? 09:56:43 I think so - just arrange it with paul 09:57:07 actually I think they're about to buy me a new one, and I can pass mine on to you 09:58:19 let me know when that happens 09:58:26 right 09:58:47 Sherline will do a discount for registered developers (if you ask them) 09:59:30 paul_c: we really need bigger machines with servos for proper testing. 10:01:01 hexapods with 256 tool loaders 10:01:22 sherlines are toys 10:01:28 we need a grant or something don't we 10:01:54 You want to know what I mount my Sherline on ? 10:02:00 pfred1_: you can make parts with them. just smaller parts. 10:02:15 pfred1_: mine's on a piece of oak 10:02:18 err paul: 10:02:46 mine gets bolted to the table of a Bridgeport Interact II 10:11:10 CIA-3 has joined #emc 10:40:36 logger_jmk has joined #emc 10:58:03 picnet has quit 11:27:22 Imperator_ has quit 11:34:10 paul_c has left #emc 11:35:55 logger_jmk has quit 11:36:36 paul_c has joined #emc 11:51:57 picnet has joined #emc 12:24:52 paul_c has left #emc 12:41:00 picnet has quit 13:04:31 yay, live plot display in my rs274ngc display app: http://craie.unpy.net/~jepler/rs274py-gplot-live.png 13:20:15 A-L-P-H-A has joined #emc 13:44:19 jepler: wow 13:46:12 jepler: check it in! 13:52:32 picnet has joined #emc 13:53:41 jepler: you need to come up with a name for it 13:54:49 A-L-P-H-A has quit 13:55:33 A-L-P-H-A has joined #emc 14:04:34 A-L-P-H-A has quit 14:17:15 A-L-P-H-A has joined #emc 14:19:07 A-L-P-H-A has quit 14:33:23 picnet has quit 15:02:54 A-L-P-H-A has joined #emc 15:47:31 A-L-P-H-A has left #emc 15:47:37 A-L-P-H-A has joined #emc 15:53:05 picnet has joined #emc 15:55:37 sxpert has quit 16:30:23 sxpert has joined #emc 16:38:55 picnet has quit 17:40:22 Imperator_ has joined #emc 17:53:39 picnet has joined #emc 18:03:45 A-L-P-H-A has quit 18:08:15 logger_jmk has joined #emc 18:23:25 Imperator_ has quit 18:31:58 picnet has quit 19:54:23 picnet has joined #emc 20:10:59 logger_jmk has quit 20:13:18 paul_c has joined #emc 20:27:23 picnet has quit 20:35:22 logger_jmk has joined #emc 20:36:40 Up early John ? 21:54:57 picnet has joined #emc 22:12:23 logger_jmk has quit 22:26:41 Imperator_ has joined #emc 22:27:15 Hi Paul, are you here ??? 22:28:47 picnet has quit 22:29:50 Hi Imperator_ 22:30:02 Hi Paul how are you 22:31:09 can you give me a short overview what was going on the last two weeks. In one sentence maybe 22:31:27 Not a lot... 22:32:18 Vreified the origins of emcplot3d and found it is subjuct to a non-commercial licence. 22:32:59 so it has to be rewritten 22:33:05 On going discussions about where he emc2 files should go when installed 22:33:20 jup 22:33:25 I am thinking on making EMC able to drive a gantry axis, but i want to discuss the way to do that before 22:33:50 jepler already has a python based replacement for emcplot3d 22:34:11 phyton 22:34:22 emc gets a multi language software 22:34:48 tcl c c++ phyton 22:35:06 Python is usefull for rapid development of all sorts of stuff... 22:35:40 ok 22:36:25 do you want to say something about the gantry axis, or did i have to discuss that with john ? 22:36:38 hope he is here today 22:37:37 You wanting to slave two drives ? 22:37:42 jep 22:38:05 i think this is not that big deal, but homing would be a problem 22:38:49 EMC will drive an XXYZ machine 22:38:54 i have spoken with the guys of Heidenhaim, they said that not so much controllers are able to do that 22:39:00 without any changes to the code 22:39:06 hm 22:39:34 but you are correct in your assumptions about homing 22:39:42 It would be a pain... 22:39:49 but the XX Axis must move in any case exactly the same 22:39:56 yup 22:40:06 free mode kills everything :-) 22:40:19 yes 22:41:22 there is no work in prozess at the time, or ?? 22:42:13 or anything that could help 22:42:15 les has joined #emc 22:42:24 Hi les 22:42:31 hello 22:42:47 Les would know about the problems of an XX axis 22:43:00 * paul_c passes the buck 22:43:17 well, emc was/is not set up for it 22:43:47 but I use a jackshaft to drive the big gantry on my machine 22:43:56 twin ballscrews 22:44:12 ok, i want to change that, or better i have to because my frends are starting to build such a machine at the moment and my tast is to get it work 22:44:25 great 22:44:35 :-) 22:44:52 ok that is also our backup solutian 22:44:56 the jackshaft transmissions I made were very expensive 22:45:01 but work well 22:45:25 one problem with electronic gearing.... 22:45:53 be get two linear encoders from heidenhain with 1700mm and 2200mm at ebay 22:46:03 is that the aparent mass that each end sees is constantly changing 22:46:47 so with fixed tuning some racking forces can exist due to unequal following error 22:46:58 i think that is very easy to solve with the HAL, i have only to conect two PID controller to one X output, but homing is the problem i think 22:47:03 with very tight tuning it works fine though 22:48:11 the best tandem systems would use feedforward based on the position of ANOTHER axis 22:48:37 the one(s) carried by the tandem driven axis 22:48:39 logger_jmk has joined #emc 22:49:01 but what about homing? 22:49:12 what problem do you see there? 22:49:36 i must home that two axis the same time !!! 22:49:45 otherwise the machine is gone 22:49:53 oh... 22:49:54 hmmm 22:50:04 and then i have to deside how to synchronise them 22:50:31 well if one truly slaved off the other... 22:50:32 because they are out of sync when i switch of the machine 22:50:55 in other words commanded position of one=measured position of the other 22:51:10 rather than just independent 22:51:50 ithink commanded possision must be the input for both axis 22:52:18 that is with HAL very easy 22:52:33 but they must be synchronised at homing 22:52:34 true slaving/electronic gearing needs this and emc does not do it as far as I know 22:52:44 but right...very easy to code 22:53:14 then home the master and the slave follows 22:53:50 (with servos) 22:55:05 There will always be a group delay between then due to integrators in the control laws but it coulsd be very small 22:55:12 could 22:55:24 hope so 22:55:42 high servo updates... 22:55:52 jep 22:56:12 no big problems that I see...just has to be coded 22:57:00 If a y is riding on a gantry x... 22:57:45 the master and slave x will benefit from a zero order feedforward term based on the square of y position 22:58:12 (due to moment of inertia of y) 22:58:27 godd idea 22:58:33 there are some smal problems that make the think interesting :-) 22:59:48 in the general sense inverse kinematics need jacobians and stuff in the control laws 23:00:02 but for an xxyz not very complicated 23:00:57 I wish I could have figured out where to write this into emc1 23:01:15 math is easy but figuring out the code was not 23:01:58 so jackshaft, transmission, and mechanical pitch matching cams are what I had to use 23:02:21 BIG $$$$$ that I would have preferred not to spend 23:03:18 jup 23:05:21 well I am going to make some breakfast...back in a while 23:05:32 ok i will have a deep look into the code, see you 23:15:25 ok...one last thing...if one does true slslaving for xxyz where racking error is made closed loop... 23:15:42 he will have solved lathe threading as well. 23:35:29 hm I'm not sure, because that is another thing 23:35:41 but i don't know 23:40:24 good morning golks 23:40:26 er, folks 23:46:33 hi jepler 23:47:06 are you new here ?? I was two weeks away and i have never seen you before 23:48:03 I am a guy from germany how wants to make emc able to use ganry axis 23:49:22 I've been around a few times before, but not that much. 23:49:34 I'm a friend of cradek, and sometimes I borrow his mill to do circuit boards 23:51:06 I've done a little work improving emcplot3d, and most recently I've been writing a g-code interpreter and viewer in Python, which I believe Paul mentioned earlier. 23:52:25 jep I have heard about it, is it in the CVS ?? 23:52:34 Nope, it's not in emc cvs 23:53:01 There's a screenshot online: http://craie.unpy.net/~jepler/rs274py-gplot-live.png 23:53:33 and my cvs can be viewed online: http://unpy.net/cgi-bin/viewcvs.cgi/rs274py/ 23:53:38 hm, that looks nice 23:54:13 It only supports a small subset of rs274ngc so far 23:55:36 picnet has joined #emc 23:56:05 very good, that are the tools that will make working with emc much easyer 23:58:14 I was surprised that Paul immediately suggested checking it into emc2, it's so far from complete, duplicates the parser and interpreter, and is in a new language not used in emc before...