On Thursday 11 September 2014 07:09:16 David Armstrong did opine
And Gene did reply:
> ok Guy's this has me at the moment
> 
> i wish to switch a relay at a low speed set by the running gcode S
> value ? ( say 500 rpm)
> i had briefly thrown it at Andy via email and one of his suggestions
> was remaping
> i had a look at the wiki and the spinde remaping is TBD
> 
> i had thought of monitoring the encoder or motion , but checking for a
> speed , or if speed
> etc , i can't see any particular similar code or idea
> 
> has anyone done anything similar
> i'd prefer to keep it in the hal if possible rather than remap , but if
> thats a way then fine

In one of my lathe configs, all hal software, not 5i25, I have a couple 
instances of wcomp, one of which is watching the encoder velocity output, 
to run the staging of a pair of relays that control the loading for 
dynamic braking.  I also have in that config, the ability to synthesize a 
stop signal for the turnaround stop when an m3/m4 or vice versa is done by 
the planner while running the G33.1 rigid tapping cycle.  They do not 
detect the stopped condition, I used a one shot watching an encoder A 
phase for that.  Complex indeed, but it worked well enough that I used it 
to peck tap several holes with it on a pure parport & cnc4pc BOB only 
setup.

If you are interested in looking at my idiocy, David, I can PM it.  Well 
organized its not.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to