View Single Post
  #9   Spotlight this post!  
Unread 09-02-2015, 12:54
feverittm's Avatar
feverittm feverittm is offline
Registered User
FRC #0997 (Spartans)
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Corvallis, OR
Posts: 120
feverittm will become famous soon enoughfeverittm will become famous soon enough
Re: No compressor light on PCM, no compressor power, no CAN recognition of compressor

If your CAN is hosed (disconnected of wired wrong) you will get a red light on the PCM status indicator. Make sure everything is green.

Check your pressure switch. It should be a normally closed switch, so you should sense continuity (using a meter) across the wires going into the PCM.

If the status is green, and the switch if closed, but are the PCM indicator is flashing showly, and the compressor will not start, then it probably still disabled and you need to look into the code.

Please also remember the code suggestions given above. The compressor WILL NOT start unless either the compressor/PCM is defined in the code or there is some pneumatic element (solenoid) defined.

If you don't have any solenoids defined you will need to define the compressor:

Code:
public status final Compressor myCompressor = new Compressor(0);
We had this problem over the weekend and it took a few hours to figure this out.
__________________
Floyd Moore
Mentor Electrical and Pneumatics
Team 997 - Spartan Robotics
Corvallis High School, Corvallis Oregon