|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||||
|
|||||
|
Re: Pneumatics Problem
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? |
|
#3
|
|||
|
|||
|
Re: Pneumatics Problem
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.
|
|
#4
|
|||||
|
|||||
|
Re: Pneumatics Problem
If you hit the Reset button on the roboRIO (or cycle the robot power) does button 4 still misbehave?
|
|
#5
|
|||
|
|||
|
Re: Pneumatics Problem
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. |
|
#6
|
|||||
|
|||||
|
Re: Pneumatics Problem
Good luck!
|
|
#7
|
|||
|
|||
|
Re: Pneumatics Problem
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?
|
|
#8
|
||||
|
||||
|
Re: Pneumatics Problem
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.
|
|
#9
|
||||
|
||||
|
Re: Pneumatics Problem
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 ![]() |
|
#10
|
|||||
|
|||||
|
Re: Pneumatics Problem
Does this Double Solenoid 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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|