|
Re: Robot "twitching?"
I see the two DIO 1's in there.
The Watchdog code isn't necessary, it's pretty circa 2009. The Safety Config took over that job.
Where are you feeding it? Unfed it will shut things down.
A double solenoid shouldn't work treated as a single solenoid, because real singles have a spring return, while doubles do not.
I'll have to try that myself at robotics tonight. Learn something new every day.
Is the first green LED on the Solenoid Module going on/off when you run your sequence? That's the best verification that your code is working.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 11-02-2013 at 16:45.
|