Quote:
|
Originally Posted by jacob_dilles
our team has the bot basicly done and so i have a day to work on the code. right now everything works but i have noticed one thing. when you push the button/move that hat to accuate the cylander, the spike stays in the position after you let go. this can be fixed with a simple "else" statement. but should it be? is it a problem if the valve is continuously open? is it better if it closes after a certin period of time or when the user releses the button? im not a pnumatic guy, i just write the code. i supose the only benifit that i could see is that there is a constant current drain if you leave it on, there isnt if it shuts off. thanks all. 
|
it depends. are you using a double-acting solenoid or a single-acting? Single-acting solenoids will go back to their default position if the circuit is broken, while double-acting ones will stay in their last position.