View Full Version : Pneumatics Problem
Our test robot has a double action solenoid on it. I wanted button 3 on the right joystick to make it go both out and in. But currently, button 3 is making it go out and button 4 is making it go in. (Even though button 4 is not wired to the solenoid.) In fact, I completely deleted button 4 from the program, and it still controlled the solenoid. Buttons that don't exist in the program shouldn't work when I run it! I also tried creating an imaginary motor (one that doesn't exist on the robot) for button 4 to control, just to give it something to do, but it still controls the solenoid.
Any help is very, very welcome.
Mark McLeod
13-01-2015, 19:38
That sounds like your updated code isn't getting onto the roboRIO.
Are you using Run or are you doing a Build/Run as startup?
If you open Robot Main.vi is the white Run arrow solid or broken?
Do you get any error messages when you Build?
Any error messages when you Run as startup?
I'm using Run as Startup, and on the robot main.vi the white arrow is solid. It builds and runs perfectly, but when I try to control the robot with the joysticks I get that problem with the button.
Mark McLeod
13-01-2015, 20:48
If you hit the Reset button on the roboRIO (or cycle the robot power) does button 4 still misbehave?
AGGGGHHH! It was so glaringly obvious!
I built the program the first couple of times, but when I was changing things I forgot to re-build the program every time I changed something in the program.
How could I forget something like that?!
Thanks for trying to help. I think it'll work now.
Mark McLeod
13-01-2015, 21:42
Good luck!
cougarbot
21-01-2015, 18:56
We are trying to wire a bimba MRS-.087-B. The wire coming from the roboCRIO has 3 wires (red,white,black) but the bimba MRS switch has a black and red wire. Can someone help us wire it?
We are trying to wire a bimba MRS-.087-B. The wire coming from the roboCRIO has 3 wires (red,white,black) but the bimba MRS switch has a black and red wire. Can someone help us wire it?
The red wire (assuming it's in the center) provides 5V. The switch doesn't need power since it's a passive switch. Connect red to white and black to black (you could actually switch them if you wanted), cover up the red wire so it can't touch anything and you should be all set.
Jack Gillespie
06-02-2015, 18:47
Can you share your code for button 3 out, button 4 retract. That is exactly what we are trying to do. We are close but something is not right
Team 5430,
What a bunch of rookies :)
Mark McLeod
06-02-2015, 19:13
Does this Double Solenoid (http://www.team358.org/files/programming/ControlSystem2015-2019/labview/StickySolenoidExample.png) example help at all?
There are two examples in this, a Single Solenoid to the left and a Double Solenoid to the right. You're probably only concerned with the Double example.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.