|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Compressor
Quote:
The enumerated "Solenoid 0", "Solenoid 1", etc. define which outputs of the PCM are connected to the solenoids. If your PCM is blinking red, then you need to look at your CAN wiring and make sure it is correct. The yellow/green CAN terminals on the roboRIO should be wired to one pair of terminals on the PCM, and the other pair of PCM terminals should be wired to the CAN terminals on the Power Distribution Panel. |
|
#2
|
|||
|
|||
|
Re: Compressor
Quote:
|
|
#3
|
|||
|
|||
|
Re: Compressor
We ran into a problem where the buttons do not retract the pistons. Did i program the buttons wrong?
Last edited by DBaleta : 09-02-2015 at 19:41. |
|
#4
|
|||||
|
|||||
|
Re: Compressor
If some of the LEDs next to the solenoid ports 0, 1, 2, 3 light but do not change, then there is still something wrong with the code.
Want to post the latest? |
|
#5
|
|||
|
|||
|
Re: Compressor
There are no LEDs next to the solenoid ports as far as I can tell.
|
|
#6
|
|||||
|
|||||
|
Re: Compressor
The PCM solenoid LEDs are easy to miss if they are off, and hard to miss if they are on. Here is what they look like:
![]() If none of the LEDs are on then your commands are not getting to the PCM (or it's Disabled). Did you go back with a web browser and confirm the CAN ID used by the PCM =0? |
|
#7
|
|||
|
|||
|
Re: Compressor
Quote:
Is there an example of how to program the buttons in Labview that I could see? |
|
#8
|
|||||
|
|||||
|
Re: Compressor
There are some examples here.
The Light Device LED is just a way to make the PCM flash so you can confirm which one it is if you have multiple PCMs. You can test it by checking it then clicking Save. The PCM will immediately blink rapidly for a second or two. Last edited by Mark McLeod : 09-02-2015 at 20:31. |
|
#9
|
|||
|
|||
|
Re: Compressor
Quote:
|
|
#10
|
|||||
|
|||||
|
Re: Compressor
Your Teleop code doesn't show where the Buttons array is coming from. It almost looks like there are two different arrays coming in from the top left, each being converted for some reason to a cluster, then a member of each cluster is being chosen independently to select the solenoid state.
Give us some more context so we can see what you're trying to control the solenoids with. |
|
#11
|
|||
|
|||
|
Re: Compressor
Quote:
Noodle Solenoid works (Previously labeled Solenoid B). Lift Solenoid doesn't (Previously labeled Solenoid A). Last edited by DBaleta : 10-02-2015 at 18:01. |
|
#12
|
|||
|
|||
|
Re: Compressor
We sorted everything out and now everything runs. Our team wants to reprogram the solenoids so that the pistons stop expanding or retracting once the button is let go. As of right now if you push a button, the piston will either fully extend or fully retract. No in between.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|