|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
PCM IS NOT ENABLED
I am trying to get our compressor to turn on, and it was working a few days ago. Now when the robot is turned on the PCM flashes green slowly, and the self-test in the web interface says:
"PCM IS NOT ENABLED! If the robot is enabled maybe the ID is wrong? Close Looping is ON, but PCM is DISABLED Comp is OFF Pressure is not full" I am using c++ to code, and I have 2 solenoids declared The compressor is wired to the PCM, but it reports no power to the compressor. Is the compressor not working? Is the PCM broken? Do I need to add more code? |
|
#2
|
||||
|
||||
|
Re: PCM IS NOT ENABLED
Can you confirm that the CAN id for the PCM is 0?
I assume you have a pressure switch wired in and you have tried enabling the robot. Please correct me if that is wrong. |
|
#3
|
|||
|
|||
|
Re: PCM IS NOT ENABLED
Did you check your CAN bus connection?
You won't know if the compressor is working or not. If the PCM is not energizing the connection to the compressor, then the compressor will not receive power. The PCM will not energize the connection if the PCM is not enabled. |
|
#4
|
|||
|
|||
|
Re: PCM IS NOT ENABLED
Double-check this assumption. We had the same experience in Labview. In our case the solenoids weren't declared/opened properly. It acted like the PCM would not enable the compressor unless the code knew there was a corresponding solenoid to enable it for.
|
|
#5
|
|||
|
|||
|
Re: PCM IS NOT ENABLED
Quote:
Because unless an update changed something, the PDP is needed to be 0, in C++. There is no constructor in WPILib for the PowerDistributionPanel class to make the PDP anything other than 0. (http://www.chiefdelphi.com/forums/sh...d.php?t=133028 Read the 2nd post). Edit: Ignore me. Last edited by nighterfighter : 05-02-2015 at 16:06. |
|
#6
|
|||||
|
|||||
|
Re: PCM IS NOT ENABLED
Both the PDP and the PCM should have CAN ID 0. At least the first PCM.
They don't conflict because they are different types of devices and the full CAN ID includes that too. |
|
#7
|
|||
|
|||
|
Re: PCM IS NOT ENABLED
Quote:
Thanks for correcting me. |
|
#8
|
||||
|
||||
|
Re: PCM IS NOT ENABLED
Quote:
You set the ID through the roboRIO web interface. More information on that can be found at http://wpilib.screenstepslive.com/s/...ribution-panel. |
|
#9
|
|||
|
|||
|
Re: PCM IS NOT ENABLED
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|