??? 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 |