|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Compressor
Do we need to program the compressor in Labview? Is the compressor already programmed into the coding of the double solenoids?
|
|
#2
|
|||
|
|||
|
Re: Compressor
When you open a solenoid, the compressor start running (and stops when it fills the tanks) automatically.
|
|
#3
|
|||
|
|||
|
Re: Compressor
So all i need to do is program the solenoid in the Begin vi, Telop vi, and the Finish vi, and when I do this the compressor will automatically turn on and stop without manually programming it to do so?
|
|
#4
|
|||||
|
|||||
|
Re: Compressor
Yes, just so.
If you want to see how it's done, double-click on the Solenoid Open and looking at the block diagram you'll see the compressor Open. |
|
#5
|
|||
|
|||
|
Re: Compressor
We've added 2 double solenoids to our program and the compressor does not start. we added the compressor to the Begin vi and tested it and still no compressor. Attached is a copy of our coding in Begin and Telop that pertains to the compressor.
|
|
#6
|
|||||
|
|||||
|
Re: Compressor
The enums in Teleop are incorrect for Relay. That's why they have red dots.
Get a correct Relay Enum by
Separately, is the status light on the Pneumatics Control Module blinking green? |
|
#7
|
|||||
|
|||||
|
Re: Compressor
Why does one of your double solenoids have a 0 wired to it, and the other a 1?
|
|
#8
|
|||
|
|||
|
Re: Compressor
In the begin vi the 0 and 1 corresponds with the channel in the Pneumatic Control Module that the double solenoids are using. Or at least that's what I think.
Last edited by DBaleta : 09-02-2015 at 18:05. |
|
#9
|
|||||
|
|||||
|
Re: Compressor
Solenoid B in Begin.vi needs the "1" changed to a "0"
To check that the PCM is setup correctly, use a web browser and type into the address bar: roboRIO-2001.localThat should bring up web page where you'll see PCM listed on the left side. Click on PCM and verify that the CAN ID = 0 What are the status lights on the PCM doing? |
|
#10
|
|||
|
|||
|
Re: Compressor
Quote:
|
|
#11
|
|||||
|
|||||
|
Re: Compressor
Quote:
The enumerated "Solenoid 0", "Solenoid 1", etc. define which outputs of the PCM are connected to the solenoids. If your PCM is blinking red, then you need to look at your CAN wiring and make sure it is correct. The yellow/green CAN terminals on the roboRIO should be wired to one pair of terminals on the PCM, and the other pair of PCM terminals should be wired to the CAN terminals on the Power Distribution Panel. |
|
#12
|
|||
|
|||
|
Re: Compressor
Quote:
|
|
#13
|
|||
|
|||
|
Re: Compressor
We ran into a problem where the buttons do not retract the pistons. Did i program the buttons wrong?
Last edited by DBaleta : 09-02-2015 at 19:41. |
|
#14
|
|||
|
|||
|
Re: Compressor
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|