Thread: Compressor
View Single Post
  #12   Spotlight this post!  
Unread 09-02-2015, 19:06
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Compressor

Quote:
Originally Posted by DBaleta View Post
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.
That number corresponds to the CAN ID of the PCM itself. It defaults to zero, and should remain zero unless you're adding a second PCM to the system.

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.
Reply With Quote