In_type is 4.  My init lasts forever, since I can't get estop to release
or machine on to go true.

-- Ralph
________________________________________
From: andy pugh [[email protected]]
Sent: Wednesday, July 23, 2014 5:27 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] pins for bldc init and drive enable

On 24 July 2014 01:13, Ralph Stirling <[email protected]> wrote:

> Looking at bldc.comp (version 1.3.2) lines 475 to 483, it would appear that a 
> new rising
> edge on init after init-done is high should restart things:
>
>     if ((personality & 0x05) == 4){
>         if (init && !old_init && init_done) {
>             init_done = 0;
>             in_type = -1;

Oh yes, so it does. You might have to check what value your config
options put into "personality" and whether that & 0x05 == 4.
Which basically means you need to have 'q' but not 'h'

Can you see in_type changing? (as it is a param it might be hard to
spot unless you can make init take a long time)

--
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to