|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Pneumatics programming help needed
Hello,
We're excited to be preparing for our first offseason event in the history of our team, and need a little bit of help with understanding and fixing some code for our pneumatic lift. We have a double solenoid that powers a large air cylinder. The problem is that when enable the robot tethered to the computer, the cylinder automatically raises the lift in teleop before be push the button to raise it. It also will not come down when we push the button to lower it. I don't think anything has changed on the robot since our regional. I'm taking over someone else's code (I'm a Labview newbie) and am trying to understand it. I've attached a couple of pictures below of the begin.vi and teleop.vi. If anyone can help understand where or if it is mis-wired, I would really appreciate it! Thanks! ![]() |
|
#2
|
||||
|
||||
|
Re: Pneumatics programming help needed
I don't immedietly see the problem in the snippets you provided, could you please post other regions of interest?
(P.S. printscreen is your friend) |
|
#3
|
|||||
|
|||||
|
Re: Pneumatics programming help needed
Have you tried pushing the button to raise it after it's raised?
In addition to your programming, be sure to check the wiring and plumbing of your pneumatics; if couple of hoses were swapped, you could probably get this behavior. |
|
#4
|
|||||
|
|||||
|
Re: Pneumatics programming help needed
I'd look at the wiring and tubing first as those could easily have changed since your last competition, while the code at face value seems okay.
Last edited by Mark McLeod : 12-06-2015 at 12:04. |
|
#5
|
||||
|
||||
|
Re: Pneumatics programming help needed
Thanks to everyone for the help so far. That's a great list of things to check this week.
Here are the screenshots (figured it out!) of the code. One of the buttons causes air to release a little at a time really randomly but the cylinder doesn't pull in, while the other one doesn't do anything when we push it. We had the hoses and connections checked by two different engineers who thought everything was in the right order, but they are new potential mentors and haven't worked on a robot before. Thanks again for helping! ![]() |
|
#6
|
|||||
|
|||||
|
Re: Pneumatics programming help needed
What's in the False Case for the solenoids?
The symptom sounds like you have code in there (bad). |
|
#7
|
||||
|
||||
|
Re: Pneumatics programming help needed
I attached the false case. I didn't know that there was something hiding in there even though I probably should have. If I want nothing to happen when the button is not pressed, the false case should be empty, correct?
I also read that the on/off is for the single solenoid and that double solenoid use forward/reverse, and so could that be causing the strange behavior? |
|
#8
|
|||||
|
|||||
|
Re: Pneumatics programming help needed
Remove everything from the False Cases and it should work.
There are two issues.
Last edited by Mark McLeod : 13-06-2015 at 23:17. |
|
#9
|
||||
|
||||
|
Re: Pneumatics programming help needed
Thank you so much! We will try that this week and I will let you know what happens!
|
|
#10
|
||||
|
||||
|
Re: Pneumatics programming help needed
This is SOP for double solenoids on the Lunatecs. Reference goes outside the cases, cases are wired to their respective forward/backward buttons. False cases are empty.
|
|
#11
|
||||
|
||||
|
Re: Pneumatics programming help needed
Thank you again. Removing the code in the false case fixed the problem.
I have another question, though. Is there any way to use a read switch to stop the cylinder in a middle position (someplace between fully open and fully closed)? The manual says its not recommended, but has anyone got it to work? If so, do you have any code examples you can share? ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|