#emc-devel | Logs for 2006-11-09

Back
[20:26:06] <owhite> anybody home?
[20:31:21] <skunkworks> * skunkworks runs and hides
[20:32:33] <alex_joni> hi owhite
[20:38:45] <A-L-P-H-A> that's almost as good as "Hi, can I ask a question?
[20:38:46] <A-L-P-H-A> "
[21:07:07] <owhite> hey. alex_joni
[21:07:16] <owhite> * owhite was working on his machine
[21:07:22] <alex_joni> nice
[21:07:42] <owhite> yeah. I think there must be a new feature of EMC2 that's causing problems.
[21:08:16] <alex_joni> what kind of problems?
[21:08:26] <owhite> when estop is off, as in...
[21:08:41] <owhite> estop is sent the signal, off.
[21:08:51] <owhite> ...then the spindle brake goes on.
[21:09:12] <owhite> this. I dont need. I had spindle brake set to something else. in this case it causes a problem.
[21:09:50] <owhite> I went in a looked at the hal pin connections, cant figure out how to change it.
[21:10:12] <alex_joni> check for a linksp <name> motion.spindle-brake
[21:10:21] <owhite> actually. it really may not be a hal pin thing, i
[21:10:44] <alex_joni> it's written deep inside that on estop you stop the spindle and set the spindle brake
[21:10:45] <owhite> like, the rest of the code works fine. its just when it first goes from estop = on to estop = 1.
[21:11:00] <owhite> deep inside where do you suppose?
[21:11:06] <alex_joni> motion.c
[21:11:14] <owhite> oOOOoh.
[21:11:24] <alex_joni> like I said.. deep
[21:11:36] <alex_joni> the best you can do is not use the spindle brake signal
[21:11:40] <alex_joni> and use something else
[21:11:54] <owhite> hey man, that would require....
[21:11:57] <owhite> ....SOLDERING.
[21:12:00] <alex_joni> no
[21:12:05] <alex_joni> 2-3 hal commands
[21:12:05] <owhite> the ultimate software.
[21:12:18] <alex_joni> what parport pin is this on?
[21:12:32] <owhite> well, I use a universal stepper controller.
[21:12:43] <alex_joni> ok, and the default config?
[21:12:45] <owhite> so. its more like "what output of the USC is on?"
[21:12:54] <owhite> what ya mean default config?
[21:13:15] <owhite> OH OH OH.
[21:13:26] <owhite> what a sec. I bet this could be solved with hal pins.
[21:13:31] <alex_joni> that's what I meant
[21:13:35] <owhite> I could leave the wiring the way it is.
[21:13:40] <owhite> OH MY GOD.
[21:13:42] <owhite> I could use the hal.
[21:13:42] <alex_joni> # connect spindle brake to I/O controller
[21:13:42] <alex_joni> newsig SpindleBrakeOn bit
[21:13:42] <alex_joni> linksp SpindleBrakeOn <= ppmc.0.dout.02.out
[21:13:42] <alex_joni> linksp SpindleBrakeOn => motion.spindle-brake
[21:13:54] <owhite> right right.
[21:14:43] <alex_joni> that's the stuff connecting the spindle brake signal to the dout.02 pin
[21:14:57] <owhite> supposing I could use the spindle_forward , as in, if I mouse click on the spindle forward of tkemc.tcl and I could map that to the same hal pin.
[21:15:25] <alex_joni> well I thought it even worked that way originally :)
[21:15:58] <owhite> hang on *poke poke*
[21:16:02] <alex_joni> newsig SpindleFwd bit
[21:16:02] <alex_joni> newsig SpindleRev bit
[21:16:02] <alex_joni> linksp SpindleFwd <= ppmc.0.dout.00.out
[21:16:02] <alex_joni> linksp SpindleFwd => motion.spindle-forward
[21:16:02] <alex_joni> linksp SpindleRev <= ppmc.0.dout.01.out
[21:16:04] <alex_joni> linksp SpindleRev => motion.spindle-reverse
[21:17:01] <owhite> right. now what would you guess SpindleFwd probably refers to the tkemc --> pin, yes?
[21:17:19] <alex_joni> with a few transformations on the way, yes
[21:17:47] <owhite> hm. I think I'll start over.
[21:18:57] <alex_joni> the second and third attempts are always better
[21:19:05] <owhite> what do you think ppmc.0.dout. is?
[21:19:42] <owhite> does that reflect output from tkemc?
[21:20:08] <alex_joni> no, that's the digital output header on the first USC detected
[21:20:19] <alex_joni> or UxC or whatever those boards are called
[21:20:30] <alex_joni> dout=digital out
[21:20:38] <alex_joni> ppmc = pico systems something
[21:20:52] <owhite> so SpindleBrakeOn is connected to ppmc.0.dout.02.out.
[21:20:57] <alex_joni> right
[21:21:12] <owhite> I think I want to connect that to ...... SpindleRev.
[21:21:16] <owhite> therefore....
[21:21:39] <owhite> linksp SpindleRev <= ppmc.0.dout.02.out
[21:21:46] <alex_joni> =>
[21:21:57] <owhite> right.
[21:22:00] <owhite> *typing*
[21:22:03] <alex_joni> yeah.. to the right :D
[21:22:26] <alex_joni> <= and => make no difference besides when humans read it
[21:22:45] <alex_joni> what do you have connected to the third digital output?
[21:23:22] <owhite> dout.03?
[21:23:33] <alex_joni> dout.02
[21:23:42] <alex_joni> 00 is first, 01 is second
[21:23:45] <owhite> ah.
[21:23:56] <alex_joni> I'm talking about the real world now.. not HAL
[21:24:12] <owhite> its the like in the default file....
[21:24:19] <owhite> SpindleBrakeOn
[21:24:25] <alex_joni> I mean phisical wires
[21:24:39] <owhite> yep, i have physical wires.
[21:24:42] <owhite> HA!
[21:24:57] <owhite> okay. so its the Gas Line feeding oxygen to the laser.
[21:25:05] <alex_joni> ok
[21:25:28] <owhite> there's no harm in just commenting out the old lines....
[21:25:35] <alex_joni> no harm
[21:25:38] <alex_joni> use #
[21:25:53] <owhite> righto.
[21:26:47] <owhite> *plays with physical wires*
[21:27:45] <skunkworks> your the lase cutter guy? the one that feels like he is in a different universe since he found emc2?
[21:27:48] <skunkworks> laser
[21:27:54] <skunkworks> :)
[21:27:55] <alex_joni> lol @ skunkworks
[21:27:56] <owhite> that's me.
[21:28:07] <skunkworks> cool
[21:28:27] <owhite> * owhite enjoys simple pleasures.
[21:28:53] <skunkworks> I almost orgasmed closing a servo loop the other day.. Join the club.
[21:32:54] <owhite> *weeps with joy*
[21:33:01] <owhite> it worked. it fucking worked.
[21:33:34] <owhite> /topic Orgasmic Living Through Better Software.
[21:36:55] <skunkworks> :)
[21:37:30] <alex_joni> alex_joni has changed the topic to: Orgasmic Living Through Better Software.
[21:38:14] <alex_joni> alex_joni has changed the topic to: Welcome to the Enhanced Machine Control development place. | Regular Developers' meetings 24/7 .. or when you're lucky enough
[21:38:24] <owhite> oh crap. now my motor driver doesnt work. nows when I get to try testing something and my 40- amp servos break my arm.
[21:39:01] <owhite> and I thought I wasnt going to have to play with hardware.
[21:39:13] <alex_joni> * alex_joni crashes earlier today
[21:39:18] <alex_joni> good night all
[21:39:20] <alex_joni> owhite: happy conquest
[21:40:02] <skunkworks> night alex
[21:40:03] <owhite> thanks much.
[21:40:11] <owhite> I'm gonna head out too.