I implemented this with EMC in just one evening in under 2 hours.

It is just awesome!

Now M64 P0 and M65 P0 simulate "pressing a button" on the Haas 5C
indexer and it advances by one step.

I wrote a subroutine called advance_indexer that does

M64 P0
G4  P0.2
M65 P0

So it simulates a full button press.

In addition, I added a HAL GUI button "advance indexer" that calls its
namesake subroutine.

Life is great! I can make gears now!


i

On Thu, Nov 25, 2010 at 10:39 PM, Chris Radek <[email protected]> wrote:
> On Thu, Nov 25, 2010 at 10:01:58PM -0600, Igor Chudov wrote:
>>
>> What I am not sure is, how do I link M64 and pin number P to digital
>> outputs? Where do I tell EMC that M64 P1 corresponds to digital output
>> number 7, for example?
>
> They are just output pins on the motion controller.
>
> http://www.linuxcnc.org/docview/html/config_emc2hal.html
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to