Go to Post Did you know that if a G7, G27, G28, and G20 occur in that order at the same time, then the referee will appear to be doing the "YMCA"? :) - Jack Jones [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 9 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 05-02-2015, 11:41
RobHammann RobHammann is offline
Registered User
FRC #5143
 
Join Date: Jan 2015
Location: Grand Rapids MN
Posts: 8
RobHammann is an unknown quantity at this point
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   Spotlight this post!  
Unread 05-02-2015, 12:20
ATannahill ATannahill is offline
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,259
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
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   Spotlight this post!  
Unread 05-02-2015, 12:20
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,241
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
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   Spotlight this post!  
Unread 05-02-2015, 15:10
joeyoravec joeyoravec is offline
Registered User
FRC #1250 (GatorBots)
Team Role: Mentor
 
Join Date: Mar 2014
Rookie Year: 2013
Location: Livonia, MI
Posts: 14
joeyoravec is an unknown quantity at this point
Re: PCM IS NOT ENABLED

Quote:
Originally Posted by RobHammann View Post
I am using c++ to code, and I have 2 solenoids declared
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   Spotlight this post!  
Unread 05-02-2015, 15:58
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: PCM IS NOT ENABLED

Quote:
Originally Posted by rtfgnow View Post
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.
Is the CAN id for the PCM required to be 0 for C++?

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.
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)

Last edited by nighterfighter : 05-02-2015 at 16:06.
  #6   Spotlight this post!  
Unread 05-02-2015, 16:01
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,851
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #7   Spotlight this post!  
Unread 05-02-2015, 16:06
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: PCM IS NOT ENABLED

Quote:
Originally Posted by Mark McLeod View Post
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.
That's good to know. I was under the impression that having both with the same ID would cause one to not get enabled.

Thanks for correcting me.
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)
  #8   Spotlight this post!  
Unread 06-02-2015, 07:22
ATannahill ATannahill is offline
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,259
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
Re: PCM IS NOT ENABLED

Quote:
Originally Posted by nighterfighter View Post
Is the CAN id for the PCM required to be 0 for C++?

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.
It doesn't matter what language you use, the PCM controlling your compressor needs to be set with a CAN ID of 0. Mark explained how you can have PCM and PDP ID'd as 0.

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   Spotlight this post!  
Unread 06-02-2015, 09:53
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: PCM IS NOT ENABLED

Quote:
Originally Posted by rtfgnow View Post
It doesn't matter what language you use, the PCM controlling your compressor needs to be set with a CAN ID of 0. Mark explained how you can have PCM and PDP ID'd as 0.

You set the ID through the roboRIO web interface. More information on that can be found at http://wpilib.screenstepslive.com/s/...ribution-panel.
I guess I worded my post ambiguously. I know how to change the ID through the web interface, what I meant was there isn't a way, when writing the code, to specify a PDP with a device ID other than 0.
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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