Hi all;

I got things back together enough to make some swarf last night, which 
disclosed that my x motor needs more Wheaties.  I can't plunge cut across 
the end of a piece of cold roll rod with a cut depth of more than 2 or 3 
thou.

Looking in the hal docs, it looks like a module named near could help me to 
keep from looking like an idiot in front of the frogs.  I had fired off a 
short program to carve the section of this BP nipple down to a size ready 
to cut some threads in.  Unforch, I forgot the release the power switch so 
the spindle didn't start on queue from the M3 in the program.

So, 2 questions result:
The next motor I can put on there will be an 8 wire 425, which carries a 5 
amp label that I assume would be the rating for unipolar drive, so 
regardless of whether I parallel 2 aiding windings or just use 2 and 
insulate the other two, the torque at X current would be the same.  
However, if I parallel it, I should halve the inductance & thereby gain 
some speed.  The maximum this driver, a 2M542 can do is 4.2 amps so that 
should give me 425 /5.0 * 4.2 =357 oz/in of torque, about 7x the torque I 
have now.  And a quite decent speed, much needed according to those papers 
I just read.

1: Is there anything wrong with that thinking?

Then 2:
How do I access the hal version of the programs S>0 command (qualified by 
an M3 or M4 in effect, so I'd assume its one of the motion-spindle-enable 
signals) for use as an input to near, so that I can compare that to 
encoder.0.out-filtered?

Eventually I want to use the near output to also detect an incipient 
spindle stall, in addition to this "fail at startup" function.  But lets 
get a usable output from near first.  It will obviously need "calibration" 
:)

Or is "near" even the correct approach?  Humm, that's 3 questions.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene>
The advertisement is the most truthful part of a newspaper.
                -- Thomas Jefferson

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to