#emc-devel | Logs for 2007-11-29

[00:34:17] <LawrenceG> jepler: the config generated by stepconf for the charge pump seems broken... do you have time to discuss?
[00:34:26] <tissf> good night all
[00:49:35] <jepler> LawrenceG: if you have something to say, say it. I almost always scroll back, particularly if you use my name.
[00:51:23] <LawrenceG> jepler: see http://pastebin.ca/801137
[00:52:54] <LawrenceG> jepler: stepconf has some weird hookup.... the parp[ort input pin is connected to the charge pump enable???
[00:54:06] <jepler> that pastebin is what you want, or it is what you got?
[00:54:40] <LawrenceG> jepler: the pastebin is what I manually put in that works.... stepconf generated something that seems really broken
[00:55:10] <LawrenceG> maybe I dont understand what is required for external estop logic
[00:55:22] <jepler> maybe I've been too simplistic in my handling of estop and charge pump.
[00:55:28] <jepler> here are the two cases that stepconf generates:
[00:56:16] <jepler> 1. there is no external estop input. estop is managed by estop button in the UI. in this case, estop-out is used to enable or disable the charge pump
[00:56:36] <jepler> 2. there is an external estop input. the UI estop button has no function. in this case, estop-ext is used to enable or disable the charge pump
[00:58:18] <jepler> if you don't want one of those setups, here's what to do: leave the pin's function unspecified in the stepconf gui, select "custom hal file", and write the lines to make the charge pump work like you want in that file
[00:59:29] <LawrenceG> my case is different than 1 and 2... user-enable-out is used to turn pulses to the breakout board on or off... this supplies power for the external estop loop... no pulses, no external estop loop power
[01:00:32] <LawrenceG> then the actual estop condition is feed back to emc.... either keyboard or any external estop condition like a mashed mushroom will put everybody into estop
[01:03:27] <jepler> for now you're going to want to manually set up the charge-pump in your custom hal file
[01:03:40] <jepler> I need to get a few more opinions and figure out how to really fix this
[01:04:27] <jepler> I *think* the setup you describe is what I had originally, but then another user showed me that it didn't work with his external estop/charge pump setup so I changed it
[01:04:30] <LawrenceG> no problem.... estop seems to be one of the areas everyone has problems with... I wasnt sure if I had it right until I built the new control box
[01:04:36] <jepler> I'm not sure how to serve everyone
[01:04:54] <jepler> or if I can't, whom to serve and whom to make write his own hal
[01:06:24] <LawrenceG> in my setup, the external input is active when everybody on the external estop loop is happy... one cant go into run until the input is active
[01:07:20] <LawrenceG> I am using a homebrew breakout board, so it probably doesnt match any of the others
[01:08:02] <jepler> the other thing you mentioned, the pulley numbers being transposed -- can you 'cvs up' and tell me if it is now working like you expect?
[01:08:38] <LawrenceG> ok... I saw the commit go by, but havent checked it yet
[01:09:18] <jepler> let me know when you do
[01:10:33] <LawrenceG> interesting.... in your estop logic, the external estop input controls the charge pump.... the whole idea of the charge pump is to detect the computer hanging in one state or the other
[01:11:14] <jepler> if the computer has gone south it won't be reacting to the external input .. it'll still stick in one state or the other
[01:11:26] <LawrenceG> the computer should be the one running the chargepump
[01:17:35] <LawrenceG> that allows the computer to force the external loop into estop by not providing chargepump pulses
[01:18:17] <LawrenceG> hey... pulley change looks good... seems to make sense with my confg now
[01:20:47] <jepler> thanks for testing it
[01:22:09] <LawrenceG> I did try one change in the glade file to allow direction setup times to be > 50000ns.... would you like me to do changes to add parker drives as a possible config selection?
[01:22:35] <LawrenceG> I know that there are at least 2 more of us using parkers
[01:23:09] <jepler> that would be very nice.
[01:23:14] <jepler> do you see what's necessary for it?
[01:24:08] <LawrenceG> I havent worked through the whole logic yet, but it should no be too bad an addition
[01:40:32] <LawrenceG> seems like change is working.... stepconf.glade needs dirsetup time increased to 200000 max and stepconf.py needs one line added [1000,1000,1000,200000], #Parker-compumotor
[01:51:38] <jepler> you probably also have to add a new item to the menu in the glade file?
[01:51:55] <LawrenceG> yes
[01:53:33] <LawrenceG> just having a look at the estop stuff... its a little harder to wrap my head around
[02:06:26] <jepler> bbl
[02:07:35] <LawrenceG> jepler: cheers... your estop logic works with my board as long as I only want to estop using the external loop... one cannot cause an estop from within axis
[13:08:25] <skunkworks> http://www.cnczone.com/forums/showthread.php?t=47779
[13:39:25] <jepler> * jepler sighs
[13:39:47] <skunkworks> its ok..
[13:39:57] <jepler> sometimes I just don't know where to start...
[13:46:54] <jepler> hm, python2.4-glade2 probably should be a package dependency but it isn't
[13:47:10] <jepler> it will be installed already on an ubuntu system, but maybe not a kubuntu system..
[13:52:28] <jepler> but he says he has the live cd...?
[13:53:55] <jepler> skunkworks: do you have the live CD handy? can you see what happens when you run stepconf from the commandline, or from the icon that I think I put in the Applications > CNC menu?
[13:58:58] <skunkworks> hold on
[14:01:00] <skunkworks> I have run it from command line before and it works - it works from the menu also. (installed) do you want me to boot off of the live cd and see?
[14:02:14] <jepler> only if it's convenient to do so
[14:02:23] <skunkworks> no problem
[14:04:12] <skunkworks> booting
[14:14:50] <cradek> I think we (haha) should make a new cd if stepconf is badly broken on the current one
[14:14:55] <skunkworks> seems to work both ways - menu and commandline
[14:15:11] <skunkworks> I can go thru the config and save it.
[14:15:43] <jepler> well 2.2.2 will fix a lot of stepconf bugs
[14:15:46] <skunkworks> in the command window - it complains I think about no sound card. But works
[14:16:57] <jepler> what a strange complaint
[14:18:34] <cradek> I've seen that with a lot of gnomey programs
[14:20:49] <alex_joni> yeah., they try to do some ALSA whatever..
[14:20:55] <alex_joni> I get that in my VM a lot
[14:20:55] <skunkworks> http://pastebin.ca/801667
[14:22:52] <cradek> that makes bunny cry
[14:24:56] <alex_joni> haha
[14:25:13] <alex_joni> cradek: maybe this will make him smile: http://www.techamok.com/forum/viewtopic.php?t=6103
[14:28:04] <cradek> bunnies cannot smile. they have no lips.
[14:28:22] <skunkworks> our cats smile..
[14:56:45] <cradek> haha, dilbert
[14:59:54] <skunkworks> I think a lot of people seem to be trying emc2. Just from reading around cnczone.
[15:01:20] <skunkworks> cradek: you mean todays dilbert on his site?
[15:01:27] <skunkworks> it is funny
[15:15:53] <cradek> a lot of new people on #emc but nobody is talking...
[15:16:58] <skunkworks> you guys are scary - nobody wants to get yelled at..
[15:17:17] <skunkworks> they poured the frost walls yesterday..
[15:17:19] <cradek> we don't yell, we just bombard with links to the documentation
[15:17:45] <cradek> cool, you are on the way then
[15:17:56] <skunkworks> just wish it was warmer.
[15:18:26] <cradek> will you do the slab and then quit for the winter?
[15:18:27] <skunkworks> once they get the forms off - I have to buy a bunch of foam to put around the footings and then they can backfill and level
[15:18:32] <skunkworks> yes
[15:19:26] <skunkworks> we will have a nice place to park and shovel snow.. :)
[15:19:51] <cradek> yes
[15:20:04] <cradek> well it's hard to shovel snow off of mud. concrete is nice.
[15:20:11] <skunkworks> exactly
[15:20:32] <skunkworks> plus - I could run some hot water thru the in floor heat and melt it... ;)
[15:22:48] <skunkworks> ok - maybe some hot glycol or antifreeze
[15:23:30] <cradek> yeah once you start doing that with water you couldn't stop
[15:23:43] <skunkworks> right
[15:32:25] <alex_joni> jepler: another bugreport (in image 2 gcode: some fields are still calculated as inch, even if mm is selected. the guy reporting it said something about "safety plane" or such, where this gets calculated wrong)
[15:36:58] <jepler> alex_joni: OK, I see what you mean
[15:38:39] <jepler> it goes up to the safety height before commanding G21
[15:49:05] <jepler> alex_joni: should be fixed in 2.2.2.
[15:49:08] <jepler> I say that a lot
[15:52:46] <skunkworks> heh
[16:34:40] <alex_joni> jepler: cool, thanks
[16:51:37] <skunkworks> alex_joni: back home?
[16:57:35] <alex_joni> bbl
[16:57:36] <alex_joni> skunkworks: yeah