#emc-devel | Logs for 2008-12-21

[00:26:51] <jepler> BigJohnT: I notice that in the sim/lathe.tbl, tool 7 is specified as
[00:26:52] <jepler> 7 7 0.0 0.0 0.1 -30.0 30.0 7
[00:30:17] <BigJohnT> hmm, that is not consistant with the rest of the orientations... perhaps because it is 0 degrees you have to use a plus and minus
[00:30:36] <BigJohnT> I started with the nist lathe tool table...
[00:31:42] <BigJohnT> jepler: it still does not display correctly
[00:32:08] <BigJohnT> crap didn't reload tool table
[00:32:39] <BigJohnT> jepler: yes it does display correctly with a minus/plus from 0
[00:34:31] <jepler> well that means .. something
[00:35:16] <BigJohnT> I thought it might :)
[01:32:13] <steves_logging> steves_logging is now known as steve_stallings
[01:54:14] <steve_stallings> steve_stallings is now known as steves_logging
[08:13:18] <CIA-42> EMC: 03seb 07TRUNK * 10emc2/src/hal/drivers/mesa-hostmot2/stepgen.c: Added a fixme
[08:14:01] <CIA-42> EMC: 03seb 07TRUNK * 10emc2/configs/hm2-stepper/ (README emc.nml m7i43.tbl m7i43.var m7i43_th.hal m7i43_th.ini): A working hostmot2 stepper configuration (based on Ted Hyde's hm2-servo config)
[15:43:16] <jepler> http://pastebin.ca/1290813 http://emergent.unpy.net/files/sandbox/SherlineConfigs.tar.gz
[15:44:21] <jepler> I'll work on getting these cleaned up and committed later today. I should put 'em in 2.2 too, right?
[15:46:55] <jmkasunich> I think so
[15:47:05] <jmkasunich> nice work by heinz
[15:53:30] <cradek> yay, that's great news
[16:00:27] <jmkasunich> cradek: did you see the pics of swp's lathe on the trailer?
[16:01:04] <cradek> no
[16:01:18] <cradek> is he home yet?
[16:01:24] <jmkasunich> not yet
[16:01:29] <jmkasunich> he made it to rochester last night
[16:01:55] <jmkasunich> you were talking to him last night ;-)
[16:02:14] <jmkasunich> I wouldn't be surprised if he is just starting out today
[16:02:20] <cradek> right but it's a long time since last night
[16:02:47] <jmkasunich> http://jmkasunich.com/pics/swp-lathe-2765.jpg
[16:02:47] <cradek> I'm used to people doing hours of stuff before I get out of bed, so I never know
[16:02:52] <jmkasunich> http://jmkasunich.com/pics/swp-lathe-control-2764.jpg
[16:03:02] <jmkasunich> http://jmkasunich.com/pics/swp-lathe-headstock-2763.jpg
[16:03:06] <jmkasunich> http://jmkasunich.com/pics/swp-lathe-otherside-2766.jpg
[16:03:15] <jmkasunich> he's not a morning person
[16:03:19] <CIA-42> EMC: 03jepler 07TRUNK * 10emc2/configs/Sherline3Axis/ (7 files): thanks to Heinz Reimer for this new configuration
[16:03:29] <jmkasunich> remember friday night, we were talking about getting to HGR early?
[16:03:34] <jmkasunich> I was slow, got there at 10am
[16:03:42] <jmkasunich> called him, he was eating breakfast ;-)
[16:03:52] <jmkasunich> he got there around 11 I think
[16:04:43] <cradek> heh, ok
[16:05:00] <cradek> not much holding that control on, but the lathe looks good
[16:05:14] <cradek> maybe he's hoping it will fall off anyway!
[16:05:40] <jmkasunich> wood around the base, red strap pulling it against the lathe (with wood blocking), yellow strap pulling down and back
[16:05:53] <skunkworks> cradek: didn't you use the box thought?
[16:05:59] <skunkworks> Though...
[16:05:59] <cradek> funny to see - when I loaded mine it was about 150 degrees outside
[16:06:15] <jmkasunich> how long did loading/securing/tarping take you?
[16:06:48] <cradek> 2 hours maybe
[16:06:54] <cradek> then we messed with it all the way back of course
[16:06:57] <jmkasunich> how many people?
[16:07:10] <jmkasunich> we spent over 4 hour :-(
[16:07:13] <CIA-42> EMC: 03jepler 07TRUNK * 10emc2/configs/Sherline4Axis/ (8 files): thanks to Heinz Reimer for this new configuration
[16:07:13] <cradek> 3
[16:07:46] <cradek> ouch, I bet that was cold work.
[16:07:56] <jmkasunich> at times
[16:08:11] <jmkasunich> moving around enough to stay warm, except when handling cold metal
[16:08:57] <jmkasunich> because of the sides, the trailer could only be loaded from the side
[16:09:06] <CIA-42> EMC: 03jepler 07TRUNK * 10emc2/configs/SherlineLathe/ (6 files): thanks to Heinz Reimer for this new configuration
[16:09:10] <jmkasunich> we used the come-along to move them forward
[16:09:37] <cradek> looks like you ran out of light too
[16:09:56] <jmkasunich> yeah, it got dark around 5-5:30
[16:09:56] <cradek> you mean back?
[16:10:11] <cradek> wow, those sides look like a huge pain
[16:10:12] <jmkasunich> oh, I can't type
[16:10:16] <jmkasunich> it could only be loeded from the back
[16:10:44] <jmkasunich> I still can't type ;-/
[16:10:46] <cradek> how did you get it up there? it's too long the "wrong" way for a forklift
[16:11:08] <jmkasunich> the driver brought it out sideways, then went back in for a forklift with longer forks
[16:11:14] <jmkasunich> remember, this is HGR
[16:11:20] <cradek> how will he get it down??
[16:11:24] <jmkasunich> for them, this isn't a big machine
[16:11:38] <jmkasunich> I don't think he's all that worried about that yet
[16:11:44] <cradek> ack
[16:11:46] <jmkasunich> I think he said "in the spring"
[16:12:25] <jmkasunich> I'd probably drag the control all the way forward
[16:12:34] <jmkasunich> then raise the lathe onto rollers and move it back
[16:12:38] <jmkasunich> and then, well, I dunno
[16:12:43] <cradek> ha
[16:13:06] <jmkasunich> I had visions of two stacks of 4x6's same height as trailer bed
[16:13:19] <jmkasunich> then work it down a bit at a time
[16:13:39] <jmkasunich> that's how we got it off the pallet (which was falling apart under the strain)
[16:13:47] <cradek> I have visions of an angle grinder taking one of those sides off, and renting a forklift
[16:14:37] <jmkasunich> I believe those sides are structural
[16:14:50] <cradek> oh, dang.
[16:15:29] <jmkasunich> I wouldn't hesitate (much) to roll it from the trailer bed onto strong wood cribbing
[16:15:33] <cradek> well I hope he gets it down safely. that 2' will be the hard part of this move.
[16:15:41] <jmkasunich> then come at it from the side with forks
[16:16:14] <jmkasunich> apparently he can keep the trailer as long as neccessary
[16:16:23] <jmkasunich> rushing these things is when people get hurt
[16:16:27] <cradek> that's good. can he store it out of the weather though?
[16:16:40] <jmkasunich> I think he can back it into the garage
[16:16:47] <jmkasunich> tradeoff is that the jeep will live outside
[16:17:02] <jmkasunich> hmm
[16:17:08] <cradek> it's surely too tall
[16:17:13] <jmkasunich> I didn't think about garage door height
[16:17:21] <jmkasunich> bet he didn't either
[16:17:50] <cradek> the lathe maybe - the control doubtful
[16:17:59] <jmkasunich> I wonder how high the trailer deck actually is - it definitely isn't 2 feet
[16:18:28] <cradek> in 'otherside' it looks like about knee height
[16:18:29] <jmkasunich> in the first pic, it seems no more than 6" above wheel centers
[16:19:02] <cradek> with the blocking I bet the control (6' tall) is at least 2' off the ground
[16:19:20] <jmkasunich> yeah, the control is the problem heightwise
[16:19:38] <cradek> actually the control might be more than 6'. I bet the lathe is near 6'.
[16:19:42] <jmkasunich> counting that stiffener/lifting bar across the top, it is at least a foot taller than the lathe
[16:20:13] <jmkasunich> I dunno
[16:20:17] <jmkasunich> 5'8 maybe
[16:20:24] <cradek> I'll measure mine later
[16:20:31] <cradek> I should run, bbl
[16:24:22] <jmkasunich> heh, I just noticed "10:24 - SWPLinux has quit"
[16:24:29] <jmkasunich> so he's been on the road less than an hour
[16:28:05] <micges> jepler: new configs you just added: libnml/cms/cms_cfg.cc 621: cms_config: can't open 'emc.nml'. Error = 2 -- No such file or directory
[16:28:05] <micges>
[16:28:41] <jepler> micges: yes, I haven't added the Makefile rules to copy emc.nml and core_stepper yet
[16:29:20] <micges> ok, just checking
[16:30:08] <jepler> thank you
[16:45:40] <CIA-42> EMC: 03jepler 07TRUNK * 10emc2/src/Makefile: copy additional files for new configs
[16:48:22] <jepler> micges: now all those configs start for me -- let me know if they still don't for you after a "cvs up" and "make".
[16:48:31] <jepler> (if you want to take the time; if not, it's OK)
[16:51:40] <micges> jepler: they all working for me too
[16:51:50] <jepler> great, thanks for checking
[16:52:16] <micges> rmember that I've asked to do translable ON on title bar ?
[16:52:33] <jepler> hm, I thought I checked that patch in
[16:52:38] <micges> on lathe mm something is wrong
[16:53:51] <micges> no machine name when file isn't loaded but else is ok
[16:54:39] <jepler> I see that too
[16:56:40] <micges> it like $::machine not evaluated when no file is loaded
[16:57:06] <jepler> yes that's almost exactly the reason
[16:57:49] <CIA-42> EMC: 03jepler 07TRUNK * 10emc2/share/axis/tcl/axis.tcl: correct title when no file loaded
[16:57:51] <jepler> that fixes it for me ^^
[17:00:24] <CIA-42> EMC: 03jepler 07v2_2_branch * 10emc2/src/hal/components/invert.comp: typo
[17:03:46] <CIA-42> EMC: 03jepler 07v2_2_branch * 10emc2/VERSION: bump version after release
[17:03:49] <CIA-42> EMC: 03jepler 07v2_2_branch * 10emc2/src/configure: bump version after release
[17:03:50] <CIA-42> EMC: 03jepler 07v2_2_branch * 10emc2/debian/changelog: bump version after release
[17:05:12] <skunkworks> oh - you guys are doing a new release?
[17:06:03] <CIA-42> EMC: 03jepler 07v2_2_branch * 10emc2/configs/Sherline3Axis/ (7 files): from TRUNK: new sherline configs
[17:06:04] <CIA-42> EMC: 03jepler 07v2_2_branch * 10emc2/configs/Sherline4Axis/ (8 files): from TRUNK: new sherline configs
[17:06:04] <CIA-42> EMC: 03jepler 07v2_2_branch * 10emc2/configs/SherlineLathe/ (6 files): from TRUNK: new sherline configs
[17:06:05] <CIA-42> EMC: 03jepler 07v2_2_branch * 10emc2/debian/emc2.files.in: from TRUNK: new sherline configs
[17:06:09] <CIA-42> EMC: 03jepler 07v2_2_branch * 10emc2/src/Makefile: from TRUNK: new sherline configs
[17:07:25] <jepler> skunkworks: no, I'd forgotten that step after the last release (2.2.8)
[17:08:03] <jepler> I anticipate a 2.2.9 sometime in january; the hostmot2 stepgen bugfixes and the new configs taken together are some pretty good reasons
[17:09:22] <skunkworks> ah - ok
[17:10:14] <jepler> (though the hostmot2 stepgen bugfix hasn't been backported yet)
[17:15:24] <jepler> man, look what happens when you don't audit your software for license issues. http://spot.livejournal.com/303000.html
[17:20:47] <jmkasunich> I wonder about the FSF sometimes
[17:21:02] <jmkasunich> who in their right mind would call thier distro "nuisance"?
[17:26:11] <jepler> "right mind" indeed
[19:28:05] <micges> cradek: hello
[19:28:20] <cradek> hi
[19:31:36] <micges> I want fully use (and test) toolchanger/tool controller from emc. I readed docs, iocontrol pin docs and have some question
[19:32:50] <micges> I have machine with toolchanger and tool mesuring
[19:33:43] <micges> you mentioned about G10 L1 for automatic tool measure from gcode (brilliant idea)
[19:34:35] <cradek> with that G10 L1 plus G38.x you should be able to easily generate a tool table on a machine with a changer
[19:34:58] <micges> now: what is the desired steps to change tool with EMC ?
[19:35:18] <cradek> I don't understand your question
[19:35:18] <micges> when T6M6
[19:36:17] <cradek> brb
[19:44:18] <micges> when T6 is executed and carousel is moving, then M6 is executed - EMC will pause until iocontrol.tool-prepared is TRUE ?
[19:45:34] <jepler> emc asserts iocontrol.0.tool-prepare and waits for .tool-prepared to be asserted, then it can continue
[19:45:42] <jepler> the same for tool-change/-changed
[19:47:01] <jepler> so during tool-prepare you can do things like rotate a carousel to the requested tool number
[19:48:39] <micges> while emc wait for tool-prepared it is like feed-override set to 0 ?
[19:49:18] <jepler> in principle, tool-prepare/tool-prepared is for the part of the action that can be done while the machine is doing something else
[19:49:38] <jepler> right now I think the implementation does not permit that, but we'd like it to someday
[19:50:50] <jmkasunich> jepler: tool prep during other things is supported
[19:51:03] <jmkasunich> T1M6 (load first tool)
[19:51:10] <jmkasunich> T2 (prep 2nd tool)
[19:51:23] <jmkasunich> G1 X20 Y0 (make a cut with first tool)
[19:51:33] <jmkasunich> M6 (change to 2nd tool)
[19:51:39] <micges> ok cool
[19:52:14] <jepler> jmkasunich: I had a memory from cnc workshop that there was some limitation that made it not work as well as we wanted
[19:52:25] <jmkasunich> hmm
[19:52:30] <jepler> but I don't remember the details
[19:52:57] <jmkasunich> the main issues I recall with toolchange at the workshop is if you shut down with the wrong tool in the spindle
[19:53:17] <micges> when T6M6 and tool-prepared==0 emc will pause ?
[19:54:01] <jepler> micges: no, that's the point of the separation between prepare and change
[19:54:19] <jmkasunich> think of Tn and M6 as two completely different things
[19:54:21] <jepler> prepare is things that can happen concurrent with other programmed motion, change is things that can't
[19:54:37] <jmkasunich> if you put them on the same line, the Tn must be completed before the M6 can start
[19:54:52] <jmkasunich> but they don't have to be on the same line
[19:58:27] <micges> ok, I T6, toolchanger is moving and it never send signal to tool-prepared (that he finished move), then In gcode is M6 what now ?
[19:58:28] <BigJohnT> interesting T1 puts 1 in hal_manualtoochange.number
[19:59:02] <BigJohnT> M6 turns on hal_manualtoolchange.change until you click the ok
[19:59:22] <BigJohnT> then hal_manualtoolchange.changed comes on for a second or so...
[19:59:54] <micges> BigJohnT: I have automatic toolchanger
[20:00:28] <BigJohnT> looks like iocontrol has the tool change for that
[20:00:45] <micges> with signals about state and want to emc response for them
[20:14:03] <micges> I only think that changing tool to that one that isn't fully prepared will destroy machine
[20:43:56] <jepler> hm, without the normal loopbacks, entering "T1" and "M6" as separate MDI commands gives an error
[20:44:09] <jepler> Need tool prepared -Txx- for toolchange
[21:59:51] <micges> is (will be) option to stop spindle and wait until it will stop turning before tool change ? ir must be make with M5 G4P5 ?
[22:00:08] <micges> s/ir/or
[22:02:31] <jepler> you can use ladder logic or whatever you like to (A) generate a commanded spindle speed that might be the commanded spindle speed or might be 0 during a tool change and (B) wait on an external input for the spindle to get (close enough) to zero before continuing with some step of the process
[22:03:01] <jepler> I believe the motivation for not stopping the spindle is mainly for lathes, where usually it's OK for the spindle to keep turning while changing the tooling
[22:05:12] <micges> I understand
[22:10:08] <micges> thanks for explaining and good night
[23:00:30] <BigJohnT> alex_joni: did you get a chance to add the hal manuals to the menu?
[23:02:23] <alex_joni> BigJohnT: nope, not yet
[23:02:36] <alex_joni> but I saw you started hacking on the user/integrator manual
[23:03:30] <BigJohnT> wacking away yes