So our compressor refuses to turn on. I’ve instantiated the solenoid, plugged in compressor and pressure switch. I’ve tried switching out PCMs but the issue still comes up. Any suggestions?
Is the compressor light on the PCM lit?If so, it’s a wiring problem. If not, could be wiring or code.
What about the power light on the PCM?
PCM light is fine. Lemme check the compressor light
It doesn’t turn on. We tried switching out compressors same issue
Is the PCM ID correct? Try changing it
Can you control solenoids with the PCM?
If you open the Phoenix tuner and run a self check on the PCM, does it say that the compressor is enabled or disabled?
When I enable the robot, the tuner says that PCM is still disabled. The PCM ID doesn’t intefere with anything
Verify that the pressure switch is closed when there’s no pressure. That is, there is no/negligible resistance between the terminals. – though re-reading latest post, I don’t really think this is your main issue.
How can I verify that?
Ie, use a multimeter to check the resistance (sometimes a “beep” mode or continuity check) between the 2 terminal on the pressure switch.
However if the PCM is disabled, the compressor will not enable even if the switch is closed.
Assuming that the solenoid is expecting the PCM to have its default ID of 0 (ie you didn’t specify the PCM ID in the Solenoid constructor [1 parameter for Solenoid
, 2 for DoubleSolenoid
]), verify the PCM ID in Phoenix Tuner that this is the case.
If you do not set the can Id of the pcm in code, the pcm can id needs to be 0, or it will not work (and the pump will not turn on.).
Correct.
Ohhhh that makes sense. I did change the CAN ID
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.