Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Compressor doesn't start (http://www.chiefdelphi.com/forums/showthread.php?t=155021)

qscgy 09-02-2017 19:08

Compressor doesn't start
 
We were testing our pneumatics code for the first time today, and when we enabled the robot, the compressor didn't start. We have this code in robotInit:

Compressor compressor = new Compressor(0);
compressor.start();
compressor.setClosedLoopControl(true);

No one saw any issues with the wiring. Can anyone help us figure out what's going on?

engunneer 09-02-2017 19:36

Re: Compressor doesn't start
 
even if you think there weren't issues with wiring, can you describe it?

also, are you creating any solenoids in your code?

qscgy 09-02-2017 19:56

Re: Compressor doesn't start
 
Quote:

Originally Posted by engunneer (Post 1642740)
even if you think there weren't issues with wiring, can you describe it?

also, are you creating any solenoids in your code?

The compresser power wires and the pressure switch were both plugged in properly. I'm pretty sure the CAN wires were also, but I will need to check. If not, that may be a problem. We are not yet creating solenoids in code.

euhlmann 10-02-2017 01:12

Re: Compressor doesn't start
 
Check on the web dashboard to make sure your PCM is working and actually has the CAN ID 0. If you click the "self test" button on the PCM page, you can also see if there are any faults (such as a compressor short)

ozrien 10-02-2017 06:24

Re: Compressor doesn't start
 
Please follow the troubleshooting steps in section 4.1 of the pcm user's guide.
http://www.ctr-electronics.com/pcm.h...ical_resources

qscgy 10-02-2017 19:09

Re: Compressor doesn't start
 
Turns out the port number had been changed without me knowing. Thanks to everyone who provided advice. It works now!


All times are GMT -5. The time now is 11:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi