View Single Post
  #10   Spotlight this post!  
Unread 02-04-2015, 09:43 PM
KPSch KPSch is offline
Registered User
AKA: Ken Schenke
FRC #1987 (Broncobots)
Team Role: Mentor
 
Join Date: Mar 2013
Rookie Year: 2013
Location: Lee's Summit, MO USA
Posts: 38
KPSch is a name known to allKPSch is a name known to allKPSch is a name known to allKPSch is a name known to allKPSch is a name known to allKPSch is a name known to all
Re: Use of JoystickButton in Command Based does not activate PCM

Quote:
Originally Posted by ozrien View Post
Are you seeing the same problem with the EXACT sample project you posted earlier? Where you enable the robot and...
- PCM reports not enabled in the self-test
- PCM status LED blinks slow green [or orange if sticky faults are set] instead of fast green [enabled].
- solenoid led does not turn on when button is pressed (every solenoid channel has a red led at the case edge of the PCM).
All three symptoms are occuring? Or some of them?

Does the PCM still show up in the web-based config?
Is it's device ID zero?
We tested it with the exact same code and it still didn't work. The code didn't fire the solenoid so we modified it to do so. Following your suggestions, we ran a self test while the robot was enabled. It said the PCM was not enabled, but everything has worked fine since that self test.

We've run that self test a few dozen times over the last five days. This is the first time we've run it while the robot was enabled. Could that have made a difference? We don't understand why it's not happening now. We've pushed other projects and it's working in them too (it wasn't before).

We've power cycled the robot a dozen times since then and the compressor has worked every time. Go figure.
Reply With Quote