|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Compressor Issue
Sorry i could not answer sooner.
We have the spike on a 20 amp fuse on the PDB. We also done the short out test to the pressure switch with a screwdriver and it works but does the same thing as if it was shorted out. The spike goes green then orange over and over til it hits 120 psi and then stops. We are going to try adjusting or replacing the relieve valve as soon people i have spoken to have sugguested that this may be the issue. We are going to try this on Sat. at our meeting. I will update if this doesnt work. |
|
#2
|
|||||
|
|||||
|
Re: Compressor Issue
What compressor are you using?
|
|
#3
|
|||
|
|||
|
Re: Compressor Issue
the newer small compressor
|
|
#4
|
|||||
|
|||||
|
Re: Compressor Issue
Quote:
Quote:
The shorted switch test shows that the switch is not "bouncing" as suggested by Vikingtech2054. Verify wiring is OK by shorting the pins at the Digital Sidecar. If you get the same behavior, the problem is not between the switch and the digital sidecar. Check (replace) the 37-pin cable between sidecar and cRio. If this is OK, then the issue must be in the cRio This would mean, 99.999%, that it is your code that is turning the compressor on and off until it reaches 120, which then shuts it off properly. Try the sample code Jon Stratis suggested, or write your own, but your code is the issue. It is much less than 0.001% chance, but the cRio or digital module can be bad, but this is extraordinarily rare. That covers 100% of the possible failure scenarios. |
|
#5
|
|||
|
|||
|
Re: Compressor Issue
Quote:
We will try out all this tomorrow at our next meeting. Thanks for all the help. |
|
#6
|
||||
|
||||
|
Re: Compressor Issue
Don't try my code above - that was an example of what could be causing your problem. Instead, you should have code like this:
Code:
If (pressureSwitch)
{
Relay.set(kForward);
}
Else
{
Relay.set(kOff);
}
|
|
#7
|
|||
|
|||
|
Re: Compressor Issue
I will give this code to our programmer and try it with the other sugguestion. I will post result tommrrow
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|