FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

PCM Not Enabled

We have been using the Phoenix Tuner app to test/config our CAN devices successfully.

 

Hitting a snag with the PCM config.  We are able to make the solenoids and compressor, but when we run the seft-test utility in Phoenix it says "PCM Not Enabled" and we can't utilize some of the tuning tools.

 

Again, everything functi

Capture.PNG

ons well, just trying to overcome this hurdle.  Screen shot of error attached.

 

Thoughts?

0 Kudos
Message 1 of 6
(4,769 Views)

What's the status of the robot when you're looking at the tuner?

 

If the driver station isn't set to enable, the dialog you're seeing makes sense.  It tells you the robot isn't enabled and you'll need to enable it to change the PCM state.

0 Kudos
Message 2 of 6
(4,746 Views)

Driver is 100% set to enable.  We’re able to push code and make everything work.

 

So not sure why Phoenix is not showing it as enabled.

0 Kudos
Message 3 of 6
(4,743 Views)

This doc seems to speak to the issue.  It says that in LabView the PCM ID should be referenced, if not it typically defaults to ID=0.

 

We have the PCM ID in Phoenix at 0, but I’m now sure where in LabView we would reference that.

0 Kudos
Message 4 of 6
(4,741 Views)

Here's something easy to help with that.  Is your pnuematic code working?  If yes, the CAN ID is set in LabVIEW to whatever you have it set on the PCM.  The pistons wouldn't function without it.

 

For your other post, I want to be very precise about what you're saying.  "We can push code" tells me you're NOT enabled.  When you're pushing code, the robot is disabled.

 

You'll want to push code, connect to the robot, hit enable in the driver station.  Once that's done (and the enable stays green rather than reverting to disabled), you have an enabled robot.

 

While the robot is in that enabled state, have you looked at the Phoenix Tuner?  When you get that error, did you look back at the driver station to confirm it is still showing an enabled robot?  If not, let's try to get to that state first.  If so, you'll likely get better help engaging the CRTE folks.  By virtue of the pistons moving, you've verified your wiring is good.  You've verified your code is good.  You're left working with the Phoenix Tuner and they're better experts than anyone on that tool.

0 Kudos
Message 5 of 6
(4,736 Views)

Great questions.

 

So I can push code to the robot and enable the driver station - and everything works fine.

 

So then I launch the Phoenix tuner, and to see the CAN devices I launch the “Temporary Diagnostic Server”.    Doing so disconnects the Robot.  I then go back to Driver Station and click enable again.

 

I then back to Phoenix, select the PCM, run Self-Test and it says PCM not enabled.

 

If you have any other thoughts lmk.  If not I will reach out to the guys at CTRE. 

0 Kudos
Message 6 of 6
(4,734 Views)