PCM not sending voltage to compressor

Looking for help on a puzzler.

PCM and compressor running during morning matches just fine.

Had to replace PCM due to sheared copper wire in negative terminal coming from PDP.

Brand new PCM.

12V coming from PDP to PCM.

When enabled, no voltage goes to compressor. Checked with multimeter.

And 3V to ground going to Pressure Switch.

No change in code and all connections checked out for any crimping issues.

Any ideas why this could be?

Can you post the results from a self test on the PCM through Tuner?

Also, make sure your radio isn’t near your PCM (yes this is a real problem).

Radio is about a foot or two above the pcm.

Funny thing. Running the CTRE program none of my CAN devices are showing up.

Connected via USB. Re-inserted all CAN connections. Only PDP, PCM, and roboRIO are connected via CAN.

Yes, we did install the framework previously.

Looks like something’s up with your CAN. Check the resistance between the high and low with the robot off. It should be about 60 ohms.

0 ohms and you have a short, >=120 and one side is improperly terminated

Can you elaborate please? Where would I find the high and low?

The yellow wire is high, green is low. I’m assuming you’re following convention. If not, they’re labeled on the Rio ports.

So I tried between my green and yellow wires on the pdp, got 600,000 ohms.

Tried on my two open terminals on the pdp, got 0 ohms.

So is it likely a short or improperly terminated?

The problem is not CAN bus. Look at the bottom status bar. It can’t connect to 172.22.11.2, which is the USB-roboRIO-IP.

If you just enter team number, Tuner will use mDNS to connect to robot, whether its radio/Ethernet/USB.

1 Like

@aidangoettsch What’s the issue with radio near PCM?

One thread it was discussed in:

Update. Now PCM is recognized. No faults. Also no compressor running when enabled.

Looks like this isn’t “brand new”, the ID has been changed from 0, though presumably it’s barely been used. Does anything change if you run the self-test while enabled?

Nothing different when enabled.

Does it still say Comp is Off when you enable?

Yes.

When enabled.

Try changing the address back to 0, if it is anything else, you need to address it in code which I hear is difficult in java/C++ and labview.

You need at least one solenoid plugged in and constructed in your code, do you have that?

Also, you need the wired switch (sorry, forgot real name) wired correctly to the pcm (or wired correctly and shorted out).

If none of that helps I would try checking the wiring to the mains again (is it possible the fuse blew before you noticed the open negative)?

Seconding this. It’s likely that your solenoids are created in code on PCM ID 0, meaning that Phoenix won’t enable a PCM with a different ID.

IT WORKS!! Thanks CD.

Hi, you only need to change the ID if you have 2 or more PCM.