#emc | Logs for 2005-09-14

Back
[00:02:09] <jack_lab> * jack_lab take a drink
[00:02:17] <jack_lab> * jack_lab cin* :)
[00:07:58] <robin_sz> a proper new one in the shops �75
[00:08:04] <robin_sz> a refil �12
[00:08:30] <robin_sz> a "OEM" one .. �25 .. but it could just be an old cartridge refilled ...
[00:09:12] <jack_lab> hehe :)
[01:32:30] <Jymmm> * Jymmm foes a /ForceNickChange jack_lab jack_shit
[01:34:09] <Jacky^> first pc turned off :P
[01:34:16] <Jymmm> lol
[01:34:47] <Jacky^> this board is driving me crazy ,,,
[01:34:59] <Jymmm> (short drive)
[01:35:11] <Jacky^> i'm assembling 9 optoisolator without pcb :\
[01:35:45] <Jacky^> probably.. shot circuit :)
[01:35:51] <Jacky^> short*
[01:35:53] <robin_sz> use veroboard
[01:36:05] <Jacky^> what is ?
[01:36:11] <Jacky^> breadboard ?
[01:36:13] <robin_sz> stripboard
[01:36:46] <Jacky^> never heard
[01:36:52] <robin_sz> http://www.smspower.org/smsreader/verobot.jpg
[01:37:17] <Jacky^> yeah,
[01:37:28] <Jacky^> that what i'm using ..
[01:37:56] <Jacky^> double face too
[01:37:59] <robin_sz> so not really "without PCB" then ... I thought you meant just "ugly" build with wires
[01:38:30] <Jacky^> right..
[01:38:53] <Jacky^> we called the stripboard 1000 holes
[01:39:33] <Jacky^> anyway, its enough compllicated this circuit
[01:40:08] <Jacky^> i'm using 5V from pc in input and 5V from ps driver in output
[01:40:34] <Jacky^> a lots of wire
[01:43:17] <Jacky^> robin_sz: the negative of PS drivers should not tiled with the chassis, right ?
[01:43:52] <robin_sz> right
[01:44:00] <robin_sz> both are completely seperate
[01:44:02] <Jacky^> it was..
[01:44:34] <Jacky^> thats why many IC burned :\
[01:45:02] <Jacky^> I used a PC case for the drivers
[01:45:21] <Jacky^> * Jacky^ sigh
[01:50:44] <robin_sz> right bedtime
[02:01:03] <Jacky^> g night
[21:22:33] <mrallen> jepler: g0g53y0 did not reset the offset
[21:25:55] <jepler> mrallen: that command only means "go to y0 in the absolute coordinate mode". You have to then hit the 'zero offset' button to make that y0 in the relative coordinate system too
[21:28:18] <mrallen> jepler: tried that. showing relative position is still off in the y
[21:29:04] <jepler> mrallen: restart emc and see if the offset is gone
[21:29:23] <mrallen> ok
[21:29:31] <jepler> mrallen: there was a change in emc required to make that all work right, maybe it didn't get in the version of emc you're using.
[21:29:54] <jepler> I'll try to remember to ask paul_c whether the change got into bdi
[21:33:22] <mrallen> jepler: now the offset for Y is .001
[21:33:29] <mrallen> no matter what I do, I can't get rid of that
[21:36:36] <jepler> but you don't have this problem with the other front-ends?
[21:37:02] <jepler> (the .001 problem)
[21:38:18] <jepler> I think there's a problem with shift-home / "zero offset" when no file is loaded in axs
[21:38:21] <jepler> axis
[21:38:47] <cradek> I agree
[21:38:53] <cradek> I'm getting it too
[21:39:33] <jepler> by the way, try toggling actual/commanded and see if the .001 goes away.
[21:39:52] <cradek> I think if you load a file, Zero will work
[21:40:05] <jepler> cradek: so what's different after you've loaded a file?
[21:40:14] <mrallen> jepler: it's in the generic.var
[21:40:17] <cradek> jepler: don't ask me; I only wrote it
[21:40:39] <jepler> cradek: that's kinda why I asked you
[21:42:02] <Jymmm> jepler: Gawd damn... he wrote the damn thing and you expect him to understand what the hell he wrote too?! for fucks sake....
[21:42:36] <Jymmm> That's like asking a President to look at for the people!
[21:42:46] <Jymmm> s/at/out/
[21:43:12] <cradek> mrallen: the var file is rewritten frequently
[21:43:16] <robin_sz> dont complain about your president, .... you lot elected him
[21:43:24] <Jymmm> or a politicion to be honest
[21:44:04] <cradek> guys, can we not talk about this?
[21:44:09] <mrallen> shall i hand-edit generic.var to fix it up?
[21:44:19] <Jymmm> jepler =)
[21:44:22] <cradek> mrallen: did you try using Zero with a file loaded?
[21:44:34] <mrallen> cradek: no. not with a file loaded.
[21:44:41] <cradek> mrallen: I think the bug is that it doesn't work without a file loaded.
[21:44:45] <mrallen> i'm sure this is a simple bug.
[21:44:56] <cradek> mrallen: yep, and I think we even know what it is
[21:45:10] <Jymmm> * Jymmm blames the devloper for drinking too much during coding.
[21:45:29] <Jymmm> or not enough.
[21:46:08] <Jymmm> cradek so which is it.... you're a lush, or dry as a bone?
[21:46:38] <cradek> Jymmm: do you have some aversion to being on-topic?
[21:46:56] <robin_sz> Jymmm: there are time for chat, times for actual EMC related discusion. I suggest right now you STFU
[21:47:40] <Jymmm> cradek: <cradek> jepler: don't ask me; I only wrote it
[21:47:57] <Jymmm> robin_sz I'd say the same to you as well.
[21:48:43] <cradek> mrallen: any luck with a file loaded?
[21:54:09] <cradek> jepler: in open_file_guts() does anything jump out at you as not working without a file?
[21:54:16] <cradek> I'm not sure what the try: will cause
[21:55:03] <mrallen> cradek: sorry. haven't got around to it yet.
[21:55:06] <cradek> for instance I'm not sure what gets passed in c.program_open(f)
[21:55:29] <cradek> mrallen: no problem.
[21:58:09] <cradek> oh
[21:58:10] <cradek> duh
[21:58:12] <cradek> def reload_file(*event):
[21:58:14] <cradek> ...
[21:58:17] <cradek> if s.file == '': return
[22:00:25] <cradek> mrallen: you can also clear the offsets directly with MDI g0 l2 p1 x0 y0 z0
[22:00:31] <cradek> err
[22:00:36] <cradek> mrallen: you can also clear the offsets directly with MDI g10 l2 p1 x0 y0 z0
[22:01:31] <mrallen> cradek: that's the ticket
[22:02:18] <paul_c> Jymmm: You're a cad and a bounder.....
[22:02:31] <paul_c> You get your konsole back.
[22:02:51] <Jymmm> paul_c: If it's a PITA, don't do it (really)
[22:03:10] <paul_c> You tell me which file to edit...
[22:04:26] <Jymmm> Is there some place I can read up on the details of tkemcSetKeyBindings.tcl ?
[22:04:48] <cradek> Jymmm: man n bind
[22:04:58] <cradek> Jymmm: if you have the tk man pages
[22:05:25] <Jymmm> bind? as in the dns server?
[22:05:59] <cradek> no... the bind command that file is FULL of
[22:06:33] <cradek> do you have a more specific question? that file looks pretty clear to me
[22:07:40] <Jymmm> Just tryign to understand the difference between KeyPress-F10 and KeyPress-Right/KeyRelease-Right as example
[22:08:08] <cradek> I don't understand
[22:08:14] <cradek> one is the F10 key, one is the Right key
[22:08:32] <Jymmm> Neither do I... what is the purpose of KeyRelease-blah
[22:08:40] <cradek> it fires when you let go of the key
[22:08:46] <cradek> to stop jogging, for instance
[22:09:19] <Jymmm> so all the jogging routine are a two step process?
[22:09:38] <cradek> well, when the key goes down, something happens; when the key goes up, something else happens
[22:10:01] <Jymmm> or... if KeyRelease didnt exist, once I hit right and let go it keep goin.
[22:10:14] <cradek> yeah, pretty much
[22:10:19] <Jymmm> ah, ok.
[22:10:35] <Jymmm> I wasn't sure it it change it from momentary to toggle
[22:10:50] <cradek> you need the distinction for special behavior when the key is held down
[22:11:09] <cradek> for other keys that don't do anything special when held down, of course you can ignore KeyRelease
[22:11:43] <Jymmm> ok. and I just add -KP-1 for the numpad?
[22:12:28] <Jymmm> or KP-PGDN for the numpad ?
[22:12:39] <cradek> page down is called "Next"
[22:12:54] <cradek> use xev to see the keysym names
[22:13:24] <cradek> it might be <KeyPress-KP_1>
[22:13:33] <cradek> (I have mine remapped so it's hard to test)
[22:14:08] <Jymmm> starting x so I can look at xev
[22:15:12] <cradek> start wish
[22:15:15] <cradek> % bind . <KeyPress-KP_Enter> {puts hello}
[22:15:31] <cradek> focus the wish window and hit KP_Enter
[22:15:35] <cradek> it says hello
[22:17:30] <Jymmm> cradek when I close the shell, will that binding stay?
[22:17:44] <bpmw_> Hey Jymmm: Have a new toy coming tommorow!
[22:17:50] <cradek> Jymmm: no
[22:18:00] <Jymmm> bpmw_ : Blond, Brinette, or Redhead?
[22:18:07] <Jymmm> cradek ok, cool.
[22:18:46] <bpmw_> Jymmm: I wish!!!! no I bought A mitutoyo Quill Kit (DRO)
[22:19:01] <Jacky^> hi
[22:19:18] <Jymmm> bpmw_: Do I dare ask the $ ?
[22:19:35] <bpmw_> It wasnt to bad 291.00
[22:20:00] <Jymmm> bpmw_ how many scales were included and how long are they?
[22:20:28] <bpmw_> Jymmm: Just 1 and 5" travel
[22:20:52] <Jacky^> anoyne know if pin 7 of 6n137 should be not connected ?
[22:20:59] <Jymmm> cradek Just curious... if you wanted to hold down a key but not have the event repeat, is that possible?
[22:21:06] <Jacky^> its not clean from datasheet
[22:21:48] <Jymmm> bpmw_ is it expandable to add on to later on?
[22:23:01] <bpmw_> Jymmm: I think you can connect it to another Reader (3 axis)
[22:23:21] <cradek> Jymmm: I'm no expert on bind, sorry
[22:23:33] <cradek> Jymmm: it gets icky with autorepeat because it gives you fake release/press events
[22:23:57] <Jymmm> bpmw_ cool
[22:24:32] <Jymmm> cradek ah, ok.
[22:24:47] <paul_c> Jacky^: Looks like you leave pin 7 unconnected.
[22:25:11] <paul_c> http://www.fairchildsemi.com/ds/6N/6N137.pdf - Page 8
[22:25:12] <Jacky^> paul_c: its right ?
[22:25:56] <bpmw_> Jymmm: Yah it looks pretty cool. I found it at KBC tools but they didnt have stock so i phoned Mitutoyo Canada and they gave me a few other dealers to contact.
[22:26:08] <Jacky^> paul_c: i'nve seen the datasheet, but can't understand where connect the pin 7 ..
[22:26:43] <jepler> Jymmm: In axis, we use the following method to ignore the extra release and press events when jogging:
[22:27:09] <jepler> Jymmm: when a KeyRelease event is seen, "after" is used to schedule the "stop jogging this axis" code
[22:27:16] <paul_c> Jacky^: Don't connect pin 7 to anything !
[22:27:24] <jepler> Jymmm: When a KeyPress event is seen, any "after" to do this is cancelled.
[22:27:27] <Jacky^> ok.. thanks
[22:27:45] <jepler> Jymmm: So when Tk gets a KeyRelease-Left followed by a KeyPress-Left (from repeat) nothing happens,
[22:28:06] <jepler> but otherwise, the Release takes effect as soon as Tk realizes there are no other events to handle
[22:29:00] <Jymmm> jepler: Ok, I think I get it, more of a if (done) {ignore the rest)
[22:29:54] <Jymmm> *****
[22:30:59] <Jymmm> I'm just remapping the numpad so I can use an ext one as a pseudo pendant, was just curious about the repeat as I noticed it in wish and xev
[22:31:28] <jepler> you can also use 'xset r off' to disable *any* key repeating in *any* application
[22:32:36] <Jymmm> ok, good to know. But I'm trying to strictly limit the remapping to emc alone.
[22:33:44] <Jymmm> Hmmmm 5 is KP_Begin, no idea what to do with that.
[22:34:12] <mrallen> cradek: any way to do a little mdi while a program is paused in axis?
[22:34:25] <cradek> mrallen: no, but that's an emc limitation
[22:34:43] <cradek> mrallen: you can abort the program, mdi, then "run from line"
[22:35:42] <jepler> mrallen: (that's an emc limitation, really)
[22:35:56] <Jymmm> Thought this might make for a nice pendant... http://www.targus.com/us/product_details.asp?sku=AKP01US
[22:35:56] <cradek> is there an echo in here!?
[22:36:29] <jepler> huh, the screen didn't say that a second ago, I swear
[22:36:35] <cradek> ha
[22:36:59] <cradek> Jymmm: I would not trust wireless for running a machine
[22:37:40] <Jymmm> cradek Yeah I know... but I can dream can't I?!
[22:38:02] <cradek> Jymmm: we have a reliable technology for transmitting signals from one place to another - it's called wire
[22:38:17] <cradek> Jymmm: and it doesn't even require batteries
[22:39:35] <Jymmm> I'm a ham, so you know I'm gonna try wireless... but just not Targus
[22:39:38] <bpmw_> cradek: What about swithching modes at a M00 to manually change Z height for instance?
[22:39:58] <cradek> bpmw_: nope, you have to use the tool table
[22:40:12] <mrallen> cradek: how do you 'run from line'
[22:40:14] <cradek> bpmw_: I kind of wish it could do that too.
[22:40:30] <cradek> mrallen: pick the line you want (in the program display or the preview) then "run from line" on the menu
[22:40:45] <bpmw_> Yeah That would be a good feature to add to Emc.
[22:40:54] <cradek> mrallen: then when you hit run, it will skip forward to that line
[22:41:38] <mrallen> cradek: i do not see that menu option
[22:41:41] <cradek> bpmw_: yep, pause, jog up and change the tool, touch off, zero Z, resume
[22:41:52] <cradek> mrallen: set next line? something like that
[22:41:52] <mrallen> i see 'set next line' and 'run program'
[22:41:56] <cradek> mrallen: that's it
[22:42:00] <mrallen> k
[22:42:24] <cradek> bpmw_: I got tool holders and set all my tools to one length, to work around that feature missing
[22:42:31] <bpmw_> cradek: Wouldn't that be sweet!!!
[22:43:00] <cradek> bpmw_: the terrible maxnc software can do it
[22:43:11] <cradek> first thing I missed
[22:43:40] <cradek> also for people without home switches, remembering the abs coordinates when emc is shut down would be nice
[22:43:52] <bpmw_> Cradek: WE should put that in the Emc wishlist!
[22:44:02] <cradek> bpmw_: there's a wishlist?
[22:44:47] <cradek> bpmw_: it's almost as easy to just have your different tools' programs in different files
[22:44:57] <bpmw_> Cradek: I'm sure i've seen it on one of the Emc pages somewhere.
[22:45:16] <cradek> bpmw_: you just have to think about it differently
[22:45:19] <Jymmm> cradek : I would have said 'Didn't you get the memo?', but since you didn't get the wishliust, I guess you didn't get the memo either.
[22:45:35] <cradek> Jymmm: well, I lost my agenda too
[22:45:51] <Jymmm> cradek but, have you lost your mind is the real question?
[22:46:32] <bpmw_> See ya guys. Wife is waiting outside to drive home!
[22:46:46] <Jymmm> thanks for the key binding info guys, should make the pseudo pendant easy
[22:47:52] <Jymmm> now to see if I can find one with a long ciled cord.
[22:47:54] <Jymmm> coiled
[23:32:19] <mrallen> cradek: any though to adding plugins to axis to allow creation of simple pocketing and other operations on the fly?
[23:37:14] <cradek> mrallen: no; emc isn't a cad or cam package
[23:37:40] <cradek> mrallen: I don't even think an editor belongs in the emc gui, but obviously some people disagree with me about that
[23:38:25] <cradek> now this is strange. On my home system, offsets work properly before loading a file
[23:39:06] <cradek> yeah, it all works perfectly
[23:44:25] <cradek> my version of axis here doesn't have the emc2 compatibility stuff in it...
[23:50:48] <cradek> I can't find any relevant difference...