Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/14/05 11:31
Read: times


 
#99369 - Its like this
Responding to: ???'s previous message
Russell Bull said:

You can have another pair of contacts going to the cpu to inform it of the action but NEVER rely on the cpu where life and limb are at stake.


Thanks for reply Russell, you are right and infact thats what emergency stop will be doing, cutting off power to all motors and also sending a signal to micro, I know i can do it other way around as well meaning that just to cutt off power but I also want to give message on LCD that what has happened.


Russell Bull said:

check the emergency stop input as part of its operation loop. I think this will make your code easier rather than forcing a context change via the interrupt.


I am not sure about coding like this, as my processor is already quite busy and I do not want to run one loop all the time.

Are we getting to the point that external interrupt can not be used as emergency stop?

Regards
James

List of 31 messages in thread
TopicAuthorDate
Interrupt question            01/01/70 00:00      
   Interrupt            01/01/70 00:00      
      then how?            01/01/70 00:00      
         One way is to            01/01/70 00:00      
            Little more description            01/01/70 00:00      
               Routine            01/01/70 00:00      
   interrupt exit            01/01/70 00:00      
      tried but gives error            01/01/70 00:00      
         assembler???            01/01/70 00:00      
            Assembler is Pinnacle            01/01/70 00:00      
               go to Pinnacle support            01/01/70 00:00      
               Asking for solutions            01/01/70 00:00      
      Now THAT was elegant!            01/01/70 00:00      
   use WDT to RESET the micro            01/01/70 00:00      
   some comments            01/01/70 00:00      
      Its like this            01/01/70 00:00      
         Emergency stop            01/01/70 00:00      
            I understand            01/01/70 00:00      
               If you REALLY want to do it            01/01/70 00:00      
                  optimizing            01/01/70 00:00      
                  possible troubles            01/01/70 00:00      
                     excellent point!            01/01/70 00:00      
                        This is not a solution            01/01/70 00:00      
                           Do it as you wish            01/01/70 00:00      
                              Makes sense            01/01/70 00:00      
                              the consensus last time was that the onl            01/01/70 00:00      
                                 WD reset - yes, why not            01/01/70 00:00      
                                    You say "no" and agree            01/01/70 00:00      
                                       no no = yes            01/01/70 00:00      
                                    Watchdog output            01/01/70 00:00      
                              Thanks, Done            01/01/70 00:00      

Back to Subject List