On Sat, Sep 18, 2010 at 05:38:36PM -0500, Igor Chudov wrote: > I have a Haas 5C rotary indexer. It can be programmed (kind of like > you program a VCR) to perform a angular motion upon pressing of a > button. It also has a facility of a "remote button", so that the > button can be "pressed" by the CNC control. > > My question is what are the facilities in EMC to handle this sort of > thing -- "pressing" a button on an indexer. > > Say, if I used it to make a involute gear with an involute gear cutter.
Not an answer to your question exactly, but in case you don't know: The git master version has direct support for locking rotary indexers. You just use G0 to index. EMC commands "unlock" on a hal pin, waits for a confirmation signal "is-unlocked", moves the axis to the new position, clears the "unlock" pin, waits for "is-unlocked" to clear, and then continues on with the next line of gcode. Likewise, homing also unlocks the axis before homing it, and then relocks it in the home position. So, you could just toss your rotary's control, and not have to program rotary positions by hand etc. (I've got a servo rotary axis that needs exactly this to operate, but I haven't hooked it up because I want an A axis capable of coordinated motion to generate gears.) Chris ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
