* skunkworks runs and hides
that's almost as good as "Hi, can I ask a question?
* owhite was working on his machine
yeah. I think there must be a new feature of EMC2 that's causing problems.
what kind of problems?
when estop is off, as in...
estop is sent the signal, off.
...then the spindle brake goes on.
this. I dont need. I had spindle brake set to something else. in this case it causes a problem.
I went in a looked at the hal pin connections, cant figure out how to change it.
check for a linksp <name> motion.spindle-brake
actually. it really may not be a hal pin thing, i
it's written deep inside that on estop you stop the spindle and set the spindle brake
like, the rest of the code works fine. its just when it first goes from estop = on to estop = 1.
deep inside where do you suppose?
like I said.. deep
the best you can do is not use the spindle brake signal
and use something else
hey man, that would require....
2-3 hal commands
the ultimate software.
what parport pin is this on?
well, I use a universal stepper controller.
ok, and the default config?
so. its more like "what output of the USC is on?"
what ya mean default config?
OH OH OH.
what a sec. I bet this could be solved with hal pins.
that's what I meant
I could leave the wiring the way it is.
OH MY GOD.
I could use the hal.
# connect spindle brake to I/O controller
newsig SpindleBrakeOn bit
linksp SpindleBrakeOn <= ppmc.0.dout.02.out
linksp SpindleBrakeOn => motion.spindle-brake
that's the stuff connecting the spindle brake signal to the dout.02 pin
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.
well I thought it even worked that way originally :)
hang on *poke poke*
newsig SpindleFwd bit
newsig SpindleRev bit
linksp SpindleFwd <= ppmc.0.dout.00.out
linksp SpindleFwd => motion.spindle-forward
linksp SpindleRev <= ppmc.0.dout.01.out
linksp SpindleRev => motion.spindle-reverse
right. now what would you guess SpindleFwd probably refers to the tkemc --> pin, yes?
with a few transformations on the way, yes
hm. I think I'll start over.
the second and third attempts are always better
what do you think ppmc.0.dout. is?
does that reflect output from tkemc?
no, that's the digital output header on the first USC detected
or UxC or whatever those boards are called
ppmc = pico systems something
so SpindleBrakeOn is connected to ppmc.0.dout.02.out.
I think I want to connect that to ...... SpindleRev.
linksp SpindleRev <= ppmc.0.dout.02.out
yeah.. to the right :D
<= and => make no difference besides when humans read it
what do you have connected to the third digital output?
00 is first, 01 is second
I'm talking about the real world now.. not HAL
its the like in the default file....
I mean phisical wires
yep, i have physical wires.
okay. so its the Gas Line feeding oxygen to the laser.
there's no harm in just commenting out the old lines....
*plays with physical wires*
your the lase cutter guy? the one that feels like he is in a different universe since he found emc2?
lol @ skunkworks
* owhite enjoys simple pleasures.
I almost orgasmed closing a servo loop the other day.. Join the club.
*weeps with joy*
it worked. it fucking worked.
/topic Orgasmic Living Through Better Software.
alex_joni has changed the topic to: Orgasmic Living Through Better Software.
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
oh crap. now my motor driver doesnt work. nows when I get to try testing something and my 40- amp servos break my arm.
and I thought I wasnt going to have to play with hardware.
* alex_joni crashes earlier today
good night all
owhite: happy conquest
I'm gonna head out too.