|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Pneumatic Piston using Labview will not fire
Here's our dilemma,
We have 1 double solenoid powering 2 pneumatic pistons. The toggle for them firing is supposed to be a single button (the trigger aka button 1) on the joystick. However, when he hit the button nothing happens. The extend side of the solenoid is connected to the 0 port on the PCM and the retract side of the solenoid is connected to the 1 port on the PCM. The joystick for this system is connected to USB 1. I have attached our code thus far. Let me know if I can answer any questions. I have tried several sites, but cannot figure out what is wrong. Thanks! |
|
#2
|
|||
|
|||
|
Re: Pneumatic Piston using Labview will not fire
Is the PCM voltage jumper set to the same voltage as your solenoids?
We tried running 24 volt solenoids at 12 volts and they just didn't work. |
|
#3
|
||||
|
||||
|
Re: Pneumatic Piston using Labview will not fire
yes, both the solenoid and the PCM are set to 12v
|
|
#4
|
|||
|
|||
|
Re: Pneumatic Piston using Labview will not fire
Are the red lights on the PCM lighting up next to the channel's connectors?
|
|
#5
|
|||
|
|||
|
Re: Pneumatic Piston using Labview will not fire
In begin.vi you have the solenoids are set as 1 and 2 NOT 0 and 1. That is likely your problem.
|
|
#6
|
||||
|
||||
|
Re: Pneumatic Piston using Labview will not fire
nope both lights are green
@orangemoore Let me see if that fixes our problem |
|
#7
|
||||
|
||||
|
Re: Pneumatic Piston using Labview will not fire
now that i examine it further, there is a red light on the side of our PCM for port 1...But not for port 0...
Last edited by blincoln1534@gm : 29-01-2015 at 19:57. |
|
#8
|
|||
|
|||
|
Re: Pneumatic Piston using Labview will not fire
Can you write code to do the following:
1) Display the value of Button 1 (or whatever button you are using) on your smart dashboard. Print "pressed" when it is pressed, and "not pressed" when it is not pressed. 2) Send a signal to extend the pneumatic. Wait 1 second. Send a signal to retract the pneumatic. Wait 1 second. Repeat. What are your results for #1? Does it display the status of the button correctly? What are your results for #2? Does the pneumatic extend and retract? |
|
#9
|
||||
|
||||
|
Re: Pneumatic Piston using Labview will not fire
Quote:
|
|
#10
|
||||
|
||||
|
Re: Pneumatic Piston using Labview will not fire
Quote:
|
|
#11
|
|||
|
|||
|
Re: Pneumatic Piston using Labview will not fire
Quote:
Can you drive the pneumatics directly in the code? |
|
#12
|
||||
|
||||
|
Re: Pneumatic Piston using Labview will not fire
Quote:
|
|
#13
|
||||
|
||||
|
Re: Pneumatic Piston using Labview will not fire
Quote:
Yes, the compressor is already hooked up to our system and running fine...If it helps with the troubleshooting, we can manually fire and retract the cylinders using the push buttons on the solenoid if the power to the robot/solenoid is off. |
|
#14
|
||||
|
||||
|
Re: Pneumatic Piston using Labview will not fire
So it sounds like the solenoid output is activated by the PCM if the side RED LEDs are turning on. To be clear I mean the LEDs mentioned in Section 3.2 of the PCM's user guide.
If a solenoid channel's output LED is illuminated red, then there should be Vsol measured across the red and black output of that channel's weidumuller pair. Vsol will be approx battery voltage if the PCM jumper is in 12V mode. Vsol will be 24V if jumper is in 24V mode or not present. So use a voltmeter to measure the voltage leaving the PCM going into the solenoid harness. If the PCM is giving your 24V solenoid 24volts, then no amount of software is going to fix your problem, the issue is downstream and is likely the solenoid harness (happens to me once in a while) or just a bad solenoid. |
|
#15
|
||||
|
||||
|
Re: Pneumatic Piston using Labview will not fire
Adding a case structure did it! Thank you to everyone for their help!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|