Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Pneumatics (http://www.chiefdelphi.com/forums/forumdisplay.php?f=54)
-   -   PCM output LED not lighting (http://www.chiefdelphi.com/forums/showthread.php?t=143902)

klhutchi 15-02-2016 14:10

PCM output LED not lighting
 
We are trying to use Pneumatics for the first time and believe we have the PCM wired correctly. When enabled we have the strobe flashing green light on status but none of the output Solenoid LED's under the ports will light up. Any ideas as to the issue, Coding? Wiring? or possibly a dead PCM...

we have 24V Festa Double solenoids and switched the PCM to 24V bridge, but cannot send voltage to the outputs anyone have similar issues.
Thanks for your help/insight

G_rupp 15-02-2016 15:10

Re: PCM output LED not lighting
 
It is probably coding. What language are you using? LabVIEW has examples that you can run that will allow you to turn on and off 1 solenoid each time it is run.

What other steps have you tried?

klhutchi 15-02-2016 15:28

Re: PCM output LED not lighting
 
We are in java code. Will post below, We hardwired the solenoid to at 24V battery series and got it to light up, also manual fired the Solenoids with the blue screws at the top.

klhutchi 15-02-2016 15:49

Re: PCM output LED not lighting
 
package org.usfirst.frc.team5736.robot;

import edu.wpi.first.wpilibj.SampleRobot;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.Joystick;

public class Robot extends SampleRobot {

Joystick stick;
DoubleSolenoid gearShift;

public void robotInit() {

stick = new Joystick(0);
gearShift = new DoubleSolenoid(0, 1);

}

public void teleopInit() {

gearShift.set(DoubleSolenoid.Value.kForward);

}

public void teleopPeriodic() {

if (stick.getRawButton(2)) {
gearShift.set(DoubleSolenoid.Value.kForward);
}
else if (stick.getRawButton(3)) {
gearShift.set(DoubleSolenoid.Value.kReverse);
}

Timer.delay(.005);
}

}

klhutchi 17-02-2016 10:37

Re: PCM output LED not lighting
 
We fixed it. The issue was that we were using SampleRobot rather than IterativeRobot. The teleoperated commands are not contained within SampleRobot.


All times are GMT -5. The time now is 05:36.

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